1 |
caster 08/11/02 20:19:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: azureus-4.0.0.2.ebuild azureus-3.1.1.0-r1.ebuild |
5 |
Removed: azureus-3.0.5.0-r1.ebuild azureus-2.5.0.4-r1.ebuild |
6 |
Log: |
7 |
Version bump to 4.0.0.2, bug #242520. Uses EAPI=2 use deps for swt. Now uses shared plugin directory for upstream-bundled core plugins which fixes bug #219177 and #140372. Fixed also console UI and revbumped 3.1.1.0-r1 to include the fix as well for possibly sooner stable candidate - bug #219103. Cleanup old and unperspective versions. |
8 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo-r1-perfctr x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.70 net-p2p/azureus/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?rev=1.70&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?rev=1.70&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?r1=1.69&r2=1.70 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v |
20 |
retrieving revision 1.69 |
21 |
retrieving revision 1.70 |
22 |
diff -u -r1.69 -r1.70 |
23 |
--- ChangeLog 25 Oct 2008 21:21:46 -0000 1.69 |
24 |
+++ ChangeLog 2 Nov 2008 20:19:08 -0000 1.70 |
25 |
@@ -1,6 +1,32 @@ |
26 |
# ChangeLog for net-p2p/azureus |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.69 2008/10/25 21:21:46 pvdabeel Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.70 2008/11/02 20:19:08 caster Exp $ |
30 |
+ |
31 |
+*azureus-4.0.0.2 (02 Nov 2008) |
32 |
+*azureus-3.1.1.0-r1 (02 Nov 2008) |
33 |
+ |
34 |
+ 02 Nov 2008; Vlastimil Babka <caster@g.o> |
35 |
+ -files/azureus-bcprov-1.35.patch, |
36 |
+ -files/fedora-2.5.0.0/azureus-cache-size.patch, |
37 |
+ -files/fedora-2.5.0.0/azureus-no-restart.patch, |
38 |
+ -files/fedora-2.5.0.0/azureus-remove-manifest-classpath.patch, |
39 |
+ -files/fedora-2.5.0.0/azureus-remove-win32-PlatformManagerUpdateChecker.pa |
40 |
+ tch, -files/fedora-2.5.0.0/azureus-remove-win32-osx-platforms.patch, |
41 |
+ -files/fedora-2.5.0.4/azureus-cache-size.patch, |
42 |
+ -files/fedora-2.5.0.4/azureus-no-restart.patch, |
43 |
+ -files/fedora-2.5.0.4/azureus-remove-manifest-classpath.patch, |
44 |
+ -files/fedora-2.5.0.4/azureus-remove-win32-PlatformManagerUpdateChecker.pa |
45 |
+ tch, -files/fedora-2.5.0.4/azureus-remove-win32-osx-platforms.patch, |
46 |
+ +files/azureus-3.1.1.0-pre, +files/azureus-4.0.0.2-pre, |
47 |
+ +files/patches-4.0.0.2/remove-osx-platform.diff, |
48 |
+ +files/patches-4.0.0.2/use-jdk-cipher-only.diff, -files/build.xml, |
49 |
+ -azureus-2.5.0.4-r1.ebuild, -azureus-3.0.5.0-r1.ebuild, |
50 |
+ +azureus-3.1.1.0-r1.ebuild, +azureus-4.0.0.2.ebuild: |
51 |
+ Version bump to 4.0.0.2, bug #242520. Uses EAPI=2 use deps for swt. Now |
52 |
+ uses shared plugin directory for upstream-bundled core plugins which fixes |
53 |
+ bug #219177 and #140372. Fixed also console UI and revbumped 3.1.1.0-r1 to |
54 |
+ include the fix as well for possibly sooner stable candidate - bug |
55 |
+ #219103. Cleanup old and unperspective versions. |
56 |
|
57 |
*azureus-3.1.1.0 (16 Aug 2008) |
58 |
|
59 |
|
60 |
|
61 |
|
62 |
1.1 net-p2p/azureus/azureus-4.0.0.2.ebuild |
63 |
|
64 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/azureus-4.0.0.2.ebuild?rev=1.1&view=markup |
65 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/azureus-4.0.0.2.ebuild?rev=1.1&content-type=text/plain |
66 |
|
67 |
Index: azureus-4.0.0.2.ebuild |
68 |
=================================================================== |
69 |
# Copyright 1999-2008 Gentoo Foundation |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/azureus-4.0.0.2.ebuild,v 1.1 2008/11/02 20:19:08 caster Exp $ |
72 |
|
73 |
EAPI=2 |
74 |
|
75 |
JAVA_PKG_IUSE="source" |
76 |
|
77 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
78 |
|
79 |
MAIN_DIST=Vuze_${PV}_source.zip |
80 |
PLUGINS_N=azplugins |
81 |
RATING_N=azrating |
82 |
UPDATER_N=azupdater |
83 |
UPNPAV_N=azupnpav |
84 |
PLUGINS_V=2.1.6 |
85 |
RATING_V=1.3.1 |
86 |
UPDATER_V=1.8.8 |
87 |
UPNPAV_V=0.2.2 |
88 |
PLUGINS_DIST=${PLUGINS_N}_${PLUGINS_V}.jar |
89 |
RATING_DIST=${RATING_N}_${RATING_V}.jar |
90 |
UPDATER_DIST=${UPDATER_N}_${UPDATER_V}.zip |
91 |
UPNPAV_DIST=${UPNPAV_N}_${UPNPAV_V}.zip |
92 |
|
93 |
|
94 |
ALLPLUGINS_URL="http://azureus.sourceforge.net/plugins" |
95 |
|
96 |
DESCRIPTION="BitTorrent client in Java, now called Vuze" |
97 |
HOMEPAGE="http://www.vuze.com/" |
98 |
SRC_URI="mirror://sourceforge/azureus/${MAIN_DIST} |
99 |
${ALLPLUGINS_URL}/${PLUGINS_DIST} |
100 |
${ALLPLUGINS_URL}/${RATING_DIST} |
101 |
${ALLPLUGINS_URL}/${UPDATER_DIST} |
102 |
${ALLPLUGINS_URL}/${UPNPAV_DIST}" |
103 |
LICENSE="GPL-2 BSD" |
104 |
|
105 |
SLOT="0" |
106 |
KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" |
107 |
IUSE="" |
108 |
|
109 |
# bundles parts of commons-lang, but modified |
110 |
# bundles parts of http://www.programmers-friend.org/ |
111 |
RDEPEND=" |
112 |
dev-java/json-simple:0 |
113 |
>=dev-java/bcprov-1.35:0 |
114 |
>=dev-java/commons-cli-1.0:1 |
115 |
>=dev-java/log4j-1.2.8:0 |
116 |
>=dev-java/swt-3.4:3.4[cairo,xulrunner] |
117 |
!net-p2p/azureus-bin |
118 |
>=virtual/jre-1.5" |
119 |
|
120 |
DEPEND="${RDEPEND} |
121 |
app-arch/unzip |
122 |
dev-util/desktop-file-utils |
123 |
>=virtual/jdk-1.5" |
124 |
|
125 |
JAVA_PKG_FILTER_COMPILER="jikes" |
126 |
|
127 |
src_unpack() { |
128 |
mkdir "${S}" && cd "${S}" || die |
129 |
unpack ${MAIN_DIST} |
130 |
|
131 |
cd "${WORKDIR}" |
132 |
mkdir -p plugins/{${PLUGINS_N},${RATING_N},${UPDATER_N},${UPNPAV_N}} || die |
133 |
cp "${DISTDIR}/${PLUGINS_DIST}" plugins/${PLUGINS_N} || die |
134 |
cp "${DISTDIR}/${RATING_DIST}" plugins/${RATING_N} || die |
135 |
cd "${WORKDIR}/plugins/${UPDATER_N}" && unpack ${UPDATER_DIST} || die |
136 |
cd "${WORKDIR}/plugins/${UPNPAV_N}" && unpack ${UPNPAV_DIST} || die |
137 |
|
138 |
cd "${S}" |
139 |
epatch "${FILESDIR}/patches-${PV}/use-jdk-cipher-only.diff" |
140 |
epatch "${FILESDIR}/patches-${PV}/remove-osx-platform.diff" |
141 |
|
142 |
### Removes OS X files and entries. |
143 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
144 |
"org/gudy/azureus2/ui/swt/osx" || die |
145 |
|
146 |
### Removes Windows files. |
147 |
rm -v ./org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java || die |
148 |
|
149 |
### Removes test files. |
150 |
rm -rv "org/gudy/azureus2/ui/swt/test" \ |
151 |
org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die |
152 |
|
153 |
### Removes bouncycastle (we use our own bcprov). |
154 |
rm -rv "org/bouncycastle" || die |
155 |
|
156 |
### Removes bundled json |
157 |
rm -rv "org/json" || die |
158 |
|
159 |
mkdir -p build/libs || die |
160 |
} |
161 |
|
162 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
163 |
EANT_GENTOO_CLASSPATH="swt-3.4,bcprov,json-simple,log4j,commons-cli-1" |
164 |
|
165 |
src_compile() { |
166 |
local mem |
167 |
use amd64 && mem="256" |
168 |
use x86 && mem="128" |
169 |
use ppc && mem="192" |
170 |
use ppc64 && mem="256" |
171 |
export ANT_OPTS="-Xmx${mem}m" |
172 |
java-pkg-2_src_compile |
173 |
} |
174 |
|
175 |
src_install() { |
176 |
java-pkg_dojar dist/*.jar || die "dojar failed" |
177 |
dodoc ChangeLog.txt || die |
178 |
|
179 |
java-pkg_dolauncher "${PN}" \ |
180 |
--main org.gudy.azureus2.ui.common.Main -pre "${FILESDIR}/${PN}-4.0.0.2-pre" \ |
181 |
--java_args '-Dazureus.install.path=/usr/share/azureus/ ${JAVA_OPTIONS}' \ |
182 |
--pkg_args '--ui=${UI}' |
183 |
|
184 |
insinto /usr/share/${PN}/ |
185 |
doins -r "${WORKDIR}/plugins" |
186 |
|
187 |
# https://bugs.gentoo.org/show_bug.cgi?id=204132 |
188 |
java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins |
189 |
|
190 |
doicon "${FILESDIR}/${PN}.png" |
191 |
domenu "${FILESDIR}/${PN}.desktop" |
192 |
|
193 |
use source && java-pkg_dosrc "${S}"/{com,edu,org} |
194 |
} |
195 |
|
196 |
pkg_postinst() { |
197 |
### |
198 |
### @Todo We should probably deactivate auto-update it by default, |
199 |
### or even remove the option - bug #218959 |
200 |
### |
201 |
ewarn "Running Azureus as root is not supported and may result in untracked" |
202 |
ewarn "updates to shared components and then collisions on updates via portage" |
203 |
|
204 |
elog "Since version 4.0.0.2, plugins that are normally bundled by upstream" |
205 |
elog "(and auto-installed in each user's ~/.azureus if not bundled)" |
206 |
elog "are now installed into shared plugin directory by the ebuild." |
207 |
elog "Users are recommended to delete the following plugin copies:" |
208 |
elog "~/.azureus/plugins/{${PLUGINS_N},${RATING_N},${UPDATER_N},${UPNPAV_N}}" |
209 |
elog |
210 |
elog "Azureus may warn that shared plugin dir is not writable, that's fine." |
211 |
elog "It may also attempt to update some these plugins and fail to write." |
212 |
elog "In that case look for or fill a bump bug in bugs.gentoo.org" |
213 |
elog |
214 |
elog "We plan to disable updater for shared components and plugins." |
215 |
elog "See progress in bug #218959, patches welcome." |
216 |
elog |
217 |
elog "After running azureus for the first time, configuration" |
218 |
elog "options will be placed in '~/.azureus/gentoo.config'." |
219 |
elog "If you need to change some startup options, you should" |
220 |
elog "modify this file, rather than the startup script." |
221 |
elog "Using this config file you can start the console UI." |
222 |
elog |
223 |
elog "To switch from classic UI to Vuze use" |
224 |
elog "1: Tools > Options > Interface > Start > Display Vuze UI Chooser" |
225 |
elog "2: Toolbar (right-hand side)" |
226 |
elog |
227 |
elog "If you have problems starting Azureus, try starting it" |
228 |
elog "from the command line to look at debugging output." |
229 |
|
230 |
fdo-mime_desktop_database_update |
231 |
} |
232 |
|
233 |
pkg_postrm() { |
234 |
fdo-mime_desktop_database_update |
235 |
} |
236 |
|
237 |
|
238 |
|
239 |
1.1 net-p2p/azureus/azureus-3.1.1.0-r1.ebuild |
240 |
|
241 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/azureus-3.1.1.0-r1.ebuild?rev=1.1&view=markup |
242 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/azureus-3.1.1.0-r1.ebuild?rev=1.1&content-type=text/plain |
243 |
|
244 |
Index: azureus-3.1.1.0-r1.ebuild |
245 |
=================================================================== |
246 |
# Copyright 1999-2008 Gentoo Foundation |
247 |
# Distributed under the terms of the GNU General Public License v2 |
248 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/azureus-3.1.1.0-r1.ebuild,v 1.1 2008/11/02 20:19:08 caster Exp $ |
249 |
|
250 |
### |
251 |
### @Todo The new Azureus gui requires swt built with embedded mozilla support, |
252 |
### or azureus will hang at startup. However, you can still start |
253 |
### the old GUI which doesn't require it, by using file/restart (which |
254 |
### is kind of bug, and maybe I should put that patch, that removes |
255 |
### restart from menu, back). It probably could be invoked also by using |
256 |
### a different Main class (look for them there are plenty :) so we could |
257 |
### have some old-gui flag which would run that one and remove |
258 |
### the mozilla dep. Best would be some per-user setting and startup |
259 |
### script check for swt mozilla support and die... |
260 |
### |
261 |
|
262 |
EAPI=1 |
263 |
|
264 |
JAVA_PKG_IUSE="source" |
265 |
|
266 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
267 |
|
268 |
DESCRIPTION="BitTorrent client in Java, also known as Vuze" |
269 |
HOMEPAGE="http://azureus.sourceforge.net/" |
270 |
SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip" |
271 |
LICENSE="GPL-2 BSD" |
272 |
|
273 |
SLOT="0" |
274 |
KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" |
275 |
IUSE="" |
276 |
|
277 |
RDEPEND=" |
278 |
dev-java/json-simple:0 |
279 |
>=dev-java/bcprov-1.35:0 |
280 |
>=dev-java/commons-cli-1.0:1 |
281 |
>=dev-java/log4j-1.2.8:0 |
282 |
>=dev-java/swt-3.4:3.4 |
283 |
!net-p2p/azureus-bin |
284 |
>=virtual/jre-1.5" |
285 |
|
286 |
DEPEND="${RDEPEND} |
287 |
app-arch/unzip |
288 |
dev-util/desktop-file-utils |
289 |
>=virtual/jdk-1.5" |
290 |
|
291 |
JAVA_PKG_FILTER_COMPILER="jikes" |
292 |
|
293 |
S="${WORKDIR}" |
294 |
|
295 |
pkg_setup() { |
296 |
# the order matters here because built_with_use doesn't like -o and --missing false combo |
297 |
if ! built_with_use --missing false -o dev-java/swt:3.4 xulrunner mozilla firefox seamonkey; then |
298 |
eerror "dev-java/swt:3.4 must be compiled with the firefox, mozilla, seamonkey or xulrunner USE flag" |
299 |
eerror "(support may vary per swt version) or azureus would hang at startup!" |
300 |
die "please recompile dev-java/swt:3.4 with embedded browser" |
301 |
fi |
302 |
# without cairo, some button captions seems missing |
303 |
if ! built_with_use dev-java/swt:3.4 cairo; then |
304 |
eerror "dev-java/swt:3.4 must be compiled with cairo USE flag" |
305 |
die "please recompile dev-java/swt:3.4 with cairo USE flag" |
306 |
fi |
307 |
java-pkg-2_pkg_setup |
308 |
} |
309 |
|
310 |
src_unpack() { |
311 |
unpack ${A} |
312 |
|
313 |
epatch "${FILESDIR}/patches-3.1.1.0/use-jdk-cipher-only.diff" |
314 |
epatch "${FILESDIR}/patches-3.1.1.0/remove-osx-platform.diff" |
315 |
|
316 |
### Removes OS X files and entries. |
317 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
318 |
"org/gudy/azureus2/ui/swt/osx" || die |
319 |
|
320 |
### Removes Windows files. |
321 |
rm -v ./org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java || die |
322 |
|
323 |
### Removes test files. |
324 |
rm -rv "org/gudy/azureus2/ui/swt/test" \ |
325 |
org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die |
326 |
|
327 |
### Removes bouncycastle (we use our own bcprov). |
328 |
rm -rv "org/bouncycastle" || die |
329 |
|
330 |
### Removes bundled json |
331 |
rm -rv "org/json" || die |
332 |
|
333 |
mkdir -p build/libs || die |
334 |
} |
335 |
|
336 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
337 |
EANT_GENTOO_CLASSPATH="swt-3.4,bcprov,json-simple,log4j,commons-cli-1" |
338 |
|
339 |
src_compile() { |
340 |
local mem |
341 |
use amd64 && mem="256" |
342 |
use x86 && mem="128" |
343 |
use ppc && mem="192" |
344 |
use ppc64 && mem="256" |
345 |
export ANT_OPTS="-Xmx${mem}m" |
346 |
java-pkg-2_src_compile |
347 |
} |
348 |
|
349 |
src_install() { |
350 |
java-pkg_dojar dist/*.jar || die "dojar failed" |
351 |
dodoc ChangeLog.txt || die |
352 |
|
353 |
java-pkg_dolauncher "${PN}" \ |
354 |
--main 'org.gudy.azureus2.ui.common.Main' -pre "${FILESDIR}/${PN}-3.1.1.0-pre" \ |
355 |
--java_args '-Dazureus.install.path=${HOME}/.azureus/ ${JAVA_OPTIONS}' \ |
356 |
--pkg_args '--ui=${UI}' |
357 |
|
358 |
|
359 |
# https://bugs.gentoo.org/show_bug.cgi?id=204132 |
360 |
java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins |
361 |
|
362 |
doicon "${FILESDIR}/azureus.png" |
363 |
domenu "${FILESDIR}/azureus.desktop" |
364 |
|
365 |
use source && java-pkg_dosrc "${S}"/{com,edu,org} |
366 |
} |
367 |
|
368 |
pkg_postinst() { |
369 |
### |
370 |
### @Todo We should probably deactivate auto-update it by default, |
371 |
### or even remove the option. |
372 |
### |
373 |
elog "It is not recommended to use the Azureus auto-update feature," |
374 |
elog "and it might not even work. You should disable auto-update via" |
375 |
elog "Tools > Options > Interface > Start" |
376 |
elog |
377 |
elog "After running azureus for the first time, configuration" |
378 |
elog "options will be placed in '~/.azureus/gentoo.config'." |
379 |
elog "If you need to change some startup options, you should" |
380 |
elog "modify this file, rather than the startup script." |
381 |
elog |
382 |
elog "Using this config file you can start the console UI." |
383 |
echo |
384 |
elog "To switch from classic UI to Vuze use" |
385 |
elog "1: Tools > Options > Interface > Start > Display Azureus UI Chooser" |
386 |
elog "2: Toolbar (right-hand side)" |
387 |
echo |
388 |
elog "If you have problems starting Azureus, try starting it" |
389 |
elog "from the command line to look at debugging output." |
390 |
echo |
391 |
ewarn "Running Azureus as root is not supported." |
392 |
|
393 |
fdo-mime_desktop_database_update |
394 |
} |
395 |
|
396 |
pkg_postrm() { |
397 |
fdo-mime_desktop_database_update |
398 |
} |