Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/gdk-pixbuf: gdk-pixbuf-2.30.4.ebuild ChangeLog
Date: Thu, 06 Feb 2014 22:30:40
Message-Id: 20140206223037.87BBA2004C@flycatcher.gentoo.org
1 eva 14/02/06 22:30:37
2
3 Modified: ChangeLog
4 Added: gdk-pixbuf-2.30.4.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.97 x11-libs/gdk-pixbuf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.97&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?rev=1.97&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog?r1=1.96&r2=1.97
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v
20 retrieving revision 1.96
21 retrieving revision 1.97
22 diff -u -r1.96 -r1.97
23 --- ChangeLog 4 Jan 2014 20:46:23 -0000 1.96
24 +++ ChangeLog 6 Feb 2014 22:30:37 -0000 1.97
25 @@ -1,6 +1,12 @@
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.96 2014/01/04 20:46:23 steev Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/ChangeLog,v 1.97 2014/02/06 22:30:37 eva Exp $
30 +
31 +*gdk-pixbuf-2.30.4 (06 Feb 2014)
32 +
33 + 06 Feb 2014; Gilles Dartiguelongue <eva@g.o>
34 + +gdk-pixbuf-2.30.4.ebuild:
35 + Version bump.
36
37 04 Jan 2014; Steev Klimaszewski <steev@g.o> gdk-pixbuf-2.26.5.ebuild:
38 Parallel install fails when no gdk-pixbuf is already installed, bug #481372
39
40
41
42 1.1 x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gdk-pixbuf-2.30.4.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.30.4.ebuild,v 1.1 2014/02/06 22:30:37 eva Exp $
52
53 EAPI="5"
54
55 inherit gnome.org gnome2-utils multilib libtool
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
67 >=media-libs/libpng-1.4:0=
68 introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
69 jpeg? ( virtual/jpeg:0= )
70 jpeg2k? ( media-libs/jasper:= )
71 tiff? ( >=media-libs/tiff-3.9.2:0= )
72 X? ( x11-libs/libX11 )
73 "
74 DEPEND="${COMMON_DEPEND}
75 >=dev-util/gtk-doc-am-1.11
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 "
86
87 src_prepare() {
88 # This will avoid polluting the pkg-config file with versioned libpng,
89 # which is causing problems with libpng14 -> libpng15 upgrade
90 # See upstream bug #667068
91 # First check that the pattern is present, to catch upstream changes on bumps,
92 # because sed doesn't return failure code if it doesn't do any replacements
93 grep -q 'l in libpng16' configure || die "libpng check order has changed upstream"
94 sed -e 's:l in libpng16:l in libpng libpng16:' -i configure || die
95 default
96 elibtoolize # for Darwin modules, bug #???
97 }
98
99 src_configure() {
100 # png always on to display icons
101 econf \
102 $(usex debug --enable-debug=yes "") \
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
111 src_install() {
112 # Parallel install fails when no gdk-pixbuf is already installed, bug #481372
113 MAKEOPTS+=" -j1" default
114 prune_libtool_files --modules
115 }
116
117 pkg_preinst() {
118 gnome2_gdk_pixbuf_savelist
119
120 # Make sure loaders.cache belongs to gdk-pixbuf alone
121 local cache="usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache"
122
123 if [[ -e ${EROOT}${cache} ]]; then
124 cp "${EROOT}"${cache} "${ED}"/${cache} || die
125 else
126 touch "${ED}"/${cache} || die
127 fi
128 }
129
130 pkg_postinst() {
131 # causes segfault if set, see bug 375615
132 unset __GL_NO_DSO_FINALIZER
133
134 gnome2_gdk_pixbuf_update
135
136 # Migration snippet for when this was handled by gtk+
137 if [ -e "${EROOT}"usr/lib/gtk-2.0/2.*/loaders ]; then
138 elog "You need to rebuild ebuilds that installed into" "${EROOT}"usr/lib/gtk-2.0/2.*/loaders
139 elog "to do that you can use qfile from portage-utils:"
140 elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.*/loaders)"
141 fi
142 }
143
144 pkg_postrm() {
145 if [[ -z ${REPLACED_BY_VERSIONS} ]]; then
146 rm -f "${EROOT}"usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache
147 fi
148 }