1 |
loki_val 08/09/26 11:30:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: google-gadgets-0.10.2-r2.ebuild |
5 |
Removed: google-gadgets-0.10.2-r1.ebuild |
6 |
google-gadgets-0.10.2.ebuild |
7 |
Log: |
8 |
Fix for 'undefined symbol: JS_SetOperationCallback', blocking spidermonkey. Shifting to EAPI 2 and losing a lot of cruft. Fix sysdeps.h being installed the wrong place, reported by Sput. |
9 |
(Portage version: 2.2_rc10/cvs/Linux 2.6.25.8 i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.11 x11-misc/google-gadgets/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?rev=1.11&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?rev=1.11&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/ChangeLog?r1=1.10&r2=1.11 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v |
21 |
retrieving revision 1.10 |
22 |
retrieving revision 1.11 |
23 |
diff -u -r1.10 -r1.11 |
24 |
--- ChangeLog 24 Sep 2008 15:13:30 -0000 1.10 |
25 |
+++ ChangeLog 26 Sep 2008 11:30:28 -0000 1.11 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for x11-misc/google-gadgets |
28 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.10 2008/09/24 15:13:30 loki_val Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.11 2008/09/26 11:30:28 loki_val Exp $ |
31 |
+ |
32 |
+*google-gadgets-0.10.2-r2 (26 Sep 2008) |
33 |
+ |
34 |
+ 26 Sep 2008; Peter Alfredsen <loki_val@g.o> |
35 |
+ -google-gadgets-0.10.2.ebuild, -google-gadgets-0.10.2-r1.ebuild, |
36 |
+ +google-gadgets-0.10.2-r2.ebuild: |
37 |
+ Fix for 'undefined symbol: JS_SetOperationCallback', blocking |
38 |
+ spidermonkey. Shifting to EAPI 2 and losing a lot of cruft. Fix sysdeps.h |
39 |
+ being installed the wrong place, reported by Sput. |
40 |
|
41 |
*google-gadgets-0.10.2-r1 (24 Sep 2008) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 x11-misc/google-gadgets/google-gadgets-0.10.2-r2.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.10.2-r2.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.10.2-r2.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: google-gadgets-0.10.2-r2.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-misc/google-gadgets/google-gadgets-0.10.2-r2.ebuild,v 1.1 2008/09/26 11:30:28 loki_val Exp $ |
56 |
|
57 |
EAPI=2 |
58 |
|
59 |
inherit base autotools multilib eutils fdo-mime |
60 |
|
61 |
MY_PN=${PN}-for-linux |
62 |
MY_P=${MY_PN}-${PV} |
63 |
DESCRIPTION="Cool gadgets from Google for your Desktop" |
64 |
HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/" |
65 |
SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tar.bz2" |
66 |
LICENSE="Apache-2.0" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="+dbus debug +gtk +qt4 +gstreamer" |
70 |
|
71 |
# Weird things happen when we start mix-n-matching, so for the time being |
72 |
# I've just locked the deps to the versions I had as of Summer 2008. With any |
73 |
# luck, they'll be stable when we get to stabling this package. |
74 |
|
75 |
# FIXME: ggl should be able to compile with xulrunner-1.9, xulrunner-1.8 and |
76 |
# various combinations of mozilla and spidermonkey. Since its configure script |
77 |
# is broken, though, I've hacked it to depend only on xulrunner-1.9, to avoid |
78 |
# mid-air symbol collisions. A giant bonanza of automagic is what it takes to get |
79 |
# this to work. I say blah. Blocking spidermonkey to avoid incorrect linking. |
80 |
|
81 |
RDEPEND="x11-libs/libX11 |
82 |
x11-libs/libXext |
83 |
>=dev-libs/libxml2-2.6.32 |
84 |
sys-libs/zlib |
85 |
net-libs/xulrunner:1.9 |
86 |
!dev-lang/spidermonkey |
87 |
|
88 |
dbus? ( sys-apps/dbus ) |
89 |
|
90 |
gstreamer? ( >=media-libs/gstreamer-0.10.19 |
91 |
>=media-libs/gst-plugins-base-0.10.19 ) |
92 |
|
93 |
gtk? ( dbus? ( >=dev-libs/dbus-glib-0.74 ) |
94 |
>=x11-libs/cairo-1.6.4 |
95 |
>=x11-libs/gtk+-2.12.10 |
96 |
>=x11-libs/pango-1.20.3 |
97 |
gnome-base/librsvg |
98 |
>=net-misc/curl-7.18.2[ssl,-nss,-gnutls] |
99 |
>=dev-libs/atk-1.22.0 ) |
100 |
|
101 |
qt4? ( dbus? ( >=x11-libs/qt-dbus-4.4.0 ) |
102 |
>=x11-libs/qt-core-4.4.0 |
103 |
>=x11-libs/qt-webkit-4.4.0 |
104 |
>=x11-libs/qt-xmlpatterns-4.4.0 |
105 |
>=x11-libs/qt-opengl-4.4.0 |
106 |
>=x11-libs/qt-script-4.4.0 )" |
107 |
DEPEND="${RDEPEND} |
108 |
>=dev-util/pkgconfig-0.20" |
109 |
|
110 |
S="${WORKDIR}/${MY_P}" |
111 |
|
112 |
RESTRICT="test" |
113 |
|
114 |
pkg_setup() { |
115 |
|
116 |
# If a non-google, non-qt4 and non-gtk host system for google-gadgets is ever developed, |
117 |
# I'll consider changing the error below. |
118 |
if ! use gtk && ! use qt4 |
119 |
then |
120 |
eerror "You must choose which toolkit to build for. Either qt4 or gtk can be" |
121 |
eerror "chosen. For qt4, see also above. To enable \$toolkit, do:" |
122 |
eerror "echo \"${CATEGORY}/${PN} \$toolkit\" >> /etc/portage/package.use" |
123 |
die "You need to choose a toolkit" |
124 |
fi |
125 |
|
126 |
if ! use gstreamer |
127 |
then |
128 |
ewarn "Disabling gstreamer disables the multimedia functions of ${PN}." |
129 |
ewarn "This is not recommended. To enable gstreamer, do:" |
130 |
ewarn "echo \"${CATEGORY}/${PN} gstreamer\" >> /etc/portage/package.use" |
131 |
fi |
132 |
|
133 |
} |
134 |
|
135 |
src_unpack() { |
136 |
base_src_unpack |
137 |
cd "${S}" |
138 |
|
139 |
sed -i -r \ |
140 |
-e '/^GGL_SYSDEPS_INCLUDE_DIR/ c\GGL_SYSDEPS_INCLUDE_DIR=$GGL_INCLUDE_DIR' \ |
141 |
configure.ac||die "404" |
142 |
eautoreconf |
143 |
} |
144 |
|
145 |
src_configure() { |
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/$(get_libdir)/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 |
} |
176 |
|
177 |
src_compile() { |
178 |
default_src_compile |
179 |
#See https://bugs.gentoo.org/238753 |
180 |
} |
181 |
|
182 |
src_test() { |
183 |
#If someone wants to guarantee that emake will not make |
184 |
#tests fail promiscuosly, please do, otherwise we're using make. |
185 |
make check &> "${WORKDIR}"/check |
186 |
} |
187 |
|
188 |
pkg_postinst() { |
189 |
fdo-mime_desktop_database_update |
190 |
fdo-mime_mime_database_update |
191 |
} |
192 |
|
193 |
curl_die() { |
194 |
eerror "net-misc/curl must be built with these use flags: ssl -gnutls -nss" |
195 |
eerror "to do so, do:" |
196 |
eerror 'echo "net-misc/curl ssl -gnutls -nss" >> /etc/portage/package.use' |
197 |
die "Your net-misc/curl was misconfigured." |
198 |
} |