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