1 |
commit: 081f59bd225a9e862df9650016d924eec8802036 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 30 03:39:34 2011 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 30 03:39:34 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=081f59bd |
7 |
|
8 |
seamonkey: Minor ebuild improvements. Removed old. |
9 |
|
10 |
--- |
11 |
www-client/seamonkey/Manifest | 6 +- |
12 |
.../2.1/seamonkey-2.1b2-gconf-config-update.patch | 50 --- |
13 |
.../seamonkey/files/2.1/xulrunner-libpng15.patch | 48 --- |
14 |
www-client/seamonkey/seamonkey-2.1_beta3-r1.ebuild | 329 -------------------- |
15 |
www-client/seamonkey/seamonkey-2.1_beta3-r2.ebuild | 18 +- |
16 |
5 files changed, 11 insertions(+), 440 deletions(-) |
17 |
|
18 |
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest |
19 |
index fe5ca6c..3dd45a4 100644 |
20 |
--- a/www-client/seamonkey/Manifest |
21 |
+++ b/www-client/seamonkey/Manifest |
22 |
@@ -1,7 +1,5 @@ |
23 |
AUX 2.1/seamonkey-2.1b1-configure-fix.patch 690 RMD160 854bf17b5b5b5806c4936f80fbbd971e822a88e0 SHA1 10c39ddf76e3638fced4e48bbc2443b4eb88078c SHA256 f4b4a786ff743e9618d663832fbe7f21b36b0f84e1bf04cd0dae106da18fd2f4 |
24 |
-AUX 2.1/seamonkey-2.1b2-gconf-config-update.patch 1569 RMD160 e237530c4d95de84aa295927fd1c703d8a54b9a9 SHA1 6f78524f88fd7b3f4fef4eec1666eabe96c89992 SHA256 9da47f2752f7bb353297b93be3aaecf2d6004af3c91717d22e35a347ee6cf2a2 |
25 |
AUX 2.1/seamonkey-2.1b3-restore-tabbar-scrolling-from-2.1b2.diff 1708 RMD160 cbafdeb503985052a5f589eb5f1e142c5e5fdfb1 SHA1 fa7be6cabfd58db2fa1d79c70332b3f06c383b83 SHA256 ae6cafc054b803713c3c3d72f0d34035272ba9af775e16132be92edf6c9f0600 |
26 |
-AUX 2.1/xulrunner-libpng15.patch 1713 RMD160 7883785e5794afeec27ab98fb71803ca82b4eb8d SHA1 8a3bdbbf587f65595a8d1718747843565d5cda31 SHA256 cbc44327ae5fcb4cba67bfa9fa4fdcb597969fbe0118af5e6d9eb73c504d4f87 |
27 |
AUX all-gentoo.js 788 RMD160 08464d4a78e2126dce9e482988af1720d54a087d SHA1 74aed071070a8d896b655fd975da67329939339c SHA256 3ca0cbee6ca3d8857e7afadcfe76f65bd9c4130936602a1dbabb484406df0f45 |
28 |
AUX enigmail/enigmail-1.1.2-20110124-makefile.diff 1572 RMD160 3840707bebdc8785ea08689cc95e0b762ca116f5 SHA1 0b607adf7af0d4d9a969b2c14abb19e1c9e94888 SHA256 9fc6c5d59864d53536ff755a2245ec60c61a4ffa2a81920c869687e5604f3144 |
29 |
AUX enigmail/enigmail-1.1.2-seamonkey-2.1b2-versionfix.patch 388 RMD160 978e6888f0dd25fae9f59e594c800c64626607dd SHA1 08261cf1027d10723fa74d2e00f20b734d679983 SHA256 3ed44f737ad3eb89eb58bb03cb375579b2002d0ac06982b0d17f281041c42959 |
30 |
@@ -9,7 +7,6 @@ AUX enigmail/enigmail-1.1.2-seamonkey-2.1b3-versionfix.patch 388 RMD160 50285565 |
31 |
AUX icon/seamonkey.desktop 285 RMD160 b684a071867d4d66799dd6b08187c6b66fa789bb SHA1 e95f4f7ab1d2c436e3b641768ce6514367992f56 SHA256 a95d1da8080d4e83f399b0ffeefa20d0a6fd0dc8a3da8edc41cd8cedb34557f7 |
32 |
AUX icon/seamonkey.png 4172 RMD160 d296c4d4e0920e4476f4c6c607946434202ad521 SHA1 f76213195e2dc002ff2e411ed0247d2624ce7b09 SHA256 7ffc1911a62b526702f3c991365dd8f18b6427c7e173456a101db4fb4c43ae59 |
33 |
DIST enigmail-1.1.2-20110410.tar.bz2 875049 RMD160 f313acc509fc2dddcb925736a7561ffd0ed5eb86 SHA1 0fe932987924887604c5cac3be0107bc49df70d5 SHA256 2d66c34cfe5df1ecf4362b97ac52cb2937dd568ee3ab3de35842c03a4d3e24dd |
34 |
-DIST seamonkey-2.0.5-patches-01.tar.bz2 14905 RMD160 b9323ffc75c31343982b37151a879129fe37dc9b SHA1 5bb55b2fc707f84157af181aa9e30a3b7d839dbc SHA256 288ea43820b8c1f5380024f751fa23e59bc9bafba9d506678968ac7e40ea9dc5 |
35 |
DIST seamonkey-2.1b3-be.xpi 796295 RMD160 48a297dd46f682c16a6c7f189d2a15978639fa90 SHA1 614becae97d2467099f456a55ab0b617b29f65bf SHA256 d72f903266722b463c4fa86cfbfa3f5bea10def5cef7d7690b4ff644cd9203ac |
36 |
DIST seamonkey-2.1b3-cs.xpi 818132 RMD160 2c6b63459186139e493ce6f3efb0220ba288aba2 SHA1 eda81a00822ea5cc50f06faf5ca24e90e6582d21 SHA256 b580d360f5210ecb86c00abd8cf261917e769a0a1ce090b2f984a0d2ae240dc6 |
37 |
DIST seamonkey-2.1b3-de.xpi 856917 RMD160 954b07a35daa099ed92dc5d99c749a8a918a17f6 SHA1 7ba0c04dcc41e2c9b094af7f15e36152cf831746 SHA256 a8a00579ae969bd176d7b00eadd5771312a51432952c0e0261b47941aa32e43b |
38 |
@@ -25,5 +22,4 @@ DIST seamonkey-2.1b3-pt-PT.xpi 845362 RMD160 847939fad173f1359210a36685d528af622 |
39 |
DIST seamonkey-2.1b3-ru.xpi 891638 RMD160 58ea86a0c9552ec939782ae07245e6fb65bdf201 SHA1 9da64d0a0c20cf15f1dff177b0cf79cca9c1a7a9 SHA256 7b6e332e9bc77d294675c773ce0bc09a7f1b0515313d24e108bda1ca5408d0f6 |
40 |
DIST seamonkey-2.1b3-sk.xpi 843090 RMD160 32f1c70a1bb5635c7e57d6b7862601398ba31594 SHA1 9d87f6882d2548a68df190d8f47ed0f63a2c0431 SHA256 01d4a0e2aae52ee6acc7388e16cbb5b00f370a30d9e2335ed22c23fb7e9d9f6a |
41 |
DIST seamonkey-2.1b3.source.tar.bz2 84193584 RMD160 6d4f1d224d680e6fed773ba5306cbabcbae4ca62 SHA1 7b4ba58cf5df42cec8e840f2f0416604a1ad87d9 SHA256 97afefa90d86c873d3e78238bab44f57efedba296291fe0320458b26df9d9ec9 |
42 |
-EBUILD seamonkey-2.1_beta3-r1.ebuild 9819 RMD160 0e7cd56fe3f37ea5770adf4e386d1d8873cb09ab SHA1 f8d63347e7d4b63112adb15823573bfcc4346349 SHA256 1ab19daef0fcd52a37229a1981ab758eb5a5caa2d5811ec862968adb7d7fe2db |
43 |
-EBUILD seamonkey-2.1_beta3-r2.ebuild 9501 RMD160 e898b7b3d0f52c6fab542b7706324f358a48550f SHA1 8a6b1da8d528ccf62c632a993cde6184a8c5f816 SHA256 ded45509fb5822cac0c1bba0d7f185b5740e70cda6bba66964311c9451d0c2d6 |
44 |
+EBUILD seamonkey-2.1_beta3-r2.ebuild 9381 RMD160 30bd0b589669ca1f829f209800c81db294d81dbe SHA1 38d810515f4e7cbff51ada0f306c616d9a5cacd5 SHA256 14746b1cf783ce376effa725a4912d2dee59ec6a5d4dbcc7d9ceeb50b792b122 |
45 |
|
46 |
diff --git a/www-client/seamonkey/files/2.1/seamonkey-2.1b2-gconf-config-update.patch b/www-client/seamonkey/files/2.1/seamonkey-2.1b2-gconf-config-update.patch |
47 |
deleted file mode 100644 |
48 |
index 8bb7237..0000000 |
49 |
--- a/www-client/seamonkey/files/2.1/seamonkey-2.1b2-gconf-config-update.patch |
50 |
+++ /dev/null |
51 |
@@ -1,50 +0,0 @@ |
52 |
-diff --git a/configure.in b/configure.in |
53 |
---- a/configure.in |
54 |
-+++ b/configure.in |
55 |
-@@ -5031,16 +5031,21 @@ then |
56 |
- fi |
57 |
- MOZ_ENABLE_GIO= |
58 |
- ]) |
59 |
- fi |
60 |
- |
61 |
- dnl ======================================================== |
62 |
- dnl = GConf support module |
63 |
- dnl ======================================================== |
64 |
-+ MOZ_ARG_DISABLE_BOOL(gconf, |
65 |
-+ [ --disable-gconf Disable Gconf support ], |
66 |
-+ MOZ_ENABLE_GCONF=, |
67 |
-+ MOZ_ENABLE_GCONF=force) |
68 |
-+ |
69 |
- if test "$MOZ_ENABLE_GCONF" |
70 |
- then |
71 |
- PKG_CHECK_MODULES(MOZ_GCONF, gconf-2.0 >= $GCONF_VERSION gobject-2.0 ,[ |
72 |
- MOZ_ENABLE_GCONF=1 |
73 |
- ],[ |
74 |
- MOZ_ENABLE_GCONF= |
75 |
- ]) |
76 |
- fi |
77 |
-diff --git a/mozilla/configure.in b/mozilla/configure.in |
78 |
---- a/mozilla/configure.in |
79 |
-+++ b/mozilla/configure.in |
80 |
-@@ -5701,16 +5701,21 @@ then |
81 |
- |
82 |
- AC_SUBST(MOZ_ENABLE_GIO) |
83 |
- AC_SUBST(MOZ_GIO_CFLAGS) |
84 |
- AC_SUBST(MOZ_GIO_LIBS) |
85 |
- |
86 |
- dnl ======================================================== |
87 |
- dnl = GConf support module |
88 |
- dnl ======================================================== |
89 |
-+ MOZ_ARG_DISABLE_BOOL(gconf, |
90 |
-+ [ --disable-gconf Disable Gconf support ], |
91 |
-+ MOZ_ENABLE_GCONF=, |
92 |
-+ MOZ_ENABLE_GCONF=force) |
93 |
-+ |
94 |
- if test "$MOZ_ENABLE_GCONF" |
95 |
- then |
96 |
- PKG_CHECK_MODULES(MOZ_GCONF, gconf-2.0 >= $GCONF_VERSION gobject-2.0 ,[ |
97 |
- MOZ_GCONF_LIBS=`echo $MOZ_GCONF_LIBS | sed 's/-llinc\>//'` |
98 |
- MOZ_ENABLE_GCONF=1 |
99 |
- ],[ |
100 |
- if test "$MOZ_ENABLE_GCONF" = "force" |
101 |
- then |
102 |
|
103 |
diff --git a/www-client/seamonkey/files/2.1/xulrunner-libpng15.patch b/www-client/seamonkey/files/2.1/xulrunner-libpng15.patch |
104 |
deleted file mode 100644 |
105 |
index 850140e..0000000 |
106 |
--- a/www-client/seamonkey/files/2.1/xulrunner-libpng15.patch |
107 |
+++ /dev/null |
108 |
@@ -1,48 +0,0 @@ |
109 |
- |
110 |
-# HG changeset patch |
111 |
-# User Glenn Randers-Pehrson <glennrp+bmo@×××××.com> |
112 |
-# Date 1301357640 14400 |
113 |
-# Node ID a60e842a1561ee51bf6eb3f27dc71ea3f840fa03 |
114 |
-# Parent c88a58ccb0af893431816e55a1bb0b00012db197 |
115 |
-Bug 645519 - Firefox-4.0 compile fails if "--with-system-png" is ON; r=joe |
116 |
- |
117 |
-diff --git a/modules/libpr0n/decoders/nsPNGDecoder.cpp b/modules/libpr0n/decoders/nsPNGDecoder.cpp |
118 |
---- mozilla/modules/libpr0n/decoders/nsPNGDecoder.cpp |
119 |
-+++ mozilla/modules/libpr0n/decoders/nsPNGDecoder.cpp |
120 |
-@@ -381,23 +381,34 @@ PNGGetColorProfile(png_structp png_ptr, |
121 |
- int color_type, qcms_data_type *inType, PRUint32 *intent) |
122 |
- { |
123 |
- qcms_profile *profile = nsnull; |
124 |
- *intent = QCMS_INTENT_PERCEPTUAL; // Our default |
125 |
- |
126 |
- // First try to see if iCCP chunk is present |
127 |
- if (png_get_valid(png_ptr, info_ptr, PNG_INFO_iCCP)) { |
128 |
- png_uint_32 profileLen; |
129 |
-+#if (PNG_LIBPNG_VER < 10500) |
130 |
- char *profileData, *profileName; |
131 |
-+#else |
132 |
-+ png_bytep profileData; |
133 |
-+ png_charp profileName; |
134 |
-+#endif |
135 |
- int compression; |
136 |
- |
137 |
- png_get_iCCP(png_ptr, info_ptr, &profileName, &compression, |
138 |
- &profileData, &profileLen); |
139 |
- |
140 |
-- profile = qcms_profile_from_memory(profileData, profileLen); |
141 |
-+ profile = qcms_profile_from_memory( |
142 |
-+#if (PNG_LIBPNG_VER < 10500) |
143 |
-+ profileData, |
144 |
-+#else |
145 |
-+ (char *)profileData, |
146 |
-+#endif |
147 |
-+ profileLen); |
148 |
- if (profile) { |
149 |
- PRUint32 profileSpace = qcms_profile_get_color_space(profile); |
150 |
- |
151 |
- PRBool mismatch = PR_FALSE; |
152 |
- if (color_type & PNG_COLOR_MASK_COLOR) { |
153 |
- if (profileSpace != icSigRgbData) |
154 |
- mismatch = PR_TRUE; |
155 |
- } else { |
156 |
- |
157 |
|
158 |
diff --git a/www-client/seamonkey/seamonkey-2.1_beta3-r1.ebuild b/www-client/seamonkey/seamonkey-2.1_beta3-r1.ebuild |
159 |
deleted file mode 100644 |
160 |
index 451c241..0000000 |
161 |
--- a/www-client/seamonkey/seamonkey-2.1_beta3-r1.ebuild |
162 |
+++ /dev/null |
163 |
@@ -1,329 +0,0 @@ |
164 |
-# Copyright 1999-2010 Gentoo Foundation |
165 |
-# Distributed under the terms of the GNU General Public License v2 |
166 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-2.0.4-r1.ebuild,v 1.1 2010/04/09 03:56:59 polynomial-c Exp $ |
167 |
- |
168 |
-EAPI="2" |
169 |
-WANT_AUTOCONF="2.1" |
170 |
- |
171 |
-inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib fdo-mime autotools mozextension python |
172 |
- |
173 |
-PATCH="${PN}-2.0.5-patches-01" |
174 |
-EMVER="1.1.2" |
175 |
- |
176 |
-LANGS="be cs de en en-US es-AR es-ES fr lt nl pl pt-PT ru sk" |
177 |
-NOSHORTLANGS="es-AR es-ES" |
178 |
- |
179 |
-MY_PV="${PV/_pre*}" |
180 |
-MY_PV="${MY_PV/_alpha/a}" |
181 |
-MY_PV="${MY_PV/_beta/b}" |
182 |
-MY_PV="${MY_PV/_rc/rc}" |
183 |
-MY_P="${PN}-${MY_PV}" |
184 |
- |
185 |
-[[ ${MY_PV} == 2.1b3 ]] && MY_PV="${MY_PV}-real" |
186 |
- |
187 |
-# release versions usually have language packs. So be careful with changing this. |
188 |
-HAS_LANGS="true" |
189 |
-if [[ ${PV} == *_pre* ]] ; then |
190 |
- # pre-releases. No need for arch teams to change KEYWORDS here. |
191 |
- |
192 |
- REL_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${PN}/nightly/${MY_PV}-candidates/build${PV##*_pre}" |
193 |
- #KEYWORDS="" |
194 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
195 |
- #HAS_LANGS="false" |
196 |
-else |
197 |
- # This is where arch teams should change the KEYWORDS. |
198 |
- |
199 |
- REL_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases/${MY_PV}" |
200 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
201 |
- [[ ${PV} == *alpha* ]] && HAS_LANGS="false" |
202 |
-fi |
203 |
- |
204 |
-DESCRIPTION="Seamonkey Web Browser" |
205 |
-HOMEPAGE="http://www.seamonkey-project.org" |
206 |
- |
207 |
-SLOT="0" |
208 |
-LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" |
209 |
-IUSE="+alsa +chatzilla +composer +crypt gconf ldap +mailclient +roaming +webm" |
210 |
- |
211 |
-SRC_URI="${REL_URI}/source/${MY_P}.source.tar.bz2 |
212 |
- http://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.bz2 |
213 |
- crypt? ( mailclient? ( http://dev.gentoo.org/~polynomial-c/mozilla/enigmail-${EMVER}-20110410.tar.bz2 ) )" |
214 |
- |
215 |
-if ${HAS_LANGS} ; then |
216 |
- for X in ${LANGS} ; do |
217 |
- if [ "${X}" != "en" ] ; then |
218 |
- SRC_URI="${SRC_URI} |
219 |
- linguas_${X/-/_}? ( ${REL_URI}/langpack/${MY_P}.${X}.langpack.xpi -> ${MY_P}-${X}.xpi )" |
220 |
- fi |
221 |
- IUSE="${IUSE} linguas_${X/-/_}" |
222 |
- # english is handled internally |
223 |
- if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then |
224 |
- #if [ "${X}" != "en-US" ]; then |
225 |
- SRC_URI="${SRC_URI} |
226 |
- linguas_${X%%-*}? ( ${REL_URI}/langpack/${MY_P}.${X}.langpack.xpi -> ${MY_P}-${X}.xpi )" |
227 |
- #fi |
228 |
- IUSE="${IUSE} linguas_${X%%-*}" |
229 |
- fi |
230 |
- done |
231 |
-fi |
232 |
- |
233 |
-RDEPEND=">=sys-devel/binutils-2.16.1 |
234 |
- >=dev-libs/nss-3.12.9 |
235 |
- >=dev-libs/nspr-4.8.7 |
236 |
- >=media-libs/libpng-1.4.1[apng] |
237 |
- >=x11-libs/pango-1.14.0[X] |
238 |
- gconf? ( >=gnome-base/gconf-1.2.1:2 ) |
239 |
- crypt? ( mailclient? ( >=app-crypt/gnupg-1.4 ) ) |
240 |
- webm? ( media-libs/libvpx |
241 |
- media-libs/alsa-lib )" |
242 |
- |
243 |
-DEPEND="${RDEPEND} |
244 |
- dev-util/pkgconfig |
245 |
- dev-lang/yasm" |
246 |
- |
247 |
-S="${WORKDIR}/comm-central" |
248 |
- |
249 |
-linguas() { |
250 |
- local LANG SLANG |
251 |
- for LANG in ${LINGUAS}; do |
252 |
- if has ${LANG} en en_US; then |
253 |
- has en ${linguas} || linguas="${linguas:+"${linguas} "}en" |
254 |
- continue |
255 |
- elif has ${LANG} ${LANGS//-/_}; then |
256 |
- has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" |
257 |
- continue |
258 |
- elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then |
259 |
- for X in ${LANGS}; do |
260 |
- if [[ "${X}" == "${LANG}-"* ]] && \ |
261 |
- [[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then |
262 |
- has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" |
263 |
- continue 2 |
264 |
- fi |
265 |
- done |
266 |
- fi |
267 |
- ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" |
268 |
- done |
269 |
-} |
270 |
- |
271 |
-src_unpack() { |
272 |
- unpack ${A} |
273 |
- |
274 |
- if ${HAS_LANGS} ; then |
275 |
- linguas |
276 |
- for X in ${linguas}; do |
277 |
- # FIXME: Add support for unpacking xpis to portage |
278 |
- [[ ${X} != "en" ]] && xpi_unpack "${MY_P}-${X}.xpi" |
279 |
- done |
280 |
- if [[ ${linguas} != "" && ${linguas} != "en" ]]; then |
281 |
- einfo "Selected language packs (first will be default): ${linguas}" |
282 |
- fi |
283 |
- fi |
284 |
-} |
285 |
- |
286 |
-pkg_setup() { |
287 |
- if [[ ${PV} == *_pre* ]] ; then |
288 |
- ewarn "You're using an unofficial release of ${PN}. Don't file any bug in" |
289 |
- ewarn "Gentoo's Bugtracker against this package in case it breaks for you." |
290 |
- ewarn "Those belong to upstream: https://bugzilla.mozilla.org" |
291 |
- fi |
292 |
- |
293 |
- moz_pkgsetup |
294 |
-} |
295 |
- |
296 |
-src_prepare() { |
297 |
- # Apply our patches |
298 |
- EPATCH_EXCLUDE="1002_fix-system-hunspell-dict-detections.patch |
299 |
- 104-no_dynamic_nss_softokn.patch |
300 |
- 118-bz467766_att351173-dont-reset-user-prefs-on-upgrade.patch |
301 |
- 310-gecko-1.9.1-cairo-1.8.10-crash-fix.patch" \ |
302 |
- EPATCH_SUFFIX="patch" \ |
303 |
- EPATCH_FORCE="yes" \ |
304 |
- epatch "${WORKDIR}" |
305 |
- |
306 |
- epatch "${FILESDIR}"/2.1/${PN}-2.1b1-configure-fix.patch \ |
307 |
- "${FILESDIR}"/2.1/xulrunner-libpng15.patch \ |
308 |
- "${FILESDIR}"/2.1/${PN}-2.1b2-gconf-config-update.patch |
309 |
- |
310 |
- EPATCH_OPTS="-R" \ |
311 |
- epatch "${FILESDIR}"/2.1/${PN}-2.1b3-restore-tabbar-scrolling-from-2.1b2.diff |
312 |
- |
313 |
- if use crypt && use mailclient ; then |
314 |
- mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail |
315 |
- cd "${S}"/mailnews/extensions/enigmail || die |
316 |
- epatch "${FILESDIR}"/enigmail/enigmail-1.1.2-seamonkey-2.1b3-versionfix.patch |
317 |
- epatch "${FILESDIR}"/enigmail/enigmail-1.1.2-20110124-makefile.diff |
318 |
- eautomake |
319 |
- makemake2 |
320 |
- sed -e 's:@srcdir@:${S}/mailnews/extensions/enigmail:' \ |
321 |
- -i Makefile.in || die |
322 |
- cd "${S}" |
323 |
- fi |
324 |
- |
325 |
- #pushd "${S}"/mozilla &>/dev/null || die pushd |
326 |
- #popd &>/dev/null || die popd |
327 |
- |
328 |
- #Ensure we disable javaxpcom by default to prevent configure breakage |
329 |
- sed -i -e s:MOZ_JAVAXPCOM\=1::g ${S}/mozilla/xulrunner/confvars.sh \ |
330 |
- || die "sed javaxpcom" |
331 |
- |
332 |
- # Disable gnomevfs extension |
333 |
- sed -i -e "s:gnomevfs::" "${S}/"suite/confvars.sh \ |
334 |
- || die "Failed to remove gnomevfs extension" |
335 |
- |
336 |
- eautoreconf |
337 |
- cd "${S}"/mozilla || die |
338 |
- eautoreconf |
339 |
- cd "${S}"/mozilla/js/src || die |
340 |
- eautoreconf |
341 |
-} |
342 |
- |
343 |
-src_configure() { |
344 |
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
345 |
- MEXTENSIONS="" |
346 |
- |
347 |
- #################################### |
348 |
- # |
349 |
- # mozconfig, CFLAGS and CXXFLAGS setup |
350 |
- # |
351 |
- #################################### |
352 |
- |
353 |
- mozconfig_init |
354 |
- mozconfig_config |
355 |
- |
356 |
- # It doesn't compile on alpha without this LDFLAGS |
357 |
- use alpha && append-ldflags "-Wl,--no-relax" |
358 |
- |
359 |
- if ! use chatzilla ; then |
360 |
- MEXTENSIONS="${MEXTENSIONS},-irc" |
361 |
- fi |
362 |
- if ! use roaming ; then |
363 |
- MEXTENSIONS="${MEXTENSIONS},-sroaming" |
364 |
- fi |
365 |
- |
366 |
- if ! use composer ; then |
367 |
- if ! use chatzilla && ! use mailclient ; then |
368 |
- mozconfig_annotate '-composer' --disable-composer |
369 |
- fi |
370 |
- fi |
371 |
- |
372 |
- mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" |
373 |
- mozconfig_annotate '' --enable-jsd |
374 |
- mozconfig_annotate '' --enable-canvas |
375 |
- mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} |
376 |
- |
377 |
- mozconfig_use_enable gconf |
378 |
- mozconfig_use_enable ldap |
379 |
- mozconfig_use_enable ldap ldap-experimental |
380 |
- mozconfig_use_enable mailclient mailnews |
381 |
- |
382 |
- if use mailclient && use crypt ; then |
383 |
- mozconfig_annotate "mail crypt" --enable-chrome-format=jar |
384 |
- fi |
385 |
- |
386 |
- # ZOMG! Mozilla guys wanna have APNG in libpng if building with |
387 |
- # system-libpng. Kids, leave your fingers from drugs that make you |
388 |
- # do such nasty "extensions"!!! |
389 |
- # See https://bugs.gentoo.org/183370 for details. |
390 |
- mozconfig_annotate '' --with-system-png |
391 |
- |
392 |
- # Finalize and report settings |
393 |
- mozconfig_final |
394 |
- |
395 |
- if [[ $(gcc-major-version) -lt 4 ]]; then |
396 |
- append-cxxflags -fno-stack-protector |
397 |
- fi |
398 |
- |
399 |
- #################################### |
400 |
- # |
401 |
- # Configure and build |
402 |
- # |
403 |
- #################################### |
404 |
- |
405 |
- # Work around breakage in makeopts with --no-print-directory |
406 |
- MAKEOPTS="${MAKEOPTS/--no-print-directory/}" |
407 |
- |
408 |
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" PYTHON="$(PYTHON)" econf |
409 |
-} |
410 |
- |
411 |
-src_compile() { |
412 |
- # Should the build use multiprocessing? Not enabled by default, as it tends to break. |
413 |
- [ "${WANT_MP}" = "true" ] && jobs=${MAKEOPTS} || jobs="-j1" |
414 |
- emake ${jobs} || die |
415 |
- |
416 |
- # Only build enigmail extension if conditions are met. |
417 |
- if use crypt && use mailclient ; then |
418 |
- emake -C "${S}"/mailnews/extensions/enigmail || die "make enigmail failed" |
419 |
- emake -j1 -C "${S}"/mailnews/extensions/enigmail xpi || die "make enigmail xpi failed" |
420 |
- fi |
421 |
-} |
422 |
- |
423 |
-src_install() { |
424 |
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
425 |
- declare emid |
426 |
- |
427 |
- emake DESTDIR="${D}" install || die "emake install failed" |
428 |
- cp -f "${FILESDIR}"/icon/seamonkey.desktop "${T}" || die |
429 |
- |
430 |
- if use crypt && use mailclient ; then |
431 |
- cd "${T}" || die |
432 |
- unzip "${S}"/mozilla/dist/bin/enigmail*.xpi install.rdf || die |
433 |
- emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf) |
434 |
- |
435 |
- dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die |
436 |
- cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die |
437 |
- unzip "${S}"/mozilla/dist/bin/enigmail*.xpi || die |
438 |
- |
439 |
- sed 's|^\(MimeType=.*\)$|\1MimeType=text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \ |
440 |
- -i "${T}"/${PN}.desktop || die |
441 |
- sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \ |
442 |
- || die |
443 |
- fi |
444 |
- |
445 |
- if ${HAS_LANGS} ; then |
446 |
- linguas |
447 |
- for X in ${linguas}; do |
448 |
- [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${MY_P}-${X}" |
449 |
- done |
450 |
- fi |
451 |
- |
452 |
- # Install icon and .desktop for menu entry |
453 |
- newicon "${S}"/suite/branding/nightly/content/icon64.png seamonkey.png \ |
454 |
- || die |
455 |
- domenu "${T}"/seamonkey.desktop || die |
456 |
- |
457 |
- # Add StartupNotify=true bug 290401 |
458 |
- if use startup-notification ; then |
459 |
- echo "StartupNotify=true" >> "${D}"/usr/share/applications/seamonkey.desktop |
460 |
- fi |
461 |
- |
462 |
- # Add our default prefs |
463 |
- sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo.js \ |
464 |
- > "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js \ |
465 |
- || die |
466 |
- |
467 |
- # Plugins dir |
468 |
- rm -rf "${D}"${MOZILLA_FIVE_HOME}/plugins || die "failed to remove existing plugins dir" |
469 |
- dosym ../nsbrowser/plugins "${MOZILLA_FIVE_HOME}"/plugins || die |
470 |
- |
471 |
- doman "${S}"/suite/app/${PN}.1 || die |
472 |
-} |
473 |
- |
474 |
-pkg_preinst() { |
475 |
- declare MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}" |
476 |
- |
477 |
- if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then |
478 |
- rm ${MOZILLA_FIVE_HOME}/plugins -rf |
479 |
- fi |
480 |
-} |
481 |
- |
482 |
-pkg_postinst() { |
483 |
- declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
484 |
- |
485 |
- # Update mimedb for the new .desktop file |
486 |
- fdo-mime_desktop_database_update |
487 |
- |
488 |
- if use chatzilla ; then |
489 |
- elog "chatzilla is now an extension which can be en-/disabled and configured via" |
490 |
- elog "the Add-on manager." |
491 |
- fi |
492 |
-} |
493 |
|
494 |
diff --git a/www-client/seamonkey/seamonkey-2.1_beta3-r2.ebuild b/www-client/seamonkey/seamonkey-2.1_beta3-r2.ebuild |
495 |
index da68314..04d695d 100644 |
496 |
--- a/www-client/seamonkey/seamonkey-2.1_beta3-r2.ebuild |
497 |
+++ b/www-client/seamonkey/seamonkey-2.1_beta3-r2.ebuild |
498 |
@@ -1,6 +1,6 @@ |
499 |
-# Copyright 1999-2010 Gentoo Foundation |
500 |
+# Copyright 1999-2011 Gentoo Foundation |
501 |
# Distributed under the terms of the GNU General Public License v2 |
502 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey/seamonkey-2.0.4-r1.ebuild,v 1.1 2010/04/09 03:56:59 polynomial-c Exp $ |
503 |
+# $Header: $ |
504 |
|
505 |
EAPI="3" |
506 |
WANT_AUTOCONF="2.1" |
507 |
@@ -266,8 +266,10 @@ src_install() { |
508 |
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die |
509 |
cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die |
510 |
unzip "${S}"/mozilla/dist/bin/enigmail*.xpi || die |
511 |
+ fi |
512 |
|
513 |
- sed 's|^\(MimeType=.*\)$|\1MimeType=text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \ |
514 |
+ if use mailclient ; then |
515 |
+ sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \ |
516 |
-i "${T}"/${PN}.desktop || die |
517 |
sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \ |
518 |
|| die |
519 |
@@ -280,16 +282,16 @@ src_install() { |
520 |
done |
521 |
fi |
522 |
|
523 |
+ # Add StartupNotify=true bug 290401 |
524 |
+ if use startup-notification ; then |
525 |
+ echo "StartupNotify=true" >> "${T}"/${PN}.desktop |
526 |
+ fi |
527 |
+ |
528 |
# Install icon and .desktop for menu entry |
529 |
newicon "${S}"/suite/branding/nightly/content/icon64.png seamonkey.png \ |
530 |
|| die |
531 |
domenu "${T}"/seamonkey.desktop || die |
532 |
|
533 |
- # Add StartupNotify=true bug 290401 |
534 |
- if use startup-notification ; then |
535 |
- echo "StartupNotify=true" >> "${D}"/usr/share/applications/seamonkey.desktop |
536 |
- fi |
537 |
- |
538 |
# Add our default prefs |
539 |
sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo.js \ |
540 |
> "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js \ |