Gentoo Archives: gentoo-commits

From: "Stefan Briesenick (sbriesen)" <sbriesen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/exiv2: ChangeLog exiv2-0.17.1.ebuild
Date: Mon, 01 Sep 2008 17:16:25
Message-Id: E1KaD0o-0000y5-BT@stork.gentoo.org
1 sbriesen 08/09/01 17:16:22
2
3 Modified: ChangeLog
4 Added: exiv2-0.17.1.ebuild
5 Log:
6 version bump, solves bug #235382.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
8
9 Revision Changes Path
10 1.54 media-gfx/exiv2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/ChangeLog?rev=1.54&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/ChangeLog?rev=1.54&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/ChangeLog?r1=1.53&r2=1.54
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v
19 retrieving revision 1.53
20 retrieving revision 1.54
21 diff -u -r1.53 -r1.54
22 --- ChangeLog 1 Sep 2008 17:13:35 -0000 1.53
23 +++ ChangeLog 1 Sep 2008 17:16:21 -0000 1.54
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-gfx/exiv2
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.53 2008/09/01 17:13:35 sbriesen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/ChangeLog,v 1.54 2008/09/01 17:16:21 sbriesen Exp $
29 +
30 +*exiv2-0.17.1 (01 Sep 2008)
31 +
32 + 01 Sep 2008; Stefan Briesenick <sbriesen@g.o> +exiv2-0.17.1.ebuild:
33 + version bump, solves bug #235382.
34
35 01 Sep 2008; Stefan Briesenick <sbriesen@g.o>
36 -files/exiv2-0.16-gcc43.diff, -files/CVE-2007-6353.diff,
37
38
39
40 1.1 media-gfx/exiv2/exiv2-0.17.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/exiv2-0.17.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/exiv2/exiv2-0.17.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: exiv2-0.17.1.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-gfx/exiv2/exiv2-0.17.1.ebuild,v 1.1 2008/09/01 17:16:21 sbriesen Exp $
50
51 inherit eutils
52
53 DESCRIPTION="EXIF and IPTC metadata C++ library and command line utility"
54 HOMEPAGE="http://www.exiv2.org/"
55 SRC_URI="http://www.exiv2.org/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
60
61 IUSE="doc nls zlib xmp examples unicode"
62 IUSE_LINGUAS="de es fi fr pl ru sk"
63
64 for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
65
66 RDEPEND="zlib? ( sys-libs/zlib )
67 xmp? ( dev-libs/expat )
68 nls? ( virtual/libintl )
69 virtual/libiconv"
70
71 DEPEND="${RDEPEND}
72 doc? ( app-doc/doxygen )
73 nls? ( sys-devel/gettext )"
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 if use unicode; then
80 for i in doc/cmd.txt; do
81 echo ">>> Converting "${i}" to UTF-8"
82 iconv -f LATIN1 -t UTF-8 "${i}" > "${i}~" && mv -f "${i}~" "${i}" || rm -f "${i}~"
83 done
84 fi
85
86 if use doc; then
87 echo ">>> Updating doxygen config"
88 doxygen &>/dev/null -u config/Doxyfile
89 fi
90 }
91
92 src_compile() {
93 local myconf="$(use_enable nls) $(use_enable xmp)"
94 use zlib || myconf="${myconf} --without-zlib" # plain 'use_with' fails
95 econf ${myconf} || die "econf failed"
96 emake || die "emake failed"
97 if use doc; then
98 emake doc || die "emake doc failed"
99 fi
100 }
101
102 src_install() {
103 emake DESTDIR="${D}" install || die "emake install failed"
104 dodoc README doc/{ChangeLog,cmd.txt}
105 use xmp && dodoc doc/{COPYING-XMPSDK,README-XMP,cmdxmp.txt}
106 use doc && dohtml -r doc/html/.
107 if use examples; then
108 insinto /usr/share/doc/${PF}/examples
109 doins samples/*.cpp
110 fi
111 }
112
113 pkg_postinst() {
114 ewarn
115 ewarn "PLEASE PLEASE take note of this:"
116 ewarn "Please make *sure* to run revdep-rebuild now"
117 ewarn "Certain things on your system may have linked against a"
118 ewarn "different version of exiv2 -- those things need to be"
119 ewarn "recompiled. Sorry for the inconvenience!"
120 ewarn
121 }