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