summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2012-06-24 21:36:09 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2012-06-24 21:36:09 +0000
commitb0e25e8fdda4d462ca75db7f41c003c488306579 (patch)
tree319447c97d1df33ef0600f3fde9ce1c1f06cde33 /media-gfx/exiv2
parentVersion bump. (diff)
downloadhistorical-b0e25e8fdda4d462ca75db7f41c003c488306579.tar.gz
historical-b0e25e8fdda4d462ca75db7f41c003c488306579.tar.bz2
historical-b0e25e8fdda4d462ca75db7f41c003c488306579.zip
version bump (bug #390375), added static-libs support (bug #378205), depend on python2 only with USE=doc and in DEPEND (bug #398959), set dev-util/pkgconfig dependencies again for older ebuilds due to profile-errors during commit (feel free to fix it)
Package-Manager: portage-2.2.0_alpha111/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/exiv2')
-rw-r--r--media-gfx/exiv2/ChangeLog11
-rw-r--r--media-gfx/exiv2/Manifest18
-rw-r--r--media-gfx/exiv2/exiv2-0.19.ebuild4
-rw-r--r--media-gfx/exiv2/exiv2-0.21.1-r1.ebuild4
-rw-r--r--media-gfx/exiv2/exiv2-0.21.1-r2.ebuild4
-rw-r--r--media-gfx/exiv2/exiv2-0.23.ebuild130
6 files changed, 157 insertions, 14 deletions
diff --git a/media-gfx/exiv2/ChangeLog b/media-gfx/exiv2/ChangeLog
index cd837861c93a..3e742ce90e12 100644
--- a/media-gfx/exiv2/ChangeLog
+++ b/media-gfx/exiv2/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-gfx/exiv2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.99 2012/05/17 16:31:08 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.100 2012/06/24 21:36:09 sbriesen Exp $
+
+*exiv2-0.23 (24 Jun 2012)
+
+ 24 Jun 2012; Stefan Briesenick <sbriesen@gentoo.org> exiv2-0.19.ebuild,
+ exiv2-0.21.1-r1.ebuild, exiv2-0.21.1-r2.ebuild, +exiv2-0.23.ebuild:
+ version bump (bug #390375), added static-libs support (bug #378205), depend
+ on python2 only with USE=doc and in DEPEND (bug #398959), set
+ dev-util/pkgconfig dependencies again for older ebuilds due to profile-errors
+ during commit (feel free to fix it)
17 May 2012; Alexis Ballier <aballier@gentoo.org> exiv2-0.21.1-r2.ebuild:
keyword ~amd64-fbsd
diff --git a/media-gfx/exiv2/Manifest b/media-gfx/exiv2/Manifest
index 36e1953d375f..f4fb0e3bac71 100644
--- a/media-gfx/exiv2/Manifest
+++ b/media-gfx/exiv2/Manifest
@@ -5,15 +5,19 @@ AUX exiv2-0.19-syntax-fix.patch 598 RMD160 f59d55322ee8d945bc1a604d28952269a7fa6
AUX exiv2-0.21.1-time-fix.patch 1979 RMD160 28a27ed38a171820b8e6d98af13b941f0ae554c5 SHA1 cc6dd00ac2e2cde48a50c418c0e5890cffa9f81a SHA256 7ea4fe457dae5ff41090eafedb9c6e181c4dd4f214ec49a958e6cce73f790b46
DIST exiv2-0.19.tar.gz 2658781 RMD160 263267fb75341a6eb60e5201b88bfea11ef18eea SHA1 4ab8d830094f2842bc286d8e7fb03100ca7f07b1 SHA256 1733dab5e81d9cf4e0b3d6eeed009103e5baff4fecfc127ecee016b3a67c51ef
DIST exiv2-0.21.1.tar.gz 3004521 RMD160 8eaddf863500c391d2d779747b24d6eb004b1d9f SHA1 d33e0efbad5d6a7af7f2e6d1d0beb6e7c941cfca SHA256 2edae035760f84afdfebdf3123a166e6bbf77870697afe54dea92a783f041817
-EBUILD exiv2-0.19.ebuild 2952 RMD160 f058c58431b045a53ca539f83dabbc94233d92fb SHA1 ee0268e321860ed901d01306d0dbc7561e5c8179 SHA256 54ab261dfae3f28095d2272262851b0bd6fb04b2cdedf53fd46787ab23a8a514
-EBUILD exiv2-0.21.1-r1.ebuild 3565 RMD160 e45f0c7625b7d0cfd91d50887bfff9c13557b36b SHA1 f0edfe6d28fd69d38128aa61b8abbcdccb613ad0 SHA256 a21372dd2912082f4999d06b91958067f788da199eeaadae4c44e1a9c4e212e6
-EBUILD exiv2-0.21.1-r2.ebuild 3580 RMD160 02c44164639823c2eb2ee4a246583b1abcd7a262 SHA1 c06b4ff4e2ef55a2bb265e8e262ae8049e14590a SHA256 7f6c83ef129455d65cd08d3fe8d11b34dc6a9e29acc6e0e4e2fb884ca760d351
-MISC ChangeLog 12486 RMD160 9fde02cf66113efc209510c5b3e538f3ba3b50a5 SHA1 5ffa9f5678a60be5fbcf7705dabc836b525a9494 SHA256 a108dace2e995443f7d864321a4451d85b6478f62341e2effa5231b61d88b6cf
+DIST exiv2-0.23.tar.gz 3524381 RMD160 ac58f8b5df70ee56c49d387f0666e5e2578d942e SHA1 5f342bf642477526f41add11d6ee7787cdcd639f SHA256 81fa50900be7ab16e24c6551252c21fc97abcfe855fd32c8f7ec55f398786b11
+EBUILD exiv2-0.19.ebuild 2956 RMD160 a8d8360051f3a2d0b5acb38a0c675740a47f312c SHA1 650af59829b19d244aa8ed8f0c09823a47384a24 SHA256 c00fcc7805bb08a47c1ee3aab2542e4aa0cbe7a8990307952d8af37aec763fd8
+EBUILD exiv2-0.21.1-r1.ebuild 3568 RMD160 20699c0532e6681d90e3fb50e80891b89126b471 SHA1 847ed392b1d9ea9ce91c245d6662586b2ae6b5f2 SHA256 5d8f3db4f95858c4932a144d22164b1fd8f1ad78fefb5a4398f91bbbe635ef96
+EBUILD exiv2-0.21.1-r2.ebuild 3581 RMD160 2f879c7c73e75fe46426c057c87b3954b830527e SHA1 f3ace3ee941d1e9853d8c31dfdc02bbd537ea25d SHA256 97fa820ee9b543030ae068d67cb29fcb179d576cb749f09030327555aafc2462
+EBUILD exiv2-0.23.ebuild 3516 RMD160 7f8e5e72c23f7a008ba943c4fd187ec89c70372f SHA1 78830e0438e3bc3f187dd4c7fa5b246daaa97098 SHA256 93975548b02cb6bb68eb758eac12ff486b855fc5d2d8bdc127f85d243cd2838a
+MISC ChangeLog 12919 RMD160 daca026ad99f4853465b716cc2f7708e0f05aa4d SHA1 fb9fd6848059ea75ce5bdf95e626aee38b28340e SHA256 edba5ccbfa4f64323fd1f7cf20163900b058d0ea4afc05605a729d04fe4e0a93
MISC metadata.xml 477 RMD160 c1155e7b7fa784b9b7e7143f9a92e99db6555cdb SHA1 e1cf026778c308bd737ab7f966feecd8c78c80c1 SHA256 17d43fc6d100a119edc3345bf1da39ee04b1e9f8d54b78c2deb05801b2ea79be
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk+1J9IACgkQvFcC4BYPU0qJPQCgp8Kx6eDqUn/H1+DBvE3fxif/
-X+MAnA7m9u3dsjwLadhPGDNIA/EuVjGL
-=pUD5
+iJwEAQECAAYFAk/niFYACgkQIaLonLtsQscLZgP/egZTxM2J6o0CtC4yDIG1gLMk
+4n9W43eWus89vFvp/Y0M5ukSSDzQPgC715McjpB/k4u9uFlkIHXywwV0GQrCkKdY
+mvNwG+ivk9kSZkA7UUAu5hyPhC0eBx0irUJgSA+EmrfMMjK6EroipaNaXjIXT2C5
+AuimHvLuAJFjdygJvuM=
+=nDka
-----END PGP SIGNATURE-----
diff --git a/media-gfx/exiv2/exiv2-0.19.ebuild b/media-gfx/exiv2/exiv2-0.19.ebuild
index 76a1198165d3..60e72cfb39e0 100644
--- a/media-gfx/exiv2/exiv2-0.19.ebuild
+++ b/media-gfx/exiv2/exiv2-0.19.ebuild
@@ -1,6 +1,6 @@
# 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.19.ebuild,v 1.9 2012/05/05 07:00:18 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.19.ebuild,v 1.10 2012/06/24 21:36:09 sbriesen Exp $
EAPI="2"
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}
dev-lang/python
app-doc/doxygen
dev-libs/libxslt
- virtual/pkgconfig
+ dev-util/pkgconfig
media-gfx/graphviz
)
nls? ( sys-devel/gettext )
diff --git a/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild b/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild
index 8d224742cab4..5b259024df8a 100644
--- a/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild
+++ b/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild
@@ -1,6 +1,6 @@
# 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.5 2012/05/05 07:00:18 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.21.1-r1.ebuild,v 1.6 2012/06/24 21:36:09 sbriesen Exp $
EAPI=3
PYTHON_DEPEND="2"
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}
doc? (
app-doc/doxygen
dev-libs/libxslt
- virtual/pkgconfig
+ dev-util/pkgconfig
media-gfx/graphviz
)
nls? ( sys-devel/gettext )
diff --git a/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild b/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild
index e3b6a9ae4a30..287ea4030ef0 100644
--- a/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild
+++ b/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild
@@ -1,6 +1,6 @@
# 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.4 2012/05/17 16:31:08 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.21.1-r2.ebuild,v 1.5 2012/06/24 21:36:09 sbriesen Exp $
EAPI=3
PYTHON_DEPEND="2"
@@ -29,7 +29,7 @@ DEPEND="${RDEPEND}
doc? (
app-doc/doxygen
dev-libs/libxslt
- virtual/pkgconfig
+ dev-util/pkgconfig
media-gfx/graphviz
)
nls? ( sys-devel/gettext )
diff --git a/media-gfx/exiv2/exiv2-0.23.ebuild b/media-gfx/exiv2/exiv2-0.23.ebuild
new file mode 100644
index 000000000000..6c1336f6859e
--- /dev/null
+++ b/media-gfx/exiv2/exiv2-0.23.ebuild
@@ -0,0 +1,130 @@
+# 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.1 2012/06/24 21:36:09 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
+ dev-util/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
+}
+
+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
+}