1 |
leio 08/09/25 10:05:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gtk+-2.14.3.ebuild |
5 |
Log: |
6 |
Major version bump. Uses GIO (and indirectly gvfs for remote file support) directly for filechooser, with improved auto-completion; printer dialog can show status information; includes gail accessibility library with other a11y improvements; better keyboard compose sequences; jpeg2000 support for gdk-pixbuf with USE=jpeg2k; uses Xrandr for more and better monitor information; new API that helps removing use of libgnome(ui) by applications; and much much more |
7 |
(Portage version: 2.2_rc9/cvs/Linux 2.6.26-gentoo-r1 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.397 x11-libs/gtk+/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.397&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.397&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?r1=1.396&r2=1.397 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v |
19 |
retrieving revision 1.396 |
20 |
retrieving revision 1.397 |
21 |
diff -u -r1.396 -r1.397 |
22 |
--- ChangeLog 22 Sep 2008 03:07:22 -0000 1.396 |
23 |
+++ ChangeLog 25 Sep 2008 10:05:31 -0000 1.397 |
24 |
@@ -1,6 +1,17 @@ |
25 |
# ChangeLog for x11-libs/gtk+ |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.396 2008/09/22 03:07:22 leio Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.397 2008/09/25 10:05:31 leio Exp $ |
29 |
+ |
30 |
+*gtk+-2.14.3 (25 Sep 2008) |
31 |
+ |
32 |
+ 25 Sep 2008; Mart Raudsepp <leio@g.o> +gtk+-2.14.3.ebuild: |
33 |
+ Major version bump. Uses GIO (and indirectly gvfs for remote file support) |
34 |
+ directly for filechooser, with improved auto-completion; printer dialog |
35 |
+ can show status information; includes gail accessibility library with |
36 |
+ other a11y improvements; better keyboard compose sequences; jpeg2000 |
37 |
+ support for gdk-pixbuf with USE=jpeg2k; uses Xrandr for more and better |
38 |
+ monitor information; new API that helps removing use of libgnome(ui) by |
39 |
+ applications; and much much more |
40 |
|
41 |
*gtk+-2.12.12 (22 Sep 2008) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 x11-libs/gtk+/gtk+-2.14.3.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.14.3.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.14.3.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: gtk+-2.14.3.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.14.3.ebuild,v 1.1 2008/09/25 10:05:31 leio Exp $ |
56 |
|
57 |
WANT_AUTOMAKE="1.7" |
58 |
|
59 |
inherit gnome.org flag-o-matic eutils libtool virtualx |
60 |
|
61 |
DESCRIPTION="Gimp ToolKit +" |
62 |
HOMEPAGE="http://www.gtk.org/" |
63 |
|
64 |
LICENSE="LGPL-2" |
65 |
SLOT="2" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
67 |
IUSE="cups debug doc jpeg jpeg2k tiff vim-syntax xinerama" |
68 |
|
69 |
RDEPEND="x11-libs/libXrender |
70 |
x11-libs/libX11 |
71 |
x11-libs/libXi |
72 |
x11-libs/libXt |
73 |
x11-libs/libXext |
74 |
>=x11-libs/libXrandr-1.2 |
75 |
x11-libs/libXcursor |
76 |
x11-libs/libXfixes |
77 |
x11-libs/libXcomposite |
78 |
x11-libs/libXdamage |
79 |
xinerama? ( x11-libs/libXinerama ) |
80 |
>=dev-libs/glib-2.17.6 |
81 |
>=x11-libs/pango-1.20 |
82 |
>=dev-libs/atk-1.13 |
83 |
>=x11-libs/cairo-1.6 |
84 |
media-libs/fontconfig |
85 |
x11-misc/shared-mime-info |
86 |
>=media-libs/libpng-1.2.1 |
87 |
cups? ( net-print/cups ) |
88 |
jpeg? ( >=media-libs/jpeg-6b-r2 ) |
89 |
jpeg2k? ( media-libs/jasper ) |
90 |
tiff? ( >=media-libs/tiff-3.5.7 ) |
91 |
!<gnome-base/gail-1000" |
92 |
DEPEND="${RDEPEND} |
93 |
>=dev-util/pkgconfig-0.9 |
94 |
x11-proto/xextproto |
95 |
x11-proto/xproto |
96 |
x11-proto/inputproto |
97 |
x11-proto/damageproto |
98 |
xinerama? ( x11-proto/xineramaproto ) |
99 |
>=dev-util/gtk-doc-am-1.8 |
100 |
doc? ( |
101 |
>=dev-util/gtk-doc-1.8 |
102 |
~app-text/docbook-xml-dtd-4.1.2 |
103 |
)" |
104 |
PDEPEND="vim-syntax? ( app-vim/gtk-syntax )" |
105 |
|
106 |
pkg_setup() { |
107 |
if ! built_with_use x11-libs/cairo X; then |
108 |
eerror "Please re-emerge x11-libs/cairo with the X USE flag set" |
109 |
die "cairo needs the X flag set" |
110 |
fi |
111 |
} |
112 |
|
113 |
set_gtk2_confdir() { |
114 |
# An arch specific config directory is used on multilib systems |
115 |
has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" |
116 |
GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0} |
117 |
} |
118 |
|
119 |
src_unpack() { |
120 |
unpack ${A} |
121 |
cd "${S}" |
122 |
|
123 |
# use an arch-specific config directory so that 32bit and 64bit versions |
124 |
# dont clash on multilib systems |
125 |
has_multilib_profile && epatch "${FILESDIR}/${PN}-2.8.0-multilib.patch" |
126 |
|
127 |
# Workaround adobe flash infinite loop. Patch from http://bugzilla.gnome.org/show_bug.cgi?id=463773#c11 |
128 |
epatch "${FILESDIR}/${PN}-2.12.0-flash-workaround.patch" |
129 |
|
130 |
# -O3 and company cause random crashes in applications. Bug #133469 |
131 |
replace-flags -O3 -O2 |
132 |
strip-flags |
133 |
|
134 |
use ppc64 && append-flags -mminimal-toc |
135 |
|
136 |
elibtoolize |
137 |
} |
138 |
|
139 |
src_compile() { |
140 |
# png always on to display icons (foser) |
141 |
local myconf="$(use_enable doc gtk-doc) \ |
142 |
$(use_with jpeg libjpeg) \ |
143 |
$(use_with jpeg2k libjasper) \ |
144 |
$(use_with tiff libtiff) \ |
145 |
$(use_enable xinerama) \ |
146 |
$(use_enable cups cups auto) \ |
147 |
--with-libpng \ |
148 |
--with-gdktarget=x11 \ |
149 |
--with-xinput" |
150 |
|
151 |
# Passing --disable-debug is not recommended for production use |
152 |
use debug && myconf="${myconf} --enable-debug=yes" |
153 |
|
154 |
econf ${myconf} || die "configure failed" |
155 |
emake || die "compile failed" |
156 |
} |
157 |
|
158 |
src_test() { |
159 |
Xemake check || die "tests failed" |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
emake DESTDIR="${D}" install || die "Installation failed" |
164 |
|
165 |
set_gtk2_confdir |
166 |
dodir ${GTK2_CONFDIR} |
167 |
keepdir ${GTK2_CONFDIR} |
168 |
|
169 |
# see bug #133241 |
170 |
echo 'gtk-fallback-icon-theme = "gnome"' > "${D}/${GTK2_CONFDIR}/gtkrc" |
171 |
|
172 |
# Enable xft in environment as suggested by <utx@g.o> |
173 |
dodir /etc/env.d |
174 |
echo "GDK_USE_XFT=1" > "${D}/etc/env.d/50gtk2" |
175 |
|
176 |
dodoc AUTHORS ChangeLog* HACKING NEWS* README* |
177 |
|
178 |
# This has to be removed, because it's multilib specific; generated in |
179 |
# postinst |
180 |
rm "${D}/etc/gtk-2.0/gtk.immodules" |
181 |
} |
182 |
|
183 |
pkg_postinst() { |
184 |
set_gtk2_confdir |
185 |
|
186 |
if [ -d "${ROOT}${GTK2_CONFDIR}" ]; then |
187 |
gtk-query-immodules-2.0 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules" |
188 |
gdk-pixbuf-query-loaders > "${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders" |
189 |
else |
190 |
ewarn "The destination path ${ROOT}${GTK2_CONFDIR} doesn't exist;" |
191 |
ewarn "to complete the installation of GTK+, please create the" |
192 |
ewarn "directory and then manually run:" |
193 |
ewarn " cd ${ROOT}${GTK2_CONFDIR}" |
194 |
ewarn " gtk-query-immodules-2.0 > gtk.immodules" |
195 |
ewarn " gdk-pixbuf-query-loaders > gdk-pixbuf.loaders" |
196 |
fi |
197 |
|
198 |
if [ -e /usr/lib/gtk-2.0/2.[^1]* ]; then |
199 |
elog "You need to rebuild ebuilds that installed into" /usr/lib/gtk-2.0/2.[^1]* |
200 |
elog "to do that you can use qfile from portage-utils:" |
201 |
elog "emerge -va1 \$(qfile -qC /usr/lib/gtk-2.0/2.[^1]*)" |
202 |
fi |
203 |
|
204 |
elog "Please install app-text/evince for print preview functionality" |
205 |
} |