Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/tiff-compat: ChangeLog tiff-compat-3.9.5.ebuild tiff-compat-3.9.4-r1.ebuild
Date: Wed, 31 Aug 2011 15:14:21
Message-Id: 20110831151406.A84DC2004C@flycatcher.gentoo.org
1 alexxy 11/08/31 15:14:06
2
3 Modified: ChangeLog
4 Added: tiff-compat-3.9.5.ebuild
5 Removed: tiff-compat-3.9.4-r1.ebuild
6 Log:
7 [media-libs/tiff-compat] Version bump
8
9 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 media-libs/tiff-compat/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tiff-compat/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tiff-compat/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tiff-compat/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/tiff-compat/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 12 Jul 2011 21:54:23 -0000 1.1
25 +++ ChangeLog 31 Aug 2011 15:14:06 -0000 1.2
26 @@ -1,6 +1,12 @@
27 # ChangeLog for media-libs/tiff-compat
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff-compat/ChangeLog,v 1.1 2011/07/12 21:54:23 alexxy Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff-compat/ChangeLog,v 1.2 2011/08/31 15:14:06 alexxy Exp $
31 +
32 +*tiff-compat-3.9.5 (31 Aug 2011)
33 +
34 + 31 Aug 2011; Alexey Shvetsov <alexxy@g.o>
35 + -tiff-compat-3.9.4-r1.ebuild, +tiff-compat-3.9.5.ebuild:
36 + Version bump
37
38 12 Jul 2011; Alexey Shvetsov <alexxy@g.o>
39 +tiff-compat-3.9.4-r1.ebuild, +files/tiff-3.9.4-CVE-2011-0192.patch,
40
41
42
43 1.1 media-libs/tiff-compat/tiff-compat-3.9.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tiff-compat/tiff-compat-3.9.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tiff-compat/tiff-compat-3.9.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tiff-compat-3.9.5.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/tiff-compat/tiff-compat-3.9.5.ebuild,v 1.1 2011/08/31 15:14:06 alexxy Exp $
53
54 EAPI=3
55 inherit eutils libtool
56
57 # This is ebuild for libtiff.so.3 only for SONAME binary compatibility
58
59 DESCRIPTION="Library for manipulation of TIFF (Tag Image File Format) images"
60 HOMEPAGE="http://www.remotesensing.org/libtiff/"
61 SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/${P/-compat}.tar.gz"
62
63 LICENSE="as-is"
64 SLOT="3"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
66 IUSE="+cxx jbig jpeg static-libs zlib"
67
68 RDEPEND="jpeg? ( virtual/jpeg )
69 !=media-libs/tiff-3*
70 jbig? ( media-libs/jbigkit )
71 zlib? ( sys-libs/zlib )"
72
73 DEPEND="${RDEPEND}"
74
75 S="${WORKDIR}"/${P/-compat}
76
77 src_prepare() {
78 epatch "${FILESDIR}"/${P/-compat}-CVE-2011-0192.patch
79 epatch "${FILESDIR}"/${P/-compat}-CVE-2011-1167.patch
80 elibtoolize
81 }
82
83 src_configure() {
84 econf \
85 --disable-dependency-tracking \
86 $(use_enable static-libs static) \
87 $(use_enable cxx) \
88 $(use_enable zlib) \
89 $(use_enable jpeg) \
90 $(use_enable jbig) \
91 --without-x \
92 --with-docdir="${EPREFIX}"/usr/share/doc/${PF}
93 }
94
95 src_install() {
96 exeinto /usr/$(get_libdir)
97 doexe libtiff/.libs/libtiff.so.3 || die
98 doexe libtiff/.libs/libtiffxx.so.3 || die
99 }
100
101 pkg_postinst() {
102 if use jbig; then
103 echo
104 elog "JBIG support is intended for Hylafax fax compression, so we"
105 elog "really need more feedback in other areas (most testing has"
106 elog "been done with fax). Be sure to recompile anything linked"
107 elog "against tiff if you rebuild it with jbig support."
108 echo
109 fi
110 }