1 |
caster 09/06/24 12:55:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vuze-4.2.0.2-r1.ebuild |
5 |
Removed: vuze-4.0.0.4.ebuild vuze-4.2.0.0.ebuild |
6 |
Log: |
7 |
Revbump to remove core updater and patcher, advancing progress at bug #218959. Thanks to Hanno Meyer-Thurow. Cleanup. |
8 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.17 net-p2p/vuze/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/ChangeLog?rev=1.17&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/ChangeLog?rev=1.17&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/ChangeLog?r1=1.16&r2=1.17 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/vuze/ChangeLog,v |
20 |
retrieving revision 1.16 |
21 |
retrieving revision 1.17 |
22 |
diff -u -r1.16 -r1.17 |
23 |
--- ChangeLog 31 May 2009 19:46:38 -0000 1.16 |
24 |
+++ ChangeLog 24 Jun 2009 12:55:49 -0000 1.17 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for net-p2p/vuze |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/ChangeLog,v 1.16 2009/05/31 19:46:38 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/ChangeLog,v 1.17 2009/06/24 12:55:49 caster Exp $ |
30 |
+ |
31 |
+*vuze-4.2.0.2-r1 (24 Jun 2009) |
32 |
+ |
33 |
+ 24 Jun 2009; Vlastimil Babka <caster@g.o> -vuze-4.0.0.4.ebuild, |
34 |
+ -files/patches-4.0.0.4/remove-osx-platform.diff, |
35 |
+ -files/patches-4.0.0.4/use-jdk-cipher-only.diff, -vuze-4.2.0.0.ebuild, |
36 |
+ +files/patches-4.2.0.0/0003-disable-core-updater.patch, |
37 |
+ +vuze-4.2.0.2-r1.ebuild: |
38 |
+ Revbump to remove core updater and patcher, advancing progress at bug |
39 |
+ #218959. Thanks to Hanno Meyer-Thurow. Cleanup. |
40 |
|
41 |
31 May 2009; Markus Meier <maekke@g.o> vuze-4.2.0.2.ebuild: |
42 |
amd64/x86 stable, bug #271963 |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-p2p/vuze/vuze-4.2.0.2-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: vuze-4.2.0.2-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/vuze/vuze-4.2.0.2-r1.ebuild,v 1.1 2009/06/24 12:55:49 caster Exp $ |
56 |
|
57 |
EAPI=2 |
58 |
|
59 |
JAVA_PKG_IUSE="source" |
60 |
|
61 |
inherit eutils fdo-mime java-pkg-2 java-ant-2 |
62 |
|
63 |
DESCRIPTION="BitTorrent client in Java, formerly called Azureus" |
64 |
HOMEPAGE="http://www.vuze.com/" |
65 |
SRC_URI="mirror://sourceforge/azureus/Vuze_${PV}_source.zip" |
66 |
LICENSE="GPL-2 BSD" |
67 |
|
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
70 |
IUSE="" |
71 |
|
72 |
# bundles parts of commons-lang, but modified |
73 |
# bundles parts of http://www.programmers-friend.org/ |
74 |
RDEPEND=" |
75 |
dev-java/json-simple:0 |
76 |
>=dev-java/bcprov-1.35:0 |
77 |
>=dev-java/commons-cli-1.0:1 |
78 |
>=dev-java/log4j-1.2.8:0 |
79 |
>=dev-java/swt-3.4:3.4[cairo,xulrunner] |
80 |
!net-p2p/azureus-bin |
81 |
>=virtual/jre-1.5" |
82 |
|
83 |
DEPEND="${RDEPEND} |
84 |
app-arch/unzip |
85 |
dev-util/desktop-file-utils |
86 |
>=virtual/jdk-1.5" |
87 |
|
88 |
PDEPEND="~net-p2p/vuze-coreplugins-${PV}" |
89 |
|
90 |
src_unpack() { |
91 |
mkdir "${S}" && cd "${S}" || die |
92 |
default |
93 |
} |
94 |
|
95 |
java_prepare() { |
96 |
# build.xml disappeared from 4.1.0.0 although it was there in 4.0.0.4 |
97 |
# hopefully that's just a packaging mistake |
98 |
[[ -f build.xml ]] && die "upstream has build.xml again, don't overwrite" |
99 |
cp "${FILESDIR}/build.xml" . || die "failed to copy build.xml" |
100 |
|
101 |
epatch "${FILESDIR}/patches-4.2.0.0/0001-remove-osx-platform.patch" |
102 |
epatch "${FILESDIR}/patches-4.2.0.0/0002-use-jdk-cipher-only.patch" |
103 |
epatch "${FILESDIR}/patches-4.2.0.0/0003-disable-core-updater.patch" |
104 |
|
105 |
### Removes OS X files and entries. |
106 |
rm -rv "org/gudy/azureus2/platform/macosx" \ |
107 |
"org/gudy/azureus2/ui/swt/osx" || die |
108 |
|
109 |
### Removes Windows files. |
110 |
rm -v ./org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java || die |
111 |
|
112 |
### Removes test files. |
113 |
rm -rv "org/gudy/azureus2/ui/swt/test" \ |
114 |
org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die |
115 |
|
116 |
### Removes bouncycastle (we use our own bcprov). |
117 |
rm -rv "org/bouncycastle" || die |
118 |
|
119 |
### Removes bundled json |
120 |
rm -rv "org/json" || die |
121 |
|
122 |
mkdir -p build/libs || die |
123 |
} |
124 |
|
125 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
126 |
EANT_GENTOO_CLASSPATH="swt-3.4,bcprov,json-simple,log4j,commons-cli-1" |
127 |
|
128 |
src_compile() { |
129 |
local mem |
130 |
use amd64 && mem="256" |
131 |
use x86 && mem="192" |
132 |
use ppc && mem="192" |
133 |
use ppc64 && mem="256" |
134 |
export ANT_OPTS="-Xmx${mem}m" |
135 |
java-pkg-2_src_compile |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
java-pkg_dojar dist/*.jar || die "dojar failed" |
140 |
dodoc ChangeLog.txt || die |
141 |
|
142 |
java-pkg_dolauncher "${PN}" \ |
143 |
--main org.gudy.azureus2.ui.common.Main -pre "${FILESDIR}/${PN}-4.1.0.0-pre" \ |
144 |
--java_args '-Dazureus.install.path=/usr/share/vuze/ ${JAVA_OPTIONS}' \ |
145 |
--pkg_args '--ui=${UI}' |
146 |
dosym vuze /usr/bin/azureus |
147 |
|
148 |
# https://bugs.gentoo.org/show_bug.cgi?id=204132 |
149 |
java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins |
150 |
|
151 |
newicon "${S}"/org/gudy/azureus2/ui/icons/a32.png vuze.png |
152 |
domenu "${FILESDIR}/${PN}.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 - bug #218959 |
161 |
### |
162 |
ewarn "Running Vuze as root is not supported and may result in untracked" |
163 |
ewarn "updates to shared components and then collisions on updates via portage" |
164 |
|
165 |
elog "Vuze has been formerly called Azureus and many references to the old name remain." |
166 |
elog |
167 |
elog "Since version 4.1.0.0, plugins that are normally bundled by upstream" |
168 |
elog "(and auto-installed in each user's ~/.azureus if not bundled)" |
169 |
elog "are now installed into shared plugin directory by the vuze-coreplugins ebuild." |
170 |
elog |
171 |
elog "Vuze may warn that shared plugin dir is not writable, that's fine." |
172 |
elog "It may also attempt to update some these plugins and fail to write." |
173 |
elog "In that case look for or fill a bump bug in bugs.gentoo.org" |
174 |
elog |
175 |
elog "We plan to disable updater for shared components and plugins." |
176 |
elog "See progress in bug #218959, patches welcome." |
177 |
elog |
178 |
elog "After running Vuze for the first time, configuration" |
179 |
elog "options will be placed in '~/.azureus/gentoo.config'." |
180 |
elog "If you need to change some startup options, you should" |
181 |
elog "modify this file, rather than the startup script." |
182 |
elog "Using this config file you can start the console UI." |
183 |
elog |
184 |
elog "To switch from classic UI to Vuze use" |
185 |
elog "1: Tools > Options > Interface > Start > Display Vuze UI Chooser" |
186 |
elog "2: Toolbar (right-hand side)" |
187 |
elog |
188 |
elog "If you have problems starting Vuze, try starting it" |
189 |
elog "from the command line to look at debugging output." |
190 |
|
191 |
fdo-mime_desktop_database_update |
192 |
} |
193 |
|
194 |
pkg_postrm() { |
195 |
fdo-mime_desktop_database_update |
196 |
} |