1 |
armin76 08/02/27 12:54:17 |
2 |
|
3 |
Modified: enigmail-0.94.4.ebuild ChangeLog |
4 |
enigmail-0.94.1.ebuild |
5 |
Added: enigmail-0.95.6-r2.ebuild |
6 |
Log: |
7 |
Use tb-2.0.0.12 |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 x11-plugins/enigmail/enigmail-0.94.4.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.4.ebuild?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.4.ebuild?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.4.ebuild?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: enigmail-0.94.4.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.4.ebuild,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- enigmail-0.94.4.ebuild 15 Dec 2007 12:53:00 -0000 1.6 |
24 |
+++ enigmail-0.94.4.ebuild 27 Feb 2008 12:54:16 -0000 1.7 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2007 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.4.ebuild,v 1.6 2007/12/15 12:53:00 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.4.ebuild,v 1.7 2008/02/27 12:54:16 armin76 Exp $ |
30 |
|
31 |
unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 |
32 |
WANT_AUTOCONF=2.1 |
33 |
@@ -19,7 +19,7 @@ |
34 |
mirror://gentoo/mozilla-thunderbird-${TBPVER}.tar.bz2 |
35 |
http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz" |
36 |
|
37 |
-KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86" |
38 |
+KEYWORDS="~mips" |
39 |
SLOT="0" |
40 |
LICENSE="MPL-1.1 GPL-2" |
41 |
IUSE="" |
42 |
|
43 |
|
44 |
|
45 |
1.118 x11-plugins/enigmail/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/ChangeLog?rev=1.118&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/ChangeLog?rev=1.118&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/ChangeLog?r1=1.117&r2=1.118 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v |
54 |
retrieving revision 1.117 |
55 |
retrieving revision 1.118 |
56 |
diff -u -r1.117 -r1.118 |
57 |
--- ChangeLog 8 Feb 2008 17:58:36 -0000 1.117 |
58 |
+++ ChangeLog 27 Feb 2008 12:54:16 -0000 1.118 |
59 |
@@ -1,6 +1,11 @@ |
60 |
# ChangeLog for x11-plugins/enigmail |
61 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.117 2008/02/08 17:58:36 ranger Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.118 2008/02/27 12:54:16 armin76 Exp $ |
64 |
+ |
65 |
+*enigmail-0.95.6-r2 (27 Feb 2008) |
66 |
+ |
67 |
+ 27 Feb 2008; Raúl Porcel <armin76@g.o> +enigmail-0.95.6-r2.ebuild: |
68 |
+ Use tb-2.0.0.12 |
69 |
|
70 |
08 Feb 2008; Brent Baude <ranger@g.o> enigmail-0.95.6-r1.ebuild: |
71 |
Marking enigmail-0.95.6-r1 ppc and ppc64 for bug 209359 |
72 |
|
73 |
|
74 |
|
75 |
1.13 x11-plugins/enigmail/enigmail-0.94.1.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.1.ebuild?rev=1.13&view=markup |
78 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.1.ebuild?rev=1.13&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.1.ebuild?r1=1.12&r2=1.13 |
80 |
|
81 |
Index: enigmail-0.94.1.ebuild |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.1.ebuild,v |
84 |
retrieving revision 1.12 |
85 |
retrieving revision 1.13 |
86 |
diff -u -r1.12 -r1.13 |
87 |
--- enigmail-0.94.1.ebuild 8 Jan 2007 01:22:22 -0000 1.12 |
88 |
+++ enigmail-0.94.1.ebuild 27 Feb 2008 12:54:16 -0000 1.13 |
89 |
@@ -1,6 +1,6 @@ |
90 |
# Copyright 1999-2007 Gentoo Foundation |
91 |
# Distributed under the terms of the GNU General Public License v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.1.ebuild,v 1.12 2007/01/08 01:22:22 kloeri Exp $ |
93 |
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.1.ebuild,v 1.13 2008/02/27 12:54:16 armin76 Exp $ |
94 |
|
95 |
unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 |
96 |
WANT_AUTOCONF=2.1 |
97 |
@@ -19,7 +19,7 @@ |
98 |
mirror://gentoo/mozilla-thunderbird-${TBVER}-patches-${TBPVER}.tar.bz2 |
99 |
http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz" |
100 |
|
101 |
-KEYWORDS="alpha amd64 ia64 mips ppc sparc x86" |
102 |
+KEYWORDS="mips" |
103 |
SLOT="0" |
104 |
LICENSE="MPL-1.1 GPL-2" |
105 |
IUSE="" |
106 |
|
107 |
|
108 |
|
109 |
1.1 x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild |
110 |
|
111 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild?rev=1.1&view=markup |
112 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild?rev=1.1&content-type=text/plain |
113 |
|
114 |
Index: enigmail-0.95.6-r2.ebuild |
115 |
=================================================================== |
116 |
# Copyright 1999-2008 Gentoo Foundation |
117 |
# Distributed under the terms of the GNU General Public License v2 |
118 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild,v 1.1 2008/02/27 12:54:16 armin76 Exp $ |
119 |
|
120 |
WANT_AUTOCONF="2.1" |
121 |
|
122 |
inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools |
123 |
|
124 |
LANGS="de el es-ES nb-NO pt-BR zh-CN" |
125 |
NOSHORTLANGS="ca-AD cs-CZ es-ES fi-FI fr-FR hu-HU it-IT ja-JP ko-KR nb-NO pl-PL pt-PT ro-RO ru-RU sl-SI sv-SE tr-TR zh-TW" |
126 |
|
127 |
EMVER=${PV} |
128 |
TBVER="2.0.0.12" |
129 |
TBPATCH="2.0.0.12-patches-0.1" |
130 |
|
131 |
DESCRIPTION="GnuPG encryption plugin for thunderbird." |
132 |
HOMEPAGE="http://enigmail.mozdev.org" |
133 |
SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${TBVER}/source/thunderbird-${TBVER}-source.tar.bz2 |
134 |
mirror://gentoo/mozilla-thunderbird-${TBPATCH}.tar.bz2 |
135 |
http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz" |
136 |
|
137 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
138 |
SLOT="0" |
139 |
LICENSE="MPL-1.1 GPL-2" |
140 |
IUSE="" |
141 |
|
142 |
for X in ${LANGS} ; do |
143 |
SRC_URI="${SRC_URI} linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )" |
144 |
IUSE="${IUSE} linguas_${X/-/_}" |
145 |
done |
146 |
# ( mirror://gentoo/${PN}-${X}-0.9x.xpi )" |
147 |
|
148 |
for X in ${NOSHORTLANGS} ; do |
149 |
SRC_URI="${SRC_URI} linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )" |
150 |
IUSE="${IUSE} linguas_${X%%-*}" |
151 |
done |
152 |
#( mirror://gentoo/${PN}-${X}-0.9x.xpi )" |
153 |
|
154 |
DEPEND=">=mail-client/mozilla-thunderbird-${TBVER}" |
155 |
RDEPEND="${DEPEND} |
156 |
>=app-crypt/gnupg-1.4 |
157 |
>=www-client/mozilla-launcher-1.56" |
158 |
|
159 |
S="${WORKDIR}/mozilla" |
160 |
|
161 |
# Needed by src_compile() and src_install(). |
162 |
# Would do in pkg_setup but that loses the export attribute, they |
163 |
# become pure shell variables. |
164 |
export BUILD_OFFICIAL=1 |
165 |
export MOZILLA_OFFICIAL=1 |
166 |
export MOZ_CO_PROJECT=mail |
167 |
|
168 |
linguas() { |
169 |
linguas= |
170 |
local LANG |
171 |
for LANG in ${LINGUAS}; do |
172 |
if hasq ${LANG} en en_US; then |
173 |
hasq en ${linguas} || \ |
174 |
linguas="${linguas:+"${linguas} "}en" |
175 |
continue |
176 |
elif hasq ${LANG} ${LANGS//-/_}; then |
177 |
hasq ${LANG//_/-} ${linguas} || \ |
178 |
linguas="${linguas:+"${linguas} "}${LANG//_/-}" |
179 |
continue |
180 |
else |
181 |
local SLANG |
182 |
for SLANG in ${NOSHORTLANGS}; do |
183 |
if [[ ${LANG} == ${SLANG%%-*} ]]; then |
184 |
hasq ${SLANG} ${linguas} || \ |
185 |
linguas="${linguas:+"${linguas} "}${SLANG}" |
186 |
continue 2 |
187 |
fi |
188 |
done |
189 |
fi |
190 |
ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" |
191 |
done |
192 |
} |
193 |
|
194 |
src_unpack() { |
195 |
unpack thunderbird-${TBVER}-source.tar.bz2 mozilla-thunderbird-${TBPATCH}.tar.bz2 || die "unpack failed" |
196 |
|
197 |
linguas |
198 |
for X in ${linguas}; do |
199 |
[[ ${X} != en ]] && xpi_unpack ${P}-${X}.xpi |
200 |
done |
201 |
|
202 |
# Apply our patches |
203 |
cd "${S}" || die "cd failed" |
204 |
EPATCH_SUFFIX="patch" \ |
205 |
EPATCH_FORCE="yes" \ |
206 |
epatch "${WORKDIR}"/patch |
207 |
|
208 |
# Unpack the enigmail plugin |
209 |
cd "${S}"/mailnews/extensions || die |
210 |
unpack enigmail-${EMVER}.tar.gz |
211 |
cd "${S}"/mailnews/extensions/enigmail || die "cd failed" |
212 |
makemake2 |
213 |
|
214 |
cd "${S}" |
215 |
|
216 |
# Use the right theme for thunderbird #45609 |
217 |
sed -i -ne '/^enigmail-skin.jar:$/ { :x; n; /^\t/bx; }; p' mailnews/extensions/enigmail/ui/jar.mn |
218 |
|
219 |
# Fix installation of enigmail.js |
220 |
epatch "${FILESDIR}"/70_enigmail-fix.patch |
221 |
# Make replytolist work with >0.95.0 |
222 |
epatch "${FILESDIR}"/0.95.0-replytolist.patch |
223 |
|
224 |
eautoreconf |
225 |
} |
226 |
|
227 |
src_compile() { |
228 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" |
229 |
|
230 |
#################################### |
231 |
# |
232 |
# mozconfig, CFLAGS and CXXFLAGS setup |
233 |
# |
234 |
#################################### |
235 |
|
236 |
mozconfig_init |
237 |
|
238 |
# tb-specific settings |
239 |
mozconfig_annotate '' \ |
240 |
--with-system-nspr \ |
241 |
--with-system-nss \ |
242 |
--with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} \ |
243 |
--with-user-appdir=.thunderbird |
244 |
|
245 |
# Finalize and report settings |
246 |
mozconfig_final |
247 |
|
248 |
# -fstack-protector breaks us |
249 |
if gcc-version ge 4 1; then |
250 |
gcc-specs-ssp && append-flags -fno-stack-protector |
251 |
else |
252 |
gcc-specs-ssp && append-flags -fno-stack-protector-all |
253 |
fi |
254 |
filter-flags -fstack-protector -fstack-protector-all |
255 |
|
256 |
#################################### |
257 |
# |
258 |
# Configure and build Thunderbird |
259 |
# |
260 |
#################################### |
261 |
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ |
262 |
econf || die |
263 |
|
264 |
# This removes extraneous CFLAGS from the Makefiles to reduce RAM |
265 |
# requirements while compiling |
266 |
edit_makefiles |
267 |
|
268 |
# Only build the parts necessary to support building enigmail |
269 |
emake -j1 export || die "make export failed" |
270 |
emake -C modules/libreg || die "make modules/libreg failed" |
271 |
emake -C xpcom/string || die "make xpcom/string failed" |
272 |
emake -C xpcom || die "make xpcom failed" |
273 |
emake -C xpcom/obsolete || die "make xpcom/obsolete failed" |
274 |
|
275 |
# Build the enigmail plugin |
276 |
einfo "Building Enigmail plugin..." |
277 |
emake -C "${S}"/mailnews/extensions/enigmail || die "make enigmail failed" |
278 |
|
279 |
# Package the enigmail plugin; this may be the easiest way to collect the |
280 |
# necessary files |
281 |
emake -j1 -C "${S}"/mailnews/extensions/enigmail xpi || die "make xpi failed" |
282 |
} |
283 |
|
284 |
src_install() { |
285 |
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" |
286 |
declare emid |
287 |
|
288 |
cd "${T}" |
289 |
unzip "${S}"/dist/bin/*.xpi install.rdf |
290 |
emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf) |
291 |
|
292 |
dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} |
293 |
cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} |
294 |
unzip "${S}"/dist/bin/*.xpi |
295 |
|
296 |
# these files will be picked up by mozilla-launcher -register |
297 |
dodir ${MOZILLA_FIVE_HOME}/{chrome,extensions}.d |
298 |
insinto ${MOZILLA_FIVE_HOME}/chrome.d |
299 |
newins "${S}"/dist/bin/chrome/installed-chrome.txt ${PN} |
300 |
echo "extension,${emid}" > "${D}"${MOZILLA_FIVE_HOME}/extensions.d/${PN} |
301 |
|
302 |
linguas |
303 |
for X in ${linguas}; do |
304 |
[[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/${P}-${X} |
305 |
done |
306 |
} |
307 |
|
308 |
|
309 |
|
310 |
-- |
311 |
gentoo-commits@l.g.o mailing list |