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