1 |
drac 07/11/21 13:01:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gtk+-2.12.1-r2.ebuild |
5 |
Log: |
6 |
gdk-pixbuf.loaders installation was broken by einstall passing sysconfdir, revert back to using make with destdir wrt #199746. |
7 |
(Portage version: 2.1.3.19, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.353 x11-libs/gtk+/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.353&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.353&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?r1=1.352&r2=1.353 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v |
19 |
retrieving revision 1.352 |
20 |
retrieving revision 1.353 |
21 |
diff -u -r1.352 -r1.353 |
22 |
--- ChangeLog 20 Nov 2007 06:14:04 -0000 1.352 |
23 |
+++ ChangeLog 21 Nov 2007 13:01:03 -0000 1.353 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-libs/gtk+ |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.352 2007/11/20 06:14:04 kumba Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.353 2007/11/21 13:01:03 drac Exp $ |
29 |
+ |
30 |
+*gtk+-2.12.1-r2 (21 Nov 2007) |
31 |
+ |
32 |
+ 21 Nov 2007; Samuli Suominen <drac@g.o> +gtk+-2.12.1-r2.ebuild: |
33 |
+ gdk-pixbuf.loaders installation was broken by einstall passing sysconfdir, |
34 |
+ revert back to using make with destdir wrt #199746. |
35 |
|
36 |
20 Nov 2007; Joshua Kinard <kumba@g.o> gtk+-2.12.1-r1.ebuild: |
37 |
Stable on mips, per #198845. |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-libs/gtk+/gtk+-2.12.1-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.12.1-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.12.1-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: gtk+-2.12.1-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.12.1-r2.ebuild,v 1.1 2007/11/21 13:01:03 drac Exp $ |
51 |
|
52 |
inherit gnome.org flag-o-matic eutils autotools virtualx |
53 |
|
54 |
DESCRIPTION="Gimp ToolKit +" |
55 |
HOMEPAGE="http://www.gtk.org/" |
56 |
|
57 |
LICENSE="LGPL-2" |
58 |
SLOT="2" |
59 |
KEYWORDS="alpha amd64 ~arm ~hppa ia64 mips ppc ppc64 ~sh sparc x86 ~x86-fbsd" |
60 |
IUSE="cups debug doc jpeg tiff vim-syntax xinerama" |
61 |
|
62 |
RDEPEND="x11-libs/libXrender |
63 |
x11-libs/libX11 |
64 |
x11-libs/libXi |
65 |
x11-libs/libXt |
66 |
x11-libs/libXext |
67 |
x11-libs/libXrandr |
68 |
x11-libs/libXcursor |
69 |
x11-libs/libXfixes |
70 |
x11-libs/libXcomposite |
71 |
x11-libs/libXdamage |
72 |
xinerama? ( x11-libs/libXinerama ) |
73 |
>=dev-libs/glib-2.13.5 |
74 |
>=x11-libs/pango-1.17.3 |
75 |
>=dev-libs/atk-1.10.1 |
76 |
>=x11-libs/cairo-1.2.0 |
77 |
media-libs/fontconfig |
78 |
x11-misc/shared-mime-info |
79 |
>=media-libs/libpng-1.2.1 |
80 |
cups? ( net-print/cups ) |
81 |
jpeg? ( >=media-libs/jpeg-6b-r2 ) |
82 |
tiff? ( >=media-libs/tiff-3.5.7 )" |
83 |
DEPEND="${RDEPEND} |
84 |
sys-devel/autoconf |
85 |
>=dev-util/pkgconfig-0.9 |
86 |
=sys-devel/automake-1.7* |
87 |
x11-proto/xextproto |
88 |
x11-proto/xproto |
89 |
x11-proto/inputproto |
90 |
x11-proto/damageproto |
91 |
xinerama? ( x11-proto/xineramaproto ) |
92 |
doc? ( |
93 |
>=dev-util/gtk-doc-1.6 |
94 |
~app-text/docbook-xml-dtd-4.1.2 |
95 |
)" |
96 |
PDEPEND="vim-syntax? ( app-vim/gtk-syntax )" |
97 |
|
98 |
pkg_setup() { |
99 |
if ! built_with_use x11-libs/cairo X; then |
100 |
eerror "Please re-emerge x11-libs/cairo with the X USE flag set" |
101 |
die "cairo needs the X flag set" |
102 |
fi |
103 |
} |
104 |
|
105 |
set_gtk2_confdir() { |
106 |
# An arch specific config directory is used on multilib systems |
107 |
has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" |
108 |
GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0} |
109 |
} |
110 |
|
111 |
src_unpack() { |
112 |
unpack ${A} |
113 |
cd "${S}" |
114 |
|
115 |
# use an arch-specific config directory so that 32bit and 64bit versions |
116 |
# dont clash on multilib systems |
117 |
has_multilib_profile && epatch "${FILESDIR}/${PN}-2.8.0-multilib.patch" |
118 |
|
119 |
# Workaround adobe flash infinite loop. Patch from http://bugzilla.gnome.org/show_bug.cgi?id=463773#c11 |
120 |
epatch "${FILESDIR}/${PN}-2.12.0-flash-workaround.patch" |
121 |
|
122 |
# OpenOffice.org might hang at startup (on non-gnome env) without this workaround, bug #193513 |
123 |
epatch "${FILESDIR}/${PN}-2.12.0-openoffice-freeze-workaround.patch" |
124 |
|
125 |
# Firefox print review crash fix, bug #195644 |
126 |
epatch "${FILESDIR}/${P}-firefox-print-preview.patch" |
127 |
|
128 |
# Fix printing on ppc64. Bug #197639 |
129 |
epatch "${FILESDIR}"/${P}-cupsutils.patch |
130 |
|
131 |
# -O3 and company cause random crashes in applications. Bug #133469 |
132 |
replace-flags -O3 -O2 |
133 |
strip-flags |
134 |
|
135 |
use ppc64 && append-flags -mminimal-toc |
136 |
|
137 |
# remember, eautoreconf applies elibtoolize. |
138 |
# if you remove this, you should manually run elibtoolize |
139 |
export WANT_AUTOMAKE=1.7 |
140 |
cp aclocal.m4 old_macros.m4 |
141 |
AT_M4DIR="." eautoreconf |
142 |
|
143 |
epunt_cxx |
144 |
} |
145 |
|
146 |
src_compile() { |
147 |
# png always on to display icons (foser) |
148 |
local myconf="$(use_enable doc gtk-doc) \ |
149 |
$(use_with jpeg libjpeg) \ |
150 |
$(use_with tiff libtiff) \ |
151 |
$(use_enable xinerama) \ |
152 |
--with-libpng \ |
153 |
--with-gdktarget=x11 \ |
154 |
--with-xinput" |
155 |
|
156 |
# Passing --disable-debug is not recommended for production use |
157 |
use debug && myconf="${myconf} --enable-debug=yes" |
158 |
|
159 |
econf ${myconf} || die "configure failed" |
160 |
|
161 |
emake || die "compile failed" |
162 |
} |
163 |
|
164 |
src_test() { |
165 |
Xmake check || die |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
make DESTDIR="${D}" install || die "Installation failed" |
170 |
|
171 |
set_gtk2_confdir |
172 |
dodir ${GTK2_CONFDIR} |
173 |
keepdir ${GTK2_CONFDIR} |
174 |
|
175 |
# see bug #133241 |
176 |
echo 'gtk-fallback-icon-theme = "gnome"' > "${D}/${GTK2_CONFDIR}/gtkrc" |
177 |
|
178 |
# Enable xft in environment as suggested by <utx@g.o> |
179 |
dodir /etc/env.d |
180 |
echo "GDK_USE_XFT=1" > "${D}/etc/env.d/50gtk2" |
181 |
|
182 |
dodoc AUTHORS ChangeLog* HACKING NEWS* README* |
183 |
|
184 |
# This has to be removed, because it's multilib specific; generated in |
185 |
# postinst |
186 |
rm "${D}/etc/gtk-2.0/gtk.immodules" |
187 |
} |
188 |
|
189 |
pkg_postinst() { |
190 |
set_gtk2_confdir |
191 |
|
192 |
if [ -d "${ROOT}${GTK2_CONFDIR}" ]; then |
193 |
gtk-query-immodules-2.0 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules" |
194 |
gdk-pixbuf-query-loaders > "${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders" |
195 |
else |
196 |
ewarn "The destination path ${ROOT}${GTK2_CONFDIR} doesn't exist;" |
197 |
ewarn "to complete the installation of GTK+, please create the" |
198 |
ewarn "directory and then manually run:" |
199 |
ewarn " cd ${ROOT}${GTK2_CONFDIR}" |
200 |
ewarn " gtk-query-immodules-2.0 > gtk.immodules" |
201 |
ewarn " gdk-pixbuf-query-loaders > gdk-pixbuf.loaders" |
202 |
fi |
203 |
|
204 |
if [ -e /usr/lib/gtk-2.0/2.[^1]* ]; then |
205 |
elog "You need to rebuild ebuilds that installed into" /usr/lib/gtk-2.0/2.[^1]* |
206 |
elog "to do that you can use qfile from portage-utils:" |
207 |
elog "emerge -va1 \$(qfile -qC /usr/lib/gtk-2.0/2.[^1]*)" |
208 |
fi |
209 |
|
210 |
elog "Please install app-text/evince for print preview functionality" |
211 |
} |
212 |
|
213 |
|
214 |
|
215 |
-- |
216 |
gentoo-commits@g.o mailing list |