Gentoo Archives: gentoo-commits

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