1 |
betelgeuse 08/04/20 14:39:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: azureus-3.0.5.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.5_rc3) |
8 |
|
9 |
Revision Changes Path |
10 |
1.66 net-p2p/azureus/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?rev=1.66&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?rev=1.66&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?r1=1.65&r2=1.66 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v |
19 |
retrieving revision 1.65 |
20 |
retrieving revision 1.66 |
21 |
diff -u -r1.65 -r1.66 |
22 |
--- ChangeLog 3 Apr 2008 19:43:57 -0000 1.65 |
23 |
+++ ChangeLog 20 Apr 2008 14:39:07 -0000 1.66 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for net-p2p/azureus |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.65 2008/04/03 19:43:57 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.66 2008/04/20 14:39:07 betelgeuse Exp $ |
29 |
+ |
30 |
+*azureus-3.0.5.2 (20 Apr 2008) |
31 |
+ |
32 |
+ 20 Apr 2008; Petteri Räty <betelgeuse@g.o> |
33 |
+ +files/azureus-3.0.5.2-pre, |
34 |
+ +files/patches-3.0.5.2/remove-osx-platform.patch, |
35 |
+ +files/patches-3.0.5.2/use-jdk-cipher-only.patch, +azureus-3.0.5.2.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
*azureus-3.0.5.0-r1 (03 Apr 2008) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-p2p/azureus/azureus-3.0.5.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/azureus-3.0.5.2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/azureus-3.0.5.2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: azureus-3.0.5.2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/azureus-3.0.5.2.ebuild,v 1.1 2008/04/20 14:39:07 betelgeuse Exp $ |
53 |
|
54 |
### |
55 |
### @Todo The new Azureus gui requires swt built with embedded mozilla support, |
56 |
### or azureus will hang at startup. However, you can still start |
57 |
### the old GUI which doesn't require it, by using file/restart (which |
58 |
### is kind of bug, and maybe I should put that patch, that removes |
59 |
### restart from menu, back). It probably could be invoked also by using |
60 |
### a different Main class (look for them there are plenty :) so we could |
61 |
### have some old-gui flag which would run that one and remove |
62 |
### the mozilla dep. Best would be some per-user setting and startup |
63 |
### script check for swt mozilla support and die... |
64 |
### |
65 |
|
66 |
EAPI=1 |
67 |
|
68 |
JAVA_PKG_IUSE="source" |
69 |
|
70 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
71 |
|
72 |
DESCRIPTION="BitTorrent client in Java" |
73 |
HOMEPAGE="http://azureus.sourceforge.net/" |
74 |
SRC_URI="mirror://sourceforge/azureus/Azureus_${PV}_source.zip" |
75 |
LICENSE="GPL-2 BSD" |
76 |
|
77 |
SLOT="0" |
78 |
KEYWORDS="~amd64 ~x86" |
79 |
IUSE="" |
80 |
|
81 |
RDEPEND=" |
82 |
dev-java/json-simple:0 |
83 |
>=dev-java/bcprov-1.35:0 |
84 |
>=dev-java/commons-cli-1.0:1 |
85 |
>=dev-java/log4j-1.2.8:0 |
86 |
>=dev-java/swt-3.4_pre6-r1:3.4 |
87 |
!net-p2p/azureus-bin |
88 |
>=virtual/jre-1.5" |
89 |
|
90 |
DEPEND="${RDEPEND} |
91 |
app-arch/unzip |
92 |
dev-util/desktop-file-utils |
93 |
>=virtual/jdk-1.5" |
94 |
|
95 |
JAVA_PKG_FILTER_COMPILER="jikes" |
96 |
|
97 |
S="${WORKDIR}" |
98 |
|
99 |
pkg_setup() { |
100 |
if ! built_with_use --missing false -o dev-java/swt firefox seamonkey xulrunner; then |
101 |
eerror |
102 |
eerror "dev-java/swt:3.4 must be compiled with the firefox, seamonkey or xulrunner USE flag" |
103 |
eerror "(support may vary per swt version) or azureus will hang at startup!" |
104 |
eerror |
105 |
die "recompile dev-java/swt:3.4 with embedded browser" |
106 |
fi |
107 |
java-pkg-2_pkg_setup |
108 |
} |
109 |
|
110 |
src_unpack() { |
111 |
unpack ${A} |
112 |
|
113 |
epatch "${FILESDIR}/patches-3.0.5.2/use-jdk-cipher-only.patch" |
114 |
epatch "${FILESDIR}/patches-3.0.5.2/remove-osx-platform.patch" |
115 |
|
116 |
### Remove an unit test we never run |
117 |
#rm -v ./org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die |
118 |
|
119 |
### Removes OS X files and entries. |
120 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
121 |
"org/gudy/azureus2/ui/swt/osx" || die |
122 |
|
123 |
### Removes Windows files. |
124 |
rm -v ./org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java || die |
125 |
|
126 |
### Removes test files. |
127 |
rm -rv "org/gudy/azureus2/ui/swt/test" || die |
128 |
|
129 |
### Removes bouncycastle (we use our own bcprov). |
130 |
rm -rv "org/bouncycastle" || die |
131 |
|
132 |
### Removes bundled json |
133 |
rm -rv "org/json" || die |
134 |
|
135 |
mkdir -p build/libs || die |
136 |
} |
137 |
|
138 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
139 |
EANT_GENTOO_CLASSPATH="swt-3.4,commons-cli-1,log4j,bcprov,json-simple" |
140 |
|
141 |
src_install() { |
142 |
java-pkg_dojar dist/*.jar || die "dojar failed" |
143 |
dodoc ChangeLog.txt || die |
144 |
|
145 |
java-pkg_dolauncher "${PN}" \ |
146 |
--main 'org.gudy.azureus2.${UI}.Main' \ |
147 |
-pre "${FILESDIR}/${PN}-3.0.5.2-pre" \ |
148 |
--java_args '-Dazureus.install.path=${HOME}/.azureus/ ${JAVA_OPTIONS}' |
149 |
|
150 |
# https://bugs.gentoo.org/show_bug.cgi?id=204132 |
151 |
java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins |
152 |
|
153 |
doicon "${FILESDIR}/azureus.png" |
154 |
domenu "${FILESDIR}/azureus.desktop" |
155 |
|
156 |
use source && java-pkg_dosrc "${S}"/{com,edu,org} |
157 |
} |
158 |
|
159 |
pkg_postinst() { |
160 |
### |
161 |
### @Todo We should probably deactivate auto-update it by default, |
162 |
### or even remove the option. |
163 |
### |
164 |
elog |
165 |
elog "It is not recommended to use the Azureus auto-update feature," |
166 |
elog "and it might not even work. You should disable auto-update," |
167 |
elog "in \"Tools\" -> \"Options...\" -> \"Interface\" -> \"Start\"." |
168 |
elog |
169 |
|
170 |
elog |
171 |
elog "After running azureus for the first time, configuration" |
172 |
elog "options will be placed in \"~/.azureus/gentoo.config\"." |
173 |
elog "If you need to change some startup options, you should" |
174 |
elog "modify this file, rather than the startup script." |
175 |
elog |
176 |
elog "Using this config file you can start the console UI." |
177 |
elog |
178 |
ewarn "The org.gudy.azureus2.ui.common.Main wrapper is gone in 3.0.5.2" |
179 |
ewarn "so if you use something other than console or swt as the UI" |
180 |
ewarn "option, you will need to adjust the setting. See /usr/bin/azureus" |
181 |
ewarn "on how console and swt are mapped to starter classes. This should" |
182 |
ewarn "a problem with just this release." |
183 |
|
184 |
elog |
185 |
elog "If you have problems starting Azureus, try starting it" |
186 |
elog "from the command line to look at debugging output." |
187 |
elog |
188 |
|
189 |
elog |
190 |
elog "To switch from classic UI to Vuze use:" |
191 |
elog "Tools -> Options -> Interface -> Start" |
192 |
elog "\t-> Display Azureus UI Chooser" |
193 |
elog "Restart not working properly is a known issue." |
194 |
elog |
195 |
|
196 |
ewarn |
197 |
ewarn "Running Azureus as root is not supported." |
198 |
ewarn |
199 |
|
200 |
fdo-mime_desktop_database_update |
201 |
} |
202 |
|
203 |
pkg_postrm() { |
204 |
fdo-mime_desktop_database_update |
205 |
} |
206 |
|
207 |
|
208 |
|
209 |
-- |
210 |
gentoo-commits@l.g.o mailing list |