Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/gdk-pixbuf: gdk-pixbuf-2.24.1.ebuild ChangeLog gdk-pixbuf-2.22.1-r2.ebuild
Date: Sat, 31 Dec 2011 18:24:41
Message-Id: 20111231182432.A2C432004B@flycatcher.gentoo.org
1 pacho 11/12/31 18:24:32
2
3 Modified: ChangeLog
4 Added: gdk-pixbuf-2.24.1.ebuild
5 Removed: gdk-pixbuf-2.22.1-r2.ebuild
6 Log:
7 Version bump, add missing DEPEND on proper coreutils version (bug #395103 by arnaud), remove old.
8
9 (Portage version: 2.1.10.44/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.44 x11-libs/gdk-pixbuf/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.44&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.44&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?r1=1.43&r2=1.44
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v
21 retrieving revision 1.43
22 retrieving revision 1.44
23 diff -u -r1.43 -r1.44
24 --- ChangeLog 13 Nov 2011 11:52:14 -0000 1.43
25 +++ ChangeLog 31 Dec 2011 18:24:32 -0000 1.44
26 @@ -1,6 +1,14 @@
27 # ChangeLog for x11-libs/gdk-pixbuf
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.43 2011/11/13 11:52:14 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.44 2011/12/31 18:24:32 pacho Exp $
31 +
32 +*gdk-pixbuf-2.24.1 (31 Dec 2011)
33 +
34 + 31 Dec 2011; Pacho Ramos <pacho@g.o> +gdk-pixbuf-2.24.1.ebuild,
35 + -files/gdk-pixbuf-2.22.1-CVE-2011-2485.patch,
36 + -files/gdk-pixbuf-2.22.1-fix-libpng15.patch, -gdk-pixbuf-2.22.1-r2.ebuild:
37 + Version bump, add missing DEPEND on proper coreutils version (bug #395103 by
38 + arnaud), remove old.
39
40 13 Nov 2011; Justin Lecher <jlec@g.o> gdk-pixbuf-2.22.1-r2.ebuild,
41 gdk-pixbuf-2.24.0-r1.ebuild:
42
43
44
45 1.1 x11-libs/gdk-pixbuf/gdk-pixbuf-2.24.1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.24.1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.24.1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: gdk-pixbuf-2.24.1.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.24.1.ebuild,v 1.1 2011/12/31 18:24:32 pacho Exp $
55
56 EAPI="4"
57
58 inherit gnome.org multilib libtool autotools
59
60 DESCRIPTION="Image loading library for GTK+"
61 HOMEPAGE="http://www.gtk.org/"
62
63 LICENSE="LGPL-2"
64 SLOT="2"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
66 IUSE="+X debug doc +introspection jpeg jpeg2k tiff test"
67
68 COMMON_DEPEND="
69 >=dev-libs/glib-2.27.2:2
70 >=media-libs/libpng-1.4:0
71 introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
72 jpeg? ( virtual/jpeg )
73 jpeg2k? ( media-libs/jasper )
74 tiff? ( >=media-libs/tiff-3.9.2:0 )
75 X? ( x11-libs/libX11 )"
76 DEPEND="${COMMON_DEPEND}
77 >=dev-util/pkgconfig-0.9
78 >=sys-apps/coreutils-8.5
79 >=sys-devel/gettext-0.17
80 >=dev-util/gtk-doc-am-1.11
81 doc? (
82 >=dev-util/gtk-doc-1.11
83 ~app-text/docbook-xml-dtd-4.1.2 )"
84 # librsvg blocker is for the new pixbuf loader API, you lose icons otherwise
85 RDEPEND="${COMMON_DEPEND}
86 !<gnome-base/gail-1000
87 !<gnome-base/librsvg-2.31.0
88 !<x11-libs/gtk+-2.21.3:2
89 !<x11-libs/gtk+-2.90.4:3"
90
91 src_prepare() {
92 # This will avoid polluting the pkg-config file with versioned libpng,
93 # which is causing problems with libpng14 -> libpng15 upgrade
94 # See upstream bug #667068
95 sed -i -e 's:libpng15:libpng libpng15:' configure.ac || die
96 eautoreconf
97 }
98
99 src_configure() {
100 # png always on to display icons (foser)
101 local myconf="
102 $(use_enable doc gtk-doc)
103 $(use_with jpeg libjpeg)
104 $(use_with jpeg2k libjasper)
105 $(use_with tiff libtiff)
106 $(use_enable introspection)
107 $(use_with X x11)
108 --with-libpng"
109
110 # Passing --disable-debug is not recommended for production use
111 use debug && myconf="${myconf} --enable-debug=yes"
112
113 econf ${myconf}
114 }
115
116 src_install() {
117 emake DESTDIR="${D}" install
118 dodoc AUTHORS NEWS* README*
119
120 # New library, remove .la files
121 find "${D}" -name '*.la' -exec rm -f '{}' + || die
122 }
123
124 pkg_postinst() {
125 # causes segfault if set, see bug 375615
126 unset __GL_NO_DSO_FINALIZER
127
128 tmp_file=$(mktemp --suffix=gdk_pixbuf_ebuild)
129 # be atomic!
130 gdk-pixbuf-query-loaders > "${tmp_file}"
131 if [ "${?}" = "0" ]; then
132 cat "${tmp_file}" > "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache"
133 else
134 ewarn "Cannot update loaders.cache, gdk-pixbuf-query-loaders failed to run"
135 fi
136 rm "${tmp_file}"
137
138 if [ -e "${EROOT}"usr/lib/gtk-2.0/2.*/loaders ]; then
139 elog "You need to rebuild ebuilds that installed into" "${EROOT}"usr/lib/gtk-2.0/2.*/loaders
140 elog "to do that you can use qfile from portage-utils:"
141 elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.*/loaders)"
142 fi
143 }