Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/lightning: lightning-0.7.ebuild metadata.xml Manifest ChangeLog
Date: Mon, 17 Dec 2007 18:45:02
Message-Id: E1J4KxQ-0000AC-LC@stork.gentoo.org
1 armin76 07/12/17 18:44:52
2
3 Added: lightning-0.7.ebuild metadata.xml Manifest
4 ChangeLog
5 Log:
6 Initial import, bug #151296
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.1 x11-plugins/lightning/lightning-0.7.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/lightning/lightning-0.7.ebuild?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/lightning/lightning-0.7.ebuild?rev=1.1&content-type=text/plain
14
15 Index: lightning-0.7.ebuild
16 ===================================================================
17 # Copyright 1999-2007 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/lightning-0.7.ebuild,v 1.1 2007/12/17 18:44:52 armin76 Exp $
20
21 WANT_AUTOCONF="2.1"
22
23 inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools
24
25 SBPATCH="mozilla-sunbird-${PV}-patches-0.2"
26
27 DESCRIPTION="Calendar extension for Mozilla Thunderbird."
28 HOMEPAGE="http://www.mozilla.org/projects/calendar/lightning/"
29 SRC_URI="http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/${PV}/source/${PN}-sunbird-${PV}-source.tar.bz2
30 mirror://gentoo/${SBPATCH}.tar.bz2"
31
32 KEYWORDS="~amd64 ~x86"
33 SLOT="0"
34 LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
35 IUSE=""
36
37 RDEPEND=">=mail-client/mozilla-thunderbird-2.0_alpha1
38 >=www-client/mozilla-launcher-1.56"
39
40 S="${WORKDIR}/mozilla"
41
42 # Needed by src_compile() and src_install().
43 # Would do in pkg_setup but that loses the export attribute, they
44 # become pure shell variables.
45 export BUILD_OFFICIAL=1
46 export MOZILLA_OFFICIAL=1
47 export MOZ_CO_PROJECT=calendar
48
49 src_unpack() {
50 unpack ${A%bz2*}bz2
51
52 # Apply our patches
53 cd "${S}" || die "cd failed"
54 EPATCH_SUFFIX="patch" \
55 EPATCH_FORCE="yes" \
56 epatch "${WORKDIR}"/patch
57
58 eautoreconf
59 }
60
61 src_compile() {
62 declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird"
63
64 ####################################
65 #
66 # mozconfig, CFLAGS and CXXFLAGS setup
67 #
68 ####################################
69
70 mozconfig_init
71
72 mozconfig_annotate '' --enable-application=calendar
73 mozconfig_annotate '' --enable-extensions=lightning
74 mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
75 mozconfig_annotate '' --with-system-nss
76 mozconfig_annotate '' --with-system-nspr
77
78 # Finalize and report settings
79 mozconfig_final
80
81 # -fstack-protector breaks us
82 if gcc-version ge 4 1; then
83 gcc-specs-ssp && append-flags -fno-stack-protector
84 else
85 gcc-specs-ssp && append-flags -fno-stack-protector-all
86 fi
87 filter-flags -fstack-protector -fstack-protector-all
88
89 ####################################
90 #
91 # Configure and build Thunderbird
92 #
93 ####################################
94
95 CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
96 econf || die
97
98 # This removes extraneous CFLAGS from the Makefiles to reduce RAM
99 # requirements while compiling
100 edit_makefiles
101
102 # Only build the parts necessary to support building enigmail
103 emake -j1 export || die "make export failed"
104 emake -C xpcom || die "make xpcom failed"
105 emake -C js/ || die "make js failed"
106
107 # Build the lightning plugin
108 einfo "Building Lightning plugin..."
109 emake -C "${S}"/calendar/lightning/ || die "make lightning failed"
110 }
111
112 src_install() {
113 declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird"
114 declare emid
115
116 cd "${T}"
117 unzip "${S}"/dist/xpi-stage/${PN}.xpi install.rdf
118 emid=$(sed -n -e '/<\?em:id>\?/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p;' install.rdf | sed -e '1d') || die "failed to determine extension id"
119
120 dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
121 cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid}
122 unzip "${S}"/dist/xpi-stage/${PN}.xpi
123
124 # these files will be picked up by mozilla-launcher -register
125 dodir ${MOZILLA_FIVE_HOME}/{chrome,extensions}.d
126 insinto ${MOZILLA_FIVE_HOME}/chrome.d
127 newins "${S}"/dist/bin/chrome/installed-chrome.txt ${PN}
128 echo "extension,${emid}" > "${D}"${MOZILLA_FIVE_HOME}/extensions.d/${PN}
129 }
130
131
132
133 1.1 x11-plugins/lightning/metadata.xml
134
135 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/lightning/metadata.xml?rev=1.1&view=markup
136 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/lightning/metadata.xml?rev=1.1&content-type=text/plain
137
138 Index: metadata.xml
139 ===================================================================
140 <?xml version="1.0" encoding="UTF-8"?>
141 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
142 <pkgmetadata>
143 <herd>mozilla</herd>
144 <longdescription>
145 Gnupg encryption plugin for thunderbird.
146 </longdescription>
147 </pkgmetadata>
148
149
150
151 1.1 x11-plugins/lightning/Manifest
152
153 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/lightning/Manifest?rev=1.1&view=markup
154 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/lightning/Manifest?rev=1.1&content-type=text/plain
155
156 Index: Manifest
157 ===================================================================
158 DIST lightning-sunbird-0.7-source.tar.bz2 39951865 RMD160 f4ead53117fbbbe208dbdada01800446b800116d SHA1 aa98305783a6ea765a2ea83667ead8fd664cb379 SHA256 814628a87e803734e401a26b3beff46adeed47b0cb10f3241fe8fc6034f9baa1
159 DIST mozilla-sunbird-0.7-patches-0.2.tar.bz2 8998 RMD160 35d1ebb2cb2697b3e24ceeccc0790e2cc3345ea9 SHA1 994e1c8eeb00cbd524476c62f4dcaf791aab94e6 SHA256 96b7ee5c21737db1ce9abfc119a7ab6947c77a42ea07e84d688bca750adcef39
160 EBUILD lightning-0.7.ebuild 3431 RMD160 b6069e410b80f2a42964b8a8c7a8fd5eb5ccf376 SHA1 fdf949bb74937d53b94f310aa94d2bb57ef0e750 SHA256 2021f37ec0ffd2e02fe721ab9e325963bc960069fd3c647be030df610919145f
161 MD5 8cd6087bf3fddebcd3a7f8af0249fe45 lightning-0.7.ebuild 3431
162 RMD160 b6069e410b80f2a42964b8a8c7a8fd5eb5ccf376 lightning-0.7.ebuild 3431
163 SHA256 2021f37ec0ffd2e02fe721ab9e325963bc960069fd3c647be030df610919145f lightning-0.7.ebuild 3431
164 MISC ChangeLog 272 RMD160 9928514f026610342987df39c278204bae32cf72 SHA1 630d1149c54cea13a4402b50f8c0748ec7844320 SHA256 1fbc484af116917acd756ad97dbc7f9d8ef5e03c8665579de5e75cdddd4f608b
165 MD5 c446eee90000a36984b97d973b40e1a8 ChangeLog 272
166 RMD160 9928514f026610342987df39c278204bae32cf72 ChangeLog 272
167 SHA256 1fbc484af116917acd756ad97dbc7f9d8ef5e03c8665579de5e75cdddd4f608b ChangeLog 272
168 MISC metadata.xml 238 RMD160 20be188d400f8ae54fb1eae8bfb243c43eed2395 SHA1 fb7dacf03f1ce8294d6d2f07d4c2d7ff69ee7525 SHA256 ef51e99b6b1ccee48a71906e90a4111f58793292fe1248934a811fcb02506036
169 MD5 22a1feabf45dadbfa2268b7fff3ce66e metadata.xml 238
170 RMD160 20be188d400f8ae54fb1eae8bfb243c43eed2395 metadata.xml 238
171 SHA256 ef51e99b6b1ccee48a71906e90a4111f58793292fe1248934a811fcb02506036 metadata.xml 238
172 MD5 ad6b7ee5b0657a0f89f77b4df78e8135 files/digest-lightning-0.7 587
173 RMD160 b328d378ef9abce4f3d656e00aef19c62adac97a files/digest-lightning-0.7 587
174 SHA256 a0482ea22856c39f91765f9404c302ccb29ffb2415944b0fb10eeb68cdd1a7c2 files/digest-lightning-0.7 587
175
176
177
178 1.1 x11-plugins/lightning/ChangeLog
179
180 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/lightning/ChangeLog?rev=1.1&view=markup
181 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/lightning/ChangeLog?rev=1.1&content-type=text/plain
182
183 Index: ChangeLog
184 ===================================================================
185 # ChangeLog for x11-plugins/lightning
186 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
187 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/ChangeLog,v 1.1 2007/12/17 18:44:52 armin76 Exp $
188
189 *lightning-0.7 (17 Dec 2007)
190
191 17 Dec 2007; Raúl Porcel <armin76@g.o> +metadata.xml,
192 +lightning-0.7.ebuild:
193 Initial import, bug #151296
194
195
196
197
198 --
199 gentoo-commits@g.o mailing list