1 |
commit: 149c70bbdb0c3383615bbafea5b56244b05037b3 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 10:37:00 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 11:08:22 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=149c70bb |
7 |
|
8 |
x11-libs/gdk-pixbuf: Revert previous bump as this package was not affected by that bug |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
x11-libs/gdk-pixbuf/gdk-pixbuf-2.32.3-r1.ebuild | 122 ------------------------ |
13 |
1 file changed, 122 deletions(-) |
14 |
|
15 |
diff --git a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.32.3-r1.ebuild b/x11-libs/gdk-pixbuf/gdk-pixbuf-2.32.3-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 5ca298a..0000000 |
18 |
--- a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.32.3-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,122 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI="5" |
26 |
-GCONF_DEBUG="no" |
27 |
-GNOME2_LA_PUNT="yes" |
28 |
- |
29 |
-inherit eutils flag-o-matic gnome2 multilib libtool multilib-minimal xdg-utils |
30 |
- |
31 |
-DESCRIPTION="Image loading library for GTK+" |
32 |
-HOMEPAGE="https://git.gnome.org/browse/gdk-pixbuf" |
33 |
- |
34 |
-LICENSE="LGPL-2+" |
35 |
-SLOT="2" |
36 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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" |
37 |
-IUSE="X debug +introspection jpeg jpeg2k tiff test" |
38 |
- |
39 |
-COMMON_DEPEND=" |
40 |
- >=dev-libs/glib-2.37.6:2[${MULTILIB_USEDEP}] |
41 |
- >=media-libs/libpng-1.4:0=[${MULTILIB_USEDEP}] |
42 |
- introspection? ( >=dev-libs/gobject-introspection-0.9.3:= ) |
43 |
- jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] ) |
44 |
- jpeg2k? ( media-libs/jasper:=[${MULTILIB_USEDEP}] ) |
45 |
- tiff? ( >=media-libs/tiff-3.9.2:0=[${MULTILIB_USEDEP}] ) |
46 |
- X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) |
47 |
-" |
48 |
-DEPEND="${COMMON_DEPEND} |
49 |
- >=dev-util/gtk-doc-am-1.20 |
50 |
- >=sys-devel/gettext-0.19 |
51 |
- virtual/pkgconfig |
52 |
-" |
53 |
-# librsvg blocker is for the new pixbuf loader API, you lose icons otherwise |
54 |
-RDEPEND="${COMMON_DEPEND} |
55 |
- !<gnome-base/gail-1000 |
56 |
- !<gnome-base/librsvg-2.31.0 |
57 |
- !<x11-libs/gtk+-2.21.3:2 |
58 |
- !<x11-libs/gtk+-2.90.4:3 |
59 |
-" |
60 |
- |
61 |
-MULTILIB_CHOST_TOOLS=( |
62 |
- /usr/bin/gdk-pixbuf-query-loaders |
63 |
-) |
64 |
- |
65 |
-src_prepare() { |
66 |
- # See https://bugzilla.gnome.org/show_bug.cgi?id=756590 |
67 |
- epatch "${FILESDIR}"/${PN}-2.32.3-fix-lowmem-uclibc.patch |
68 |
- |
69 |
- # This will avoid polluting the pkg-config file with versioned libpng, |
70 |
- # which is causing problems with libpng14 -> libpng15 upgrade |
71 |
- # See upstream bug #667068 |
72 |
- # First check that the pattern is present, to catch upstream changes on bumps, |
73 |
- # because sed doesn't return failure code if it doesn't do any replacements |
74 |
- grep -q 'l in libpng16' configure || die "libpng check order has changed upstream" |
75 |
- sed -e 's:l in libpng16:l in libpng libpng16:' -i configure || die |
76 |
- [[ ${CHOST} == *-solaris* ]] && append-libs intl |
77 |
- |
78 |
- gnome2_src_prepare |
79 |
-} |
80 |
- |
81 |
-multilib_src_configure() { |
82 |
- xdg_environment_reset |
83 |
- # png always on to display icons |
84 |
- ECONF_SOURCE="${S}" \ |
85 |
- gnome2_src_configure \ |
86 |
- $(usex debug --enable-debug=yes "") \ |
87 |
- $(use_with jpeg libjpeg) \ |
88 |
- $(use_with jpeg2k libjasper) \ |
89 |
- $(use_with tiff libtiff) \ |
90 |
- $(multilib_native_use_enable introspection) \ |
91 |
- $(use_with X x11) \ |
92 |
- --with-libpng |
93 |
- |
94 |
- # work-around gtk-doc out-of-source brokedness |
95 |
- if multilib_is_native_abi; then |
96 |
- ln -s "${S}"/docs/reference/${PN}/html docs/reference/${PN}/html || die |
97 |
- fi |
98 |
-} |
99 |
- |
100 |
-multilib_src_install() { |
101 |
- # Parallel install fails when no gdk-pixbuf is already installed, bug #481372 |
102 |
- MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install |
103 |
-} |
104 |
- |
105 |
-pkg_preinst() { |
106 |
- gnome2_pkg_preinst |
107 |
- |
108 |
- multilib_pkg_preinst() { |
109 |
- # Make sure loaders.cache belongs to gdk-pixbuf alone |
110 |
- local cache="usr/$(get_libdir)/${PN}-2.0/2.10.0/loaders.cache" |
111 |
- |
112 |
- if [[ -e ${EROOT}${cache} ]]; then |
113 |
- cp "${EROOT}"${cache} "${ED}"/${cache} || die |
114 |
- else |
115 |
- touch "${ED}"/${cache} || die |
116 |
- fi |
117 |
- } |
118 |
- |
119 |
- multilib_foreach_abi multilib_pkg_preinst |
120 |
-} |
121 |
- |
122 |
-pkg_postinst() { |
123 |
- # causes segfault if set, see bug 375615 |
124 |
- unset __GL_NO_DSO_FINALIZER |
125 |
- |
126 |
- multilib_foreach_abi gnome2_pkg_postinst |
127 |
- |
128 |
- # Migration snippet for when this was handled by gtk+ |
129 |
- if [ -e "${EROOT}"usr/lib/gtk-2.0/2.*/loaders ]; then |
130 |
- elog "You need to rebuild ebuilds that installed into" "${EROOT}"usr/lib/gtk-2.0/2.*/loaders |
131 |
- elog "to do that you can use qfile from portage-utils:" |
132 |
- elog "emerge -va1 \$(qfile -qC ${EPREFIX}/usr/lib/gtk-2.0/2.*/loaders)" |
133 |
- fi |
134 |
-} |
135 |
- |
136 |
-pkg_postrm() { |
137 |
- gnome2_pkg_postrm |
138 |
- |
139 |
- if [[ -z ${REPLACED_BY_VERSION} ]]; then |
140 |
- rm -f "${EROOT}"usr/lib*/${PN}-2.0/2.10.0/loaders.cache |
141 |
- fi |
142 |
-} |