1 |
loki_val 08/09/24 15:13:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: google-gadgets-0.10.2-r1.ebuild |
5 |
Log: |
6 |
Fix ggl crashing on startup. http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=220 |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.25.8 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 x11-misc/google-gadgets/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- ChangeLog 14 Sep 2008 15:41:29 -0000 1.9 |
23 |
+++ ChangeLog 24 Sep 2008 15:13:30 -0000 1.10 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for x11-misc/google-gadgets |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.9 2008/09/14 15:41:29 loki_val Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.10 2008/09/24 15:13:30 loki_val Exp $ |
29 |
+ |
30 |
+*google-gadgets-0.10.2-r1 (24 Sep 2008) |
31 |
+ |
32 |
+ 24 Sep 2008; Peter Alfredsen <loki_val@g.o> |
33 |
+ +google-gadgets-0.10.2-r1.ebuild: |
34 |
+ Fix ggl crashing on startup. |
35 |
+ http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=220 |
36 |
|
37 |
*google-gadgets-0.10.2 (14 Sep 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-misc/google-gadgets/google-gadgets-0.10.2-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.10.2-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.10.2-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: google-gadgets-0.10.2-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.10.2-r1.ebuild,v 1.1 2008/09/24 15:13:30 loki_val Exp $ |
52 |
|
53 |
EAPI=1 |
54 |
|
55 |
inherit base eutils fdo-mime |
56 |
|
57 |
MY_PN=${PN}-for-linux |
58 |
MY_P=${MY_PN}-${PV} |
59 |
DESCRIPTION="Cool gadgets from Google for your Desktop" |
60 |
HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/" |
61 |
SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tar.bz2" |
62 |
LICENSE="Apache-2.0" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="+dbus debug +gtk +qt4 +gstreamer" |
66 |
|
67 |
# Weird things happen when we start mix-n-matching, so for the time being |
68 |
# I've just locked the deps to the versions I had as of Summer 2008. With any |
69 |
# luck, they'll be stable when we get to stabling this package. |
70 |
|
71 |
# FIXME: ggl should be able to compile with xulrunner-1.9, xulrunner-1.8 and |
72 |
# various combinations of mozilla and spidermonkey. Since its configure script |
73 |
# is broken, though, I've hacked it to depend only on xulrunner-1.9, to avoid |
74 |
# mid-air symbol collisions. A giant bonanza of automagic is what it takes to get |
75 |
# this to work. I say blah. |
76 |
|
77 |
RDEPEND="x11-libs/libX11 |
78 |
x11-libs/libXext |
79 |
>=dev-libs/libxml2-2.6.32 |
80 |
sys-libs/zlib |
81 |
net-libs/xulrunner:1.9 |
82 |
|
83 |
dbus? ( sys-apps/dbus ) |
84 |
|
85 |
gstreamer? ( >=media-libs/gstreamer-0.10.19 |
86 |
>=media-libs/gst-plugins-base-0.10.19 ) |
87 |
|
88 |
gtk? ( dbus? ( >=dev-libs/dbus-glib-0.74 ) |
89 |
>=x11-libs/cairo-1.6.4 |
90 |
>=x11-libs/gtk+-2.12.10 |
91 |
>=x11-libs/pango-1.20.3 |
92 |
gnome-base/librsvg |
93 |
>=net-misc/curl-7.18.2 |
94 |
>=dev-libs/atk-1.22.0 ) |
95 |
|
96 |
qt4? ( dbus? ( >=x11-libs/qt-dbus-4.4.0 ) |
97 |
>=x11-libs/qt-core-4.4.0 |
98 |
>=x11-libs/qt-webkit-4.4.0 |
99 |
>=x11-libs/qt-xmlpatterns-4.4.0 |
100 |
>=x11-libs/qt-opengl-4.4.0 |
101 |
>=x11-libs/qt-script-4.4.0 )" |
102 |
DEPEND="${RDEPEND} |
103 |
>=dev-util/pkgconfig-0.20" |
104 |
|
105 |
S="${WORKDIR}/${MY_P}" |
106 |
|
107 |
RESTRICT="test" |
108 |
|
109 |
pkg_setup() { |
110 |
|
111 |
# If a non-google, non-qt4 and non-gtk host system for google-gadgets is ever developed, |
112 |
# I'll consider changing the error below. |
113 |
if ! use gtk && ! use qt4 |
114 |
then |
115 |
eerror "You must choose which toolkit to build for. Either qt4 or gtk can be" |
116 |
eerror "chosen. For qt4, see also above. To enable \$toolkit, do:" |
117 |
eerror "echo \"${CATEGORY}/${PN} \$toolkit\" >> /etc/portage/package.use" |
118 |
die "You need to choose a toolkit" |
119 |
fi |
120 |
|
121 |
if ! use gstreamer |
122 |
then |
123 |
ewarn "Disabling gstreamer disables the multimedia functions of ${PN}." |
124 |
ewarn "This is not recommended. To enable gstreamer, do:" |
125 |
ewarn "echo \"${CATEGORY}/${PN} gstreamer\" >> /etc/portage/package.use" |
126 |
fi |
127 |
|
128 |
if use gtk |
129 |
then |
130 |
if built_with_use net-misc/curl ssl |
131 |
then |
132 |
if built_with_use net-misc/curl nss || built_with_use net-misc/curl gnutls |
133 |
then |
134 |
curl_die |
135 |
else |
136 |
einfo "Congratulations! Your net-misc/curl is configured correctly to run" |
137 |
einfo "${PN}. Not many can say that." |
138 |
fi |
139 |
else |
140 |
curl_die |
141 |
fi |
142 |
fi |
143 |
} |
144 |
|
145 |
src_compile() { |
146 |
#For the time being, the smjs-script runtime is required for both gtk and qt |
147 |
#versions, but the goal is to make the qt4 version depend only on qt-script. |
148 |
has_pkg_smjs=no \ |
149 |
econf --disable-dependency-tracking \ |
150 |
--disable-update-desktop-database \ |
151 |
--disable-update-mime-database \ |
152 |
--disable-werror \ |
153 |
--enable-libxml2-xml-parser \ |
154 |
--enable-smjs-script-runtime \ |
155 |
--with-gtkmozembed=libxul \ |
156 |
--with-smjs-cppflags=-I/usr/include/nspr \ |
157 |
--with-smjs-libdir=/usr/lib/xulrunner-1.9 \ |
158 |
--with-smjs-incdir=/usr/include/xulrunner-1.9/unstable \ |
159 |
$(use_enable debug) \ |
160 |
$(use_enable dbus libggadget-dbus) \ |
161 |
$(use_enable gstreamer gst-audio-framework) \ |
162 |
$(use_enable gstreamer gst-mediaplayer-element) \ |
163 |
$(use_enable gtk gtk-host) \ |
164 |
$(use_enable gtk libggadget-gtk ) \ |
165 |
$(use_enable gtk gtkmoz-browser-element) \ |
166 |
$(use_enable gtk gtk-system-framework) \ |
167 |
$(use_enable gtk curl_xml_http_request) \ |
168 |
$(use_enable qt4 qt-host) \ |
169 |
$(use_enable qt4 libggadget-qt) \ |
170 |
$(use_enable qt4 qt-system-framework) \ |
171 |
$(use_enable qt4 qtwebkit-browser-element) \ |
172 |
$(use_enable qt4 qt-xml-http-request) \ |
173 |
$(use_enable qt4 qt-script-runtime) \ |
174 |
|| die "econf failed" |
175 |
emake || die "emake failed" |
176 |
} |
177 |
|
178 |
src_test() { |
179 |
#If someone wants to guarantee that emake will not make |
180 |
#tests fail promiscuosly, please do, otherwise we're using make. |
181 |
make check &> "${WORKDIR}"/check |
182 |
} |
183 |
|
184 |
pkg_postinst() { |
185 |
fdo-mime_desktop_database_update |
186 |
fdo-mime_mime_database_update |
187 |
} |
188 |
|
189 |
curl_die() { |
190 |
eerror "net-misc/curl must be built with these use flags: ssl -gnutls -nss" |
191 |
eerror "to do so, do:" |
192 |
eerror 'echo "net-misc/curl ssl -gnutls -nss" >> /etc/portage/package.use' |
193 |
die "Your net-misc/curl was misconfigured." |
194 |
} |