1 |
armin76 08/04/21 14:23:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xulrunner-1.9_beta5-r1.ebuild |
5 |
Removed: xulrunner-1.9_beta5.ebuild |
6 |
Log: |
7 |
Fix symlink, thanks to hoffie for the report |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.105 net-libs/xulrunner/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/ChangeLog?rev=1.105&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/ChangeLog?rev=1.105&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/ChangeLog?r1=1.104&r2=1.105 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v |
20 |
retrieving revision 1.104 |
21 |
retrieving revision 1.105 |
22 |
diff -u -r1.104 -r1.105 |
23 |
--- ChangeLog 19 Apr 2008 15:43:05 -0000 1.104 |
24 |
+++ ChangeLog 21 Apr 2008 14:22:59 -0000 1.105 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-libs/xulrunner |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.104 2008/04/19 15:43:05 corsair Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.105 2008/04/21 14:22:59 armin76 Exp $ |
30 |
+ |
31 |
+*xulrunner-1.9_beta5-r1 (21 Apr 2008) |
32 |
+ |
33 |
+ 21 Apr 2008; Raúl Porcel <armin76@g.o> |
34 |
+ -xulrunner-1.9_beta5.ebuild, +xulrunner-1.9_beta5-r1.ebuild: |
35 |
+ Fix symlink, thanks to hoffie for the report |
36 |
|
37 |
19 Apr 2008; Markus Rothe <corsair@g.o> xulrunner-1.8.1.14.ebuild: |
38 |
Stable on ppc64; bug #218065 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-libs/xulrunner/xulrunner-1.9_beta5-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/xulrunner-1.9_beta5-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/xulrunner/xulrunner-1.9_beta5-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xulrunner-1.9_beta5-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/net-libs/xulrunner/xulrunner-1.9_beta5-r1.ebuild,v 1.1 2008/04/21 14:22:59 armin76 Exp $ |
52 |
|
53 |
WANT_AUTOCONF="2.1" |
54 |
|
55 |
inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib java-pkg-opt-2 python autotools |
56 |
PATCH="${P}-patches-0.1" |
57 |
|
58 |
DESCRIPTION="Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications" |
59 |
HOMEPAGE="http://developer.mozilla.org/en/docs/XULRunner" |
60 |
SRC_URI="mirror://gentoo/${P}.tar.bz2 |
61 |
mirror://gentoo/${PATCH}.tar.bz2" |
62 |
|
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
SLOT="1.9" |
65 |
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" |
66 |
IUSE="" |
67 |
|
68 |
RDEPEND="java? ( >=virtual/jre-1.4 ) |
69 |
>=sys-devel/binutils-2.16.1 |
70 |
>=dev-libs/nss-3.12_beta3 |
71 |
>=dev-libs/nspr-4.7.1_beta2 |
72 |
>=app-text/hunspell-1.1.9 |
73 |
>=media-libs/lcms-1.17 |
74 |
>=dev-db/sqlite-3.5" |
75 |
|
76 |
DEPEND="java? ( >=virtual/jdk-1.4 ) |
77 |
${RDEPEND} |
78 |
dev-util/pkgconfig" |
79 |
|
80 |
S="${WORKDIR}/mozilla" |
81 |
|
82 |
# Needed by src_compile() and src_install(). |
83 |
# Would do in pkg_setup but that loses the export attribute, they |
84 |
# become pure shell variables. |
85 |
export MOZ_CO_PROJECT=xulrunner |
86 |
export BUILD_OFFICIAL=1 |
87 |
export MOZILLA_OFFICIAL=1 |
88 |
|
89 |
src_unpack() { |
90 |
unpack ${A} |
91 |
|
92 |
# Apply our patches |
93 |
cd "${S}" || die "cd failed" |
94 |
EPATCH_SUFFIX="patch" \ |
95 |
EPATCH_FORCE="yes" \ |
96 |
epatch "${WORKDIR}"/patch |
97 |
|
98 |
eautoreconf || die "failed running eautoreconf" |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9" |
103 |
|
104 |
#################################### |
105 |
# |
106 |
# mozconfig, CFLAGS and CXXFLAGS setup |
107 |
# |
108 |
#################################### |
109 |
|
110 |
mozconfig_init |
111 |
mozconfig_config |
112 |
|
113 |
mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" |
114 |
mozconfig_annotate '' --disable-mailnews |
115 |
mozconfig_annotate 'broken' --disable-mochitest |
116 |
mozconfig_annotate 'broken' --disable-crashreporter |
117 |
mozconfig_annotate '' --enable-system-hunspell |
118 |
mozconfig_annotate '' --enable-system-sqlite |
119 |
mozconfig_annotate '' --enable-image-encoder=all |
120 |
mozconfig_annotate '' --enable-canvas |
121 |
#mozconfig_annotate '' --enable-js-binary |
122 |
mozconfig_annotate '' --enable-embedding-tests |
123 |
mozconfig_annotate '' --with-system-nspr |
124 |
mozconfig_annotate '' --with-system-nss |
125 |
mozconfig_annotate '' --enable-system-lcms |
126 |
mozconfig_annotate '' --with-system-bz2 |
127 |
# Bug 60668: Galeon doesn't build without oji enabled, so enable it |
128 |
# regardless of java setting. |
129 |
mozconfig_annotate '' --enable-oji --enable-mathml |
130 |
mozconfig_annotate 'places' --enable-storage --enable-places --enable-places_bookmarks |
131 |
|
132 |
# Other ff-specific settings |
133 |
mozconfig_annotate '' --enable-jsd |
134 |
mozconfig_annotate '' --enable-xpctools |
135 |
mozconfig_annotate '' --disable-libxul |
136 |
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} |
137 |
|
138 |
#disable java |
139 |
if ! use java ; then |
140 |
mozconfig_annotate '-java' --disable-javaxpcom |
141 |
fi |
142 |
|
143 |
# Finalize and report settings |
144 |
mozconfig_final |
145 |
|
146 |
# -fstack-protector breaks us |
147 |
if gcc-version ge 4 1; then |
148 |
gcc-specs-ssp && append-flags -fno-stack-protector |
149 |
else |
150 |
gcc-specs-ssp && append-flags -fno-stack-protector-all |
151 |
fi |
152 |
filter-flags -fstack-protector -fstack-protector-all |
153 |
|
154 |
#################################### |
155 |
# |
156 |
# Configure and build |
157 |
# |
158 |
#################################### |
159 |
|
160 |
CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \ |
161 |
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ |
162 |
econf || die |
163 |
|
164 |
# It would be great if we could pass these in via CPPFLAGS or CFLAGS prior |
165 |
# to econf, but the quotes cause configure to fail. |
166 |
sed -i -e \ |
167 |
's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \ |
168 |
${S}/config/autoconf.mk \ |
169 |
${S}/toolkit/content/buildconfig.html |
170 |
|
171 |
# This removes extraneous CFLAGS from the Makefiles to reduce RAM |
172 |
# requirements while compiling |
173 |
edit_makefiles |
174 |
|
175 |
emake || die "emake failed" |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}-1.9" |
180 |
|
181 |
emake DESTDIR="${D}" install || die "emake install failed" |
182 |
|
183 |
rm "${D}"/usr/bin/xulrunner |
184 |
|
185 |
dodir /usr/bin |
186 |
dosym ${D}${MOZILLA_FIVE_HOME}/xulrunner /usr/bin/xulrunner-1.9 |
187 |
|
188 |
X_DATE=`date +%Y%m%d` |
189 |
|
190 |
# Add Gentoo package version to preferences - copied from debian rules |
191 |
echo // Gentoo package version \ |
192 |
> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js |
193 |
echo "pref(\"general.useragent.product\",\"Gecko\");" \ |
194 |
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js |
195 |
echo "pref(\"general.useragent.productSub\",\"${X_DATE}\");" \ |
196 |
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js |
197 |
echo "pref(\"general.useragent.productComment\",\"Gentoo\");" \ |
198 |
>> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/vendor.js |
199 |
|
200 |
if use java ; then |
201 |
java-pkg_dojar ${D}${MOZILLA_FIVE_HOME}/javaxpcom.jar |
202 |
rm -f ${D}${MOZILLA_FIVE_HOME}/javaxpcom.jar |
203 |
fi |
204 |
} |
205 |
|
206 |
|
207 |
|
208 |
-- |
209 |
gentoo-commits@l.g.o mailing list |