diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-07-21 08:56:20 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-07-21 08:56:20 +0000 |
commit | aea4d6fc5adc8ceb1a6a11d749dbc42d5008b8ed (patch) | |
tree | 6d92a751d6de7a09542493f99fc7ead3ce3c1f4a /media-gfx/exiv2 | |
parent | Version bump, add examples use flag. (diff) | |
download | historical-aea4d6fc5adc8ceb1a6a11d749dbc42d5008b8ed.tar.gz historical-aea4d6fc5adc8ceb1a6a11d749dbc42d5008b8ed.tar.bz2 historical-aea4d6fc5adc8ceb1a6a11d749dbc42d5008b8ed.zip |
Cleanup due #92799
Package-Manager: portage-2.1.12.13/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'media-gfx/exiv2')
-rw-r--r-- | media-gfx/exiv2/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/exiv2/Manifest | 26 | ||||
-rw-r--r-- | media-gfx/exiv2/exiv2-0.21.1-r1.ebuild | 130 | ||||
-rw-r--r-- | media-gfx/exiv2/exiv2-0.21.1-r2.ebuild | 130 | ||||
-rw-r--r-- | media-gfx/exiv2/exiv2-0.23.ebuild | 120 | ||||
-rw-r--r-- | media-gfx/exiv2/metadata.xml | 3 |
6 files changed, 12 insertions, 403 deletions
diff --git a/media-gfx/exiv2/ChangeLog b/media-gfx/exiv2/ChangeLog index 9dffcdd57572..71ba2a08dd59 100644 --- a/media-gfx/exiv2/ChangeLog +++ b/media-gfx/exiv2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/exiv2 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.108 2013/04/02 20:56:24 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.109 2013/07/21 08:54:46 pacho Exp $ + + 21 Jul 2013; Pacho Ramos <pacho@gentoo.org> -exiv2-0.21.1-r1.ebuild, + -exiv2-0.21.1-r2.ebuild, -exiv2-0.23.ebuild, metadata.xml: + Cleanup due #92799 02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> exiv2-0.23-r1.ebuild: Stable for ppc64, wrt bug #462890 diff --git a/media-gfx/exiv2/Manifest b/media-gfx/exiv2/Manifest index 91d7f44c84f4..d29a22dd33e9 100644 --- a/media-gfx/exiv2/Manifest +++ b/media-gfx/exiv2/Manifest @@ -5,29 +5,15 @@ AUX exiv2-0.19-syntax-fix.patch 598 SHA256 41a6fe03d35fca3ad46c43776d682ab9acc0a AUX exiv2-0.21.1-time-fix.patch 1979 SHA256 7ea4fe457dae5ff41090eafedb9c6e181c4dd4f214ec49a958e6cce73f790b46 SHA512 ec31644424b1a1be3cf4ecf1b46c5c34ae28813f6856020483a00bfbe258dafa44029b77b021b5d984940241c9a8fc4e120691adac6296abbb11f3b8f3cde217 WHIRLPOOL a47b7f0cc671291c39610ce067a6787269eb36d33027eaf58fac54ca4cb1bc6a7fcfa5733ba470992f7f29064cac05b452fcd3e48183ecc5f2c531f5891a78d9 AUX exiv2-0.23-boost-fs-contrib.patch 9558 SHA256 1734a14392e6706305582b9099a9ff781e3327fb86d4d0ed6c0cb6fe60b38f85 SHA512 3abc6ae75940de6960afcfeb382754ab9f48cd4e311cdd2e00c644774c1141d2bc9ff191e145f7d37362e3364446a32f4fdcc142f0e80ff5bf8880ed18c5af26 WHIRLPOOL 7164392d53fa5d18671269cf0c6c69813527ab046c19cfba2a1a97e0430ac617f1330f1d75e197e48a84d1fcb10942b79252a96e417bd1dd61cdc9fbf04cc1d3 DIST exiv2-0.19.tar.gz 2658781 SHA256 1733dab5e81d9cf4e0b3d6eeed009103e5baff4fecfc127ecee016b3a67c51ef SHA512 e73b2e04e0ec5a1667a8e04baccdfbed234e98965cd2777c0462bfaba961c3fbf6d373f0f18fe458c21b2283f17ebef70a9f455367f5ca4cd08dcc67ad12fdca WHIRLPOOL d9fc58a4d94b255e24526f03f7def101d8bf37d2777bd4464aca0a6aa7bc3f5143dc0b71c82819c0a385dd05a73b60e9a11248e4b69a144c5b68c50cb0c0b893 -DIST exiv2-0.21.1.tar.gz 3004521 SHA256 2edae035760f84afdfebdf3123a166e6bbf77870697afe54dea92a783f041817 SHA512 a83a6b10b6c3e7dc8718f1169684e09c4e9c2bab05e93fa29f7767f7babd12bf29203b1c8c46fbd576dad9b694ce3a699f4a47cee1c61dcfa889ae9e22a045b4 WHIRLPOOL b9807082c69dc4b7db47f451fc152dec90790284aa87e28e9b36836be6d67b05350e2bba79553e829369ee749965d3d47fd00968f41f100bfb1d13167ad948fe DIST exiv2-0.23.tar.gz 3524381 SHA256 81fa50900be7ab16e24c6551252c21fc97abcfe855fd32c8f7ec55f398786b11 SHA512 5719a9129f0c991c2966fc9bb65021d501ff7ac193f0b1eaabed9044e7dcc331cb41a149a989fc20417ea07ee20e35a8c91e0063a81b9e2d6c3fae033fdaf39a WHIRLPOOL c80e8f7cc988a5aed117cb8d545dd126e1a9f188efc3c364debf2601d49e0d166709c2ab0f7d8dedc439621fc4766bce731ceb9deb0fde35ecae563bd424cde9 EBUILD exiv2-0.19.ebuild 2955 SHA256 5a09fdbf3711f4c85be35571813d43740f7e3ebb833b0817232331843b0cfe94 SHA512 308cae408a435a9a409b5d9ff3896e904c73129691893b1548a1d1b8b81c7bda0550727baed7cbb849334451804e8d7d8f94b107bcd863253ecd32f3526433b6 WHIRLPOOL a03836e624488a04185b9e5f3b2af54c3317383673d418401badbb67418e48ac3c09b0b432b75ae8b19d431e269a70174739734df72d9b83a2de1dd5b8afe6df -EBUILD exiv2-0.21.1-r1.ebuild 3567 SHA256 160bf41b212f97605043dca6934ca1a40110b57e9695d5a5052b9c1c38e20096 SHA512 67d2ab2b7b3373df9be9fd78978510356b50d3bf6ed2a3adb6c70eac3ca931e43ead414ae8510d24f417aa76c25365de94e2a1b7983ccefd9a5a3391ec4b46f7 WHIRLPOOL 99a60bdafb11a084c2bdae6c6e3a8aa69fdf4da449c6ccec4c820a78e77930880471d98db8a421405a72e505f2c4bea602742d2b0bd50928d8af5af952a1c3df -EBUILD exiv2-0.21.1-r2.ebuild 3580 SHA256 e1d693687f31324d02baf9ba54642d0c4b7f56bd9f592e264588f9f39f439fd5 SHA512 f9b9a3be22b0c1252b52151092825ee2dff4d1e4ed1caba378073bb008b8b743add4ccea3d8654e6d551e7ce16e234db9a79539ed3d64a85f3674db1710aaf36 WHIRLPOOL dad7fe6dd0372af6469112f8f4256729398a5cf849227e7f2c507bfe9ea8e4ea3fb25e2af8bbf97a0643bcae66d727dfbfe3f93f4a6ea8348100f633f63ffcc4 EBUILD exiv2-0.23-r1.ebuild 2962 SHA256 282e659a632a02343a40fca1eb79413e8be4934232b38cf270434d2ea51dd44f SHA512 f1c334deaee2187252f9277d9a2bd98112f1a4e2542d153144d757f4f33bf7cf0d5c57a403e05fbdff3cf433c2d287d04d1e5a2ab2d0f1f84f9711b3f7b7f720 WHIRLPOOL 624e00ceb6b719e2fc157d536416265057dab6946a22cf9fc66af3e0e99c0c323db4dd2fb3b0f09ab700abab2b39c375917e80836104d0e13de5e92da2cede77 -EBUILD exiv2-0.23.ebuild 3207 SHA256 6eea699245abf7529d1f9a30bb274073f7f2ed9090f03332765f31d5e2e72b8e SHA512 128d87d0fe7d87142518bb0b80670da63d803e2fe2af82c10a55d680a592e9c1571e6460f87fb5d39b3c85f5e50dedbc87577e3e1af53a222ecbe05b4b4e1812 WHIRLPOOL d8f9fed7fbd91ecb99ec7db9aaa466a5f768fa025eedf2cdc89d7ba0cd91a30c59544c18917c3639bfc525130497e25cb0712622fcf78ec4c4ff2033a3983253 -MISC ChangeLog 13968 SHA256 21ef8b3f318ac8451457c89d27ace387e33e2f54b8e0ff8375386555318120c8 SHA512 5efa97d55731c18f0d2c6196e1797db805cf567c0108a8c25f3df51cb1eb2b9203d422aeb5f8956ff49c656df4b1a47d4390c051ac33b3768c8596ace0954f33 WHIRLPOOL e2a226f9be26cd71e82a51b1e4623b0927e8546a9e2331cb4c6deab69d7a5604009c9ea3909ef0e323824fe42c54b8a646182284b7b087134d4fd4e10f694e54 -MISC metadata.xml 477 SHA256 17d43fc6d100a119edc3345bf1da39ee04b1e9f8d54b78c2deb05801b2ea79be SHA512 bb21348fc7b90de8f46f2d74b1ef50d12b8cda318af07d35b4c2f7912fe2eb5b413d83e312bfbd3f3b9b3f262c870a04f44c234fbe48b39a69bb3192c8def5e8 WHIRLPOOL c213f0beac6867ae352b94fd7558cef97cc86b5e9026042975a2febf3b077a9ee8b850929582b6e294bfd1d4771d0bbc85992987a47b52e5457a3f1face14be3 +MISC ChangeLog 14124 SHA256 9908da9d3bed5d6cb95a277822e197831b19178184bebc3a54550578c68aed0a SHA512 fccbffb4aad966042edaefbea0af92eae565dc3017d6ae5fc13f3533a79657fb4d2850947151f217e1dac61fdf3bd4129a6faaba4e2286ac2e0ad484910a9de8 WHIRLPOOL 31d9cf38e4f20ef12bb90d1e14641ba898b8ade24b21568f37076a4bf9540f2353dca2abdf13cfa5fcb036d0dc827e7f0da3032438ca9b03e1f264a544e33ec7 +MISC metadata.xml 453 SHA256 1977d7b2d741dc9a38204214e7861fb295a45dd045f5bccdc242bb6b137c839f SHA512 5696d284e8ab8d43d867247a5faa2fcd109246db73e1e1a74cf5326b824dde1a952f3a91ad2835b4663b4568f112525c01645366a05ad8bdb9f67b0dd319583b WHIRLPOOL 2bc777b330f45e6c965c95b74eb351cb4ae493de49073c82c32681acae1a4fc2ce80c7f64cd15287bc1389e3761bb30a3d265dcdaff89b21b83e3434d255049f -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCAAGBQJRW0X8AAoJELp701BxlEWfCF4P/1uTT4h0MgvdcggozOdyeyWS -bxNnapDDwPB9upVWp+pyLSMU8/XYclRGw7pS2SHjU1yXZps4H6ILBpz6IbV+mVqW -3aAAvVeIuEPOrEJf3fxrispi6R6wvnbIqzpwHw9XwP5iIePSFke+lJYOL+JcihWs -YXuFJEJRd22wYbfD1s/YCHKz8akq0sl3HNiAZOYRR4MoYiKdx8gidzHfvwhi9QTk -q+RaiRkFNz69heE1GxHFNnQtyTp9Sqdcv2al3No9xuhn90L7bZvBW6R13YL5iC8A -kQtRUCExnZYTFJCkFisZ+eiXtpFu+CkKQxvHNsj7lqLs5v2CmgkhVHNEkXlbCpvG -9p1t4gr/KcEbQTtmr3y9ggPQduFZV6v1cBXUsEZgAnfQdT/+pXPg0ewji7+bxhtd -39/izBDfb7YocDH39vd7z37NuQDeP0e7TAHbTwfuv9acO9gp00ACIao5TfgLhD3C -T/byG3eWaQVOLWJQ2y2PwEIsgAVc0nsmgK7BnQYZVhFiafaQRgxpiag58odecDU6 -go+CNTlGW5V2dbYOo+7c+OmGU+Y7eJC/IMbTmoVCdXmHkxEBwhT8MWoRoOHqC5DE -Bz0mY/3c+hmxJZtuZGh5NYtLFc0KVLXnE88OW1IZ4n2OF0GlWeXsHQykFtsWEmVh -h1AOaujsoPH82mF2P9ae -=xYnV +iEYEAREIAAYFAlHrodcACgkQCaWpQKGI+9QTMACfT4eOhsebMaI3zrs2oUTAkREE +LC8AnRSGV6dM0lU54TZrBjxXuKQhadO2 +=WkNB -----END PGP SIGNATURE----- diff --git a/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild b/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild deleted file mode 100644 index 65458dd42165..000000000000 --- a/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild,v 1.7 2012/07/02 21:51:47 sbriesen Exp $ - -EAPI=3 -PYTHON_DEPEND="2" - -inherit eutils multilib toolchain-funcs python - -DESCRIPTION="EXIF and IPTC metadata C++ library and command line utility" -HOMEPAGE="http://www.exiv2.org/" -SRC_URI="http://www.exiv2.org/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd" -IUSE="contrib doc examples nls xmp zlib" -IUSE_LINGUAS="de es fi fr pl ru sk" -IUSE="${IUSE} $(printf 'linguas_%s ' ${IUSE_LINGUAS})" - -RDEPEND=" - virtual/libiconv - nls? ( virtual/libintl ) - xmp? ( dev-libs/expat ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND} - contrib? ( >=dev-libs/boost-1.37 ) - doc? ( - app-doc/doxygen - dev-libs/libxslt - virtual/pkgconfig - media-gfx/graphviz - ) - nls? ( sys-devel/gettext ) -" - -src_prepare() { - # exiv2 fails to build with boost-1.46 due to boost filesystem - # API v3 becoming the default. This is easily fixed by adding a - # #define BOOST_FILESYSTEM_VERSION 2 - # to source files that include boost/filesystem.hpp - # - # Implemented via sed to avoid patch-file (bug #357605) - sed -i -e \ - 's|^\(#include <boost/filesystem.hpp>.*\)|#define BOOST_FILESYSTEM_VERSION 2\n\1|g' \ - contrib/organize/helpers.hpp - - # fix for off by 1 hour date error for -T option (bug #368419) - epatch "${FILESDIR}/${P}-time-fix.patch" - - # convert docs to UTF-8 - for i in doc/cmd.txt; do - einfo "Converting "${i}" to UTF-8" - iconv -f LATIN1 -t UTF-8 "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~" - done - - if use doc; then - einfo "Updating doxygen config" - doxygen 2>&1 >/dev/null -u config/Doxyfile - fi - - if use contrib; then - # create build environment for contrib - ln -snf ../../src contrib/organize/exiv2 - sed -i -e 's:/usr/local/include/.*:/usr/include:g' \ - -e 's:/usr/local/lib/lib:-l:g' -e 's:-gcc..-mt-._..\.a::g' \ - contrib/organize/boost.mk - fi - - # fix python shebang - python_convert_shebangs -r 2 doc/templates -} - -src_configure() { - local myconf="$(use_enable nls) $(use_enable xmp)" - use zlib || myconf="${myconf} --without-zlib" # plain 'use_with' fails - - # Bug #78720. amd64/gcc-3.4/-fvisibility* fail. - if [[ $(gcc-major-version) -lt 4 ]]; then - use amd64 && myconf="${myconf} --disable-visibility" - fi - - econf \ - --disable-static \ - ${myconf} -} - -src_compile() { - emake || die "emake failed" - - if use contrib; then - emake -C contrib/organize \ - LDFLAGS="\$(BOOST_LIBS) -L../../src -lexiv2 ${LDFLAGS}" \ - CPPFLAGS="${CPPFLAGS} -I\$(BOOST_INC_DIR) -I. -DEXV_HAVE_STDINT_H" \ - || die "emake organize failed" - fi - - if use doc; then - emake doc || die "emake doc failed" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - find "${ED}" -name '*.la' -exec rm -f {} + - - if use contrib; then - emake DESTDIR="${D}" -C contrib/organize install || die "emake install organize failed" - fi - - dodoc README doc/{ChangeLog,cmd.txt} - use xmp && dodoc doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} - use doc && dohtml -r doc/html/. - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins samples/*.cpp - fi -} - -pkg_postinst() { - ewarn - ewarn "PLEASE PLEASE take note of this:" - ewarn "Please make *sure* to run revdep-rebuild now" - ewarn "Certain things on your system may have linked against a" - ewarn "different version of exiv2 -- those things need to be" - ewarn "recompiled. Sorry for the inconvenience!" - ewarn -} diff --git a/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild b/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild deleted file mode 100644 index 105567934252..000000000000 --- a/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild,v 1.6 2012/07/02 21:51:47 sbriesen Exp $ - -EAPI=3 -PYTHON_DEPEND="2" - -inherit eutils multilib toolchain-funcs python - -DESCRIPTION="EXIF and IPTC metadata C++ library and command line utility" -HOMEPAGE="http://www.exiv2.org/" -SRC_URI="http://www.exiv2.org/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="contrib doc examples nls xmp zlib" -IUSE_LINGUAS="de es fi fr pl ru sk" -IUSE="${IUSE} $(printf 'linguas_%s ' ${IUSE_LINGUAS})" - -RDEPEND=" - virtual/libiconv - nls? ( virtual/libintl ) - xmp? ( dev-libs/expat ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND} - contrib? ( >=dev-libs/boost-1.37 ) - doc? ( - app-doc/doxygen - dev-libs/libxslt - virtual/pkgconfig - media-gfx/graphviz - ) - nls? ( sys-devel/gettext ) -" - -src_prepare() { - # exiv2 fails to build with boost-1.46 due to boost filesystem - # API v3 becoming the default. This is easily fixed by adding a - # #define BOOST_FILESYSTEM_VERSION 2 - # to source files that include boost/filesystem.hpp - # - # Implemented via sed to avoid patch-file (bug #357605) - sed -i -e \ - 's|^\(#include <boost/filesystem.hpp>.*\)|#define BOOST_FILESYSTEM_VERSION 2\n\1|g' \ - contrib/organize/helpers.hpp - - # fix for off by 1 hour date error for -T option (bug #368419) - epatch "${FILESDIR}/${P}-time-fix.patch" - - # convert docs to UTF-8 - for i in doc/cmd.txt; do - einfo "Converting "${i}" to UTF-8" - iconv -f LATIN1 -t UTF-8 "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~" - done - - if use doc; then - einfo "Updating doxygen config" - doxygen 2>&1 >/dev/null -u config/Doxyfile - fi - - if use contrib; then - # create build environment for contrib - ln -snf ../../src contrib/organize/exiv2 - sed -i -e 's:/usr/local/include/.*:/usr/include:g' \ - -e 's:/usr/local/lib/lib:-l:g' -e 's:-gcc..-mt-._..\.a::g' \ - contrib/organize/boost.mk - fi - - # fix python shebang - python_convert_shebangs -r 2 doc/templates -} - -src_configure() { - local myconf="$(use_enable nls) $(use_enable xmp)" - use zlib || myconf="${myconf} --without-zlib" # plain 'use_with' fails - - # Bug #78720. amd64/gcc-3.4/-fvisibility* fail. - if [[ $(gcc-major-version) -lt 4 ]]; then - use amd64 && myconf="${myconf} --disable-visibility" - fi - - econf \ - --disable-static \ - ${myconf} -} - -src_compile() { - emake || die "emake failed" - - if use contrib; then - emake -C contrib/organize \ - LDFLAGS="\$(BOOST_LIBS) -L../../src -lexiv2 ${LDFLAGS}" \ - CPPFLAGS="${CPPFLAGS} -I\$(BOOST_INC_DIR) -I. -DEXV_HAVE_STDINT_H" \ - || die "emake organize failed" - fi - - if use doc; then - emake doc || die "emake doc failed" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - find "${ED}" -name '*.la' -exec rm -f {} + - - if use contrib; then - emake DESTDIR="${D}" -C contrib/organize install || die "emake install organize failed" - fi - - dodoc README doc/{ChangeLog,cmd.txt} - use xmp && dodoc doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} - use doc && dohtml -r doc/html/. - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins samples/*.cpp - fi -} - -pkg_postinst() { - ewarn - ewarn "PLEASE PLEASE take note of this:" - ewarn "Please make *sure* to run revdep-rebuild now" - ewarn "Certain things on your system may have linked against a" - ewarn "different version of exiv2 -- those things need to be" - ewarn "recompiled. Sorry for the inconvenience!" - ewarn -} diff --git a/media-gfx/exiv2/exiv2-0.23.ebuild b/media-gfx/exiv2/exiv2-0.23.ebuild deleted file mode 100644 index c09cf9489935..000000000000 --- a/media-gfx/exiv2/exiv2-0.23.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.23.ebuild,v 1.3 2012/07/02 21:51:47 sbriesen Exp $ - -EAPI=4 -AUTOTOOLS_IN_SOURCE_BUILD=1 - -inherit eutils autotools-utils multilib toolchain-funcs python - -DESCRIPTION="EXIF and IPTC metadata C++ library and command line utility" -HOMEPAGE="http://www.exiv2.org/" -SRC_URI="http://www.exiv2.org/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE_LINGUAS="de es fi fr pl ru sk" -IUSE="contrib doc examples nls xmp zlib static-libs $(printf 'linguas_%s ' ${IUSE_LINGUAS})" - -RDEPEND=" - virtual/libiconv - nls? ( virtual/libintl ) - xmp? ( dev-libs/expat ) - zlib? ( sys-libs/zlib ) -" -DEPEND="${RDEPEND} - contrib? ( >=dev-libs/boost-1.37 ) - doc? ( - app-doc/doxygen - dev-libs/libxslt - virtual/pkgconfig - media-gfx/graphviz - =dev-lang/python-2* - ) - nls? ( sys-devel/gettext ) -" - -DOCS=( README doc/ChangeLog doc/cmd.txt ) - -src_prepare() { - # exiv2 fails to build with boost-1.46 due to boost filesystem - # API v3 becoming the default. This is easily fixed by adding a - # #define BOOST_FILESYSTEM_VERSION 2 - # to source files that include boost/filesystem.hpp - # - # Implemented via sed to avoid patch-file (bug #357605) - sed -i -e \ - 's|^\(#include <boost/filesystem.hpp>.*\)|#define BOOST_FILESYSTEM_VERSION 2\n\1|g' \ - contrib/organize/helpers.hpp - - # convert docs to UTF-8 - local i - for i in doc/cmd.txt; do - einfo "Converting "${i}" to UTF-8" - iconv -f LATIN1 -t UTF-8 "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~" - done - - if use doc; then - einfo "Updating doxygen config" - doxygen 2>&1 >/dev/null -u config/Doxyfile - python_convert_shebangs -r 2 doc/templates - fi - - if use contrib; then - # create build environment for contrib - ln -snf ../../src contrib/organize/exiv2 - sed -i -e 's:/usr/local/include/.*:/usr/include:g' \ - -e 's:/usr/local/lib/lib:-l:g' -e 's:-gcc..-mt-._..\.a::g' \ - contrib/organize/boost.mk - fi -} - -src_configure() { - local myeconfargs=( - $(use_enable nls) - $(use_enable xmp) - $(use_enable static-libs static) - ) - - # plain 'use_with' fails - use zlib || myeconfargs+=("${myconf} --without-zlib") - - # Bug #78720. amd64/gcc-3.4/-fvisibility* fail. - if [ $(gcc-major-version) -lt 4 ]; then - use amd64 && myeconfargs+=("${myconf} --disable-visibility") - fi - - autotools-utils_src_configure -} - -src_compile() { - autotools-utils_src_compile - - if use contrib; then - emake -C contrib/organize \ - LDFLAGS="\$(BOOST_LIBS) -L../../src -lexiv2 ${LDFLAGS}" \ - CPPFLAGS="${CPPFLAGS} -I\$(BOOST_INC_DIR) -I. -DEXV_HAVE_STDINT_H" \ - || die "emake organize failed" - fi - - if use doc; then - emake doc || die "emake doc failed" - fi -} - -src_install() { - autotools-utils_src_install - - if use contrib; then - emake DESTDIR="${D}" -C contrib/organize install || die "emake install organize failed" - fi - - use xmp && dodoc doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt} - use doc && dohtml -r doc/html/. - if use examples; then - insinto /usr/share/doc/${PF}/examples - docompress -x /usr/share/doc/${PF}/examples - doins samples/*.cpp - fi -} diff --git a/media-gfx/exiv2/metadata.xml b/media-gfx/exiv2/metadata.xml index 73756a9201db..f83a55405276 100644 --- a/media-gfx/exiv2/metadata.xml +++ b/media-gfx/exiv2/metadata.xml @@ -2,8 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> - <email>sbriesen@gentoo.org</email> - <name>Stefan Briesenick</name> + <email>maintainer-needed@gentoo.org</email> </maintainer> <longdescription lang="en"> Exiv2 is a C++ library and a command line utility to read and |