1 |
betelgeuse 07/12/28 00:52:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: azureus-3.0.4.2.ebuild |
5 |
Log: |
6 |
Version bump. Fixes bug #201607 and bug #203432. |
7 |
(Portage version: 2.1.4_rc9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.57 net-p2p/azureus/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?rev=1.57&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?rev=1.57&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/ChangeLog?r1=1.56&r2=1.57 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v |
19 |
retrieving revision 1.56 |
20 |
retrieving revision 1.57 |
21 |
diff -u -r1.56 -r1.57 |
22 |
--- ChangeLog 23 Nov 2007 22:25:19 -0000 1.56 |
23 |
+++ ChangeLog 28 Dec 2007 00:52:25 -0000 1.57 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-p2p/azureus |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.56 2007/11/23 22:25:19 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.57 2007/12/28 00:52:25 betelgeuse Exp $ |
29 |
+ |
30 |
+*azureus-3.0.4.2 (28 Dec 2007) |
31 |
+ |
32 |
+ 28 Dec 2007; Petteri Räty <betelgeuse@g.o> |
33 |
+ +azureus-3.0.4.2.ebuild: |
34 |
+ Version bump. Fixes bug #201607 and bug #203432. |
35 |
|
36 |
23 Nov 2007; Vlastimil Babka <caster@g.o> azureus-3.0.3.4.ebuild: |
37 |
Pass file lists to ejavac and jar via tmp files to prevent too long argument |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-p2p/azureus/azureus-3.0.4.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/azureus-3.0.4.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/azureus/azureus-3.0.4.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: azureus-3.0.4.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/azureus-3.0.4.2.ebuild,v 1.1 2007/12/28 00:52:25 betelgeuse Exp $ |
51 |
|
52 |
### |
53 |
### @Todo The new Azureus gui requires swt built with embedded mozilla support, |
54 |
### or azureus will hang at startup. However, you can still start |
55 |
### the old GUI which doesn't require it, by using file/restart (which |
56 |
### is kind of bug, and maybe I should put that patch, that removes |
57 |
### restart from menu, back). It probably could be invoked also by using |
58 |
### a different Main class (look for them there are plenty :) so we could |
59 |
### have some old-gui flag which would run that one and remove |
60 |
### the mozilla dep. Best would be some per-user setting and startup |
61 |
### script check for swt mozilla support and die... |
62 |
### |
63 |
|
64 |
JAVA_PKG_IUSE="source" |
65 |
|
66 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
67 |
|
68 |
DESCRIPTION="BitTorrent client in Java" |
69 |
HOMEPAGE="http://azureus.sourceforge.net/" |
70 |
SRC_URI="mirror://sourceforge/azureus/Azureus_${PV}_source.zip" |
71 |
LICENSE="GPL-2 BSD" |
72 |
|
73 |
SLOT="0" |
74 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
75 |
IUSE="" |
76 |
|
77 |
RDEPEND=" |
78 |
>=dev-java/bcprov-1.35 |
79 |
>=dev-java/commons-cli-1.0 |
80 |
>=dev-java/log4j-1.2.8 |
81 |
>=dev-java/swt-3.3_pre3 |
82 |
!net-p2p/azureus-bin |
83 |
>=virtual/jre-1.4" |
84 |
|
85 |
DEPEND="${RDEPEND} |
86 |
app-arch/unzip |
87 |
dev-util/desktop-file-utils |
88 |
>=virtual/jdk-1.4" |
89 |
|
90 |
S="${WORKDIR}" |
91 |
|
92 |
pkg_setup() { |
93 |
if ! built_with_use --missing false -o dev-java/swt firefox seamonkey xulrunner; then |
94 |
eerror |
95 |
eerror "dev-java/swt must be compiled with the firefox, seamonkey or xulrunner USE flag" |
96 |
eerror "(support may vary per swt version) or azureus will hang at startup!" |
97 |
eerror |
98 |
die "recompile dev-java/swt with embedded browser" |
99 |
fi |
100 |
java-pkg-2_pkg_setup |
101 |
} |
102 |
|
103 |
src_unpack() { |
104 |
unpack "${A}" |
105 |
|
106 |
### Patches Azureus to use bcprov, |
107 |
EPATCH_SUFFIX="patch" epatch "${FILESDIR}/patches-3.0.3.4" |
108 |
|
109 |
### Remove an unit test we never run |
110 |
rm -v ./org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die |
111 |
|
112 |
### Removes OS X files and entries. |
113 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
114 |
"org/gudy/azureus2/ui/swt/osx" || die |
115 |
|
116 |
### Removes Windows files. |
117 |
rm -rv "com/aelitis/azureus/util/win32" \ |
118 |
"org/gudy/azureus2/platform/win32" \ |
119 |
"org/gudy/azureus2/ui/swt/win32" || die |
120 |
|
121 |
### Removes test files. |
122 |
rm -rv "org/gudy/azureus2/ui/swt/test" || die |
123 |
|
124 |
### Removes bouncycastle (we use our own bcprov). |
125 |
rm -rv "org/bouncycastle" || die |
126 |
} |
127 |
|
128 |
src_compile() { |
129 |
local mem |
130 |
use amd64 && mem="256" |
131 |
use x86 && mem="128" |
132 |
use ppc && mem="192" |
133 |
find . -name "*.java" > "${T}/az-src" |
134 |
ejavac -J-Xmx${mem}m -encoding latin1 \ |
135 |
-classpath $(java-pkg_getjars swt-3,commons-cli-1,log4j,bcprov) \ |
136 |
@"${T}/az-src" |
137 |
find . -type f -a ! -name "*.java" > "${T}/az-jarlist" |
138 |
jar cf azureus.jar @"${T}/az-jarlist" |
139 |
} |
140 |
|
141 |
src_install() { |
142 |
|
143 |
java-pkg_dojar "azureus.jar" || die "dojar failed" |
144 |
|
145 |
java-pkg_dolauncher "${PN}" \ |
146 |
--main "org.gudy.azureus2.ui.common.Main" \ |
147 |
-pre "${FILESDIR}/${PN}-2.5.0.0-pre" \ |
148 |
--java_args '-Dazureus.install.path=${HOME}/.azureus/ ${JAVA_OPTIONS}' \ |
149 |
--pkg_args '--ui=${UI}' |
150 |
|
151 |
doicon "${FILESDIR}/azureus.png" |
152 |
domenu "${FILESDIR}/azureus.desktop" |
153 |
|
154 |
use source && java-pkg_dosrc "${S}"/{com,edu,org} |
155 |
} |
156 |
|
157 |
pkg_postinst() { |
158 |
### |
159 |
### @Todo We should probably deactivate auto-update it by default, |
160 |
### or even remove the option. |
161 |
### |
162 |
elog |
163 |
elog "It is not recommended to use the Azureus auto-update feature," |
164 |
elog "and it might not even work. You should disable auto-update," |
165 |
elog "in \"Tools\" -> \"Options...\" -> \"Interface\" -> \"Start\"." |
166 |
elog |
167 |
|
168 |
elog |
169 |
elog "After running azureus for the first time, configuration" |
170 |
elog "options will be placed in \"~/.azureus/gentoo.config\"." |
171 |
elog "If you need to change some startup options, you should" |
172 |
elog "modify this file, rather than the startup script." |
173 |
elog |
174 |
elog "Using this config file you can start the console UI." |
175 |
elog |
176 |
|
177 |
ewarn |
178 |
ewarn "If you are upgrading, and the menu in Azureus has entries" |
179 |
ewarn "like \"!MainWindow.menu.transfers!\" then you have a stray" |
180 |
ewarn "\"MessageBundle.properties\" file, and you may safely" |
181 |
ewarn "delete \"~/.azureus/MessagesBundle.properties\"." |
182 |
ewarn |
183 |
|
184 |
ewarn |
185 |
ewarn "Before azureus-2.5.0.0-r3, the Azureus plugin directory was" |
186 |
ewarn "set to \"~/plugins\", instead of \"~/.azureus/plugins\"." |
187 |
ewarn "If needed, you should move the plugins, to the new location." |
188 |
ewarn |
189 |
|
190 |
elog |
191 |
elog "If you have problems starting Azureus, try starting it" |
192 |
elog "from the command line to look at debugging output." |
193 |
elog |
194 |
|
195 |
ewarn |
196 |
ewarn "Running Azureus as root is not supported." |
197 |
ewarn |
198 |
|
199 |
fdo-mime_desktop_database_update |
200 |
} |
201 |
|
202 |
pkg_postrm() { |
203 |
fdo-mime_desktop_database_update |
204 |
} |
205 |
|
206 |
|
207 |
|
208 |
-- |
209 |
gentoo-commits@g.o mailing list |