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.8.ebuild ChangeLog
Date: Fri, 30 May 2014 19:30:54
Message-Id: 20140530193050.A8A1A2004E@flycatcher.gentoo.org
1 pacho 14/05/30 19:30:50
2
3 Modified: ChangeLog
4 Added: gdk-pixbuf-2.30.8.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.127 x11-libs/gdk-pixbuf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.127&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.127&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?r1=1.126&r2=1.127
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v
20 retrieving revision 1.126
21 retrieving revision 1.127
22 diff -u -r1.126 -r1.127
23 --- ChangeLog 17 May 2014 15:31:54 -0000 1.126
24 +++ ChangeLog 30 May 2014 19:30:50 -0000 1.127
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/gdk-pixbuf
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.126 2014/05/17 15:31:54 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.127 2014/05/30 19:30:50 pacho Exp $
30 +
31 +*gdk-pixbuf-2.30.8 (30 May 2014)
32 +
33 + 30 May 2014; Pacho Ramos <pacho@g.o> +gdk-pixbuf-2.30.8.ebuild:
34 + Version bump
35
36 17 May 2014; Agostino Sarubbo <ago@g.o> gdk-pixbuf-2.30.7-r1.ebuild:
37 Stable for alpha, wrt bug #508862
38
39
40
41 1.1 x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gdk-pixbuf-2.30.8.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.8.ebuild,v 1.1 2014/05/30 19:30:50 pacho Exp $
51
52 EAPI="5"
53 GCONF_DEBUG="no"
54
55 inherit eutils flag-o-matic gnome2 multilib libtool multilib-minimal
56
57 DESCRIPTION="Image loading library for GTK+"
58 HOMEPAGE="http://www.gtk.org/"
59
60 LICENSE="LGPL-2+"
61 SLOT="2"
62 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"
63 IUSE="+X debug +introspection jpeg jpeg2k tiff test"
64
65 COMMON_DEPEND="
66 >=dev-libs/glib-2.37.6:2[${MULTILIB_USEDEP}]
67 >=media-libs/libpng-1.4:0=[${MULTILIB_USEDEP}]
68 introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
69 jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
70 jpeg2k? ( media-libs/jasper:=[${MULTILIB_USEDEP}] )
71 tiff? ( >=media-libs/tiff-3.9.2:0=[${MULTILIB_USEDEP}] )
72 X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
73 "
74 DEPEND="${COMMON_DEPEND}
75 >=dev-util/gtk-doc-am-1.20
76 >=sys-devel/gettext-0.17
77 virtual/pkgconfig
78 "
79 # librsvg blocker is for the new pixbuf loader API, you lose icons otherwise
80 RDEPEND="${COMMON_DEPEND}
81 !<gnome-base/gail-1000
82 !<gnome-base/librsvg-2.31.0
83 !<x11-libs/gtk+-2.21.3:2
84 !<x11-libs/gtk+-2.90.4:3
85 abi_x86_32? (
86 !<=app-emulation/emul-linux-x86-gtklibs-20131008-r2
87 !app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
88 )
89 "
90
91 MULTILIB_CHOST_TOOLS=(
92 /usr/bin/gdk-pixbuf-query-loaders
93 )
94
95 src_prepare() {
96 # This will avoid polluting the pkg-config file with versioned libpng,
97 # which is causing problems with libpng14 -> libpng15 upgrade
98 # See upstream bug #667068
99 # First check that the pattern is present, to catch upstream changes on bumps,
100 # because sed doesn't return failure code if it doesn't do any replacements
101 grep -q 'l in libpng16' configure || die "libpng check order has changed upstream"
102 sed -e 's:l in libpng16:l in libpng libpng16:' -i configure || die
103 [[ ${CHOST} == *-solaris* ]] && append-libs intl
104
105 gnome2_src_prepare
106 }
107
108 multilib_src_configure() {
109 # png always on to display icons
110 ECONF_SOURCE="${S}" \
111 gnome2_src_configure \
112 $(usex debug --enable-debug=yes "") \
113 $(use_with jpeg libjpeg) \
114 $(use_with jpeg2k libjasper) \
115 $(use_with tiff libtiff) \
116 $(multilib_native_use_enable introspection) \
117 $(use_with X x11) \
118 --with-libpng
119 }
120
121 multilib_src_install() {
122 # Parallel install fails when no gdk-pixbuf is already installed, bug #481372
123 MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install
124 }
125
126 pkg_preinst() {
127 gnome2_pkg_preinst
128
129 multilib_pkg_preinst() {
130 # Make sure loaders.cache belongs to gdk-pixbuf alone
131 local cache="usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache"
132
133 if [[ -e ${EROOT}${cache} ]]; then
134 cp "${EROOT}"${cache} "${ED}"/${cache} || die
135 else
136 touch "${ED}"/${cache} || die
137 fi
138 }
139
140 multilib_foreach_abi multilib_pkg_preinst
141 }
142
143 pkg_postinst() {
144 # causes segfault if set, see bug 375615
145 unset __GL_NO_DSO_FINALIZER
146
147 multilib_foreach_abi gnome2_pkg_postinst
148
149 # Migration snippet for when this was handled by gtk+
150 if [ -e "${EROOT}"usr/lib/gtk-2.0/2.*/loaders ]; then
151 elog "You need to rebuild ebuilds that installed into" "${EROOT}"usr/lib/gtk-2.0/2.*/loaders
152 elog "to do that you can use qfile from portage-utils:"
153 elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.*/loaders)"
154 fi
155 }
156
157 pkg_postrm() {
158 gnome2_pkg_postrm
159
160 if [[ -z ${REPLACED_BY_VERSIONS} ]]; then
161 rm -f "${EROOT}"usr/lib*/${PN}-2.0/2.10.0/loaders.cache
162 fi
163 }