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