Gentoo Archives: gentoo-commits

From: "Mounir Lamouri (volkmar)" <volkmar@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/mozilla-weave: ChangeLog mozilla-weave-0.6_pre2.ebuild
Date: Mon, 24 Aug 2009 17:32:54
Message-Id: E1MfdPY-0002r9-Np@stork.gentoo.org
1 volkmar 09/08/24 17:32:52
2
3 Modified: ChangeLog
4 Added: mozilla-weave-0.6_pre2.ebuild
5 Log:
6 Version bump to 0.6_pre2.
7 Fixing bug 280606.
8 (Portage version: 14103-svn/cvs/Linux ppc)
9
10 Revision Changes Path
11 1.12 www-plugins/mozilla-weave/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mozilla-weave/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mozilla-weave/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mozilla-weave/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-plugins/mozilla-weave/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 23 Aug 2009 22:25:42 -0000 1.11
24 +++ ChangeLog 24 Aug 2009 17:32:52 -0000 1.12
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-plugins/mozilla-weave
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/mozilla-weave/ChangeLog,v 1.11 2009/08/23 22:25:42 volkmar Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/mozilla-weave/ChangeLog,v 1.12 2009/08/24 17:32:52 volkmar Exp $
30 +
31 +*mozilla-weave-0.6_pre2 (24 Aug 2009)
32 +
33 + 24 Aug 2009; Mounir Lamouri <volkmar@g.o>
34 + +mozilla-weave-0.6_pre2.ebuild:
35 + Version bump to 0.6_pre2. Fix bug 280606
36
37 *mozilla-weave-0.5.1 (23 Aug 2009)
38
39
40
41
42 1.1 www-plugins/mozilla-weave/mozilla-weave-0.6_pre2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mozilla-weave/mozilla-weave-0.6_pre2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-plugins/mozilla-weave/mozilla-weave-0.6_pre2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mozilla-weave-0.6_pre2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-plugins/mozilla-weave/mozilla-weave-0.6_pre2.ebuild,v 1.1 2009/08/24 17:32:52 volkmar Exp $
52
53 EAPI="2"
54
55 inherit mozextension multilib
56
57 MY_PN="weave"
58 MY_PV=${PV/_/}
59 MY_P="${MY_PN}-${MY_PV}"
60
61 DESCRIPTION="Mozilla Labs prototype for online services into Firefox"
62 HOMEPAGE="http://labs.mozilla.com/projects/weave/"
63 SRC_URI="http://hg.mozilla.org/labs/${MY_PN}/archive/${MY_PV}.tar.gz
64 -> ${P}.tar.gz"
65
66 LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
67 SLOT="0"
68 KEYWORDS="~amd64 ~ppc ~x86"
69 IUSE=""
70
71 RDEPEND="|| (
72 >=www-client/mozilla-firefox-3.5
73 >=www-client/mozilla-firefox-bin-3.5
74 >=www-client/seamonkey-2.0_alpha3
75 >=www-client/seamonkey-bin-2.0_alpha3
76 >=mail-client/mozilla-thunderbird-3.0_beta2
77 >=mail-client/mozilla-thunderbird-bin-3.0_beta2
78 )
79 >=net-libs/xulrunner-1.9.1
80 >=dev-libs/nss-3.12
81 >=dev-libs/nspr-4.7.1"
82 DEPEND="${RDEPEND}"
83
84 S=${WORKDIR}/${MY_P}
85
86 # XXX: fennec is also listed in install.rdf but not in-tree
87
88 src_prepare() {
89 # remove compiled files
90 rm -rf crypto/platform/* || die "rm -rf never dies"
91
92 # upstream bug 504022
93 epatch "${FILESDIR}"/${PN}-0.5.1-pkgconfig.patch
94 }
95
96 src_compile() {
97 export WEAVE_BUILDID=${PV}
98
99 emake rebuild_crypto=1 release_build=1 xpi || die "emake failed"
100 }
101
102 src_install() {
103 local MOZILLA_FIVE_HOME xpiname
104
105 mozillas=""
106 xpiname="${MY_P}-rel"
107 xpi_unpack "${S}/dist/xpi/${xpiname}.xpi"
108
109 # FIXME: Hard-coded MOZILLA_FIVE_HOME dirs
110 if has_version '>=www-client/mozilla-firefox-3.5'; then
111 MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
112 xpi_install "${WORKDIR}/${xpiname}"
113 mozillas="$(best_version www-client/mozilla-firefox) ${mozillas}"
114 fi
115 if has_version '>=www-client/mozilla-firefox-bin-3.5'; then
116 MOZILLA_FIVE_HOME="/opt/firefox"
117 xpi_install "${WORKDIR}/${xpiname}"
118 mozillas="$(best_version www-client/mozilla-firefox-bin) ${mozillas}"
119 fi
120 if has_version '>=www-client/seamonkey-2.0_alpha3'; then
121 MOZILLA_FIVE_HOME="/usr/$(get_libdir)/seamonkey"
122 xpi_install "${WORKDIR}/${xpiname}"
123 mozillas="$(best_version www-client/seamonkey) ${mozillas}"
124 fi
125 if has_version '>=www-client/seamonkey-bin-2.0_alpha3'; then
126 MOZILLA_FIVE_HOME="/opt/seamonkey"
127 xpi_install "${WORKDIR}/${xpiname}"
128 mozillas="$(best_version www-client/seamonkey-bin) ${mozillas}"
129 fi
130 if has_version '>=mail-client/mozilla-thunderbird-3.0_beta2'; then
131 MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird"
132 xpi_install "${WORKDIR}/${xpiname}"
133 mozillas="$(best_version mail-client/mozilla-thunderbird) ${mozillas}"
134 fi
135 if has_version '>=mail-client/mozilla-thunderbird-bin-3.0_beta2'; then
136 MOZILLA_FIVE_HOME="/opt/thunderbird"
137 xpi_install "${WORKDIR}/${xpiname}"
138 mozillas="$(best_version mail-client/mozilla-thunderbird-bin) ${mozillas}"
139 fi
140 }
141
142 pkg_postinst() {
143 elog "To use Weave, you have to get an account at https://services.mozilla.com/"
144 elog "Otherwise, you can setup your own server, see:"
145 elog "https://wiki.mozilla.org/Labs/Weave/0.3/Setup/Server"
146 elog
147 elog "Weave has been installed for the following packages:"
148 for i in ${mozillas}; do
149 elog " $i"
150 done
151 elog
152 elog "After installing other mozilla ebuilds, if you want to use weave with them,"
153 elog "reinstall www-plugins/mozilla-weave"
154 }