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.30.7-r1.ebuild gdk-pixbuf-2.30.7.ebuild ChangeLog gdk-pixbuf-2.28.2.ebuild gdk-pixbuf-2.30.6-r1.ebuild gdk-pixbuf-2.30.5.ebuild
Date: Sat, 29 Mar 2014 21:36:21
Message-Id: 20140329213613.C1F4320054@flycatcher.gentoo.org
1 pacho 14/03/29 21:36:13
2
3 Modified: ChangeLog
4 Added: gdk-pixbuf-2.30.7-r1.ebuild
5 gdk-pixbuf-2.30.7.ebuild
6 Removed: gdk-pixbuf-2.28.2.ebuild
7 gdk-pixbuf-2.30.6-r1.ebuild
8 gdk-pixbuf-2.30.5.ebuild
9 Log:
10 Version bump, drop old
11
12 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
13
14 Revision Changes Path
15 1.106 x11-libs/gdk-pixbuf/ChangeLog
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.106&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.106&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?r1=1.105&r2=1.106
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v
24 retrieving revision 1.105
25 retrieving revision 1.106
26 diff -u -r1.105 -r1.106
27 --- ChangeLog 28 Mar 2014 02:35:37 -0000 1.105
28 +++ ChangeLog 29 Mar 2014 21:36:13 -0000 1.106
29 @@ -1,6 +1,14 @@
30 # ChangeLog for x11-libs/gdk-pixbuf
31 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.105 2014/03/28 02:35:37 jer Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.106 2014/03/29 21:36:13 pacho Exp $
34 +
35 +*gdk-pixbuf-2.30.7-r1 (29 Mar 2014)
36 +*gdk-pixbuf-2.30.7 (29 Mar 2014)
37 +
38 + 29 Mar 2014; Pacho Ramos <pacho@g.o> +gdk-pixbuf-2.30.7-r1.ebuild,
39 + +gdk-pixbuf-2.30.7.ebuild, -gdk-pixbuf-2.28.2.ebuild,
40 + -gdk-pixbuf-2.30.5.ebuild, -gdk-pixbuf-2.30.6-r1.ebuild:
41 + Version bump, drop old
42
43 28 Mar 2014; Jeroen Roovers <jer@g.o> gdk-pixbuf-2.30.6.ebuild:
44 Stable for HPPA (bug #499954).
45
46
47
48 1.1 x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.7-r1.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.7-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.7-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: gdk-pixbuf-2.30.7-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2014 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.7-r1.ebuild,v 1.1 2014/03/29 21:36:13 pacho Exp $
58
59 EAPI="5"
60
61 inherit eutils gnome.org gnome2-utils multilib libtool multilib-minimal
62
63 DESCRIPTION="Image loading library for GTK+"
64 HOMEPAGE="http://www.gtk.org/"
65
66 LICENSE="LGPL-2+"
67 SLOT="2"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
69 IUSE="+X debug +introspection jpeg jpeg2k tiff test"
70
71 COMMON_DEPEND="
72 >=dev-libs/glib-2.37.6:2[${MULTILIB_USEDEP}]
73 >=media-libs/libpng-1.4:0=[${MULTILIB_USEDEP}]
74 introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
75 jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
76 jpeg2k? ( media-libs/jasper:=[${MULTILIB_USEDEP}] )
77 tiff? ( >=media-libs/tiff-3.9.2:0=[${MULTILIB_USEDEP}] )
78 X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
79 "
80 DEPEND="${COMMON_DEPEND}
81 >=dev-util/gtk-doc-am-1.20
82 >=sys-devel/gettext-0.17
83 virtual/pkgconfig
84 "
85 # librsvg blocker is for the new pixbuf loader API, you lose icons otherwise
86 RDEPEND="${COMMON_DEPEND}
87 !<gnome-base/gail-1000
88 !<gnome-base/librsvg-2.31.0
89 !<x11-libs/gtk+-2.21.3:2
90 !<x11-libs/gtk+-2.90.4:3
91 abi_x86_32? (
92 !<=app-emulation/emul-linux-x86-gtklibs-20131008-r2
93 !app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
94 )
95 "
96
97 MULTILIB_CHOST_TOOLS=(
98 /usr/bin/gdk-pixbuf-query-loaders
99 )
100
101 src_prepare() {
102 # This will avoid polluting the pkg-config file with versioned libpng,
103 # which is causing problems with libpng14 -> libpng15 upgrade
104 # See upstream bug #667068
105 # First check that the pattern is present, to catch upstream changes on bumps,
106 # because sed doesn't return failure code if it doesn't do any replacements
107 grep -q 'l in libpng16' configure || die "libpng check order has changed upstream"
108 sed -e 's:l in libpng16:l in libpng libpng16:' -i configure || die
109 default
110 elibtoolize # for Darwin modules, bug #???
111 }
112
113 multilib_src_configure() {
114 # png always on to display icons
115 ECONF_SOURCE="${S}" \
116 econf \
117 $(usex debug --enable-debug=yes "") \
118 $(use_with jpeg libjpeg) \
119 $(use_with jpeg2k libjasper) \
120 $(use_with tiff libtiff) \
121 $(multilib_build_binaries \
122 && use_enable introspection \
123 || echo --disable-introspection) \
124 $(use_with X x11) \
125 --with-libpng
126 }
127
128 multilib_src_install() {
129 # Parallel install fails when no gdk-pixbuf is already installed, bug #481372
130 emake -j1 DESTDIR="${D}" install
131 }
132
133 multilib_src_install_all() {
134 einstalldocs
135 prune_libtool_files --modules
136 }
137
138 pkg_preinst() {
139 gnome2_gdk_pixbuf_savelist
140
141 multilib_pkg_preinst() {
142 # Make sure loaders.cache belongs to gdk-pixbuf alone
143 local cache="usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache"
144
145 if [[ -e ${EROOT}${cache} ]]; then
146 cp "${EROOT}"${cache} "${ED}"/${cache} || die
147 else
148 touch "${ED}"/${cache} || die
149 fi
150 }
151
152 multilib_foreach_abi multilib_pkg_preinst
153 }
154
155 pkg_postinst() {
156 # causes segfault if set, see bug 375615
157 unset __GL_NO_DSO_FINALIZER
158
159 multilib_foreach_abi gnome2_gdk_pixbuf_update
160
161 # Migration snippet for when this was handled by gtk+
162 if [ -e "${EROOT}"usr/lib/gtk-2.0/2.*/loaders ]; then
163 elog "You need to rebuild ebuilds that installed into" "${EROOT}"usr/lib/gtk-2.0/2.*/loaders
164 elog "to do that you can use qfile from portage-utils:"
165 elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.*/loaders)"
166 fi
167 }
168
169 pkg_postrm() {
170 if [[ -z ${REPLACED_BY_VERSIONS} ]]; then
171 rm -f "${EROOT}"usr/lib*/${PN}-2.0/2.10.0/loaders.cache
172 fi
173 }
174
175
176
177 1.1 x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.7.ebuild
178
179 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.7.ebuild?rev=1.1&view=markup
180 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.7.ebuild?rev=1.1&content-type=text/plain
181
182 Index: gdk-pixbuf-2.30.7.ebuild
183 ===================================================================
184 # Copyright 1999-2014 Gentoo Foundation
185 # Distributed under the terms of the GNU General Public License v2
186 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.7.ebuild,v 1.1 2014/03/29 21:36:13 pacho Exp $
187
188 EAPI="5"
189
190 inherit gnome.org gnome2-utils multilib libtool
191
192 DESCRIPTION="Image loading library for GTK+"
193 HOMEPAGE="http://www.gtk.org/"
194
195 LICENSE="LGPL-2+"
196 SLOT="2"
197 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
198 IUSE="+X debug +introspection jpeg jpeg2k tiff test"
199
200 COMMON_DEPEND="
201 >=dev-libs/glib-2.37.6:2
202 >=media-libs/libpng-1.4:0=
203 introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
204 jpeg? ( virtual/jpeg:0= )
205 jpeg2k? ( media-libs/jasper:= )
206 tiff? ( >=media-libs/tiff-3.9.2:0= )
207 X? ( x11-libs/libX11 )
208 "
209 DEPEND="${COMMON_DEPEND}
210 >=dev-util/gtk-doc-am-1.20
211 >=sys-devel/gettext-0.17
212 virtual/pkgconfig
213 "
214 # librsvg blocker is for the new pixbuf loader API, you lose icons otherwise
215 RDEPEND="${COMMON_DEPEND}
216 !<gnome-base/gail-1000
217 !<gnome-base/librsvg-2.31.0
218 !<x11-libs/gtk+-2.21.3:2
219 !<x11-libs/gtk+-2.90.4:3
220 "
221
222 src_prepare() {
223 # This will avoid polluting the pkg-config file with versioned libpng,
224 # which is causing problems with libpng14 -> libpng15 upgrade
225 # See upstream bug #667068
226 # First check that the pattern is present, to catch upstream changes on bumps,
227 # because sed doesn't return failure code if it doesn't do any replacements
228 grep -q 'l in libpng16' configure || die "libpng check order has changed upstream"
229 sed -e 's:l in libpng16:l in libpng libpng16:' -i configure || die
230 default
231 elibtoolize # for Darwin modules, bug #???
232 }
233
234 src_configure() {
235 # png always on to display icons
236 econf \
237 $(usex debug --enable-debug=yes "") \
238 $(use_with jpeg libjpeg) \
239 $(use_with jpeg2k libjasper) \
240 $(use_with tiff libtiff) \
241 $(use_enable introspection) \
242 $(use_with X x11) \
243 --with-libpng
244 }
245
246 src_install() {
247 # Parallel install fails when no gdk-pixbuf is already installed, bug #481372
248 MAKEOPTS="${MAKEOPTS} -j1" default
249 prune_libtool_files --modules
250 }
251
252 pkg_preinst() {
253 gnome2_gdk_pixbuf_savelist
254
255 # Make sure loaders.cache belongs to gdk-pixbuf alone
256 local cache="usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache"
257
258 if [[ -e ${EROOT}${cache} ]]; then
259 cp "${EROOT}"${cache} "${ED}"/${cache} || die
260 else
261 touch "${ED}"/${cache} || die
262 fi
263 }
264
265 pkg_postinst() {
266 # causes segfault if set, see bug 375615
267 unset __GL_NO_DSO_FINALIZER
268
269 gnome2_gdk_pixbuf_update
270
271 # Migration snippet for when this was handled by gtk+
272 if [ -e "${EROOT}"usr/lib/gtk-2.0/2.*/loaders ]; then
273 elog "You need to rebuild ebuilds that installed into" "${EROOT}"usr/lib/gtk-2.0/2.*/loaders
274 elog "to do that you can use qfile from portage-utils:"
275 elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.*/loaders)"
276 fi
277 }
278
279 pkg_postrm() {
280 if [[ -z ${REPLACED_BY_VERSIONS} ]]; then
281 rm -f "${EROOT}"usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache
282 fi
283 }