1 |
caster 09/09/29 05:36:35 |
2 |
|
3 |
Modified: vuze-4.2.0.2.ebuild vuze-4.2.0.4-r1.ebuild |
4 |
vuze-3.0.4.2-r1.ebuild ChangeLog |
5 |
vuze-4.1.0.4.ebuild |
6 |
Added: vuze-4.2.0.8.ebuild |
7 |
Removed: vuze-4.2.0.2-r1.ebuild vuze-4.2.0.4.ebuild |
8 |
Log: |
9 |
Version bump. Cleanup files, move patchsets to distfiles. |
10 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.4 net-p2p/vuze/vuze-4.2.0.2.ebuild |
14 |
|
15 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2.ebuild?rev=1.4&view=markup |
16 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2.ebuild?rev=1.4&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2.ebuild?r1=1.3&r2=1.4 |
18 |
|
19 |
Index: vuze-4.2.0.2.ebuild |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2.ebuild,v |
22 |
retrieving revision 1.3 |
23 |
retrieving revision 1.4 |
24 |
diff -u -r1.3 -r1.4 |
25 |
--- vuze-4.2.0.2.ebuild 4 Jul 2009 14:33:53 -0000 1.3 |
26 |
+++ vuze-4.2.0.2.ebuild 29 Sep 2009 05:36:34 -0000 1.4 |
27 |
@@ -1,6 +1,6 @@ |
28 |
# Copyright 1999-2009 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2.ebuild,v 1.3 2009/07/04 14:33:53 ranger Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2.ebuild,v 1.4 2009/09/29 05:36:34 caster Exp $ |
32 |
|
33 |
EAPI=2 |
34 |
|
35 |
@@ -8,9 +8,12 @@ |
36 |
|
37 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
38 |
|
39 |
+PATCHSET_VER="4.2.0.0" |
40 |
+ |
41 |
DESCRIPTION="BitTorrent client in Java, formerly called Azureus" |
42 |
HOMEPAGE="http://www.vuze.com/" |
43 |
-SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip" |
44 |
+SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip |
45 |
+ mirror://gentoo/${PN}-${PATCHSET_VER}-gentoo-patches.tar.bz2" |
46 |
LICENSE="GPL-2 BSD" |
47 |
|
48 |
SLOT="0" |
49 |
@@ -44,8 +47,8 @@ |
50 |
[[ -f build.xml ]] && die "upstream has build.xml again, don't overwrite" |
51 |
cp "${FILESDIR}/build.xml" . || die "failed to copy build.xml" |
52 |
|
53 |
- epatch "${FILESDIR}/patches-4.2.0.0/0001-remove-osx-platform.patch" |
54 |
- epatch "${FILESDIR}/patches-4.2.0.0/0002-use-jdk-cipher-only.patch" |
55 |
+ epatch "${S}/${PN}-${PATCHSET_VER}-gentoo-patches/0001-remove-osx-platform.patch" |
56 |
+ epatch "${S}/${PN}-${PATCHSET_VER}-gentoo-patches/0002-use-jdk-cipher-only.patch" |
57 |
|
58 |
### Removes OS X files and entries. |
59 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
60 |
|
61 |
|
62 |
|
63 |
1.2 net-p2p/vuze/vuze-4.2.0.4-r1.ebuild |
64 |
|
65 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.4-r1.ebuild?rev=1.2&view=markup |
66 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.4-r1.ebuild?rev=1.2&content-type=text/plain |
67 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.4-r1.ebuild?r1=1.1&r2=1.2 |
68 |
|
69 |
Index: vuze-4.2.0.4-r1.ebuild |
70 |
=================================================================== |
71 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.2.0.4-r1.ebuild,v |
72 |
retrieving revision 1.1 |
73 |
retrieving revision 1.2 |
74 |
diff -u -r1.1 -r1.2 |
75 |
--- vuze-4.2.0.4-r1.ebuild 19 Jul 2009 10:31:47 -0000 1.1 |
76 |
+++ vuze-4.2.0.4-r1.ebuild 29 Sep 2009 05:36:34 -0000 1.2 |
77 |
@@ -1,16 +1,19 @@ |
78 |
# Copyright 1999-2009 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.2.0.4-r1.ebuild,v 1.1 2009/07/19 10:31:47 caster Exp $ |
81 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.2.0.4-r1.ebuild,v 1.2 2009/09/29 05:36:34 caster Exp $ |
82 |
|
83 |
EAPI=2 |
84 |
|
85 |
JAVA_PKG_IUSE="source" |
86 |
|
87 |
+PATCHSET_VER="4.2.0.0" |
88 |
+ |
89 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
90 |
|
91 |
DESCRIPTION="BitTorrent client in Java, formerly called Azureus" |
92 |
HOMEPAGE="http://www.vuze.com/" |
93 |
-SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip" |
94 |
+SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip |
95 |
+ mirror://gentoo/${PN}-${PATCHSET_VER}-gentoo-patches.tar.bz2" |
96 |
LICENSE="GPL-2 BSD" |
97 |
|
98 |
SLOT="0" |
99 |
@@ -46,9 +49,7 @@ |
100 |
[[ -f build.xml ]] && die "upstream has build.xml again, don't overwrite" |
101 |
cp "${FILESDIR}/build.xml" . || die "failed to copy build.xml" |
102 |
|
103 |
- epatch "${FILESDIR}/patches-4.2.0.0/0001-remove-osx-platform.patch" |
104 |
- epatch "${FILESDIR}/patches-4.2.0.0/0002-use-jdk-cipher-only.patch" |
105 |
- epatch "${FILESDIR}/patches-4.2.0.0/0003-disable-core-updater.patch" |
106 |
+ EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${S}/${PN}-${PATCHSET_VER}-gentoo-patches/" |
107 |
|
108 |
### Removes OS X files and entries. |
109 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
110 |
|
111 |
|
112 |
|
113 |
1.4 net-p2p/vuze/vuze-3.0.4.2-r1.ebuild |
114 |
|
115 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-3.0.4.2-r1.ebuild?rev=1.4&view=markup |
116 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-3.0.4.2-r1.ebuild?rev=1.4&content-type=text/plain |
117 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-3.0.4.2-r1.ebuild?r1=1.3&r2=1.4 |
118 |
|
119 |
Index: vuze-3.0.4.2-r1.ebuild |
120 |
=================================================================== |
121 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-3.0.4.2-r1.ebuild,v |
122 |
retrieving revision 1.3 |
123 |
retrieving revision 1.4 |
124 |
diff -u -r1.3 -r1.4 |
125 |
--- vuze-3.0.4.2-r1.ebuild 4 Mar 2009 18:26:43 -0000 1.3 |
126 |
+++ vuze-3.0.4.2-r1.ebuild 29 Sep 2009 05:36:34 -0000 1.4 |
127 |
@@ -1,6 +1,6 @@ |
128 |
# Copyright 1999-2009 Gentoo Foundation |
129 |
# Distributed under the terms of the GNU General Public License v2 |
130 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-3.0.4.2-r1.ebuild,v 1.3 2009/03/04 18:26:43 caster Exp $ |
131 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-3.0.4.2-r1.ebuild,v 1.4 2009/09/29 05:36:34 caster Exp $ |
132 |
|
133 |
### |
134 |
### @Todo The new Azureus gui requires swt built with embedded mozilla support, |
135 |
@@ -19,9 +19,12 @@ |
136 |
|
137 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
138 |
|
139 |
+PATCHSET_VER="3.0.3.4" |
140 |
+ |
141 |
DESCRIPTION="BitTorrent client in Java, formerly called Azureus" |
142 |
HOMEPAGE="http://www.vuze.com/" |
143 |
-SRC_URI="mirror://sourceforge/azureus/Azureus_${PV}_source.zip" |
144 |
+SRC_URI="mirror://sourceforge/azureus/Azureus_${PV}_source.zip |
145 |
+ mirror://gentoo/${PN}-${PATCHSET_VER}-gentoo-patches.tar.bz2" |
146 |
LICENSE="GPL-2 BSD" |
147 |
|
148 |
SLOT="0" |
149 |
@@ -52,7 +55,7 @@ |
150 |
unpack ${A} |
151 |
|
152 |
### Patches Azureus to use bcprov, |
153 |
- EPATCH_SUFFIX="patch" epatch "${FILESDIR}/patches-3.0.3.4" |
154 |
+ EPATCH_SUFFIX="patch" epatch "${S}/${PN}-${PATCHSET_VER}-gentoo-patches/" |
155 |
|
156 |
### Remove an unit test we never run |
157 |
rm -v ./org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die |
158 |
@@ -92,7 +95,7 @@ |
159 |
|
160 |
java-pkg_dolauncher "${PN}" \ |
161 |
--main "org.gudy.azureus2.ui.common.Main" \ |
162 |
- -pre "${FILESDIR}/${PN}-2.5.0.0-pre" \ |
163 |
+ -pre "${FILESDIR}/${PN}-4.1.0.0-pre" \ |
164 |
--java_args '-Dazureus.install.path=${HOME}/.azureus/ ${JAVA_OPTIONS}' \ |
165 |
--pkg_args '--ui=${UI}' |
166 |
dosym vuze /usr/bin/azureus |
167 |
@@ -100,7 +103,7 @@ |
168 |
# https://bugs.gentoo.org/show_bug.cgi?id=204132 |
169 |
java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins |
170 |
|
171 |
- doicon "${FILESDIR}/vuze.png" |
172 |
+ newicon "${S}"/org/gudy/azureus2/ui/icons/a32.png vuze.png |
173 |
domenu "${FILESDIR}/vuze.desktop" |
174 |
|
175 |
use source && java-pkg_dosrc "${S}"/{com,edu,org} |
176 |
|
177 |
|
178 |
|
179 |
1.21 net-p2p/vuze/ChangeLog |
180 |
|
181 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/ChangeLog?rev=1.21&view=markup |
182 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/ChangeLog?rev=1.21&content-type=text/plain |
183 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/ChangeLog?r1=1.20&r2=1.21 |
184 |
|
185 |
Index: ChangeLog |
186 |
=================================================================== |
187 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/vuze/ChangeLog,v |
188 |
retrieving revision 1.20 |
189 |
retrieving revision 1.21 |
190 |
diff -u -r1.20 -r1.21 |
191 |
--- ChangeLog 19 Jul 2009 10:31:47 -0000 1.20 |
192 |
+++ ChangeLog 29 Sep 2009 05:36:34 -0000 1.21 |
193 |
@@ -1,6 +1,27 @@ |
194 |
# ChangeLog for net-p2p/vuze |
195 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
196 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/ChangeLog,v 1.20 2009/07/19 10:31:47 caster Exp $ |
197 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/ChangeLog,v 1.21 2009/09/29 05:36:34 caster Exp $ |
198 |
+ |
199 |
+*vuze-4.2.0.8 (28 Sep 2009) |
200 |
+ |
201 |
+ 28 Sep 2009; Vlastimil Babka <caster@g.o> |
202 |
+ -files/patches-3.0.3.4/01_all_remove-osx-and-win32-AzureusRestarterImpl.pa |
203 |
+ tch, |
204 |
+ -files/patches-3.0.3.4/02_all_remove-win32-TorrentListViewsUtils.patch, |
205 |
+ -files/patches-3.0.3.4/03_all_remove-win32-PlatformManagerPluginDelegate.p |
206 |
+ atch, |
207 |
+ -files/patches-3.0.3.4/04_all_remove-osx-and-win32-PlatformManagerFactory. |
208 |
+ patch, |
209 |
+ -files/patches-3.0.3.4/azureus_all_modify-for-use-with-bcprov.patch, |
210 |
+ vuze-3.0.4.2-r1.ebuild, -files/patches-4.1.0.0/remove-osx-platform.diff, |
211 |
+ -files/patches-4.1.0.0/tableimpl-remove-win32-import.diff, |
212 |
+ -files/patches-4.1.0.0/use-jdk-cipher-only.diff, vuze-4.1.0.4.ebuild, |
213 |
+ -files/patches-4.2.0.0/0001-remove-osx-platform.patch, |
214 |
+ -files/patches-4.2.0.0/0002-use-jdk-cipher-only.patch, |
215 |
+ -files/patches-4.2.0.0/0003-disable-core-updater.patch, |
216 |
+ vuze-4.2.0.2.ebuild, -vuze-4.2.0.2-r1.ebuild, -vuze-4.2.0.4.ebuild, |
217 |
+ vuze-4.2.0.4-r1.ebuild, +vuze-4.2.0.8.ebuild, -files/vuze.png: |
218 |
+ Version bump. Cleanup files, move patchsets to distfiles. |
219 |
|
220 |
*vuze-4.2.0.4-r1 (19 Jul 2009) |
221 |
|
222 |
|
223 |
|
224 |
|
225 |
1.6 net-p2p/vuze/vuze-4.1.0.4.ebuild |
226 |
|
227 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.1.0.4.ebuild?rev=1.6&view=markup |
228 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.1.0.4.ebuild?rev=1.6&content-type=text/plain |
229 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.1.0.4.ebuild?r1=1.5&r2=1.6 |
230 |
|
231 |
Index: vuze-4.1.0.4.ebuild |
232 |
=================================================================== |
233 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.1.0.4.ebuild,v |
234 |
retrieving revision 1.5 |
235 |
retrieving revision 1.6 |
236 |
diff -u -r1.5 -r1.6 |
237 |
--- vuze-4.1.0.4.ebuild 27 Apr 2009 00:10:01 -0000 1.5 |
238 |
+++ vuze-4.1.0.4.ebuild 29 Sep 2009 05:36:34 -0000 1.6 |
239 |
@@ -1,6 +1,6 @@ |
240 |
# Copyright 1999-2009 Gentoo Foundation |
241 |
# Distributed under the terms of the GNU General Public License v2 |
242 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.1.0.4.ebuild,v 1.5 2009/04/27 00:10:01 ranger Exp $ |
243 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.1.0.4.ebuild,v 1.6 2009/09/29 05:36:34 caster Exp $ |
244 |
|
245 |
EAPI=2 |
246 |
|
247 |
@@ -8,9 +8,12 @@ |
248 |
|
249 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
250 |
|
251 |
+PATCHSET_VER="4.1.0.0" |
252 |
+ |
253 |
DESCRIPTION="BitTorrent client in Java, formerly called Azureus" |
254 |
HOMEPAGE="http://www.vuze.com/" |
255 |
-SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip" |
256 |
+SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip |
257 |
+ mirror://gentoo/${PN}-${PATCHSET_VER}-gentoo-patches.tar.bz2" |
258 |
LICENSE="GPL-2 BSD" |
259 |
|
260 |
SLOT="0" |
261 |
@@ -44,9 +47,7 @@ |
262 |
[[ -f build.xml ]] && die "upstream has build.xml again, don't overwrite" |
263 |
cp "${FILESDIR}/build.xml" . || die "failed to copy build.xml" |
264 |
|
265 |
- epatch "${FILESDIR}/patches-4.1.0.0/use-jdk-cipher-only.diff" |
266 |
- epatch "${FILESDIR}/patches-4.1.0.0/remove-osx-platform.diff" |
267 |
- epatch "${FILESDIR}/patches-4.1.0.0/tableimpl-remove-win32-import.diff" |
268 |
+ EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${S}/${PN}-${PATCHSET_VER}-gentoo-patches/" |
269 |
|
270 |
### Removes OS X files and entries. |
271 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
272 |
|
273 |
|
274 |
|
275 |
1.1 net-p2p/vuze/vuze-4.2.0.8.ebuild |
276 |
|
277 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.8.ebuild?rev=1.1&view=markup |
278 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.8.ebuild?rev=1.1&content-type=text/plain |
279 |
|
280 |
Index: vuze-4.2.0.8.ebuild |
281 |
=================================================================== |
282 |
# Copyright 1999-2009 Gentoo Foundation |
283 |
# Distributed under the terms of the GNU General Public License v2 |
284 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.2.0.8.ebuild,v 1.1 2009/09/29 05:36:34 caster Exp $ |
285 |
|
286 |
EAPI=2 |
287 |
|
288 |
JAVA_PKG_IUSE="source" |
289 |
|
290 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
291 |
|
292 |
PATCHSET_VER="4.2.0.8" |
293 |
|
294 |
DESCRIPTION="BitTorrent client in Java, formerly called Azureus" |
295 |
HOMEPAGE="http://www.vuze.com/" |
296 |
SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip |
297 |
mirror://gentoo/${PN}-${PATCHSET_VER}-gentoo-patches.tar.bz2" |
298 |
LICENSE="GPL-2 BSD" |
299 |
|
300 |
SLOT="0" |
301 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
302 |
IUSE="" |
303 |
|
304 |
# bundles parts of commons-lang, but modified |
305 |
# bundles parts of http://www.programmers-friend.org/ |
306 |
RDEPEND=" |
307 |
dev-java/json-simple:0 |
308 |
>=dev-java/bcprov-1.35:0 |
309 |
>=dev-java/commons-cli-1.0:1 |
310 |
>=dev-java/log4j-1.2.8:0 |
311 |
dev-java/swt:3.5[cairo,xulrunner] |
312 |
!net-p2p/azureus-bin |
313 |
>=virtual/jre-1.5" |
314 |
|
315 |
DEPEND="${RDEPEND} |
316 |
app-arch/unzip |
317 |
dev-util/desktop-file-utils |
318 |
>=virtual/jdk-1.5" |
319 |
|
320 |
PDEPEND="~net-p2p/vuze-coreplugins-${PV}" |
321 |
|
322 |
src_unpack() { |
323 |
mkdir "${S}" && cd "${S}" || die |
324 |
default |
325 |
} |
326 |
|
327 |
java_prepare() { |
328 |
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${S}/${PN}-${PATCHSET_VER}-gentoo-patches/" |
329 |
|
330 |
### Removes OS X files and entries. |
331 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
332 |
"org/gudy/azureus2/ui/swt/osx" || die |
333 |
|
334 |
### Removes Windows files. |
335 |
rm -v ./org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java || die |
336 |
|
337 |
### Removes test files. |
338 |
rm -rv "org/gudy/azureus2/ui/swt/test" \ |
339 |
org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die |
340 |
|
341 |
### Removes bouncycastle (we use our own bcprov). |
342 |
rm -rv "org/bouncycastle" || die |
343 |
|
344 |
### Removes bundled json |
345 |
rm -rv "org/json" || die |
346 |
|
347 |
mkdir -p build/libs || die |
348 |
} |
349 |
|
350 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
351 |
EANT_GENTOO_CLASSPATH="swt-3.5,bcprov,json-simple,log4j,commons-cli-1" |
352 |
|
353 |
src_compile() { |
354 |
local mem |
355 |
use amd64 && mem="256" |
356 |
use x86 && mem="192" |
357 |
use ppc && mem="192" |
358 |
use ppc64 && mem="256" |
359 |
export ANT_OPTS="-Xmx${mem}m" |
360 |
java-pkg-2_src_compile |
361 |
} |
362 |
|
363 |
src_install() { |
364 |
java-pkg_dojar dist/*.jar || die "dojar failed" |
365 |
dodoc ChangeLog.txt || die |
366 |
|
367 |
java-pkg_dolauncher "${PN}" \ |
368 |
--main org.gudy.azureus2.ui.common.Main -pre "${FILESDIR}/${PN}-4.1.0.0-pre" \ |
369 |
--java_args '-Dazureus.install.path=/usr/share/vuze/ ${JAVA_OPTIONS}' \ |
370 |
--pkg_args '--ui=${UI}' |
371 |
dosym vuze /usr/bin/azureus |
372 |
|
373 |
# https://bugs.gentoo.org/show_bug.cgi?id=204132 |
374 |
java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins |
375 |
|
376 |
newicon "${S}"/org/gudy/azureus2/ui/icons/a32.png vuze.png |
377 |
domenu "${FILESDIR}/${PN}.desktop" |
378 |
|
379 |
use source && java-pkg_dosrc "${S}"/{com,edu,org} |
380 |
} |
381 |
|
382 |
pkg_postinst() { |
383 |
### |
384 |
### @Todo We should probably deactivate auto-update it by default, |
385 |
### or even remove the option - bug #218959 |
386 |
### |
387 |
ewarn "Running Vuze as root is not supported and may result in untracked" |
388 |
ewarn "updates to shared components and then collisions on updates via portage" |
389 |
|
390 |
elog "Vuze has been formerly called Azureus and many references to the old name remain." |
391 |
elog |
392 |
elog "Since version 4.1.0.0, plugins that are normally bundled by upstream" |
393 |
elog "(and auto-installed in each user's ~/.azureus if not bundled)" |
394 |
elog "are now installed into shared plugin directory by the vuze-coreplugins ebuild." |
395 |
elog |
396 |
elog "Vuze may warn that shared plugin dir is not writable, that's fine." |
397 |
elog "It may also attempt to update some these plugins and fail to write." |
398 |
elog "In that case look for or fill a bump bug in bugs.gentoo.org" |
399 |
elog |
400 |
elog "We plan to disable updater for shared components and plugins." |
401 |
elog "See progress in bug #218959, patches welcome." |
402 |
elog |
403 |
elog "After running Vuze for the first time, configuration" |
404 |
elog "options will be placed in '~/.azureus/gentoo.config'." |
405 |
elog "If you need to change some startup options, you should" |
406 |
elog "modify this file, rather than the startup script." |
407 |
elog "Using this config file you can start the console UI." |
408 |
elog |
409 |
elog "To switch from classic UI to Vuze use" |
410 |
elog "1: Tools > Options > Interface > Start > Display Vuze UI Chooser" |
411 |
elog "2: Toolbar (right-hand side)" |
412 |
elog |
413 |
elog "If you have problems starting Vuze, try starting it" |
414 |
elog "from the command line to look at debugging output." |
415 |
|
416 |
fdo-mime_desktop_database_update |
417 |
} |
418 |
|
419 |
pkg_postrm() { |
420 |
fdo-mime_desktop_database_update |
421 |
} |