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