1 |
leio 08/02/03 15:47:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gtk+-2.12.7.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.366 x11-libs/gtk+/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.366&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?rev=1.366&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/ChangeLog?r1=1.365&r2=1.366 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v |
19 |
retrieving revision 1.365 |
20 |
retrieving revision 1.366 |
21 |
diff -u -r1.365 -r1.366 |
22 |
--- ChangeLog 3 Feb 2008 11:17:09 -0000 1.365 |
23 |
+++ ChangeLog 3 Feb 2008 15:47:22 -0000 1.366 |
24 |
@@ -1,6 +1,11 @@ |
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.365 2008/02/03 11:17:09 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.366 2008/02/03 15:47:22 leio Exp $ |
29 |
+ |
30 |
+*gtk+-2.12.7 (03 Feb 2008) |
31 |
+ |
32 |
+ 03 Feb 2008; Mart Raudsepp <leio@g.o> +gtk+-2.12.7.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
03 Feb 2008; Raúl Porcel <armin76@g.o> gtk+-2.12.5-r1.ebuild: |
36 |
alpha/ia64/sparc stable wrt #208366 |
37 |
|
38 |
|
39 |
|
40 |
1.1 x11-libs/gtk+/gtk+-2.12.7.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.12.7.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/gtk+/gtk+-2.12.7.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: gtk+-2.12.7.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.12.7.ebuild,v 1.1 2008/02/03 15:47:22 leio Exp $ |
50 |
|
51 |
WANT_AUTOMAKE="1.7" |
52 |
|
53 |
inherit gnome.org flag-o-matic eutils autotools virtualx |
54 |
|
55 |
DESCRIPTION="Gimp ToolKit +" |
56 |
HOMEPAGE="http://www.gtk.org/" |
57 |
|
58 |
LICENSE="LGPL-2" |
59 |
SLOT="2" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="cups debug doc jpeg tiff vim-syntax xinerama" |
62 |
|
63 |
RDEPEND="x11-libs/libXrender |
64 |
x11-libs/libX11 |
65 |
x11-libs/libXi |
66 |
x11-libs/libXt |
67 |
x11-libs/libXext |
68 |
x11-libs/libXrandr |
69 |
x11-libs/libXcursor |
70 |
x11-libs/libXfixes |
71 |
x11-libs/libXcomposite |
72 |
x11-libs/libXdamage |
73 |
xinerama? ( x11-libs/libXinerama ) |
74 |
>=dev-libs/glib-2.13.5 |
75 |
>=x11-libs/pango-1.17.3 |
76 |
>=dev-libs/atk-1.10.1 |
77 |
>=x11-libs/cairo-1.2.0 |
78 |
media-libs/fontconfig |
79 |
x11-misc/shared-mime-info |
80 |
>=media-libs/libpng-1.2.1 |
81 |
cups? ( net-print/cups ) |
82 |
jpeg? ( >=media-libs/jpeg-6b-r2 ) |
83 |
tiff? ( >=media-libs/tiff-3.5.7 )" |
84 |
DEPEND="${RDEPEND} |
85 |
sys-devel/autoconf |
86 |
>=dev-util/pkgconfig-0.9 |
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}/${PN}-2.12.1-firefox-print-preview.patch" |
127 |
|
128 |
# -O3 and company cause random crashes in applications. Bug #133469 |
129 |
replace-flags -O3 -O2 |
130 |
strip-flags |
131 |
|
132 |
use ppc64 && append-flags -mminimal-toc |
133 |
|
134 |
# remember, eautoreconf applies elibtoolize. |
135 |
# if you remove this, you should manually run elibtoolize |
136 |
cp aclocal.m4 old_macros.m4 |
137 |
AT_M4DIR="." eautoreconf |
138 |
|
139 |
epunt_cxx |
140 |
} |
141 |
|
142 |
src_compile() { |
143 |
# png always on to display icons (foser) |
144 |
local myconf="$(use_enable doc gtk-doc) \ |
145 |
$(use_with jpeg libjpeg) \ |
146 |
$(use_with tiff libtiff) \ |
147 |
$(use_enable xinerama) \ |
148 |
--with-libpng \ |
149 |
--with-gdktarget=x11 \ |
150 |
--with-xinput" |
151 |
|
152 |
# Passing --disable-debug is not recommended for production use |
153 |
use debug && myconf="${myconf} --enable-debug=yes" |
154 |
|
155 |
econf ${myconf} || die "configure failed" |
156 |
|
157 |
emake || die "compile failed" |
158 |
} |
159 |
|
160 |
src_test() { |
161 |
Xemake check || die |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
emake DESTDIR="${D}" install || die "Installation failed" |
166 |
|
167 |
set_gtk2_confdir |
168 |
dodir ${GTK2_CONFDIR} |
169 |
keepdir ${GTK2_CONFDIR} |
170 |
|
171 |
# see bug #133241 |
172 |
echo 'gtk-fallback-icon-theme = "gnome"' > "${D}/${GTK2_CONFDIR}/gtkrc" |
173 |
|
174 |
# Enable xft in environment as suggested by <utx@g.o> |
175 |
dodir /etc/env.d |
176 |
echo "GDK_USE_XFT=1" > "${D}/etc/env.d/50gtk2" |
177 |
|
178 |
dodoc AUTHORS ChangeLog* HACKING NEWS* README* |
179 |
|
180 |
# This has to be removed, because it's multilib specific; generated in |
181 |
# postinst |
182 |
rm "${D}/etc/gtk-2.0/gtk.immodules" |
183 |
} |
184 |
|
185 |
pkg_postinst() { |
186 |
set_gtk2_confdir |
187 |
|
188 |
if [ -d "${ROOT}${GTK2_CONFDIR}" ]; then |
189 |
gtk-query-immodules-2.0 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules" |
190 |
gdk-pixbuf-query-loaders > "${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders" |
191 |
else |
192 |
ewarn "The destination path ${ROOT}${GTK2_CONFDIR} doesn't exist;" |
193 |
ewarn "to complete the installation of GTK+, please create the" |
194 |
ewarn "directory and then manually run:" |
195 |
ewarn " cd ${ROOT}${GTK2_CONFDIR}" |
196 |
ewarn " gtk-query-immodules-2.0 > gtk.immodules" |
197 |
ewarn " gdk-pixbuf-query-loaders > gdk-pixbuf.loaders" |
198 |
fi |
199 |
|
200 |
if [ -e /usr/lib/gtk-2.0/2.[^1]* ]; then |
201 |
elog "You need to rebuild ebuilds that installed into" /usr/lib/gtk-2.0/2.[^1]* |
202 |
elog "to do that you can use qfile from portage-utils:" |
203 |
elog "emerge -va1 \$(qfile -qC /usr/lib/gtk-2.0/2.[^1]*)" |
204 |
fi |
205 |
|
206 |
elog "Please install app-text/evince for print preview functionality" |
207 |
} |
208 |
|
209 |
|
210 |
|
211 |
-- |
212 |
gentoo-commits@l.g.o mailing list |