diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-22 10:09:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-22 10:09:44 +0000 |
commit | 09351e78166b5e864197c4456ebae3f89dd0bed9 (patch) | |
tree | 41a96399f56ed3aa399006871bfce4430db84aa2 /media-gfx | |
parent | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff) |
gentoo resync : 22.01.2019
Diffstat (limited to 'media-gfx')
43 files changed, 1257 insertions, 503 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz Binary files differindex d599e09d4751..d20057d0eb61 100644 --- a/media-gfx/Manifest.gz +++ b/media-gfx/Manifest.gz diff --git a/media-gfx/eog/Manifest b/media-gfx/eog/Manifest index 82e454c684cc..461014fe98fe 100644 --- a/media-gfx/eog/Manifest +++ b/media-gfx/eog/Manifest @@ -1,7 +1,7 @@ DIST eog-3.24.1.tar.xz 4632496 BLAKE2B 24d6957285d5dae7fa2299165b1bac236e75dfa77938132c1d3f8f7312ed4a07d5d3a770fdbdbcf5ee1966a43b4443d331fbedec47575836e2170fa3022e657f SHA512 c007b6f2cd2b59747db72a5b86ecb34ac87fe0910a2d33df466eb05ebe5ff638fb9e57b15f2ea9328c95037334a2fd9010895241ff285628b7ed7b6d65912fb0 DIST eog-3.26.2.tar.xz 5516240 BLAKE2B 5e63edd97c50e059af8d282d4596193fdb4e8a5767ebf9391c8c4f0b202136b1ef67c5d5d601e9863126b0db25e51927c4ac1fcb713fbd1a7ad21ccf207501af SHA512 40941d77739d1ed572dd7c4864435e5944c9dd48f5386b2ea11e16da52f7fa550844e4636ee35947172e921df596542d13928c79f7f511ef70ec92b832b1f1db DIST eog-3.28.4.tar.xz 5732396 BLAKE2B 9adf7e6793add9298dd879a0fe5ea7c736854d3a40473b2def84851a1e5a78ef84316b20b172c85c85f070278a51b06c1019aef1e5e9c5f31a87243c9229a579 SHA512 57ccb6269b2829a0606cbae08fc376bcd13028d3affe03d76c929a95faf9106dfd497872a12019158aeff5e8e101640d912cae0cece435121319820df7262c00 -EBUILD eog-3.24.1.ebuild 1343 BLAKE2B 63fa0d9614a37e9f3d40b2de61560a7642df4b14bb8196ff6de563b6afb5d0195f0832c27d41516659efbacadc977876b2ec09d736434d3026ddee8d913da0c2 SHA512 460f0f6c1e435cd970b0a67197d1885137c69d673eecd0e00dd5e7f9ebb8d52b2d22771b234786d3c31d175fcc24aad72314d0f0b14b11eea921b814fc725c50 -EBUILD eog-3.26.2.ebuild 1392 BLAKE2B ab4c6c3050f32db033e18892b4760207d5949ef5d160f7872554d234c8fe694ed90ce5d025363364485378ae1a6b80c6d2ec12fa4f582b78b707b30e6880ba08 SHA512 543ea9f99bef7802c2f1983f31f91125f5ece6f9eeee594ed0c050668557f1f9062623a99d0947af5a1ca39bcaa26d8fb736142804f95ffbeba357f808c71825 -EBUILD eog-3.28.4.ebuild 1508 BLAKE2B b294c3e8d7e2d8f0918f11baf2686efab9d9c2641885737bb1bd1b3e9e77814c10f6136ba5f05474cccf20e390cfd3d1820a97fe4700b4fc28c970c6e31fc588 SHA512 f61a81e5b641fe82b038fb91605022351a15b0d3f56eb0a948bfc3fa012dda1a02dccae0dd2c5d06d2bbebc8142a1eb73be5123f69c43f1da5d30722672802d3 +EBUILD eog-3.24.1.ebuild 1361 BLAKE2B 346a3d7b927c624f13d56dd40800e6bf15221eb3fd9b8592019979ed84dff3d6fef815f5d7b3039da2440f9028f7775bb0f37b1c5e49f8f65e6ed6c104f45e6b SHA512 26d67acc6add7c8c0ddb1314b511286c310acfdd6c7372221ec2bb4dba69394b8a75e6d5ff04506720e5e911fc3998d810bc03fc7dad50a2556e25c1d4520758 +EBUILD eog-3.26.2.ebuild 1410 BLAKE2B 7b8f29a3e66bccbd3d3c23e67f62a18c8ca7d37c80fb8a6c1a25ef526cf0b91ab2789721ec984d42f43a28c6d755d1d7049b3bb3b8cc0c83049a184be23d2fdb SHA512 10b7f91cb6b9d175128dc39af87f90115a6e90e3b093ef4373875bfa5088d27f70a1d3c9f6bddc09105b62ec792286217251448695ff29cccf00aeea4e2f6074 +EBUILD eog-3.28.4.ebuild 1529 BLAKE2B 7312880bbd5c9437e75492b93d2eb49bde1e5a53a591e0de0d825edef89095e1e9d208e9cccbaa0dd90c3440cf341e901da34f51d76bcb6fdd0cddcab391de9c SHA512 3db6f5c64b662c422e839b5a6b083c84dcc32b7cb7dd47c4fc1cd69dab08467ed3945a01217a73860f080789f33c4306eb4669c369c5ee1fc9676e49f6aabf0c MISC metadata.xml 481 BLAKE2B 2c12b594b9a5b1e4ce3983131d1911f62026c5186d8f5c5af13842cfedfa4d20abdc5ee82e11db3a2e1b45e2b8d4d95fa1a62e668936956e8453b166daff00b4 SHA512 141ec1d6923697f744de806804279b602120ce3d5494257de36b8c8b71185d101692f2e438d7ba0e4a4c946d0aaba068117f16c8344abe891e0ddd4f768ded26 diff --git a/media-gfx/eog/eog-3.24.1.ebuild b/media-gfx/eog/eog-3.24.1.ebuild index a8cbe4ce4c94..335c76941530 100644 --- a/media-gfx/eog/eog-3.24.1.ebuild +++ b/media-gfx/eog/eog-3.24.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -36,6 +36,7 @@ RDEPEND=" xmp? ( media-libs/exempi:2 ) " DEPEND="${RDEPEND} + dev-util/glib-utils >=dev-util/gtk-doc-am-1.16 >=dev-util/intltool-0.50.1 dev-util/itstool diff --git a/media-gfx/eog/eog-3.26.2.ebuild b/media-gfx/eog/eog-3.26.2.ebuild index 08ea37d31c23..a56ef9b214c2 100644 --- a/media-gfx/eog/eog-3.26.2.ebuild +++ b/media-gfx/eog/eog-3.26.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -38,6 +38,7 @@ RDEPEND=" # libxml2 required for glib-compile-resources DEPEND="${RDEPEND} dev-libs/libxml2:2 + dev-util/glib-utils >=dev-util/gtk-doc-am-1.16 dev-util/itstool >=sys-devel/gettext-0.19.7 diff --git a/media-gfx/eog/eog-3.28.4.ebuild b/media-gfx/eog/eog-3.28.4.ebuild index 62df2d95bc43..0ddf7c2999b1 100644 --- a/media-gfx/eog/eog-3.28.4.ebuild +++ b/media-gfx/eog/eog-3.28.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -36,6 +36,7 @@ RDEPEND=" " DEPEND="${RDEPEND} gtk-doc? ( >=dev-util/gtk-doc-1.16 ) + dev-util/glib-utils dev-util/itstool >=sys-devel/gettext-0.19.7 virtual/pkgconfig diff --git a/media-gfx/exiv2/Manifest b/media-gfx/exiv2/Manifest index a11e7f19a6d4..8c1455d8c01a 100644 --- a/media-gfx/exiv2/Manifest +++ b/media-gfx/exiv2/Manifest @@ -1,8 +1,10 @@ AUX exiv2-0.26-fix-docs.patch 2532 BLAKE2B c648454a7c9a56c2d4a3844cbe212630ff6c3d0d687928d86487380e0b12b3b7f6458b827285806afa73034497265cae169998ab281f4687d736cc5e3e6df1b5 SHA512 de245f08860fd6fccbd4e617cb9dfe105d1a64ecb16fc37376c257f7547c91e5dffaa46531d21201497473d6708817e7015fe6c061379834b892de08bcc05ee4 AUX exiv2-0.26-tools-optional.patch 1386 BLAKE2B 84e0903934187aaa914c0a4fe04afe63ed3314ea76d6929b7435899a731bb90831418b2162e1dca4a487b88041fe7b9aa50a3c438e66ac3893dd1d12b363714f SHA512 efdd848dd728fcb0ba5dbc305fef6eb6af4385b5bd09e2c3722c0dea2009207c282b95a07cdb608fc2298d18686c764dded2fd9de4166dbecabf7eeb187e6483 +AUX exiv2-0.27.0-doc.patch 1024 BLAKE2B 102557142367e36a3632c8c742e35aa820bed92b2688e7b2fc575e6bc2cc18f79c23f5492f3486146cab639c90afd0ebedd53f9807d6db0ebfc77330df28425b SHA512 4e0ad52ecfc7c23ff59b97f165ec35d721a4395357983eaa7e7913387594cf6bae354e48e9b95652fb192b2d6044ecc931228cb2e6d225605adce5165fd81687 +AUX exiv2-0.27.0-fix-pkgconfig.patch 710 BLAKE2B eb4952dc49f3a464ee2041c19de9dee404197814086bef869d99d30acb3a0eb13faa716472926c69dc0b44bdcd8d60494aa06855d9eec183fe4920e728f33cfe SHA512 2eb56a1641efbdb5abb6ed62259850f4cc9630d60c213782fc1cf44a705ca9d0fbde22eb6503c9a06dafcaf4eced4d21704442626b6e8b082457de31ae49fcf8 AUX exiv2-0.27.0-png-broken-icc-profile.patch 1699 BLAKE2B e9d019d3d885198e9945a387325435618f200dcac5a70cc96a6151f9ba8036609162fd93a7857cb8677bb7c1d3fe250f9750b8d7e660f34e31e50e3bc15e71a1 SHA512 8cb9b1f4129161861aee384e634433e3fa82aa933804d5f63de95475f6f6658f7b2f63fca1da624ea7b634f71cde5ee0de7e0466247d687494383d001df92ace DIST exiv2-0.26_p20180811d.tar.xz 1722216 BLAKE2B 9e1c8307eb923c340894c82c37e9f6c31d82ff1b1de3c79d4ec9b0ec9428ad1d05f945e9a4e440028335857e7fc32d50cdc5245842d743e017037bd641b654db SHA512 5453650888440028acb139a02b387eab0232551c97256ce88dd626fa4cc8800ec02ad66e093c314bbfdc60726995b6c8482572d1ffaec73a265209c98c901780 DIST exiv2-0.27.0a-Source.tar.gz 27168207 BLAKE2B 3f5c4fbe4f41c1114c0a54433c810ed0fb28ae3fbe8258eb7a02da716b833d62a94725f839accf22600c420ace5cdbead599440d335ff694a4f123820613ecd9 SHA512 9873d6815c2a87b7cdc49e8863f72c713fe1054f2f46d2c9aaa7ca2cd42096a36c2970e6a396af9000faba32fa9ff054b9d2c5e22f3e2624669440e553239f9c EBUILD exiv2-0.26_p20180811-r3.ebuild 2954 BLAKE2B 06ad8b544150e1f5d4f1a305d78ab3ff7772b7c797e67e47ce01a233d0afee514d7660921c33b43634da60883b2adba119a80830c2493ad01800bd9b05b34072 SHA512 172e65b6210cb383afee4f344d585fae40dc7af1b7bb5d8dd2e5acbd7fcb4086b4caca998ce3627aefb4be3f8e4cebcaef24ccfb67d61d580b674fee50b24627 -EBUILD exiv2-0.27.0-r1.ebuild 2478 BLAKE2B 222de85c2aed562cacd97bb736ac36a32d94f4124d0a84480be759c536cf44f25be479fab56a6a3cc364d67d2a12285add8f0efc4a7363bb523c85d3521dbedb SHA512 f0eaf5875cf114d6dec924f0cf28abec0a086b3312ab4edf618d9d54e23639a423f37a281737b263f88b356059d92bb4d69f6f874e7b3ae033ff8ae9d2ce090d +EBUILD exiv2-0.27.0-r2.ebuild 2548 BLAKE2B 47101f43464f15bebc06c7fd3ac244f1ea7ecc4715741ea0c806573735edc71408f0222eed67cc62ffe6079858129e7a3bbe7d8e8f18ec235afbc09ef839967b SHA512 df5bac7f9ff377ea7a98dc02b18ae43bebd3ba240cb7173bae3dcb042c552178b243e93bf5722bd25967be653c2ec0015b2daa4d83900bbe4e184bf151ddf46c MISC metadata.xml 612 BLAKE2B f98a074e9e3a4411baf8255cd8cab5be4257469463634218b664bb9e7f159c98615f0721bb4463c6183cecc8b2be00c34a031e7b99d745b9807634cbaab8d479 SHA512 9b4926ba8420a125dc4cefd351ee1ec10a4df2fc4306a56720f6e8de7c5fd9f36a8646c8583958fca9a45ebe1b65b19c053c7da37176546bc19ae64afa87e4f5 diff --git a/media-gfx/exiv2/exiv2-0.27.0-r1.ebuild b/media-gfx/exiv2/exiv2-0.27.0-r2.ebuild index 4582b1acd6f2..80de16822e2c 100644 --- a/media-gfx/exiv2/exiv2-0.27.0-r1.ebuild +++ b/media-gfx/exiv2/exiv2-0.27.0-r2.ebuild @@ -47,8 +47,9 @@ DOCS=( README.md doc/ChangeLog doc/cmd.txt ) S="${S}-Source" PATCHES=( - # pending upstream - "${FILESDIR}"/${P}-png-broken-icc-profile.patch + "${FILESDIR}"/${P}-png-broken-icc-profile.patch # pending upstream + "${FILESDIR}"/${P}-fix-pkgconfig.patch # bug 675240 + "${FILESDIR}"/${P}-doc.patch # bug 675740 ) pkg_setup() { @@ -61,11 +62,6 @@ src_prepare() { iconv -f LATIN1 -t UTF-8 doc/cmd.txt > doc/cmd.txt.tmp || die mv -f doc/cmd.txt.tmp doc/cmd.txt || die - if use doc; then - einfo "Updating doxygen config" - doxygen &>/dev/null -u config/Doxyfile || die - fi - cmake-utils_src_prepare } @@ -80,6 +76,8 @@ multilib_src_configure() { -DEXIV2_ENABLE_WEBREADY=$(usex webready) -DEXIV2_ENABLE_XMP=$(usex xmp) $(multilib_is_native_abi || echo -DEXIV2_BUILD_EXIV2_COMMAND=NO) + $(multilib_is_native_abi && echo -DEXIV2_BUILD_DOC=$(usex doc)) + -DCMAKE_INSTALL_DOCDIR=${EPREFIX}/usr/share/doc/${PF}/html ) cmake-utils_src_configure @@ -89,13 +87,12 @@ multilib_src_compile() { cmake-utils_src_compile if multilib_is_native_abi; then - use doc && emake -j1 doc + use doc && eninja doc fi } multilib_src_install_all() { use xmp && DOCS+=( doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} ) - use doc && HTML_DOCS=( "${S}"/doc/html/. ) einstalldocs find "${D}" -name '*.la' -delete || die diff --git a/media-gfx/exiv2/files/exiv2-0.27.0-doc.patch b/media-gfx/exiv2/files/exiv2-0.27.0-doc.patch new file mode 100644 index 000000000000..a57da03199c4 --- /dev/null +++ b/media-gfx/exiv2/files/exiv2-0.27.0-doc.patch @@ -0,0 +1,28 @@ +From f8f63a8b4033549d47384c6e2b1972ae1a2775fc Mon Sep 17 00:00:00 2001 +From: Andreas Schneider <asn@cryptomilk.org> +Date: Wed, 2 Jan 2019 10:28:57 +0100 +Subject: [PATCH] cmake: Use correct installation dir for generated docs + +Fixes #623 + +Signed-off-by: Andreas Schneider <asn@cryptomilk.org> +--- + cmake/generateDoc.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/generateDoc.cmake b/cmake/generateDoc.cmake +index a3aea727..16823946 100644 +--- a/cmake/generateDoc.cmake ++++ b/cmake/generateDoc.cmake +@@ -21,7 +21,7 @@ macro(generate_documentation DOX_CONFIG_FILE) + set(DOXY_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/doxy.config") + add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${DOXY_CONFIG}) + +- install(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/" DESTINATION "share/doc/lib${PROJECT_NAME}") ++ install(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/" DESTINATION ${CMAKE_INSTALL_DOCDIR}) + + set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES doc) + endmacro() +-- +2.20.1 + diff --git a/media-gfx/exiv2/files/exiv2-0.27.0-fix-pkgconfig.patch b/media-gfx/exiv2/files/exiv2-0.27.0-fix-pkgconfig.patch new file mode 100644 index 000000000000..5fc430e915d2 --- /dev/null +++ b/media-gfx/exiv2/files/exiv2-0.27.0-fix-pkgconfig.patch @@ -0,0 +1,24 @@ +From e706cca19027dbdf53aeac2041ecce9ccb313c17 Mon Sep 17 00:00:00 2001 +From: Luis Diaz Mas <piponazo@gmail.com> +Date: Sat, 12 Jan 2019 13:39:12 +0100 +Subject: [PATCH] Fixes in .pc file for being compatible with more + distributions + +--- + cmake/exiv2.pc.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cmake/exiv2.pc.in b/cmake/exiv2.pc.in +index e477696d5..9018472be 100644 +--- a/cmake/exiv2.pc.in ++++ b/cmake/exiv2.pc.in +@@ -1,7 +1,7 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} +-libdir=${prefix}/lib +-includedir=${prefix}/include ++libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ ++includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ + + Name: exiv2 + Description: @PROJECT_DESCRIPTION@ diff --git a/media-gfx/flam3/Manifest b/media-gfx/flam3/Manifest index 290d1cd07765..a3261a28030e 100644 --- a/media-gfx/flam3/Manifest +++ b/media-gfx/flam3/Manifest @@ -3,5 +3,4 @@ DIST flam3-3.0.1.tar.gz 1238703 BLAKE2B a6e73fe563bcccc59e8f48a06105a086233afeab DIST flam3-3.1.1.tar.gz 1181954 BLAKE2B 9691647704e96052f04f79b59b55b47285940ada3486ef6828d1e95934c5741915bf0e4f11c3ff39da7b5534b5c6c9ec16a88bc0568ac65c8a4b5d4aff9c8d29 SHA512 8a84840d9cb91d63dd0ba5c8a6725f703f6315a7add0c091502c0dac5c77eb0495054bb4b601f72454dea0def99131ca679095da65eeebaae9b01dc59cf75e7e EBUILD flam3-3.0.1.ebuild 838 BLAKE2B 0fb248706d41558ef13909089f18111a3eee7a82d347f233f58a2ff71165213e9e3994f613d36e803528b41a8181bbd7ddb65da33f93138866be99dc8a272ea7 SHA512 c839de2a09adb48a5b266f346e3ffd0ab4cbb52fe30a5a6cf4de2ced4ed4b813a1f71b5fd990b309a948d1be1d259f65bd3455b9c1b6b624526a84e86b757883 EBUILD flam3-3.1.1.ebuild 757 BLAKE2B d76c859ee5ba517326e772753f6ee3c98ee02d2069e24d5ea89777e884b3ee086da83f5ddeadb0c19fd7c91914423be69d50106a5faee879ebc7873a554e415d SHA512 ef1970ca8b61621036da8149d131e7f70680d9e72eba2d6d0b0a53cbada7556313c5c298025ed25f079c12c0a837b25e7dfb68c37003e0a942b7e34deb8899ff -EBUILD flam3-9999.ebuild 754 BLAKE2B ba63e959f5ea021c99b3b1927b3935dae0b5ebdb7d7eb42084440af6b6ff30f9eca84a69d6a8f17378cd961a2101d656b139f27b6b5f532b00e9640ccd21a986 SHA512 4ab940980ca64c5d9e2c54c71b0979a1b4c6cfa5850d1abae3fe7479b2503fed8aa3d38cd3516997b43b39033c1f0d6965253cadfc47690f63604be5adb1b746 MISC metadata.xml 322 BLAKE2B 8fa31c5e84e310169a863d1d66a77d73cff819cf595acfd7fc8f23c90a2271348899e8a5a5a5a184ea7de9428aebf7d841ab0a035fdc28f0ecd312396dcf3def SHA512 98b61c299f8cfa8c42a5f4b5b51b9eecbdffe3632ef8fd687afab26454fa8fccb71348a42cca69fbae7d154f69814feac61c4109ba671dd2fa413bf75e0445ca diff --git a/media-gfx/flam3/flam3-9999.ebuild b/media-gfx/flam3/flam3-9999.ebuild deleted file mode 100644 index 2370221b0649..000000000000 --- a/media-gfx/flam3/flam3-9999.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=2 - -inherit autotools subversion - -DESCRIPTION="Tools and a library for creating fractal flames" -HOMEPAGE="http://flam3.com/" -SRC_URI="" -ESVN_REPO_URI="https://flam3.googlecode.com/svn/trunk/src/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="" - -DEPEND="dev-libs/libxml2 - virtual/jpeg - media-libs/libpng - !<=x11-misc/electricsheep-2.6.8-r2" -RDEPEND="${DEPEND}" - -src_prepare() { - mkdir m4 - sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die - eautoreconf -} - -src_configure() { - econf --enable-shared -} - -src_install() { - emake install DESTDIR="${D}" || die "emake install failed" - dodoc README.txt *.flam3 || die "dodoc failed" -} diff --git a/media-gfx/gmic/Manifest b/media-gfx/gmic/Manifest index d1f80d1c48d0..cf64f92501c3 100644 --- a/media-gfx/gmic/Manifest +++ b/media-gfx/gmic/Manifest @@ -1,4 +1,6 @@ AUX gmic-2.4.3-curl.patch 2527 BLAKE2B 8bb6a9fb4aff5a1ae19437f93ec4336d87ab61f334a56c1d2083b0a8c02c37697795ea82f37d4caaf23edb37111d201db75315169a12f256571ad081f60b9890 SHA512 1c5cef3879749ab9a62e52ae5ac1c26ab60ff4b323352af9e7fb0f55b3ca7804290d03bd63dcaedb68c3d6fe43da332681a1eeb84543a1ac30163169ccee6368 DIST gmic_2.4.3.tar.gz 3816129 BLAKE2B 1c9dd6c7e45809d0cf8b8a45476a4b20ad321b5f34fbc5214cb149777c6e9a6aba845cd816cc1503010e281bda0b32e1059dd34d052afe2ebc086469163967be SHA512 482e70b0c82992799c5769ded1547904d16dbc9206d67279b6f524c1214258b97fa539678844a450d6f64144dc7a2715c754d6a1d85398e648bc34086fc3218f +DIST gmic_2.4.5.tar.gz 3819428 BLAKE2B 71d19bf6d79ca00bf95006bd96595b83ee28caadf46a9c899176dcd96c5da1b3b9fa7b2150ea2383262c1db2357838c4c716c8ab09060c6c06faa5f7c52975c8 SHA512 39f7c35303704c579d62377f491830f6d310be672f3015aafbd6715c5fa1185d64671f841fd5e0cb818dfc96851afc6dbdbbb99f9b5156ccaeab91e7e1b08033 EBUILD gmic-2.4.3.ebuild 4306 BLAKE2B 608561cc5f9dc176f4b7951033a7a9cdcddf033bbc3f229a6a0a2ee72c08801ffc564b125eab25e1168bc8c93a8c60a6da2099337a1cd3483d087cff670bc094 SHA512 4b1501fd135e1133e6d8cf8404a20ee6155e04377821a00c0719679f8ce03e156d09a84f0c6104de356b9847f61c8d502db62bc1c2f31330f9d7b7d6b453ef99 +EBUILD gmic-2.4.5.ebuild 4351 BLAKE2B e9baff4d80ff61668f29ed4fd4dc8ac4a289df1cd0e9b7981ba9de75880463a3a9371a6d38495a7186f04d9bb2be45ecbe23ddda7deca181981fc17bbcd36740 SHA512 135f2c950c90f0052c60c891b323a016d2ba9c78b937a88b0244c43e7239880a85742a178c4f5866aa75079ba28ce38db76d127c41f6aa4957d46b49c0087bcc MISC metadata.xml 547 BLAKE2B 0da3088e531217099bf3f690059d3725ba3c62ad9337dfbf3817584f95594a328b647b0a81eb4d58c2cbc030026bf2aa94e01c817b04072aea1caee435f6ef9f SHA512 e58e976f8e80eea8e3620888858d6386e5d922c842e08c39f7ad611a5fc96e5fb85e39864bc0e805dd20a2c19e02b9fb8d1a5eaaa470075ed73759dcdcd4fbee diff --git a/media-gfx/gmic/gmic-2.4.5.ebuild b/media-gfx/gmic/gmic-2.4.5.ebuild new file mode 100644 index 000000000000..4774c14f3a4c --- /dev/null +++ b/media-gfx/gmic/gmic-2.4.5.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_BUILD_TYPE=Release +CMAKE_MIN_VERSION=3.9 + +inherit cmake-utils bash-completion-r1 + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/dtschump/gmic.git" + inherit git-r3 +else + SRC_URI="https://gmic.eu/files/source/${PN}_${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="GREYC's Magic Image Converter" +HOMEPAGE="https://gmic.eu/ https://github.com/dtschump/gmic" + +LICENSE="CeCILL-2 GPL-3" +SLOT="0" +IUSE="+cli curl ffmpeg fftw gimp graphicsmagick jpeg krita opencv openexr openmp png qt5 static-libs tiff X zlib" +REQUIRED_USE=" + || ( cli gimp krita qt5 ) + gimp? ( png zlib fftw X ) + krita? ( png zlib fftw X ) + qt5? ( png zlib fftw X ) +" + +MIN_QT_VER="5.2.0" +QT_DEPEND=" + >=dev-qt/qtcore-${MIN_QT_VER}:5= + >=dev-qt/qtgui-${MIN_QT_VER}:5= + >=dev-qt/qtnetwork-${MIN_QT_VER}:5= + >=dev-qt/qtwidgets-${MIN_QT_VER}:5= +" +COMMON_DEPEND=" + curl? ( net-misc/curl ) + fftw? ( sci-libs/fftw:3.0=[threads] ) + gimp? ( + >=media-gfx/gimp-2.8.0 + ${QT_DEPEND} + ) + graphicsmagick? ( media-gfx/graphicsmagick:0= ) + jpeg? ( virtual/jpeg:0 ) + krita? ( ${QT_DEPEND} ) + opencv? ( >=media-libs/opencv-2.3.1a-r1:0= ) + openexr? ( + media-libs/ilmbase:0= + media-libs/openexr:0= + ) + png? ( media-libs/libpng:0= ) + qt5? ( ${QT_DEPEND} ) + tiff? ( media-libs/tiff:0 ) + X? ( + x11-libs/libX11 + x11-libs/libXext + ) + zlib? ( sys-libs/zlib:0= )" +RDEPEND="${COMMON_DEPEND} + ffmpeg? ( media-video/ffmpeg:0= ) +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + gimp? ( dev-qt/linguist-tools ) + krita? ( dev-qt/linguist-tools ) + qt5? ( dev-qt/linguist-tools ) +" + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + + if ! test-flag-CXX -std=c++11 ; then + die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" + fi +} + +src_prepare() { + local PATCHES=( "${FILESDIR}"/${PN}-2.4.3-curl.patch ) + cmake-utils_src_prepare + sed -i '/CMAKE_CXX_FLAGS/s/-g //' CMakeLists.txt || die + + if use gimp || use krita || use qt5; then + sed -i '/CMAKE_CXX_FLAGS_RELEASE/d' gmic-qt/CMakeLists.txt || die + local S="${S}/gmic-qt" + PATCHES=() + cmake-utils_src_prepare + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_LIB=ON + -DBUILD_LIB_STATIC=$(usex static-libs) + -DBUILD_CLI=$(usex cli) + -DBUILD_MAN=$(usex cli) + -DBUILD_BASH_COMPLETION=$(usex cli) + -DCUSTOM_CFLAGS=ON + -DENABLE_CURL=$(usex curl) + -DENABLE_X=$(usex X) + -DENABLE_FFMPEG=$(usex ffmpeg) + -DENABLE_FFTW=$(usex fftw) + -DENABLE_GRAPHICSMAGICK=$(usex graphicsmagick) + -DENABLE_JPEG=$(usex jpeg) + -DENABLE_OPENCV=$(usex opencv) + -DENABLE_OPENEXR=$(usex openexr) + -DENABLE_OPENMP=$(usex openmp) + -DENABLE_PNG=$(usex png) + -DENABLE_TIFF=$(usex tiff) + -DENABLE_ZLIB=$(usex zlib) + -DENABLE_DYNAMIC_LINKING=ON + ) + + cmake-utils_src_configure + + # configure gmic-qt frontends + local CMAKE_USE_DIR="${S}/gmic-qt" + mycmakeargs=( + -DENABLE_DYNAMIC_LINKING=ON + -DENABLE_CURL=$(usex curl) + -DGMIC_LIB_PATH="${BUILD_DIR}" + -DGMIC_PATH="${S}/src" + ) + + if use gimp; then + mycmakeargs+=( -DGMIC_QT_HOST=gimp ) + BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_configure + fi + + if use krita; then + mycmakeargs+=( -DGMIC_QT_HOST=krita ) + BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_configure + fi + + if use qt5; then + mycmakeargs+=( -DGMIC_QT_HOST=none ) + BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_configure + fi +} + +src_compile() { + cmake-utils_src_compile + + # build gmic-qt frontends + local S="${S}/gmic-qt" + use gimp && { BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_compile || die "failed building gimp plugin" ; } + use krita && { BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_compile || die "failed building krita plugin" ; } + use qt5 && { BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_compile || die "failed building qt5 GUI" ; } +} + +src_install() { + cmake-utils_src_install + dodoc README + use cli && newbashcomp "${BUILD_DIR}"/resources/gmic_bashcompletion.sh ${PN} + + local PLUGINDIR="/usr/$(get_libdir)/gimp/2.0/plug-ins" + insinto "${PLUGINDIR}" + doins resources/gmic_film_cluts.gmz + + # install gmic-qt frontends + if use gimp; then + exeinto "${PLUGINDIR}" + doexe "${BUILD_DIR}"/gimp/gmic_gimp_qt + fi + use krita && dobin "${BUILD_DIR}"/krita/gmic_krita_qt + use qt5 && dobin "${BUILD_DIR}"/qt5/gmic_qt +} diff --git a/media-gfx/gnome-photos/Manifest b/media-gfx/gnome-photos/Manifest index 6152d77be595..367d176de9a9 100644 --- a/media-gfx/gnome-photos/Manifest +++ b/media-gfx/gnome-photos/Manifest @@ -1,3 +1,6 @@ +AUX 3.26.4-support-tracker1.patch 1094 BLAKE2B 224f4052fe379d79ca9fa02dc0d7e19196c5016e6f8e6936f620697d27f063aa421bd37dfa159856fedf0971095bc302f36591788923483729380dc9e754acce SHA512 32c1dcea04be037827d9c6b23ce38e3cb1d7548233f0569c58b87b3dcca25a060933dbbf89d8f2a5bac442c7fde854efc72f27df3e6eed9d0d0ee163a02e1763 DIST gnome-photos-3.24.6.tar.xz 986200 BLAKE2B 656737326f594958ea1cc956f85e50c7eaebc227491d95342acab9a1fa0e3c5c109efe932cd0465e48ada62beab238e6eef0e01033b145de72a1fb64ce2f3c89 SHA512 47fd858b643fe0bca9a4801d43bd7eb181db08d7e09941a60a134247df97b0e900cd062efef70da5161a9fceb1d33b998b87ad5eca0a5937a10c4e06b908de22 -EBUILD gnome-photos-3.24.6.ebuild 1776 BLAKE2B c4868a2dfe4d4dbbfa7a396ffaf2667844ac63f767162fa4fff975de27aa81cb86b3736f0b9461663a8a311e5e5f9fcce28934cf9e4da9fc8b74f2025810e2c8 SHA512 469751ff495f9a15ada2a680cc6191e5aef9a5e51770075a69578dfbfb1253a2d7e04e0cb5da850f0968e8d3224686f5f354683cd7718262f6f3b3caaee1bc24 +DIST gnome-photos-3.26.4.tar.xz 1101324 BLAKE2B 81e851bdeb39455cad6d4ba99194229507a809c3bd8c9ff0c24992cbbf90001d87f96d1c2b3c3a07101982e6ea169cba0e2249431138e962850f55fffc2c54ec SHA512 0a49b7eb29918ccf87af4211db6ffbb3c55ab40f4eaa1437317fda32de43b3b0c9033397d5b06fbc5012d0fa322a79dafdf46817cfaea57ef2f4df1a975fb489 +EBUILD gnome-photos-3.24.6.ebuild 1794 BLAKE2B dce8b2a44345c35c19058389cfa48d0e9f4e50f427e7d5406e09515598a13c6569b886cdf8e6effcaa9d87ad2ea693596ab49aaa6d8eb9ac930b28749bc6f1a3 SHA512 0a27e45dbdb2adfa84a8eb389a8342a9fa58f5d98d0142c1ab4817f7c2e5f247b7702968190947ad25db6ed1f7fe3a91be9683c5f57010600a2a890b8ca84975 +EBUILD gnome-photos-3.26.4.ebuild 2091 BLAKE2B c2ac7aaa7231118d8f1540882cb364446c2d8d4f0156c27edb0b869ff4f6f45b17ded79e9215af3022e3cb8598d7cdd6b9d05f63631fa104ff3d637d77a8e910 SHA512 257385a4c296d47f7d6e38c33720e539b403c5108ca2e736d0f6a4a70a272ec0a09a830593749cb986dcd96103fdc366220d83b4c50edc00fc24e9a0c68108f2 MISC metadata.xml 320 BLAKE2B b66fb85cefaafccf9575d4f85c017cc07cb55b75d377e8a95bf482b6cb7817f902c5fd3987e08c3d77b604f10710cb6f9820f5e4451e402b186e7714444abf4a SHA512 86c99b12ed97b3f09e9469dcb093e18f844f5b3efb3a3169e62e10fe446075c7839ba7ca00e3537744d3c839522cf5ed2ee33215cd5988466e35d0f4dd739b11 diff --git a/media-gfx/gnome-photos/files/3.26.4-support-tracker1.patch b/media-gfx/gnome-photos/files/3.26.4-support-tracker1.patch new file mode 100644 index 000000000000..508b5d3c9a50 --- /dev/null +++ b/media-gfx/gnome-photos/files/3.26.4-support-tracker1.patch @@ -0,0 +1,30 @@ +From 7b81db71110e325fc6343ae2582942a9ad038311 Mon Sep 17 00:00:00 2001 +From: Mart Raudsepp <leio@gentoo.org> +Date: Wed, 16 Jan 2019 05:08:25 +0200 +Subject: [PATCH] build: Keep supporting building against tracker-1 too + +--- + configure.ac | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 5965d33d..13196605 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -115,7 +115,12 @@ PKG_CHECK_MODULES(GSETTINGS_DESKTOP_SCHEMAS, [gsettings-desktop-schemas]) + PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= $GTK_MIN_VERSION]) + PKG_CHECK_MODULES(GTK_UNIX_PRINT, [gtk+-unix-print-3.0]) + PKG_CHECK_MODULES(PNG, [libpng16]) +-PKG_CHECK_MODULES(TRACKER, [tracker-control-2.0 tracker-sparql-2.0]) ++tracker_api="1.0" ++m4_foreach([VERSION], [[1.0], [2.0]], ++ [PKG_CHECK_EXISTS([tracker-control-VERSION tracker-sparql-VERSION], ++ [tracker_api="VERSION"]) ++ ]) ++PKG_CHECK_MODULES(TRACKER, [tracker-control-$tracker_api tracker-sparql-$tracker_api]) + + LIBGD_INIT([ + gtk-hacks +-- +2.17.0 + diff --git a/media-gfx/gnome-photos/gnome-photos-3.24.6.ebuild b/media-gfx/gnome-photos/gnome-photos-3.24.6.ebuild index d802c9d1eb7b..8b380b9f0ca6 100644 --- a/media-gfx/gnome-photos/gnome-photos-3.24.6.ebuild +++ b/media-gfx/gnome-photos/gnome-photos-3.24.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,7 +15,7 @@ KEYWORDS="amd64 x86" IUSE="flickr test upnp-av" COMMON_DEPEND=" - >=app-misc/tracker-1:=[miner-fs] + app-misc/tracker:0/100[miner-fs] >=dev-libs/glib-2.44:2 gnome-base/gsettings-desktop-schemas >=dev-libs/libgdata-0.15.2:0=[gnome-online-accounts] @@ -42,6 +42,7 @@ RDEPEND="${COMMON_DEPEND} DEPEND="${COMMON_DEPEND} app-text/yelp-tools dev-util/desktop-file-utils + dev-util/glib-utils >=dev-util/intltool-0.50.1 virtual/pkgconfig test? ( $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') ) diff --git a/media-gfx/gnome-photos/gnome-photos-3.26.4.ebuild b/media-gfx/gnome-photos/gnome-photos-3.26.4.ebuild new file mode 100644 index 000000000000..e2c8b5c05442 --- /dev/null +++ b/media-gfx/gnome-photos/gnome-photos-3.26.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +GNOME2_EAUTORECONF="yes" + +inherit gnome2 python-any-r1 virtualx + +DESCRIPTION="Access, organize and share your photos on GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Photos" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="flickr test upnp-av" + +# tracker-2 is supported, but we need to pull in tracker-miners for that, which we didn't have in main tree yet +COMMON_DEPEND=" + app-misc/tracker:0/100[miner-fs] + >=dev-libs/glib-2.44:2 + gnome-base/gsettings-desktop-schemas + >=dev-libs/libgdata-0.15.2:0=[gnome-online-accounts] + media-libs/babl + >=media-libs/gegl-0.3.15:0.3[cairo,jpeg2k,raw] + media-libs/gexiv2 + >=media-libs/grilo-0.3.0:0.3= + >=media-libs/libpng-1.6:0= + >=net-libs/gnome-online-accounts-3.8:= + >=net-libs/libgfbgraph-0.2.1:0.2 + sci-geosciences/geocode-glib + >=x11-libs/cairo-1.14 + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.22.16:3 +" +# gnome-online-miners is also used for google, facebook, DLNA - not only flickr +# but out of all the grilo-plugins, only upnp-av and flickr get used, which have USE flags here, +# so don't pull it always, but only if either USE flag is enabled +RDEPEND="${COMMON_DEPEND} + net-misc/gnome-online-miners[flickr?] + upnp-av? ( media-plugins/grilo-plugins:0.3[upnp-av] ) + flickr? ( media-plugins/grilo-plugins:0.3[flickr] ) +" +DEPEND="${COMMON_DEPEND} + app-text/yelp-tools + dev-util/desktop-file-utils + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') ) +" +# app-text/yelp-tools needed for eautoreconf; otherwise probably just itstool + +PATCHES=( + "${FILESDIR}"/${PV}-support-tracker1.patch # requires eautoreconf +) + +python_check_deps() { + use test && has_version "dev-util/dogtail[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + # XXX: how to deal with rdtscp support, x86intrin + gnome2_src_configure \ + $(use_enable test dogtail) +} + +src_test() { + virtx emake check +} diff --git a/media-gfx/gphoto2/Manifest b/media-gfx/gphoto2/Manifest index a68a98c999ca..49ebb64a197a 100644 --- a/media-gfx/gphoto2/Manifest +++ b/media-gfx/gphoto2/Manifest @@ -1,8 +1,6 @@ AUX 0001-Fix-unwanted-automagic-activation-of-aalib-support.patch 1049 BLAKE2B 62afe72d6630420fa0068e652cdfbfde3c4e73541e53154627ad1cc23ad10f72ac85cf5ae317d2b0bf4127e474af2ca2268e57011eb835d57d88e2d6fa65a85f SHA512 252390cfb2533e9c15d1f881f6729660e2f6cd737a9257c5dec7f06f72f2960c3b5fe940e7fc774c862e6156f517357ca7b933822c23a466ef39fbfc2f14bf8c -DIST gphoto2-2.5.14.tar.bz2 784442 BLAKE2B 185bd0d18e0b8d280c0ec366738850bd1fe2d1405179700fe25678c04a88b2092820aa5f049bcc6f97c964b5875bd32e3f8c7c5240ef3a71f2af04d6bfdaadb9 SHA512 47cb0d212673c9c0dbc996e0a67191a307599c844293a67184bd1529d9e3b417e154c6de64f4563f6f7e599a1bd6b127266f85f5baa97bd7d86922405bf45331 DIST gphoto2-2.5.15.tar.bz2 790513 BLAKE2B e8a22d014ebd33f5e0976d72c5df8373e29106def5da575b69d21f2a58e9408c6ce399476135909e57111196d6e61ead953f66a00c9f440b7cf92e0da0f4a0f6 SHA512 46058a12a81379f3311911e103cf934b6eb616d7f81180615b385d01e855bf6ce998eb12811b9d032328ebed6acfc4456f3a383cfedb93c6967c9699654d4f40 DIST gphoto2-2.5.20.tar.bz2 790065 BLAKE2B 6e10aa468696bc3eff51aaa3e886ad2373997f91597e42b33777ac56bf668f918c2fa0cb8b70eb8f7cb45507e67c9cfc3a46a7408449ad35cc3b743daf74859d SHA512 0350c38c264e5ba858ee14952fbf6ad271e7fef05e3f5f8eb3d45102099ae435fec63b09881efa99af60d4e086a9c2f69be92a7e49617643ab13146a5e4655f3 -EBUILD gphoto2-2.5.14.ebuild 1392 BLAKE2B d9dad5be797d3f5e2f789c42060c62499d59f8f8aa5129608eea7f023b0257a38d1d3e2d54b4889128f0a867368a3abcac4e3f47bddf98c675049f0b9f24f314 SHA512 6ef5220aaf64e480a95e71d5596093179a41d93912c1d17614034e4814832ba8788a1e282a8711096482eb94c284a65365fb85c67a748fb060a38ef921349a8c -EBUILD gphoto2-2.5.15.ebuild 1390 BLAKE2B f932004b8728e3bc850d93e4bdb95bf181f4396961919634683b0524e1f02e4e576703d9438b5ba82c390c3e697ca6f8e7a97935939ac755f7094d9ee30703c8 SHA512 3668c7919a7f32273797172b331d83d9dcbf3fcd8fb4d6aae90f8fe49bfef26b4160819112a963f75ae630411fb47a4393c6756a26a34cdee64079fed4b24182 +EBUILD gphoto2-2.5.15.ebuild 1389 BLAKE2B dfdf84cdcd5c2305ee92572633308fd7f861677dfa98fe708b76b4ca6983014854e27f8c21456a9b1db806d2a160a0f45fe4bea13b5227290c0d6edeed444b1d SHA512 353294fbc29fb2c3f948e51906b91f5214948e2c6172a171a0a9a6ae19d318b215865bea8212c63cbfcfd5d54134acd9ab35b7cf8eba8c6677c9727833fd6ad0 EBUILD gphoto2-2.5.20.ebuild 1331 BLAKE2B 89ef478df066b8824503bea7a1dcbad7257974b22731080a6eeadb16ef45885c72edeef77b600c6088a72ee4007bbf54a28befce6f536f400cc7c10cfdd9e7e9 SHA512 31d763dd83771ad375011cab0d9a8ff563b47654677db787f1b953a239b7d977a70ca412a5ba8bc85bb847c2019fe322a79cbe1b2a794ed6f51788071d450825 MISC metadata.xml 449 BLAKE2B 324e2ea46a0f8199033bf628d6719a51968a02af01fa3e8abcd1caaf7a4dcd892bfb6b8347a030edf4b2e8529aba47d7103789103a3b03adaa538338ab2ec91f SHA512 f938819a203e0119b1d81aa1dc812717d6ef02c3012f8ed667db452c7712bb7b142cee36d519ec33f4cf65ebcba7a660e2f67f6b66087ec6be832a4987e10c53 diff --git a/media-gfx/gphoto2/gphoto2-2.5.14.ebuild b/media-gfx/gphoto2/gphoto2-2.5.14.ebuild deleted file mode 100644 index 5ef345e2fa0a..000000000000 --- a/media-gfx/gphoto2/gphoto2-2.5.14.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools - -DESCRIPTION="Free, redistributable digital camera software application" -HOMEPAGE="http://www.gphoto.org/" -SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" -IUSE="aalib exif ncurses nls readline" - -# aalib -> needs libjpeg -RDEPEND=" - dev-libs/popt - >=media-libs/libgphoto2-2.5.10:=[exif?] - aalib? ( - media-libs/aalib - virtual/jpeg:0 ) - exif? ( media-libs/libexif ) - ncurses? ( dev-libs/cdk:0= ) - readline? ( sys-libs/readline:0= ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( >=sys-devel/gettext-0.14.1 ) -" - -src_prepare() { - default - if ! use exif ; then - # Remove tests that require EXIF to pass, bug 610024 - rm "${S}"/tests/data/test0{35,36,37,40}* || die - fi - # Leave GCC debug builds under user control - sed -r '/(C|LD)FLAGS/ s/ -g( |")/\1/' \ - -i configure{.ac,} || die - eautoreconf -} - -src_configure() { - CPPFLAGS="-I/usr/include/cdk" \ - econf \ - $(use_with aalib) \ - $(use_with aalib jpeg) \ - $(use_with exif libexif auto) \ - $(use_with ncurses cdk) \ - $(use_enable nls) \ - $(use_with readline) -} - -src_install() { - emake DESTDIR="${D}" \ - HTML_DIR="${D}"/usr/share/doc/${PF}/sgml \ - install - - einstalldocs - rm -rf "${D}"/usr/share/doc/${PF}/sgml/gphoto2 -} diff --git a/media-gfx/gphoto2/gphoto2-2.5.15.ebuild b/media-gfx/gphoto2/gphoto2-2.5.15.ebuild index 7fb110bd99d0..f3f04bd08f16 100644 --- a/media-gfx/gphoto2/gphoto2-2.5.15.ebuild +++ b/media-gfx/gphoto2/gphoto2-2.5.15.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86" +KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" IUSE="aalib exif ncurses nls readline" # aalib -> needs libjpeg diff --git a/media-gfx/inkscape/Manifest b/media-gfx/inkscape/Manifest index e0f649076e9a..80c0fb4ad568 100644 --- a/media-gfx/inkscape/Manifest +++ b/media-gfx/inkscape/Manifest @@ -5,7 +5,9 @@ AUX inkscape-0.91_pre3-sk-man.patch 362 BLAKE2B adfe363332dcf46297d01feb986ffaf4 AUX inkscape-0.92.1-automagic.patch 5421 BLAKE2B 0885e9f785b7884e10659c1f8aace9a843113b5d1c059251c75297ef828eb7c704815798c861e03060c89c02e36cb45edf566065234d330c1757e8f2bcc89688 SHA512 c6bc791c8e0a4302f2b21c1ad4d39e8e880017f4cdcf8b23d7749498a0f0a1d2460abeab3216e9eeb6b87a300e17451ace86c738c58a174e92946cb280ef43b9 AUX inkscape-0.92.1-desktop.patch 919 BLAKE2B c9952613e8d8dca1cd11146afd4d8db210be0f65f61b1a674cf5443dfaed3422e7082667cb93e183589d1e840ac3b55c7e70d03f44c0302b8c7db8ae621a976d SHA512 0000e5c6bd83e7d3994712d5a9f7369b2ecb7a15ba8371bfc9e2646b33293334eff987ffc360c2753025d0561395368024587d71ffc015f5a0e8c39077fd45b2 AUX inkscape-0.92.3-freetype_pkgconfig.patch 948 BLAKE2B 4a21ed3ef6c002a6fd756b31989d531f94f0bbf2c9bad2ac5fdb453f8a1a5c169e71d7ef5d71ca55072f76fd31646589a62c06b5d44809f6ef873cbe1edca1f9 SHA512 95a265b0e7e9fda74a9bcf31eb6d23afead4c71567126ca893b75c0dcc87f5b03e38c30e2917b4278dbf4fcaf35c2b3fe7a1b509a43b19212c814a2a2b9de53d -DIST inkscape-0.92.3-poppler-patches.tar.xz 7508 BLAKE2B afb639e9149256d0a7d534c28f3c51cb6adf0bfdb458be1c729475f235cd363e3e6b50033f7d377eaeae9f564b33e710ac01fc323821f5b4a97ffc73edc342a5 SHA512 0011ca503e786520c756ff4578c0db55aadf907bf6479837fa35e7a035695ff7e0aaf8f878f5354730ac75808d36c5e34ae15d32a1af37134ce881edd810c4a5 +DIST inkscape-0.92.3-poppler-patches-1.tar.xz 7000 BLAKE2B a7658d592806df7580ab587c677907588678222f53bc8305b9adf399b8237e8ac3e169a22a39e33a50f5e517ea4122d736134dfaf5bd675fb34e5c168eb42e30 SHA512 8254d5cc0651bc6ed389f4610aac5ed9451b8c662e82b5c0f9aa221be748f4cd2075a41234c2516a98159cbd3e23c9ada3d519edbe69f05bab418d2fb1af2ffa DIST inkscape-0.92.3.tar.bz2 31606442 BLAKE2B bc90dc160ca059395a2951b7b2daeb8730753c551f78e6af88b51b41322a438256499f754fb6b07946d77b80e1ddfe5514944f9b5cbb19d2bfdecb8625328db0 SHA512 af3c0f672a108e583f3c92cde1451b3f1f5319c1669891005c230e73b3485aa8951af6d7b21c7ccd9e4acbca8eaa5a3bb61ae1d828e81885bc7b61a8ae933687 -EBUILD inkscape-0.92.3-r1.ebuild 4181 BLAKE2B 2d5fa7b8383efe738659803d9bbbacaf4f633143ae4fd05e8b08b9878521930dfa404e34c05be48b83bd011449c0889c504979ca1eb144677ead6fdddc9f3483 SHA512 51fed179cbb906be5deb6e75ed28c4c5da47ea8db5215634cf687c952c31beae3149e2e3a9084ca75a6690e387dae6e5866b3070c38769f46f3f0a517a09f74f +DIST inkscape-0.92.4.tar.bz2 31929728 BLAKE2B 892bf4ed913019b27a9b8897e3ae32c44152163ded0eb345d59915ffdc9818d29f210de3294ef1b05601141185b5e3b10779778551b860f31e7df5c659492c77 SHA512 b9034605a79cd8aea808edf42e284819951ae1ea67778f0922f4c10224e94aca6c844acbc2294625773f0a7047d4e32ccdada876238a792a2c17db172c88e120 +EBUILD inkscape-0.92.3-r1.ebuild 4183 BLAKE2B 074d57b407abdc33e616d7d6229b9b7db12fc6ed6c5278797bd62296403815d6900081c5fd5adaf20ba4a12bdaf083314531ecb8f10212f51e9ae8293d113ada SHA512 09ec9080cc60458b98deaeda24ec08b27200db024f3f34270264576b4edb9d3a6beb241de0c0a2ff5d019e072538c7279385b0a242dae007d41395de5032a6c9 +EBUILD inkscape-0.92.4.ebuild 3785 BLAKE2B 84189598db59c7d51780eb3c664cc7796be22f176655d8ad36f4a7cfe72581bcb4872603d78f861c7c66a29b20574f736a18f0ce26458f2d283404ef7b730a62 SHA512 8e2cded9dc358b1b864b07003a3e134aca4c0bac6ba07818879339dd1586564478e08ad9d1e4b51339513401c99c5b68b19ea70b89747e41c507a25b41bea633 MISC metadata.xml 812 BLAKE2B 9b06a44ec7ded4b7b4618813bb4b2b5deed3bbc45fd43cffcf435594f3141943a45e592bf2947b00895f0f40d40b0fbe51109daa63f73f3276f50afec620d9fa SHA512 dbe4bb2e918a4c8a20c9a273cef29976d8cfe74e6c2ae1ba8cb77f592c885e8353b7bc3ca8f529e00629f6a0ac7627877cdef68fe07472fc1f417abba5d0268b diff --git a/media-gfx/inkscape/inkscape-0.92.3-r1.ebuild b/media-gfx/inkscape/inkscape-0.92.3-r1.ebuild index 82f1004b75f5..7e552f52df9d 100644 --- a/media-gfx/inkscape/inkscape-0.92.3-r1.ebuild +++ b/media-gfx/inkscape/inkscape-0.92.3-r1.ebuild @@ -12,7 +12,7 @@ MY_P="${P/_/}" DESCRIPTION="SVG based generic vector-drawing program" HOMEPAGE="https://inkscape.org/" SRC_URI="https://inkscape.global.ssl.fastly.net/media/resources/file/${P}.tar.bz2 - https://dev.gentoo.org/~asturm/distfiles/${P}-poppler-patches.tar.xz" + https://dev.gentoo.org/~asturm/distfiles/${P}-poppler-patches-1.tar.xz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" diff --git a/media-gfx/inkscape/inkscape-0.92.4.ebuild b/media-gfx/inkscape/inkscape-0.92.4.ebuild new file mode 100644 index 000000000000..b4bddca2ef6f --- /dev/null +++ b/media-gfx/inkscape/inkscape-0.92.4.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" +inherit autotools flag-o-matic gnome2-utils xdg toolchain-funcs python-single-r1 + +MY_P="${P/_/}" + +DESCRIPTION="SVG based generic vector-drawing program" +HOMEPAGE="https://inkscape.org/" +SRC_URI="https://inkscape.global.ssl.fastly.net/media/resources/file/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="cdr dia dbus exif gnome imagemagick openmp postscript inkjar jpeg latex" +IUSE+=" lcms nls spell static-libs visio wpg" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + >=app-text/poppler-0.26.0:=[cairo] + >=dev-cpp/glibmm-2.54.1 + >=dev-cpp/gtkmm-2.18.0:2.4 + >=dev-cpp/cairomm-1.9.8 + >=dev-libs/boehm-gc-7.1:= + >=dev-libs/glib-2.28 + >=dev-libs/libsigc++-2.0.12 + >=dev-libs/libxml2-2.6.20 + >=dev-libs/libxslt-1.0.15 + dev-libs/popt + dev-python/lxml[${PYTHON_USEDEP}] + media-gfx/potrace + media-gfx/scour[${PYTHON_USEDEP}] + media-libs/fontconfig + media-libs/freetype:2 + media-libs/libpng:0= + sci-libs/gsl:= + x11-libs/libX11 + >=x11-libs/gtk+-2.10.7:2 + >=x11-libs/pango-1.24 + cdr? ( + app-text/libwpg:0.3 + dev-libs/librevenge + media-libs/libcdr + ) + dbus? ( dev-libs/dbus-glib ) + exif? ( media-libs/libexif ) + gnome? ( >=gnome-base/gnome-vfs-2.0 ) + imagemagick? ( media-gfx/imagemagick:=[cxx] ) + jpeg? ( virtual/jpeg:0 ) + lcms? ( media-libs/lcms:2 ) + spell? ( + app-text/aspell + app-text/gtkspell:2 + ) + visio? ( + app-text/libwpg:0.3 + dev-libs/librevenge + media-libs/libvisio + ) + wpg? ( + app-text/libwpg:0.3 + dev-libs/librevenge + ) +" +# These only use executables provided by these packages +# See share/extensions for more details. inkscape can tell you to +# install these so we could of course just not depend on those and rely +# on that. +RDEPEND="${COMMON_DEPEND} + dev-python/numpy[${PYTHON_USEDEP}] + media-gfx/uniconvertor + dia? ( app-office/dia ) + latex? ( + media-gfx/pstoedit[plotutils] + app-text/dvipsk + app-text/texlive-core + ) + postscript? ( app-text/ghostscript-gpl ) +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/boost-1.36 + dev-util/glib-utils + >=dev-util/intltool-0.40 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/${PN}-0.92.1-automagic.patch" + "${FILESDIR}/${PN}-0.91_pre3-cppflags.patch" + "${FILESDIR}/${PN}-0.92.1-desktop.patch" + "${FILESDIR}/${PN}-0.91_pre3-exif.patch" + "${FILESDIR}/${PN}-0.91_pre3-sk-man.patch" + "${FILESDIR}/${PN}-0.48.4-epython.patch" +) + +S="${WORKDIR}/${MY_P}" + +RESTRICT="test" + +pkg_pretend() { + if use openmp; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} + +src_prepare() { + default + + sed -i "s#@EPYTHON@#${EPYTHON}#" \ + src/extension/implementation/script.cpp || die + + eautoreconf + + # bug 421111 + python_fix_shebang share/extensions +} + +src_configure() { + # aliasing unsafe wrt #310393 + append-flags -fno-strict-aliasing + + local myeconfargs=( + $(use_enable static-libs static) + $(use_enable nls) + $(use_enable openmp) + $(use_enable exif) + $(use_enable jpeg) + $(use_enable lcms) + --enable-poppler-cairo + $(use_enable wpg) + $(use_enable visio) + $(use_enable cdr) + $(use_enable dbus dbusapi) + $(use_enable imagemagick magick) + $(use_with gnome gnome-vfs) + $(use_with inkjar) + $(use_with spell gtkspell) + $(use_with spell aspell) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete || die + python_optimize "${ED%/}"/usr/share/${PN}/extensions +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} diff --git a/media-gfx/krita/Manifest b/media-gfx/krita/Manifest index 9e20e6caff3d..6d73524abf62 100644 --- a/media-gfx/krita/Manifest +++ b/media-gfx/krita/Manifest @@ -1,8 +1,5 @@ AUX krita-4.0.3-tests-optional.patch 10001 BLAKE2B d31e7e89c745642e6cf5fec9f464122954bc050104f1f3dacff2001b8a594a376cd9a61243ca3e6eafc842c68a63c8d1a3b5dc75e737ff8ef8b0e2f1f08d61a2 SHA512 753af31735cd9df6d17e9323fa6699b2b27b60f58d0597e84a30f749c97c7a0595b3719e94235a34e3e51a90b0f6c183e4864ea6a0c5e5f70f27c41e3da0ffdb -AUX krita-4.1.5-desktopfile.patch 1587 BLAKE2B 7155223dfa5a9bace62729f71a298953c9c2b9ec426693b539bcab961287ee172d8c6151f028508efdfc4e0983b3a8903affefc8ee1a30eb48a51f807c3545df SHA512 ad2a265d287a8e5de9752a83f697f49470ec9984b69a24dd351708372f7c3f1b5dabbbd671a53e5e0fdfa4dae2a0ab1b90ebfc19e6e8ba745a673f1cff607707 -DIST krita-4.1.5.tar.gz 243929094 BLAKE2B 7288717978e3370b435d73dc1f7005dc339f3d11e0023cb29abf964d16a5751107287d0eca31b053a2068978c4ed40b745358afc5667b71df98e41373171ff82 SHA512 7790e3e61c18f5a2f5ba0c5d08f09bf78bcfba563b46751689db00814b9775db85cc64c162aa1c1dc47b5e73e49598b24e6a4599b8350a9e07c15aa4eb463499 DIST krita-4.1.7-patchset.tar.xz 7208 BLAKE2B 0c5ca308d5d11878f63312a3980e66838d82a50ad64f67326a4cf35e36b500b22e5d56441516f65c3c09dd9ec7adf2f3b76ed90e3644c24e86a8ddbc499bf772 SHA512 a4290b7973cbe157c1d21f914130a3d43fcf6afa223795d1c52ca2ef22b552f0eac7714f97766d70cbfee2b88f5367c5da21baeb76febd7490cec5896791f3b4 DIST krita-4.1.7.101.tar.gz 243977488 BLAKE2B 84cfb0f7e6e7b63c3bb9303793c2b74f180982f66ed0756c8878bf8db64b5d9bf9d3cbdb28afba11a952737b02e46759a465d90a2e8822fbb382ae679ba3c3de SHA512 8558501684bc686f431660f3dffeb75575fea3bd23662b6c598c27173cce3145c3ec2caff32b56dd597c50907a69b2faab5259cc6f518f5a0e160cae89004791 -EBUILD krita-4.1.5.ebuild 3169 BLAKE2B bb899ccaecd54bb8ba069631692aac6a64a0ed9618175b4e685ff9198818fae355814af4cb550f025f6093c6e2eb314b63a3f33da64d1e5d48c002189e6ea5a6 SHA512 33b4e2e836b187428f92620d590cfd3ed068ca48d6811a9290cf582db11e118463b13fc933b3948b5f4dd9d4addefc416f8cdf41cbdf51a1e2930060a28221f2 -EBUILD krita-4.1.7-r1.ebuild 3458 BLAKE2B 698c3974fc2d55c1dbb6ddd6b5d16272528943e71f42ae7425bcbb6de9076b5e431de317543d21725cbf13e0787e686972c5c603e914ecadb984aaac3a10f665 SHA512 c0b8ae87e32b963053f9f9a1d29b1a0ff990ac5c1a24b1bffc3e97218e3b66c77202ef0f3b4c082a87e844350de6f89bef35f5c2c19534f5b1e277ba3f8e5a8a +EBUILD krita-4.1.7-r1.ebuild 3457 BLAKE2B 520b1b159aa586ca15e7347c031887fc27df80378b5ac8790f0242fde258717228bfa5cfc2ca5851e875f1482a6197d8a0ba9344ac02953c679b82fcc550817c SHA512 39d313a44e0086604f00a4bca6e6d15f44e5041d38f55b3da3c5906fe67d192a16fe275c222fd89ca6c21156d013c46578f083a3e0641b892714d92b8c569551 MISC metadata.xml 696 BLAKE2B 433ca97e92c2e6c8a0f5bfbd4cba667576be6cc8c93330b689e0088663ac6df263d62b7be6d42debf3480b706721f06be089c5e9a139451e49b609ea4a081ae2 SHA512 becd89686babf0fde2a7e53196715bbca2a4f0d6bad0bc3a55128c9ee19dbe5819be1020db6458ec0c053cf7370a390ff1e84fd9c49331fc28e5a60348fd34dd diff --git a/media-gfx/krita/files/krita-4.1.5-desktopfile.patch b/media-gfx/krita/files/krita-4.1.5-desktopfile.patch deleted file mode 100644 index 8721ab8a8a95..000000000000 --- a/media-gfx/krita/files/krita-4.1.5-desktopfile.patch +++ /dev/null @@ -1,39 +0,0 @@ -From d267979af9524372f00a0759f02e75c60f604da5 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> -Date: Mon, 15 Oct 2018 13:08:09 +0200 -Subject: [PATCH] krita_qimageio.desktop: Fix MimeType separators - -Summary: -desktop file did not pass validation. - -/usr/share/applications/krita_qimageio.desktop: error: (will be fatal in the future): value "image/bmp,image/x-xpixmap,image/x-xbitmap,image/webp,image/vnd.microsoft.icon" for key -"MimeType" in group "Desktop Entry" contains value "image/bmp,image/x-xpixmap,image/x-xbitmap,image/webp,image/vnd.microsoft.icon" which is an invalid MIME type: -"image/bmp,image/x-xpixmap,image/x-xbitmap,image/webp,image/vnd.microsoft.icon" contains an invalid character in the subtype - -Reviewers: #krita, rempt - -Reviewed By: #krita, rempt - -Tags: #krita - -Differential Revision: https://phabricator.kde.org/D16222 ---- - plugins/impex/qimageio/krita_qimageio.desktop | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/plugins/impex/qimageio/krita_qimageio.desktop b/plugins/impex/qimageio/krita_qimageio.desktop -index 4d7dabe235..af366fef07 100644 ---- a/plugins/impex/qimageio/krita_qimageio.desktop -+++ b/plugins/impex/qimageio/krita_qimageio.desktop -@@ -63,7 +63,7 @@ Name[x-test]=xxKritaxx - Name[zh_CN]=Krita - Name[zh_TW]=Krita - Exec=krita %f --MimeType=image/bmp,image/x-xpixmap,image/x-xbitmap,image/webp,image/vnd.microsoft.icon -+MimeType=image/bmp;image/x-xpixmap;image/x-xbitmap;image/webp;image/vnd.microsoft.icon; - Type=Application - Icon=calligrakrita - Categories=Qt;KDE;Office;Graphics; --- -2.18.0 - diff --git a/media-gfx/krita/krita-4.1.5.ebuild b/media-gfx/krita/krita-4.1.5.ebuild deleted file mode 100644 index 71d42ec6cccf..000000000000 --- a/media-gfx/krita/krita-4.1.5.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -KDE_TEST="forceoptional" -VIRTUALX_REQUIRED="test" -PYTHON_COMPAT=( python3_{4,5,6} ) -inherit kde5 python-single-r1 - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${PN}/${PV%.1}/${P}.tar.gz" - KEYWORDS="amd64 ~x86" -fi - -DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!" -HOMEPAGE="https://www.kde.org/applications/graphics/krita/ https://krita.org/" -LICENSE="GPL-3" -IUSE="color-management fftw gif +gsl heif +jpeg openexr pdf qtmedia +raw tiff vc" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -COMMON_DEPEND="${PYTHON_DEPS} - $(add_frameworks_dep karchive) - $(add_frameworks_dep kcompletion) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kcrash) - $(add_frameworks_dep kguiaddons) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kiconthemes) - $(add_frameworks_dep kio) - $(add_frameworks_dep kitemmodels) - $(add_frameworks_dep kitemviews) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep kwindowsystem) - $(add_frameworks_dep kxmlgui) - $(add_qt_dep qtconcurrent) - $(add_qt_dep qtdbus) - $(add_qt_dep qtdeclarative) - $(add_qt_dep qtgui '-gles2') - $(add_qt_dep qtnetwork) - $(add_qt_dep qtprintsupport) - $(add_qt_dep qtsvg) - $(add_qt_dep qtwidgets) - $(add_qt_dep qtx11extras) - $(add_qt_dep qtxml) - dev-libs/boost:= - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/sip[${PYTHON_USEDEP}] - media-gfx/exiv2:= - media-libs/lcms - media-libs/libpng:0= - sys-libs/zlib - virtual/opengl - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXi - color-management? ( media-libs/opencolorio ) - fftw? ( sci-libs/fftw:3.0= ) - gif? ( media-libs/giflib ) - gsl? ( sci-libs/gsl:= ) - jpeg? ( virtual/jpeg:0 ) - heif? ( media-libs/libheif:= ) - openexr? ( - media-libs/ilmbase:= - media-libs/openexr - ) - pdf? ( app-text/poppler[qt5] ) - qtmedia? ( $(add_qt_dep qtmultimedia) ) - raw? ( media-libs/libraw:= ) - tiff? ( media-libs/tiff:0 ) -" -DEPEND="${COMMON_DEPEND} - dev-cpp/eigen:3 - dev-lang/perl - sys-devel/gettext - vc? ( >=dev-libs/vc-1.1.0 ) -" -RDEPEND="${COMMON_DEPEND} - !app-office/calligra:4[calligra_features_krita] - !app-office/calligra-l10n:4[calligra_features_krita(+)] -" - -# bug 630508 -RESTRICT+=" test" - -PATCHES=( - "${FILESDIR}/${PN}-4.0.3-tests-optional.patch" - "${FILESDIR}/${P}-desktopfile.patch" -) - -pkg_setup() { - python-single-r1_pkg_setup - kde5_pkg_setup -} - -src_configure() { - # Prevent sandbox violation from FindPyQt5.py module - # See Gentoo-bug 655918 - addpredict /dev/dri - - local mycmakeargs=( - $(cmake-utils_use_find_package color-management OCIO) - $(cmake-utils_use_find_package fftw FFTW3) - $(cmake-utils_use_find_package gif GIF) - $(cmake-utils_use_find_package gsl GSL) - $(cmake-utils_use_find_package heif HEIF) - $(cmake-utils_use_find_package jpeg JPEG) - $(cmake-utils_use_find_package openexr OpenEXR) - $(cmake-utils_use_find_package pdf Poppler) - $(cmake-utils_use_find_package qtmedia Qt5Multimedia) - $(cmake-utils_use_find_package raw LibRaw) - $(cmake-utils_use_find_package tiff TIFF) - $(cmake-utils_use_find_package vc Vc) - ) - - kde5_src_configure -} diff --git a/media-gfx/krita/krita-4.1.7-r1.ebuild b/media-gfx/krita/krita-4.1.7-r1.ebuild index 9a37a3abbdb5..929971405f1a 100644 --- a/media-gfx/krita/krita-4.1.7-r1.ebuild +++ b/media-gfx/krita/krita-4.1.7-r1.ebuild @@ -12,7 +12,7 @@ inherit kde5 python-single-r1 if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/${PN}/${PV%.1}/${P}.101.tar.gz https://dev.gentoo.org/~asturm/distfiles/${P}-patchset.tar.xz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" fi DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!" diff --git a/media-gfx/nomacs/Manifest b/media-gfx/nomacs/Manifest index b0ed20fb76a4..6f9472019be4 100644 --- a/media-gfx/nomacs/Manifest +++ b/media-gfx/nomacs/Manifest @@ -1,9 +1,6 @@ AUX nomacs-3.10.2_fix_move_crop_area_tooltip.patch 1254 BLAKE2B 5dec4f07fc0cdcd1316a61c179da94bdeaf01d56bb8c2d5327261280d176a976dc406c851f2f2b84d6ac5c62df5646ac8be64de1561edf8ad3220a353a95b887 SHA512 2866be24f07534bb34f15374145240580552fcfd3c33c0193236f597d9edaa256809b5a0da88cb58230d7d0efc19ae56bbf5247b789d5b82ae3ae89c489828ed -AUX nomacs-3.8.1-qt-5.11.patch 4507 BLAKE2B 5473253ebd9405ee31dc8fa230dc3548f15f3b01cbeadf388339f836091c4a0880346a1d06344e1935c79fa1f25d30f76e1bba87363b777235a181c28aba713b SHA512 14495e3f1a93c5559fef6bfa3a141ec8b9b84e11cce09d3f362f1a8f9de1ab2b31b6c3f1407fa3f79f828b79d65f940118a311c69ae0aefee9c19cd87880bb3c DIST nomacs-3.10.2.tar.gz 32302506 BLAKE2B 14f9eb9188f74c91cf088bac757a4023f6590bc05687b4809794a70bdd1e2dbcc2b58ad65062db14cfec9f4c639ceb21e64df19f1c1584256ee9586ab588d8af SHA512 977dbe24e09b00001dd8a33b18c1dbbb3a59106715746b07892f289918205818664fd7b4213028d4288009bcf14a0195759ac1eafca076f81ee72a1e2ae027dd DIST nomacs-3.12.tar.gz 1736648 BLAKE2B 533e18dec4be5d945213ccd629262a2cbae1eba93599f43be0a98d32d0b54d9caad7d963809f2fc9bb5c1ba682a39f44763b5d04e50c6e86658f6cd84324f3d2 SHA512 4508354d48a6115cd40f701cc90cbbcb84490e99eaac0295db48f6fea99550d5e2b3e7365128d0c9cc4eeb621906f55e275603d84cb8b6bb164d0b5e2e192119 -DIST nomacs-3.8.1.tar.gz 32184536 BLAKE2B 3ba4e0b0220797991c5999164e27fb3c57218d87d17858f5cf6098d8b91ddd0b3330836642999ce953f3ce9b538dcb35ecb48400f94f11805cd8eedeed05b110 SHA512 ff27570bc15096d0e331ad2c871b2f504a414927b8e64166668dedbbbc41f8cd031d9fb142c89c22cff76bf79156f93decf1038e30eecfc3de3e328a325f0134 -EBUILD nomacs-3.10.2.ebuild 1749 BLAKE2B 27219ed51ad2a7a727b0327e2ce5548a56c659d395ac669fee561e7ba381f9064c7c3d2c5ecb25279a0d856aff0bb9a05ab55256df9f8171854ba3d425b4bef4 SHA512 cf513315746d6a1e4c2089e25f6a5c510ebb68d8d463f1c0d3d00bdfac3ef8f83d086788f925200b32c1d5fdc31ac77b281aab50b49bca4532541ff304716cb3 +EBUILD nomacs-3.10.2.ebuild 1748 BLAKE2B 52611e005972dab2c3b70605c59e5a9d02f2bfad1a214aa80c9cd3043cbb43317b475cba69fcccf58b50c010d68da8fb328002d423bff85b0c20ebfc1aa6fbde SHA512 4275890d496f26f7de207c986cfb7b8d8c37f0db992111e3b9f4c34980f0c76124bba71ddabf44e578aeb491099a4790ae79f855008ec00cb9f1ec6f33203489 EBUILD nomacs-3.12.ebuild 1341 BLAKE2B 66c969a82102d950b72e0b2fdce39d4970bf4fe8b3d36ac2e751f6e31616f551f2bb6615c4586236de9fd7b0ce374f9da2e2c3eb4af6f28783ccc87a7b3c9af5 SHA512 7edc9b02d4721c46be37d77aad4912a65081098c50084753ab501974033dc3bc383860b7a4a7667eeacbd12a0c60a41a9c5a511b2ba1eae692dfd71ad44cc6f0 -EBUILD nomacs-3.8.1.ebuild 1733 BLAKE2B 52eaaba8455349581f26a583159df4ad8494e68fca503fa1659455dea921a9829145e2ac4302e36325fc33fc77424b6b263191995f7d8be7ab8a9051f9eb7860 SHA512 894b46f2662f472253b281b007018caace584076517bd010908a506533b7b299325a4fd5c43443096b66bcd9a80a976b43a05c2938caca5748cf684b17986ec4 MISC metadata.xml 658 BLAKE2B 72c4850c61d0aa0c068870eb15f33471279182f0b4fb09a18f24b4a497df4f0928492a2cb24d6f47bd6adc54f3e8be95d937c65f95db01dfc5a4bda83830e3ea SHA512 7388bf834b7483835054cf4550984916a6ccd56902d7992b24f83affd39e2aac8a50599b81370f85683882425c93bfd081fffa5f7e693b6d1683b5429be1cae0 diff --git a/media-gfx/nomacs/files/nomacs-3.8.1-qt-5.11.patch b/media-gfx/nomacs/files/nomacs-3.8.1-qt-5.11.patch deleted file mode 100644 index e9e68af826fb..000000000000 --- a/media-gfx/nomacs/files/nomacs-3.8.1-qt-5.11.patch +++ /dev/null @@ -1,103 +0,0 @@ -From 8480a1c62aa99b6a73a76c9af80392568e0dae5e Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Fri, 13 Apr 2018 21:09:17 +0200 -Subject: [PATCH 1/2] Fix cmake with Qt 5.11_beta3 - ---- - cmake/MacBuildTarget.cmake | 4 ++-- - cmake/UnixBuildTarget.cmake | 4 ++-- - cmake/WinBuildTarget.cmake | 4 ++-- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/cmake/MacBuildTarget.cmake b/cmake/MacBuildTarget.cmake -index eae9a76b..54633ca1 100644 ---- a/cmake/MacBuildTarget.cmake -+++ b/cmake/MacBuildTarget.cmake -@@ -66,8 +66,8 @@ add_dependencies( - ${QUAZIP_DEPENDENCY} - ${LIBQPSD_LIBRARY}) - --qt5_use_modules(${BINARY_NAME} Widgets Gui Network LinguistTools PrintSupport Concurrent Svg) --qt5_use_modules(${DLL_CORE_NAME} Widgets Gui Network LinguistTools PrintSupport Concurrent Svg) -+qt5_use_modules(${BINARY_NAME} Qt5::Widgets Qt5::Gui Qt5::Network Qt5::PrintSupport Qt5::Concurrent Qt5::Svg) -+qt5_use_modules(${DLL_CORE_NAME} Qt5::Widgets Qt5::Gui Qt5::Network Qt5::PrintSupport Qt5::Concurrent Qt5::Svg) - - # core flags - set_target_properties(${DLL_CORE_NAME} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_BINARY_DIR}/libs) -diff --git a/cmake/UnixBuildTarget.cmake b/cmake/UnixBuildTarget.cmake -index 4eb3108e..3f592764 100644 ---- a/cmake/UnixBuildTarget.cmake -+++ b/cmake/UnixBuildTarget.cmake -@@ -58,8 +58,8 @@ add_dependencies( - ${QUAZIP_DEPENDENCY} - ${LIBQPSD_LIBRARY}) - --qt5_use_modules(${BINARY_NAME} Widgets Gui Network LinguistTools PrintSupport Concurrent Svg) --qt5_use_modules(${DLL_CORE_NAME} Widgets Gui Network LinguistTools PrintSupport Concurrent Svg) -+target_link_libraries(${BINARY_NAME} Qt5::Widgets Qt5::Gui Qt5::Network Qt5::PrintSupport Qt5::Concurrent Qt5::Svg) -+target_link_libraries(${DLL_CORE_NAME} Qt5::Widgets Qt5::Gui Qt5::Network Qt5::PrintSupport Qt5::Concurrent Qt5::Svg) - - # core flags - set_target_properties(${DLL_CORE_NAME} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_BINARY_DIR}/libs) -diff --git a/cmake/WinBuildTarget.cmake b/cmake/WinBuildTarget.cmake -index 9a71d508..63a4b27d 100644 ---- a/cmake/WinBuildTarget.cmake -+++ b/cmake/WinBuildTarget.cmake -@@ -62,8 +62,8 @@ add_dependencies( - target_include_directories(${BINARY_NAME} PRIVATE ${OpenCV_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIRS}) - target_include_directories(${DLL_CORE_NAME} PRIVATE ${OpenCV_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIRS}) - --qt5_use_modules(${BINARY_NAME} Widgets Gui Network LinguistTools PrintSupport Concurrent Svg WinExtras) --qt5_use_modules(${DLL_CORE_NAME} Widgets Gui Network LinguistTools PrintSupport Concurrent Svg WinExtras) -+target_link_libraries(${BINARY_NAME} Qt5::Widgets Qt5::Gui Qt5::Network Qt5::PrintSupport Qt5::Concurrent Qt5::Svg Qt5::WinExtras) -+target_link_libraries(${DLL_CORE_NAME} Qt5::Widgets Qt5::Gui Qt5::Network Qt5::PrintSupport Qt5::Concurrent Qt5::Svg Qt5::WinExtras) - - # set(_moc ${CMAKE_CURRENT_BINARY_DIR}/GeneratedFiles) - file(GLOB NOMACS_AUTOMOC "${CMAKE_BINARY_DIR}/*_automoc.cpp ${CMAKE_BINARY_DIR}/moc_.cpp") --- -2.17.0 - - -From 6c400cb6341e4c15413b0406d575779a6f3ce6c5 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Fri, 13 Apr 2018 21:36:15 +0200 -Subject: [PATCH 2/2] Require minimum Qt5 version as documented in README.md - ---- - CMakeLists.txt | 2 ++ - cmake/Utils.cmake | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5869c2c6..5b9abe67 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -36,6 +36,8 @@ set(NOMACS_BUILD_DIRECTORY ${CMAKE_BINARY_DIR}) - # include macros needed - include("cmake/Utils.cmake") - -+set(QT5_MIN_VERSION 5.2.1) -+ - # different compile options - option(ENABLE_OPENCV "Compile with Opencv (needed for RAW and TIFF)" ON) - option(ENABLE_RAW "Compile with raw images support (libraw)" ON) -diff --git a/cmake/Utils.cmake b/cmake/Utils.cmake -index 5ea88a69..bdd547cb 100644 ---- a/cmake/Utils.cmake -+++ b/cmake/Utils.cmake -@@ -17,10 +17,10 @@ macro(NMC_FINDQT) - set(QT_ROOT ${QT_QMAKE_PATH}/) - set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${QT_QMAKE_PATH}\\..\\lib\\cmake\\Qt5) - -- find_package(Qt5 REQUIRED Core Widgets Network LinguistTools PrintSupport Concurrent Gui Svg) -+ find_package(Qt5 ${QT5_MIN_VERSION} REQUIRED COMPONENTS Core Widgets Network LinguistTools PrintSupport Concurrent Gui Svg) - - if (MSVC) -- find_package(Qt5 REQUIRED WinExtras) -+ find_package(Qt5 ${QT5_MIN_VERSION} REQUIRED WinExtras) - endif() - - if (NOT Qt5_FOUND) --- -2.17.0 - diff --git a/media-gfx/nomacs/nomacs-3.10.2.ebuild b/media-gfx/nomacs/nomacs-3.10.2.ebuild index 049b159eda8b..8e7356daf996 100644 --- a/media-gfx/nomacs/nomacs-3.10.2.ebuild +++ b/media-gfx/nomacs/nomacs-3.10.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 x86 ~amd64-linux" +KEYWORDS="amd64 x86 ~amd64-linux" IUSE="+jpeg +opencv raw tiff zip" REQUIRED_USE=" diff --git a/media-gfx/nomacs/nomacs-3.8.1.ebuild b/media-gfx/nomacs/nomacs-3.8.1.ebuild deleted file mode 100644 index 4720454ff095..000000000000 --- a/media-gfx/nomacs/nomacs-3.8.1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils xdg-utils - -DESCRIPTION="Qt-based image viewer" -HOMEPAGE="https://nomacs.org/" -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux" -IUSE="+jpeg +opencv raw tiff zip" - -REQUIRED_USE=" - raw? ( opencv ) - tiff? ( opencv ) -" - -RDEPEND=" - dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5[jpeg?] - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - >=media-gfx/exiv2-0.25:= - opencv? ( media-libs/opencv:=[-qt4(-)] ) - raw? ( >=media-libs/libraw-0.14:= ) - tiff? ( - dev-qt/qtimageformats:5 - media-libs/tiff:0 - ) - zip? ( >=dev-libs/quazip-0.7.2[qt5(+)] ) -" -DEPEND="${RDEPEND} - dev-qt/linguist-tools:5 - virtual/pkgconfig -" - -S="${WORKDIR}/${P}/ImageLounge" - -DOCS=( src/changelog.txt ) - -PATCHES=( "${FILESDIR}"/${P}-qt-5.11.patch ) - -src_prepare() { - cmake-utils_src_prepare - - # fix build with quazip-0.7.2 - bug 598354 - sed -i -e "s/find_package(QuaZIP/find_package(QuaZip5/" cmake/Unix.cmake || die - sed -e "s/include <quazip/&5/" \ - -i src/DkCore/DkImageLoader.cpp \ - -i src/DkCore/DkImageContainer.cpp \ - -i src/DkCore/DkBasicLoader.cpp \ - -i src/DkGui/DkDialog.cpp || die - - sed -i -e "/setup_target_for_coverage/s/^/#/" CMakeLists.txt || die - -} - -src_configure() { - local mycmakeargs=( - -DENABLE_OPENCV=$(usex opencv) - -DENABLE_RAW=$(usex raw) - -DENABLE_TIFF=$(usex tiff) - -DENABLE_QUAZIP=$(usex zip) - -DUSE_SYSTEM_QUAZIP=ON - -DENABLE_TRANSLATIONS=ON - ) - cmake-utils_src_configure -} - -pkg_postinst() { - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/media-gfx/photoqt/Manifest b/media-gfx/photoqt/Manifest index 49ad7dfa3723..7261bb4ca76a 100644 --- a/media-gfx/photoqt/Manifest +++ b/media-gfx/photoqt/Manifest @@ -1,6 +1,8 @@ AUX photoqt-1.7.1-cmake.patch 358 BLAKE2B ecadfc9f5ff6cac0535f5db36efc87f37705e77bc6d4b2445a77430c606c642081bff5c6c5733804dcf6cc3878d424bce4c39fd590478ee596f63e23f022506b SHA512 3a5b74999bc6765c37252dd2b34e36ed910c0f3c58e30dbdc84b38b361b45bf6e9131525069b1184c7e2b4e820674742233359120c63c37324fb802e0d9c1726 +AUX photoqt-1.7.1-exiv2-0.27.patch 19808 BLAKE2B d4f69f279144b864c23b7b2c960c8997efe7ca95b14267ae584261a9c1b4e047873c08b5d7c40804a9e7de2dd875cc5a56466603f92fbfd53d4dcaa82148e0f5 SHA512 fcd4b1c100f7b88d72fb4757b74b7b0c52b1ec732adfbe78878a5afaed7e8bc68ba22f89b5ef58d0871e3bd006032821bc3f4906307bdcb540913198ea888ec7 DIST photoqt-1.5.1.tar.gz 1596831 BLAKE2B 306beaf97cb9e81a2a219e9549abba35eecfaa0f2ad79d769095014d73708f525d5efa3ff4d83f75e89e0f9971a3a46da8b98ca7259b3666e27fc9addc9e836a SHA512 ccb4ada12e76b611475ec66ceaa2ad3a15f92311d2b7c22aa8b94cd145a062bf502af6ff40fa9bb681c5dad97b2941c2a8203da4ac937c8d86c34d805084ec7c DIST photoqt-1.7.1.tar.gz 1324774 BLAKE2B b739508511cdc34b6de5736260692c48186a49d0cf62d8283238ee274d2fdf73716589277fa602f86c8c15fff87b49d1700202d260480e002dfa18380b47d328 SHA512 50cee1a77a5e69d05f19a8f1ac8ab18d1ef420962b05f3a76e12ce0f3202db7037c894bbd7631674504f0e51c2be690aff4248ed343d0da2dc8a1ccce2d8e078 EBUILD photoqt-1.5.1-r1.ebuild 1133 BLAKE2B 3b5bf5a7baff887bc09653a2799c3372713252c9668f3d95650e2dfbdcba77dd82e637d9a9a3688039d305e8ec154e7d0a53351dbe8774f45f4f9feb204a6417 SHA512 991c545c015dc3fb89fc3311472e5fa46433015311ae7b8b26e704d910ca3fb8a405dc69241fe2074ed23339f7b185f070e31ccc0d238880e9b7cf43cd08960a -EBUILD photoqt-1.7.1.ebuild 1412 BLAKE2B a06a7833c31cda115dd5d0cb9005947e3a2bb44f3a45f7412751fa4cf0b365b6766a06488f4a7596c878f2872cca2e306e4d563e461b18277077a05e5d653a2b SHA512 cee04e12943c117d3a5cbe8932a65d7f691ea8fb5f1b8b33cc72a598f81ec4f6a38291be127b683b052935dacfaa945e4c8bd63aef2221b79da81f7bd828403f +EBUILD photoqt-1.7.1-r1.ebuild 1418 BLAKE2B 58b48536dfe64b3d7dbaee43882d792e0e4467d8add6e4081fac9a0603b1a63306bc6a2b881c8e0148f1f59db09e0e1bad2111f3884271864327f8e7551f9a46 SHA512 823e9217f525b75b85c42f2c39e44971bfe7d303da5d62bfe3cdb2fcb1a9d193e612b6e35223f2b856d5fb1edfd6a006ae0c4c0c5053fe9a085b8b71ac8d4594 +EBUILD photoqt-1.7.1.ebuild 1411 BLAKE2B 3e9d31303859cda721e5929022824df652be69b8f634807513f024d7ed9fc4e9a7523a26b3930f850971696cd837cc89c480e85512e168b8966489cd8aa8166f SHA512 0f8b88e6bcc2d1003d453153635f168bd923c3d3784547ef32af1a3a3f0203760e845e17d259468c4ceedd14485c36426ab59623ff540e40f8afbf533c8b3b9f MISC metadata.xml 474 BLAKE2B 44114be5222dc1c0ad5a926fc6ff85da5b284a929a0991795632896c0f56ad24021591260c899549eda9b36557dc251363d17eef52928930afaaafebdf29bcf3 SHA512 50c4bf4437dec5d9919e3a16fdc4e429e3fdbc8d23656ecca57ae7674bc90bd6e8e33949191d7c15d49cbfe5451e72155e1bf441f020a44ab98b35115a29b6e0 diff --git a/media-gfx/photoqt/files/photoqt-1.7.1-exiv2-0.27.patch b/media-gfx/photoqt/files/photoqt-1.7.1-exiv2-0.27.patch new file mode 100644 index 000000000000..d2b264e01750 --- /dev/null +++ b/media-gfx/photoqt/files/photoqt-1.7.1-exiv2-0.27.patch @@ -0,0 +1,541 @@ +From 66b2c16c0dec865db9c3d1720385625d22fbf021 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Sat, 19 Jan 2019 23:17:32 +0100 +Subject: [PATCH 1/4] Simplify CMakeLists.txt using FeatureSummary + +--- + CMakeLists.txt | 192 +++++++++++++++++++------------------------------ + 1 file changed, 75 insertions(+), 117 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9af47a75..1ffe7ff3 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -52,6 +52,8 @@ include(CMake/ListFilesResources.cmake) + #### OPTIONS THAT CAN BE SET BY THE USER #### + ############################################# + ++include(FeatureSummary) ++ + option(RAW "Use libraw library" ON) + option(EXIV2 "Use exiv2 library" ON) + option(GM "Use graphicsmagick library" ON) +@@ -65,35 +67,37 @@ option(TESTING "Enable some tests" OFF) + #### FIND REQUIRED PACKAGES #### + ################################ + ++find_package(Qt5 COMPONENTS Core Quick Svg Sql Xml LinguistTools REQUIRED) ++ + if(WIN32) +- find_package(Qt5 COMPONENTS Core Quick Svg Sql Xml LinguistTools WinExtras REQUIRED) +-elseif(NOT WIN32) +- find_package(Qt5 COMPONENTS Core Quick Svg Sql Xml LinguistTools REQUIRED) +-endif(WIN32) ++ find_package(Qt5WinExtras REQUIRED) ++endif() + + set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake" ${CMAKE_MODULE_PATH}) ++ ++find_package(LibArchive REQUIRED) ++ + if(GM) +- find_package(Magick) +-endif(GM) ++ find_package(Magick REQUIRED) ++endif() + if(EXIV2) +- find_package(Exiv2) +-endif(EXIV2) ++ find_package(Exiv2 REQUIRED) ++endif() + if(RAW) +- find_package(LibRaw) +-endif(RAW) ++ find_package(LibRaw REQUIRED) ++endif() + if(FREEIMAGE) +- find_package(FreeImage) +-endif(FREEIMAGE) +-find_package(LibArchive) ++ find_package(FreeImage REQUIRED) ++endif() + + find_package(ECM REQUIRED NO_MODULE) + set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_MODULE_PATH}") + if(POPPLER) +- find_package(Poppler COMPONENTS Qt5) +-endif(POPPLER) ++ find_package(Poppler COMPONENTS Qt5 REQUIRED) ++endif() + if(DEVIL) +- find_package(DevIL) +-endif(DEVIL) ++ find_package(DevIL REQUIRED) ++endif() + + #################################### + #### TRANSLATIONS AND RESOURCES #### +@@ -137,14 +141,14 @@ add_definitions(-DSIMPLECRYPTKEY="${CRYPTKEY}") + #### Add the executeable #### + ############################# + ++add_executable(${PROJECT_NAME} ${photoqt_SOURCES} ${photoqt_QML} ${RESOURCES}) ++target_link_libraries(${PROJECT_NAME} Qt5::Quick Qt5::Sql Qt5::Svg Qt5::Core Qt5::Xml) ++ + # on windows we add application icons + if(WIN32) +- add_executable(${PROJECT_NAME} WIN32 ${photoqt_SOURCES} ${photoqt_QML} ${RESOURCES} windowsicons.rc) +- target_link_libraries(${PROJECT_NAME} Qt5::Quick Qt5::Sql Qt5::Svg Qt5::Core Qt5::Xml Qt5::WinExtras) +-elseif(NOT WIN32) +- add_executable(${PROJECT_NAME} ${photoqt_SOURCES} ${photoqt_QML} ${RESOURCES}) +- target_link_libraries(${PROJECT_NAME} Qt5::Quick Qt5::Sql Qt5::Svg Qt5::Core Qt5::Xml) +-endif(WIN32) ++ add_executable(${PROJECT_NAME} WIN32 windowsicons.rc) ++ target_link_libraries(${PROJECT_NAME} Qt5::WinExtras) ++endif() + + + ######################## +@@ -171,7 +175,7 @@ if(TESTING) + # And inform the user + message("** TESTING ENABLED") + +-endif(TESTING) ++endif() + + + ############################################## +@@ -186,112 +190,65 @@ composeDesktopFile() + #### CUSTOM OPTIONS #### + ######################## + +-if(NOT ${LibArchive_FOUND}) +- message(FATAL_ERROR "** Unable to locate LibArchive... is it installed?") +-elseif(${LibArchive_FOUND}) +- include_directories(${LibArchive_INCLUDE_DIRS}) +- target_link_libraries(${PROJECT_NAME} ${LibArchive_LIBRARIES}) +- message("** Found LibArchive " ${LibArchive_VERSION}) +-endif(NOT ${LibArchive_FOUND}) ++include_directories(${LibArchive_INCLUDE_DIRS}) ++target_link_libraries(${PROJECT_NAME} ${LibArchive_LIBRARIES}) + + if(POPPLER) +- if(NOT ${Poppler_FOUND}) +- message(FATAL_ERROR "** Unable to locate Poppler... is it installed?") +- elseif(${Poppler_FOUND}) +- include_directories(${Poppler_INCLUDE_DIRS}) +- target_link_libraries(${PROJECT_NAME} ${Poppler_LIBRARIES}) +- message("** Poppler enabled") +- add_definitions(-DPOPPLER) +- endif(NOT ${Poppler_FOUND}) +-elseif(NOT POPPLER) +- message("** Poppler DISABLED") +-endif(POPPLER) ++ include_directories(${Poppler_INCLUDE_DIRS}) ++ target_link_libraries(${PROJECT_NAME} ${Poppler_LIBRARIES}) ++ add_definitions(-DPOPPLER) ++endif() + + if(DEVIL) +- if(NOT ${IL_FOUND}) +- message(FATAL_ERROR "** Unable to locate DevIL... is it installed?") +- elseif(${IL_FOUND}) +- include_directories(${IL_INCLUDE_DIR}) +- target_link_libraries(${PROJECT_NAME} ${IL_LIBRARIES}) +- message("** DevIL enabled") +- add_definitions(-DDEVIL) +- endif(NOT ${IL_FOUND}) +-elseif(NOT DEVIL) +- message("** DevIL DISABLED") +-endif(DEVIL) ++ include_directories(${IL_INCLUDE_DIR}) ++ target_link_libraries(${PROJECT_NAME} ${IL_LIBRARIES}) ++ add_definitions(-DDEVIL) ++endif() + + if(FREEIMAGE) +- if(NOT ${FREEIMAGE_FOUND}) +- message(FATAL_ERROR "** Unable to locate FreeImage... is it installed?") +- elseif(${FREEIMAGE_FOUND}) +- include_directories(${FREEIMAGE_INCLUDE_DIRS}) +- target_link_libraries(${PROJECT_NAME} ${FREEIMAGE_LIBRARIES}) +- message("** FreeImage enabled") +- add_definitions(-DFREEIMAGE) +- endif(NOT ${FREEIMAGE_FOUND}) +-elseif(NOT FREEIMAGE) +- message("** FreeImage DISABLED") +-endif(FREEIMAGE) ++ include_directories(${FREEIMAGE_INCLUDE_DIRS}) ++ target_link_libraries(${PROJECT_NAME} ${FREEIMAGE_LIBRARIES}) ++ add_definitions(-DFREEIMAGE) ++endif() + + if(RAW) +- if(NOT ${LIBRAW_FOUND}) +- message(FATAL_ERROR "** Unable to locate LibRaw... is it installed?") +- elseif(${LIBRAW_FOUND}) +- include_directories(${LIBRAW_INCLUDE_DIR}) +- target_link_libraries(${PROJECT_NAME} "raw") +- message("** LibRaw enabled") +- add_definitions(-DRAW) +- endif(NOT ${LIBRAW_FOUND}) +-elseif(NOT RAW) +- message("** LibRaw DISABLED") +-endif(RAW) ++ include_directories(${LIBRAW_INCLUDE_DIR}) ++ target_link_libraries(${PROJECT_NAME} "raw") ++ add_definitions(-DRAW) ++endif() + + if(EXIV2) +- if(NOT ${EXIV2_FOUND}) +- message(FATAL_ERROR "** Unable to locate Exiv2... is it installed?") +- elseif(${EXIV2_FOUND}) +- include_directories(${EXIV2_INCLUDE_DIR}) +- target_link_libraries(${PROJECT_NAME} "exiv2") ++ include_directories(${EXIV2_INCLUDE_DIR}) ++ target_link_libraries(${PROJECT_NAME} "exiv2") ++ if(TESTING) ++ target_link_libraries(${PROJECT_TEST_NAME} "exiv2") ++ endif() ++ if(WIN32) ++ target_link_libraries(${PROJECT_NAME} "expat") ++ target_link_libraries(${PROJECT_NAME} "ws2_32") ++ target_link_libraries(${PROJECT_NAME} "wsock32") ++ target_link_libraries(${PROJECT_NAME} "z") ++ target_link_libraries(${PROJECT_NAME} "intl") ++ target_link_libraries(${PROJECT_NAME} "iconv") ++ target_link_libraries(${PROJECT_NAME} "psapi") + if(TESTING) +- target_link_libraries(${PROJECT_TEST_NAME} "exiv2") +- endif(TESTING) +- if(WIN32) +- target_link_libraries(${PROJECT_NAME} "expat") +- target_link_libraries(${PROJECT_NAME} "ws2_32") +- target_link_libraries(${PROJECT_NAME} "wsock32") +- target_link_libraries(${PROJECT_NAME} "z") +- target_link_libraries(${PROJECT_NAME} "intl") +- target_link_libraries(${PROJECT_NAME} "iconv") +- target_link_libraries(${PROJECT_NAME} "psapi") +- if(TESTING) +- target_link_libraries(${PROJECT_TEST_NAME} "expat") +- target_link_libraries(${PROJECT_TEST_NAME} "ws2_32") +- target_link_libraries(${PROJECT_TEST_NAME} "wsock32") +- target_link_libraries(${PROJECT_TEST_NAME} "z") +- target_link_libraries(${PROJECT_TEST_NAME} "intl") +- target_link_libraries(${PROJECT_TEST_NAME} "iconv") +- target_link_libraries(${PROJECT_TEST_NAME} "psapi") +- endif(TESTING) +- endif(WIN32) +- add_definitions(-DEXIV2) +- message("** Exiv2 enabled") +- endif(NOT ${EXIV2_FOUND}) +-elseif(NOT EXIV2) +- message("** Exiv2 DISABLED") +-endif(EXIV2) ++ target_link_libraries(${PROJECT_TEST_NAME} "expat") ++ target_link_libraries(${PROJECT_TEST_NAME} "ws2_32") ++ target_link_libraries(${PROJECT_TEST_NAME} "wsock32") ++ target_link_libraries(${PROJECT_TEST_NAME} "z") ++ target_link_libraries(${PROJECT_TEST_NAME} "intl") ++ target_link_libraries(${PROJECT_TEST_NAME} "iconv") ++ target_link_libraries(${PROJECT_TEST_NAME} "psapi") ++ endif() ++ endif() ++ add_definitions(-DEXIV2) ++endif() + + if(GM) +- if(NOT ${MAGICK++_FOUND}) +- message(FATAL_ERROR "** Unable to locate GraphicsMagick... is it installed?") +- elseif(${MAGICK++_FOUND}) +- include_directories(${MAGICK++_INCLUDE_DIR}) +- target_link_libraries(${PROJECT_NAME} "GraphicsMagick++") +- add_definitions(-DGM) +- message("** Graphicsmagick enabled") +- endif(NOT ${MAGICK++_FOUND}) +-elseif(NOT GM) +- message("** Graphicsmagick DISABLED") +-endif(GM) ++ include_directories(${MAGICK++_INCLUDE_DIR}) ++ target_link_libraries(${PROJECT_NAME} "GraphicsMagick++") ++ add_definitions(-DGM) ++endif() + + + ####################### +@@ -339,6 +296,7 @@ if(UNIX) + ) + endif(UNIX) + ++feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) + + + ########################## +-- +2.20.1 + + +From b58268b06eb62de70da3ac751870114b07cd79e3 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Sun, 20 Jan 2019 17:49:09 +0100 +Subject: [PATCH 2/4] Switch to FindLibExiv2 from ECM 5.54.0 + +Fixes detection of exiv2. +--- + CMake/FindLibExiv2.cmake | 115 +++++++++++++++++++++++++++++++++++++++ + CMakeLists.txt | 7 +-- + create mode 100644 CMake/FindLibExiv2.cmake + +diff --git a/CMake/FindLibExiv2.cmake b/CMake/FindLibExiv2.cmake +new file mode 100644 +index 00000000..935cee2c +--- /dev/null ++++ b/CMake/FindLibExiv2.cmake +@@ -0,0 +1,115 @@ ++#.rst: ++# FindLibExiv2 ++# ------------ ++# ++# Try to find the Exiv2 library. ++# ++# This will define the following variables: ++# ++# ``LibExiv2_FOUND`` ++# System has LibExiv2. ++# ++# ``LibExiv2_VERSION`` ++# The version of LibExiv2. ++# ++# ``LibExiv2_INCLUDE_DIRS`` ++# This should be passed to target_include_directories() if ++# the target is not used for linking. ++# ++# ``LibExiv2_LIBRARIES`` ++# The LibExiv2 library. ++# This can be passed to target_link_libraries() instead of ++# the ``LibExiv2::LibExiv2`` target ++# ++# If ``LibExiv2_FOUND`` is TRUE, the following imported target ++# will be available: ++# ++# ``LibExiv2::LibExiv2`` ++# The Exiv2 library ++# ++# Since 5.53.0. ++# ++#============================================================================= ++# Copyright (c) 2018, Christophe Giboudeaux, <christophe@krop.fr> ++# Copyright (c) 2010, Alexander Neundorf, <neundorf@kde.org> ++# Copyright (c) 2008, Gilles Caulier, <caulier.gilles@gmail.com> ++# ++# ++# Redistribution and use in source and binary forms, with or without ++# modification, are permitted provided that the following conditions ++# are met: ++# ++# 1. Redistributions of source code must retain the copyright ++# notice, this list of conditions and the following disclaimer. ++# 2. Redistributions in binary form must reproduce the copyright ++# notice, this list of conditions and the following disclaimer in the ++# documentation and/or other materials provided with the distribution. ++# 3. The name of the author may not be used to endorse or promote products ++# derived from this software without specific prior written permission. ++# ++# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR ++# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ++# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ++# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, ++# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ++# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ++# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ++# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ++# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++#============================================================================= ++ ++find_package(PkgConfig QUIET) ++pkg_check_modules(PC_EXIV2 QUIET exiv2) ++ ++find_path(LibExiv2_INCLUDE_DIRS NAMES exiv2/exif.hpp ++ HINTS ${PC_EXIV2_INCLUDEDIR} ++) ++ ++find_library(LibExiv2_LIBRARIES NAMES exiv2 libexiv2 ++ HINTS ${PC_EXIV2_LIBRARY_DIRS} ++) ++ ++set(LibExiv2_VERSION ${PC_EXIV2_VERSION}) ++ ++if(NOT LibExiv2_VERSION AND DEFINED LibExiv2_INCLUDE_DIRS) ++ # With exiv >= 0.27, the version #defines are in exv_conf.h instead of version.hpp ++ foreach(_exiv2_version_file "version.hpp" "exv_conf.h") ++ if(EXISTS "${LibExiv2_INCLUDE_DIRS}/exiv2/${_exiv2_version_file}") ++ file(READ "${LibExiv2_INCLUDE_DIRS}/exiv2/${_exiv2_version_file}" _exiv_version_file_content) ++ string(REGEX MATCH "#define EXIV2_MAJOR_VERSION[ ]+\\([0-9]+\\)" EXIV2_MAJOR_VERSION_MATCH ${_exiv_version_file_content}) ++ string(REGEX MATCH "#define EXIV2_MINOR_VERSION[ ]+\\([0-9]+\\)" EXIV2_MINOR_VERSION_MATCH ${_exiv_version_file_content}) ++ string(REGEX MATCH "#define EXIV2_PATCH_VERSION[ ]+\\([0-9]+\\)" EXIV2_PATCH_VERSION_MATCH ${_exiv_version_file_content}) ++ if(EXIV2_MAJOR_VERSION_MATCH) ++ string(REGEX REPLACE ".*_MAJOR_VERSION[ ]+\\((.*)\\)" "\\1" EXIV2_MAJOR_VERSION ${EXIV2_MAJOR_VERSION_MATCH}) ++ string(REGEX REPLACE ".*_MINOR_VERSION[ ]+\\((.*)\\)" "\\1" EXIV2_MINOR_VERSION ${EXIV2_MINOR_VERSION_MATCH}) ++ string(REGEX REPLACE ".*_PATCH_VERSION[ ]+\\((.*)\\)" "\\1" EXIV2_PATCH_VERSION ${EXIV2_PATCH_VERSION_MATCH}) ++ endif() ++ endif() ++ endforeach() ++ ++ set(LibExiv2_VERSION "${EXIV2_MAJOR_VERSION}.${EXIV2_MINOR_VERSION}.${EXIV2_PATCH_VERSION}") ++endif() ++ ++include(FindPackageHandleStandardArgs) ++find_package_handle_standard_args(LibExiv2 ++ FOUND_VAR LibExiv2_FOUND ++ REQUIRED_VARS LibExiv2_LIBRARIES LibExiv2_INCLUDE_DIRS ++ VERSION_VAR LibExiv2_VERSION ++) ++ ++mark_as_advanced(LibExiv2_INCLUDE_DIRS LibExiv2_LIBRARIES) ++ ++if(LibExiv2_FOUND AND NOT TARGET LibExiv2::LibExiv2) ++ add_library(LibExiv2::LibExiv2 UNKNOWN IMPORTED) ++ set_target_properties(LibExiv2::LibExiv2 PROPERTIES ++ IMPORTED_LOCATION "${LibExiv2_LIBRARIES}" ++ INTERFACE_INCLUDE_DIRECTORIES "${LibExiv2_INCLUDE_DIRS}" ++ ) ++endif() ++ ++include(FeatureSummary) ++set_package_properties(LibExiv2 PROPERTIES ++ URL "http://www.exiv2.org" ++ DESCRIPTION "Image metadata support" ++) +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1ffe7ff3..b96b21db 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -81,7 +81,7 @@ if(GM) + find_package(Magick REQUIRED) + endif() + if(EXIV2) +- find_package(Exiv2 REQUIRED) ++ find_package(LibExiv2 REQUIRED) + endif() + if(RAW) + find_package(LibRaw REQUIRED) +@@ -218,10 +218,9 @@ if(RAW) + endif() + + if(EXIV2) +- include_directories(${EXIV2_INCLUDE_DIR}) +- target_link_libraries(${PROJECT_NAME} "exiv2") ++ target_link_libraries(${PROJECT_NAME} LibExiv2::LibExiv2) + if(TESTING) +- target_link_libraries(${PROJECT_TEST_NAME} "exiv2") ++ target_link_libraries(${PROJECT_TEST_NAME} LibExiv2::LibExiv2) + endif() + if(WIN32) + target_link_libraries(${PROJECT_NAME} "expat") +-- +2.20.1 + + +From f2a675ea5496febae1daee229ad132086dec24bc Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Sun, 20 Jan 2019 18:25:45 +0100 +Subject: [PATCH 3/4] Fix build with exiv2-0.27 + +--- + cplusplus/scripts/getanddostuff/manipulation.h | 3 +-- + cplusplus/scripts/getmetadata.cpp | 4 ++-- + cplusplus/scripts/getmetadata.h | 3 +-- + cplusplus/scripts/managepeopletags.cpp | 4 ++-- + cplusplus/scripts/managepeopletags.h | 3 +-- + 5 files changed, 7 insertions(+), 10 deletions(-) + +diff --git a/cplusplus/scripts/getanddostuff/manipulation.h b/cplusplus/scripts/getanddostuff/manipulation.h +index b3fa9b42..465d9372 100644 +--- a/cplusplus/scripts/getanddostuff/manipulation.h ++++ b/cplusplus/scripts/getanddostuff/manipulation.h +@@ -38,8 +38,7 @@ + #include "../../logger.h" + + #ifdef EXIV2 +-#include <exiv2/image.hpp> +-#include <exiv2/exif.hpp> ++#include <exiv2/exiv2.hpp> + #endif + + class GetAndDoStuffManipulation : public QObject { +diff --git a/cplusplus/scripts/getmetadata.cpp b/cplusplus/scripts/getmetadata.cpp +index deb89a25..df92de6b 100644 +--- a/cplusplus/scripts/getmetadata.cpp ++++ b/cplusplus/scripts/getmetadata.cpp +@@ -203,7 +203,7 @@ QVariantMap GetMetaData::getExiv2(QString path) { + } + + } catch(Exiv2::Error &e) { +- LOG << CURDATE << "GetMetaData::getExiv2() Unable to read Exif metadata: " << e << " (" << Exiv2::errMsg(e.code()) << ")" << NL; ++ LOG << CURDATE << "GetMetaData::getExiv2() Unable to read Exif metadata: " << e.what() << NL; + } + + // If GPS is set, compose into one string +@@ -246,7 +246,7 @@ QVariantMap GetMetaData::getExiv2(QString path) { + } + + } catch(Exiv2::Error &e) { +- LOG << CURDATE << "GetMetaData::getExiv2() ERROR reading IPTC metadata: " << e << " (" << Exiv2::errMsg(e.code()) << ")" << NL; ++ LOG << CURDATE << "GetMetaData::getExiv2() ERROR reading IPTC metadata: " << e.what() << NL; + } + + QString city = returnMap["Iptc.Application2.City"].toString(); +diff --git a/cplusplus/scripts/getmetadata.h b/cplusplus/scripts/getmetadata.h +index e427cbc1..c5b99140 100644 +--- a/cplusplus/scripts/getmetadata.h ++++ b/cplusplus/scripts/getmetadata.h +@@ -34,8 +34,7 @@ + #include "../logger.h" + + #ifdef EXIV2 +-#include <exiv2/image.hpp> +-#include <exiv2/exif.hpp> ++#include <exiv2/exiv2.hpp> + #endif + + class GetMetaData : public QObject { +diff --git a/cplusplus/scripts/managepeopletags.cpp b/cplusplus/scripts/managepeopletags.cpp +index 9b8c7503..96baeb9e 100644 +--- a/cplusplus/scripts/managepeopletags.cpp ++++ b/cplusplus/scripts/managepeopletags.cpp +@@ -98,7 +98,7 @@ QVariantList ManagePeopleTags::getFaceTags(QString path) { + + } catch(Exiv2::Error& e) { + LOG << CURDATE << "GetPeopleTag::getPeopleLocations() 2 - ERROR reading exiv data (caught exception): " +- << e << " (" << Exiv2::errMsg(e.code()) << ")" << NL; ++ << e.what() << NL; + return ret; + } + +@@ -201,7 +201,7 @@ void ManagePeopleTags::setFaceTags(QString filename, QVariantList tags) { + + } catch(Exiv2::Error& e) { + LOG << CURDATE << "GetPeopleTag::setFaceTags() - ERROR reading exiv data (caught exception): " +- << e << " (" << Exiv2::errMsg(e.code()) << ")" << NL; ++ << e.what() << NL; + return; + } + +diff --git a/cplusplus/scripts/managepeopletags.h b/cplusplus/scripts/managepeopletags.h +index 1908ba0a..59686cc1 100644 +--- a/cplusplus/scripts/managepeopletags.h ++++ b/cplusplus/scripts/managepeopletags.h +@@ -29,8 +29,7 @@ + #include "../logger.h" + + #ifdef EXIV2 +-#include <exiv2/image.hpp> +-#include <exiv2/exif.hpp> ++#include <exiv2/exiv2.hpp> + #endif + + class ManagePeopleTags : public QObject { +-- +2.20.1 diff --git a/media-gfx/photoqt/photoqt-1.7.1-r1.ebuild b/media-gfx/photoqt/photoqt-1.7.1-r1.ebuild new file mode 100644 index 000000000000..cd6204862f01 --- /dev/null +++ b/media-gfx/photoqt/photoqt-1.7.1-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils xdg-utils + +DESCRIPTION="Simple but powerful Qt-based image viewer" +HOMEPAGE="https://photoqt.org/" +SRC_URI="https://photoqt.org/pkgs/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="devil exif freeimage graphicsmagick pdf raw" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgraphicaleffects:5 + dev-qt/qtgui:5 + dev-qt/qtimageformats:5 + dev-qt/qtmultimedia:5[qml] + dev-qt/qtnetwork:5 + dev-qt/qtquickcontrols:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + app-arch/libarchive:= + app-arch/unrar + devil? ( media-libs/devil ) + exif? ( media-gfx/exiv2:= ) + freeimage? ( media-libs/freeimage ) + graphicsmagick? ( >=media-gfx/graphicsmagick-1.3.20:= ) + pdf? ( app-text/poppler[qt5] ) + raw? ( media-libs/libraw:= ) +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + kde-frameworks/extra-cmake-modules:5 +" + +PATCHES=( "${FILESDIR}/${P}-exiv2-0.27.patch" ) + +src_configure() { + local mycmakeargs=( + -DDEVIL=$(usex devil) + -DEXIV2=$(usex exif) + -DFREEIMAGE=$(usex freeimage) + -DGM=$(usex graphicsmagick) + -DPOPPLER=$(usex pdf) + -DRAW=$(usex raw) + ) + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/media-gfx/photoqt/photoqt-1.7.1.ebuild b/media-gfx/photoqt/photoqt-1.7.1.ebuild index 9abea34299ff..fc23fddb9b72 100644 --- a/media-gfx/photoqt/photoqt-1.7.1.ebuild +++ b/media-gfx/photoqt/photoqt-1.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://photoqt.org/pkgs/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="devil exif freeimage graphicsmagick pdf raw" RDEPEND=" diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest index ded3eca4ad8c..2cee6538d6e6 100644 --- a/media-gfx/pngquant/Manifest +++ b/media-gfx/pngquant/Manifest @@ -5,4 +5,4 @@ DIST pngquant-2.12.2-src.tar.gz 143404 BLAKE2B b06b1185fdeb1990e6b6f0cb77e330517 EBUILD pngquant-2.11.4.ebuild 1003 BLAKE2B 6e56ca1685dbbd7bf9f5e6d45a02770e59b392ffb1494e819d74afd59e54b05532ab2925fab620a19bee90291e66e8cca9ab22ccb4b6a1d81f16e29330e1f5f3 SHA512 c7540c0565652abf15efaeef55b929577265e30df9759b00d53bff81002cbbcc42bc9b27873ab76b9869d776e6ff53ef75b53729c60d3e5399141cbc44d93507 EBUILD pngquant-2.11.7.ebuild 1003 BLAKE2B 6e56ca1685dbbd7bf9f5e6d45a02770e59b392ffb1494e819d74afd59e54b05532ab2925fab620a19bee90291e66e8cca9ab22ccb4b6a1d81f16e29330e1f5f3 SHA512 c7540c0565652abf15efaeef55b929577265e30df9759b00d53bff81002cbbcc42bc9b27873ab76b9869d776e6ff53ef75b53729c60d3e5399141cbc44d93507 EBUILD pngquant-2.12.2.ebuild 1170 BLAKE2B 64b37bdd0875cb2b856925b6223fb79adbf426b5cda1c821e715ad198ecaa8e9e8392e870d22985574834e0c1235c70207ae0bf63b666ebd5b8a49155a126e07 SHA512 c44a4060fb2f3aa56d9077b1cd15df78fb283c3fbddbf85e383b6289f94f6fc0aa1ad7e02a9babf2d9ccfa1fc9fefb32cd61dac90311734450871fa07072d1cc -MISC metadata.xml 492 BLAKE2B c60cb6917ca56946f1941feb2de555e4ced9c56ea3f25fae727bbfd2a49567ef3b581e877b7304dffe090ed898cc285f1baf5465380eb30582bc086854fdbc8a SHA512 5afec8077fc4f303cc76de855558049bdebf0d40a76381077866fd9d3e658912936fc2cd63411d378475743f8649e68dcc08793eb066d6adf9b232b8c669cb1b +MISC metadata.xml 265 BLAKE2B 5e9da641ca1949fb00cecaed654cfc3cad540c14b19043c2032e2c6593d47793d6ad7ee461667575ee51a919890ff1ec63195a43c2a35c8b56c12257668fa2b5 SHA512 65fd64249e8dde8eb2ddcb67c58c05b36b10e51956e2237f60dd3ae50872492f3d5872b64106acb13e453a41960f4f817161be3c8b89e6b9a2367b8f1403ffaf diff --git a/media-gfx/pngquant/metadata.xml b/media-gfx/pngquant/metadata.xml index 9d80573338cf..6ade85e1c642 100644 --- a/media-gfx/pngquant/metadata.xml +++ b/media-gfx/pngquant/metadata.xml @@ -1,16 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>alex_y_xu@yahoo.ca</email> - <name>Alex Xu</name> - </maintainer> -<maintainer type="project"> + <maintainer type="project"> <email>graphics@gentoo.org</email> <name>Gentoo Graphics Project</name> </maintainer> -<maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> </pkgmetadata> diff --git a/media-gfx/simple-scan/Manifest b/media-gfx/simple-scan/Manifest index 14fdd4d51109..95b9b67342e4 100644 --- a/media-gfx/simple-scan/Manifest +++ b/media-gfx/simple-scan/Manifest @@ -1,6 +1,6 @@ AUX 3.26-add-control-optional-deps.patch 2773 BLAKE2B e6c3faa98ecda13c926752defef389fd155f615df2010d8499aba7870b929f520662f5c718f457edd5f14f68c26d63ab58a5ee1a583af9f5721d4cf4141385a8 SHA512 e786172609ca64afa85663077794cb146edf7f59bd6187bc253d2ab682f5cf244f5238df18648641f7450ce6add97f2db1adfa11b52a3ba5e29c16356e9fac08 DIST simple-scan-3.24.1.tar.xz 669452 BLAKE2B 927c3479a96525e2996aab7c8d37b585f93fb07315a4f5cb0292b29befb0417df6e6afb059158d9840903d7474bf0d4fb97e634c585ca7654581b82a264e80f0 SHA512 9f0ced644b13dcaad4f1e23a6520b1cbe3c36d995fca4791383f959986cd396f123638a23dbd02a9511ef7e1c9c915b3a025e9b7e4de4542a4c180c4fe29e2b9 DIST simple-scan-3.30.2.tar.xz 512540 BLAKE2B 908af68fbd297e2cc0c0c5440166ebc706f6c0a1a88948e9cdfe30a2e9e548125b31e6a00684a8a0db8e4c37c9d0930765b74e2ba9e1d540e4ae705cfd404349 SHA512 3a4d19bd36a88124ba43d388807afd1d6a51fc691ed83570a095e3b9719b5db5f3eb457a41bc8e36f2f1bf25ff4ab83edc150d4cdddd0d528e9280ea2da6cdb6 -EBUILD simple-scan-3.24.1.ebuild 1303 BLAKE2B 86538dcf27e462ebc43f598d32c584235409e91610be9e03216b7384d7b296c81b050cb9f0d0d785a08afbdc4f1b7bb705fdc1654363342530d049e09a31f14e SHA512 04a4cddaf9711c7ca99bf6446c1578b955755bd8885ba405ab2f13f84b59112d8657a03b58e2d9016b506064825fd8ca43797199911dac75280514f48a168646 -EBUILD simple-scan-3.30.2.ebuild 1392 BLAKE2B 842721db7010f1062c38014bba990973a032d08fa2b9b6dc8a1dbc02a8a4ad15b4ef990631568103048040d7963864bcccd532b5cecee46782bb9ab8e3ea7a20 SHA512 de89acb3d3ef6f71cbf0fd776dfdc42b87871d81e340e5b3c5337404d93ac1230d1d412f9e91408d6ef0aab1bf5be66ff577c2cd19743885de65362760154cef +EBUILD simple-scan-3.24.1.ebuild 1307 BLAKE2B 8b90d4018beaec2add9b1a9b9b5988caaae286304dfdc1c6180db1794ed53c20796f28144d8c3d4b37893219c18f7162e773d337978034ef5abaf5c5cc7d1506 SHA512 859a7b62b6717cd3ab921343be728e964a60c92b32de3a2ac1493a2f6d71d6ba5c5f07188e392250e1aae75673646de9f91bf25570bb43a99d564920ec98062d +EBUILD simple-scan-3.30.2.ebuild 1399 BLAKE2B 2bb1071bda32bc657aad896ebad72dacdac7b7f2c91ef2e07e42855bba1e096c8153fa87ddb92131b3f0a04eba419811bc79c07c94f04c13567bd05698db8d48 SHA512 94079609c6a0cf84d902a97bdf1a71cf90a4265a7fab323649530fa7d8f842817c5b79b983dc491504c0014b5b239312de86cee6f5b59947da767b63ab6d09ce MISC metadata.xml 718 BLAKE2B 46e5929721e967a667f32a8993903b635599ae06c5b5179edf0579070b2b393f750a044bc280519b820f336843d1b98a795f73ef9500a27951a64b61794901e5 SHA512 82244c0dc32c4ded72048a387cee5f350a66148ecaa12a941e4a86d9d9079f1769f1f240ee564c7f991f9d53c050e9fd3e9113024fc8831a6766ec3d88b665ca diff --git a/media-gfx/simple-scan/simple-scan-3.24.1.ebuild b/media-gfx/simple-scan/simple-scan-3.24.1.ebuild index d88b6a65acb6..9cb904fdf738 100644 --- a/media-gfx/simple-scan/simple-scan-3.24.1.ebuild +++ b/media-gfx/simple-scan/simple-scan-3.24.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ SRC_URI="https://launchpad.net/${PN}/${MY_PV}/${PV}/+download/${P}.tar.xz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm x86" +KEYWORDS="amd64 ~arm ~ppc64 x86" IUSE="colord" # packagekit COMMON_DEPEND=" diff --git a/media-gfx/simple-scan/simple-scan-3.30.2.ebuild b/media-gfx/simple-scan/simple-scan-3.30.2.ebuild index 4a9b7167affd..0c95a91a0257 100644 --- a/media-gfx/simple-scan/simple-scan-3.30.2.ebuild +++ b/media-gfx/simple-scan/simple-scan-3.30.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ HOMEPAGE="https://launchpad.net/simple-scan" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" IUSE="colord webp" # packagekit COMMON_DEPEND=" diff --git a/media-gfx/xloadimage/Manifest b/media-gfx/xloadimage/Manifest index be9e8fddf19e..225979e1fa03 100644 --- a/media-gfx/xloadimage/Manifest +++ b/media-gfx/xloadimage/Manifest @@ -2,11 +2,12 @@ AUX xloadimage-4.1-bracket.patch 518 BLAKE2B fca92d66bc559f17e091d544f2b726d1db1 AUX xloadimage-4.1-endif.patch 321 BLAKE2B dc140933e4b61e9a243f9cc2c4c78b5406a7d4defe0d7ae796c46ea8e21607d27c79481fe528f4c3e40dbfa5b27db09b47600a61454aaa3882c2ff267f18931a SHA512 503fd3672ae22a468ae6ec71a62b3113dc3df2e5bed4b90b641320d954c563118eb53b8681ad38edaff5a87a385fb063592ac422c24c2150084e0171f4f17d25 AUX xloadimage-4.1-include-errno_h.patch 303 BLAKE2B f82f4beadf42e2b5ba0f20ed6c16ea88e829c0b224c219a257c9986d30a8568d8d59e92f686469c26238eb33c6a51f3ba90e854a3f8c9c9c386a4848f745c8f2 SHA512 208261855d1677a755e34b421bbb4f95cbbe1d9d494cb3c895e9f799a376f2162a3f8e08134b06029da5acd318c873c798bd2c64eaf0aaf1d0e2970a56f4ef2f AUX xloadimage-4.1-ldflags_and_exit.patch 775 BLAKE2B e2107eca87d99d28d19f2213877bb6e3f6cfa5294c69a2ba9eeb01407b4f2b54f9f96de4b15e1ddd67acde45e8c2df0d4ed135001fdd3dc78afff9a367975fa1 SHA512 724484e06868c818c6c66cfdca9b07972da6c6b7977da9dad4e05109506751641e211dd34a9afbf925fed712ed046764362856079dda11b628b32fe3f6813f59 -AUX xloadimage-4.1-libpng15.patch 747 BLAKE2B f400d4e1ae96cddce9cde967d19d1b943b8a64af25d357920de428f2509c30e4f3d9e4a5d931d713accd8df6b356479c7e7293cac2981f834827045f698a5dbc SHA512 3a96676237388d9da6c05c654db33c862c02858d8e0b352461d25c5dd21128306ec7e492fbd6a20f6af6adb20070c9e9cfdd366803a747697f334955e11f5bb6 +AUX xloadimage-4.1-libpng15.patch 751 BLAKE2B 411c7a2fcf62a86e9402e7656b4cf484c16028802cebe97a843669bb12e96897ff47d66544387bc6754180ade67516f6c41b532efe3b1a3b5733b68ad41b0eb0 SHA512 12fae67db18540ca4ccd39e077c7557b878581a79082ae6abd156a4633db59f157bafbcb45d1b0fb40b9f8356a6fb44117da7b1d3e7803361e800435d7877a12 AUX xloadimage-4.1-unaligned-access.patch 1730 BLAKE2B 03015b18488346a1e690bfd1dab51a39c13b91d543d215cd2ec635da2bacae946bb101569a11bfcd5a0f62d9b61262b01f9cdd32be751cf5e9b137b308293a44 SHA512 4861c805a4bca2cec81fa2e7de44838e8451f08a2e1d189cf9a27e1c078d1ae0403fda3ab9c8ad44187db4fd5078d088f755eef16fbe00d55c02e0c54a5be139 AUX xloadimage-4.1-zio-shell-meta-char.diff 1372 BLAKE2B 1c960ba7ae4da62eedcdfc283a7d81367e4ede508aa45346d263c18407b62f928a5e1c1112b3e1c864ea87f80013c4f3550d790ef43de2e4feae7639e58e71df SHA512 38e449e005d84a5e93c1a1ef71929a4002b9dfb94d1ad785714f572e4adb0313722620947c091dc5ea2a73fe5d01d321f21259be9ff0770052f5f5ad13c727d6 AUX xloadimage-gentoo.patch 8956 BLAKE2B 9834cb47e16fb20f970e9d33a6e42fef09d5a3d3cae3f5ab0db5c76661acb7c67a20115f4069bc2769b6d9f54acf4adea27e27b79495d74a77644db5281beba8 SHA512 8eba3107d81f0dc6caf749e9a9889f1662e5d1004e480a9a170533f3ee00c6f9f11d3c2008655322242ab61f31b676406fd44b97d83e4ce93b8f68a12397830b DIST xloadimage-4.1-gentoo-r1.diff.bz2 41535 BLAKE2B 77cdbb2e6d5dda6084aae2831bcb8750a027f59a673f5a1f8eeb61385bd21243d640bd13a3be7fb24d2ce2cb475a05cb04c91c2b53977c61fb3aa4416e67e112 SHA512 a1a52d576eb68c44e5ff3b68a6bd87cd9b8f21f6fa8edee2d7df2329002d40f6513df6c04ecd57f66018583d0251019bd02e15756dac705b8c9cb8470cb386e3 DIST xloadimage.4.1.tar.gz 596021 BLAKE2B 3c22facf05167d1836c21243799d8f66c211e44d659b4397668ed604cdd82b3bd8f11ab7b3be5e87c59a9b3aa8569d0d3d2e474b572c3bca07b6437b293014bf SHA512 2c91699c8ef07c101ff9b458708ace01cab2979a5e88cf8a4e47ec971f7b4cb5571108afa3e53271ade4e8ccfdcf72ef9e2e09edfc0be6b8afaba50847aa0586 EBUILD xloadimage-4.1-r11.ebuild 2552 BLAKE2B 9ea8ec71be31f995f78aa0cd1801a9a47c9aacb3462f7397ed43b697021e0bced2f0a144082972daed3a10ac9589a65570506e0fa50fe2a64abe1663f3e31332 SHA512 03b9f7de5b6d51bde25176cbac7f82b37a13d73545916588b41469b1b158003663db5c534ad9fa0afde16773799634fe6f8527ab1335786d58d9daa604e7e2b9 +EBUILD xloadimage-4.1-r12.ebuild 2525 BLAKE2B 0e5c4b171361ec69f5d7c5c288896f1bc391a220de9f8f60e1211901edbb404781bb5cdaaae95fcd48cf40755d0637c150cebb10d9a70221079b5a394ee158b1 SHA512 26db57ef320f69379a5afebd673f267cd399d59339ab2774f297efe7d9d12586c449238a524a6850d0dae9dda5309cc73e5b76e3acff7b1d139bbed1f0fa041f MISC metadata.xml 265 BLAKE2B 5e9da641ca1949fb00cecaed654cfc3cad540c14b19043c2032e2c6593d47793d6ad7ee461667575ee51a919890ff1ec63195a43c2a35c8b56c12257668fa2b5 SHA512 65fd64249e8dde8eb2ddcb67c58c05b36b10e51956e2237f60dd3ae50872492f3d5872b64106acb13e453a41960f4f817161be3c8b89e6b9a2367b8f1403ffaf diff --git a/media-gfx/xloadimage/files/xloadimage-4.1-libpng15.patch b/media-gfx/xloadimage/files/xloadimage-4.1-libpng15.patch index ffd05f62b332..da222d68c257 100644 --- a/media-gfx/xloadimage/files/xloadimage-4.1-libpng15.patch +++ b/media-gfx/xloadimage/files/xloadimage-4.1-libpng15.patch @@ -1,5 +1,5 @@ ---- png.c -+++ png.c +--- a/png.c ++++ b/png.c @@ -75,7 +75,7 @@ { debug(" #error "); diff --git a/media-gfx/xloadimage/xloadimage-4.1-r12.ebuild b/media-gfx/xloadimage/xloadimage-4.1-r12.ebuild new file mode 100644 index 000000000000..7e9f5a36e1e4 --- /dev/null +++ b/media-gfx/xloadimage/xloadimage-4.1-r12.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools flag-o-matic toolchain-funcs + +DESCRIPTION="utility to view many different types of images under X11" +HOMEPAGE="https://tracker.debian.org/pkg/xloadimage" +SRC_URI="ftp://ftp.x.org/R5contrib/${P/-/.}.tar.gz + mirror://gentoo/${P}-gentoo-r1.diff.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="tiff jpeg png" + +RDEPEND="x11-libs/libX11 + tiff? ( media-libs/tiff:0= ) + png? ( media-libs/libpng:0= ) + jpeg? ( virtual/jpeg:0 )" +DEPEND="${RDEPEND} + !media-gfx/xli" + +S=${WORKDIR}/${P/-/.} + +src_prepare() { + eapply "${WORKDIR}"/${P}-gentoo-r1.diff + eapply "${FILESDIR}"/${P}-zio-shell-meta-char.diff + eapply "${FILESDIR}"/${P}-endif.patch + + # Do not define errno extern, but rather include errno.h + # <azarah@gentoo.org> (1 Jan 2003) + eapply "${FILESDIR}"/${P}-include-errno_h.patch + + eapply "${FILESDIR}"/xloadimage-gentoo.patch + + sed -i -e "s:OPT_FLAGS=:OPT_FLAGS=$CFLAGS:" Make.conf || die + sed -i -e "s:^#include <varargs.h>:#include <stdarg.h>:" rlelib.c || die + + # On FreeBSD systems malloc.h is a false header asking for fixes. + # On MacOSX it would require malloc/malloc.h + # On other systems it's simply unneeded + sed -i -e 's,<malloc.h>,<stdlib.h>,' vicar.c || die + + eapply "${FILESDIR}"/${P}-unaligned-access.patch + eapply "${FILESDIR}"/${P}-ldflags_and_exit.patch + + sed -i -e "/^DEFS = /s:/etc:${EPREFIX}/etc:" Makefile.in || die + + eapply "${FILESDIR}"/${P}-libpng15.patch + sed -i \ + -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \ + png.c || die + + # One of the previous patches screws up a bracket... + eapply "${FILESDIR}"/${P}-bracket.patch + + default + + chmod +x configure || die + eautoreconf +} + +src_configure() { + # Set TIFFHeader to TIFFHeaderCommon wrt #319383 + has_version '>=media-libs/tiff-4.0.0_pre' && \ + append-flags -DTIFFHeader=TIFFHeaderCommon + + tc-export CC + econf $(use_with jpeg) \ + $(use_with png) \ + $(use_with tiff) +} + +src_compile() { + emake SYSPATHFILE="${EPREFIX}"/etc/X11/Xloadimage +} + +src_install() { + dobin xloadimage uufilter + + dosym xloadimage /usr/bin/xsetbg + dosym xloadimage /usr/bin/xview + + insinto /etc/X11 + doins xloadimagerc + + newman xloadimage.man xloadimage.1 + newman uufilter.man uufilter.1 + + echo ".so man1/xloadimage.1" > "${T}"/xsetbg.1 || die + doman "${T}"/xsetbg.1 + newman "${T}"/xsetbg.1 xview.1 + + dodoc README +} |