1 |
armin76 07/10/20 13:28:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: seamonkey-1.1.5.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.85 www-client/seamonkey/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/ChangeLog?rev=1.85&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/ChangeLog?rev=1.85&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/ChangeLog?r1=1.84&r2=1.85 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v |
19 |
retrieving revision 1.84 |
20 |
retrieving revision 1.85 |
21 |
diff -u -r1.84 -r1.85 |
22 |
--- ChangeLog 28 Aug 2007 18:30:42 -0000 1.84 |
23 |
+++ ChangeLog 20 Oct 2007 13:28:55 -0000 1.85 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for www-client/seamonkey |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.84 2007/08/28 18:30:42 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/ChangeLog,v 1.85 2007/10/20 13:28:55 armin76 Exp $ |
29 |
+ |
30 |
+*seamonkey-1.1.5 (20 Oct 2007) |
31 |
+ |
32 |
+ 20 Oct 2007; Raúl Porcel <armin76@g.o> +seamonkey-1.1.5.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
28 Aug 2007; Raúl Porcel <armin76@g.o> -seamonkey-1.1.3.ebuild: |
36 |
old |
37 |
|
38 |
|
39 |
|
40 |
1.1 www-client/seamonkey/seamonkey-1.1.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/seamonkey-1.1.5.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/seamonkey/seamonkey-1.1.5.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: seamonkey-1.1.5.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-1.1.5.ebuild,v 1.1 2007/10/20 13:28:55 armin76 Exp $ |
50 |
|
51 |
WANT_AUTOCONF="2.1" |
52 |
|
53 |
inherit flag-o-matic toolchain-funcs eutils mozcoreconf mozconfig-2 mozilla-launcher makeedit multilib autotools |
54 |
|
55 |
PATCH="${P}-patches-0.1" |
56 |
EMVER="0.95.3" |
57 |
|
58 |
DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC" |
59 |
HOMEPAGE="http://www.mozilla.org/projects/seamonkey/" |
60 |
SRC_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases/${PV}/${P}.source.tar.bz2 |
61 |
mirror://gentoo/${PATCH}.tar.bz2 |
62 |
crypt? ( !moznomail? ( http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz ) )" |
63 |
|
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
65 |
SLOT="0" |
66 |
LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
67 |
IUSE="java ldap mozdevelop moznocompose moznoirc moznomail moznoroaming postgres crypt xforms" |
68 |
|
69 |
RDEPEND="java? ( virtual/jre ) |
70 |
>=www-client/mozilla-launcher-1.56 |
71 |
>=dev-libs/nss-3.11.5 |
72 |
>=dev-libs/nspr-4.6.5-r1 |
73 |
crypt? ( !moznomail? ( >=app-crypt/gnupg-1.4 ) )" |
74 |
|
75 |
DEPEND="${RDEPEND} |
76 |
java? ( >=dev-java/java-config-0.2.0 ) |
77 |
dev-lang/perl |
78 |
postgres? ( >=dev-db/postgresql-7.2.0 )" |
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=suite |
86 |
export BUILD_OFFICIAL=1 |
87 |
export MOZILLA_OFFICIAL=1 |
88 |
|
89 |
pkg_setup() { |
90 |
use moznopango && warn_mozilla_launcher_stub |
91 |
} |
92 |
|
93 |
src_unpack() { |
94 |
unpack ${P}.source.tar.bz2 ${PATCH}.tar.bz2 |
95 |
|
96 |
# Apply our patches |
97 |
cd "${S}" || die "cd failed" |
98 |
EPATCH_SUFFIX="patch" \ |
99 |
EPATCH_FORCE="yes" \ |
100 |
epatch "${WORKDIR}"/patch |
101 |
|
102 |
# Unpack the enigmail plugin |
103 |
if use crypt && ! use moznomail; then |
104 |
cd ${S}/mailnews/extensions || die |
105 |
unpack enigmail-${EMVER}.tar.gz |
106 |
cd ${S}/mailnews/extensions/enigmail || die "cd failed" |
107 |
makemake2 |
108 |
fi |
109 |
|
110 |
# Fix scripts that call for /usr/local/bin/perl #51916 |
111 |
ebegin "Patching smime to call perl from /usr/bin" |
112 |
sed -i -e '1s,usr/local/bin,usr/bin,' ${S}/security/nss/cmd/smimetools/smime |
113 |
eend $? || die "sed failed" |
114 |
|
115 |
cd "${S}" |
116 |
eautoreconf |
117 |
} |
118 |
|
119 |
src_compile() { |
120 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
121 |
|
122 |
#################################### |
123 |
# |
124 |
# mozconfig, CFLAGS and CXXFLAGS setup |
125 |
# |
126 |
#################################### |
127 |
mozconfig_init |
128 |
mozconfig_config |
129 |
|
130 |
mozconfig_annotate 'gentoo' --enable-canvas |
131 |
mozconfig_annotate 'gentoo' --with-system-nspr |
132 |
mozconfig_annotate 'gentoo' --with-system-nss |
133 |
|
134 |
# Bug 60668: Galeon doesn't build without oji enabled, so enable it |
135 |
# regardless of java setting. |
136 |
mozconfig_annotate 'galeon' --enable-oji --enable-mathml |
137 |
|
138 |
# Other moz-specific settings |
139 |
mozconfig_use_enable mozdevelop jsd |
140 |
mozconfig_use_enable mozdevelop xpctools |
141 |
mozconfig_use_extension mozdevelop venkman |
142 |
|
143 |
if use moznoirc; then |
144 |
mozconfig_annotate '+moznocompose +moznoirc' --enable-extensions=-irc |
145 |
fi |
146 |
|
147 |
if use moznoroaming ; then |
148 |
mozconfig_annotate '+moznoroaming' --enable-extensions=-sroaming |
149 |
fi |
150 |
|
151 |
if use postgres ; then |
152 |
mozconfig_annotate '+postgres' --enable-extensions=sql |
153 |
export MOZ_ENABLE_PGSQL=1 |
154 |
export MOZ_PGSQL_INCLUDES=/usr/include |
155 |
export MOZ_PGSQL_LIBS=/usr/$(get_libdir) |
156 |
fi |
157 |
|
158 |
mozconfig_use_enable ldap |
159 |
mozconfig_use_enable ldap ldap-experimental |
160 |
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} |
161 |
mozconfig_annotate '' --with-user-appdir=.mozilla |
162 |
|
163 |
if use moznomail; then |
164 |
mozconfig_annotate "+moznomail" --disable-mailnews |
165 |
fi |
166 |
|
167 |
if use moznocompose; then |
168 |
if use moznoirc && use moznomail; then |
169 |
mozconfig_annotate "+moznocompose" --disable-composer |
170 |
fi |
171 |
fi |
172 |
|
173 |
if use xforms; then |
174 |
mozconfig_annotate "+xforms" --enable-extensions=xforms,schema-validation |
175 |
fi |
176 |
|
177 |
# Finalize and report settings |
178 |
mozconfig_final |
179 |
|
180 |
# -fstack-protector breaks us |
181 |
if gcc-version ge 4 1; then |
182 |
gcc-specs-ssp && append-flags -fno-stack-protector |
183 |
else |
184 |
gcc-specs-ssp && append-flags -fno-stack-protector-all |
185 |
fi |
186 |
filter-flags -fstack-protector -fstack-protector-all |
187 |
|
188 |
#################################### |
189 |
# |
190 |
# Configure and build |
191 |
# |
192 |
#################################### |
193 |
|
194 |
CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \ |
195 |
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ |
196 |
econf || die |
197 |
|
198 |
# It would be great if we could pass these in via CPPFLAGS or CFLAGS prior |
199 |
# to econf, but the quotes cause configure to fail. |
200 |
sed -i -e \ |
201 |
's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \ |
202 |
${S}/config/autoconf.mk \ |
203 |
${S}/xpfe/global/buildconfig.html |
204 |
|
205 |
# This removes extraneous CFLAGS from the Makefiles to reduce RAM |
206 |
# requirements while compiling |
207 |
edit_makefiles |
208 |
|
209 |
emake || die |
210 |
|
211 |
#################################### |
212 |
# |
213 |
# Build Enigmail extension |
214 |
# |
215 |
#################################### |
216 |
|
217 |
if use crypt && ! use moznomail; then |
218 |
emake -C ${S}/mailnews/extensions/enigmail || die "make enigmail failed" |
219 |
fi |
220 |
} |
221 |
|
222 |
src_install() { |
223 |
declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN} |
224 |
|
225 |
# Most of the installation happens here |
226 |
dodir "${MOZILLA_FIVE_HOME}" |
227 |
cp -RL "${S}"/dist/bin/* "${D}"/"${MOZILLA_FIVE_HOME}"/ || die "cp failed" |
228 |
|
229 |
# Create directory structure to support portage-installed extensions. |
230 |
# See update_chrome() in mozilla-launcher |
231 |
keepdir ${MOZILLA_FIVE_HOME}/chrome.d |
232 |
keepdir ${MOZILLA_FIVE_HOME}/extensions.d |
233 |
cp ${D}${MOZILLA_FIVE_HOME}/chrome/installed-chrome.txt \ |
234 |
${D}${MOZILLA_FIVE_HOME}/chrome.d/0_base-chrome.txt |
235 |
|
236 |
# Create /usr/bin/seamonkey |
237 |
install_mozilla_launcher_stub seamonkey ${MOZILLA_FIVE_HOME} |
238 |
|
239 |
# Install icon and .desktop for menu entry |
240 |
doicon ${FILESDIR}/icon/${PN}.png |
241 |
domenu ${FILESDIR}/icon/${PN}.desktop |
242 |
|
243 |
# Fix icons to look the same everywhere |
244 |
insinto ${MOZILLA_FIVE_HOME}/icons |
245 |
doins ${S}/widget/src/gtk/mozicon16.xpm |
246 |
doins ${S}/widget/src/gtk/mozicon50.xpm |
247 |
|
248 |
#################################### |
249 |
# |
250 |
# Install files necessary for applications to build against seamonkey |
251 |
# |
252 |
#################################### |
253 |
|
254 |
elog "Installing includes and idl files..." |
255 |
cp -LfR "${S}"/dist/include "${D}"/"${MOZILLA_FIVE_HOME}" || die "cp failed" |
256 |
cp -LfR "${S}"/dist/idl "${D}"/"${MOZILLA_FIVE_HOME}" || die "cp failed" |
257 |
|
258 |
# Fix mozilla-config and install it |
259 |
exeinto ${MOZILLA_FIVE_HOME} |
260 |
doexe ${S}/build/unix/${PN}-config |
261 |
|
262 |
# Install pkgconfig files |
263 |
insinto /usr/"$(get_libdir)"/pkgconfig |
264 |
doins "${S}"/build/unix/*.pc |
265 |
|
266 |
# Install env.d snippet, which isn't necessary for running mozilla, but |
267 |
# might be necessary for programs linked against firefox |
268 |
doenvd ${FILESDIR}/10${PN} |
269 |
dosed "s|/usr/lib|/usr/$(get_libdir)|" /etc/env.d/10${PN} |
270 |
|
271 |
# Install rebuild script since mozilla-bin doesn't support registration yet |
272 |
exeinto ${MOZILLA_FIVE_HOME} |
273 |
doexe ${FILESDIR}/${PN}-rebuild-databases.pl |
274 |
dosed -e 's|/lib/|/'"$(get_libdir)"'/|g' \ |
275 |
${MOZILLA_FIVE_HOME}/${PN}-rebuild-databases.pl |
276 |
|
277 |
# Install docs |
278 |
dodoc ${S}/{LEGAL,LICENSE} |
279 |
|
280 |
# Update Google search plugin to use UTF8 charset ... |
281 |
insinto ${MOZILLA_FIVE_HOME}/searchplugins |
282 |
doins ${FILESDIR}/google.src |
283 |
} |
284 |
|
285 |
pkg_preinst() { |
286 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
287 |
|
288 |
# Remove entire installed instance to solve various problems, |
289 |
# for example see bug 27719 |
290 |
rm -rf ${ROOT}${MOZILLA_FIVE_HOME} |
291 |
} |
292 |
|
293 |
pkg_postinst() { |
294 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
295 |
|
296 |
# Update the component registry |
297 |
MOZILLA_LIBDIR=${ROOT}${MOZILLA_FIVE_HOME} MOZILLA_LAUNCHER=${PN} \ |
298 |
/usr/libexec/mozilla-launcher -register |
299 |
|
300 |
# This should be called in the postinst and postrm of all the |
301 |
# mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and |
302 |
# thunderbird-bin ebuilds. |
303 |
update_mozilla_launcher_symlinks |
304 |
} |
305 |
|
306 |
pkg_postrm() { |
307 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
308 |
|
309 |
# Update the component registry |
310 |
if [[ -x ${MOZILLA_FIVE_HOME}/${PN}-bin ]]; then |
311 |
MOZILLA_LIBDIR=${ROOT}${MOZILLA_FIVE_HOME} MOZILLA_LAUNCHER=${PN} \ |
312 |
/usr/libexec/mozilla-launcher -register |
313 |
fi |
314 |
|
315 |
update_mozilla_launcher_symlinks |
316 |
} |
317 |
|
318 |
|
319 |
|
320 |
-- |
321 |
gentoo-commits@g.o mailing list |