summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2008-11-21 23:13:58 +0000
committerVlastimil Babka <caster@gentoo.org>2008-11-21 23:13:58 +0000
commite80a1c66e9f70958a0962decbdd4ada87da9f318 (patch)
tree027b74e18383846cdc195e01de6aa0f899892024 /net-p2p
parentFixed homepage. (diff)
downloadhistorical-e80a1c66e9f70958a0962decbdd4ada87da9f318.tar.gz
historical-e80a1c66e9f70958a0962decbdd4ada87da9f318.tar.bz2
historical-e80a1c66e9f70958a0962decbdd4ada87da9f318.zip
Version bump.
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.27-gentoo-r1-perfctr x86_64
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/azureus/ChangeLog7
-rw-r--r--net-p2p/azureus/Manifest4
-rw-r--r--net-p2p/azureus/azureus-4.0.0.4.ebuild167
3 files changed, 176 insertions, 2 deletions
diff --git a/net-p2p/azureus/ChangeLog b/net-p2p/azureus/ChangeLog
index 4e57451c4a2e..8ebb0de4843f 100644
--- a/net-p2p/azureus/ChangeLog
+++ b/net-p2p/azureus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/azureus
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.71 2008/11/04 12:13:43 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/ChangeLog,v 1.72 2008/11/21 23:13:58 caster Exp $
+
+*azureus-4.0.0.4 (21 Nov 2008)
+
+ 21 Nov 2008; Vlastimil Babka <caster@gentoo.org> +azureus-4.0.0.4.ebuild:
+ Version bump.
04 Nov 2008; Vlastimil Babka <caster@gentoo.org> azureus-4.0.0.2.ebuild:
Raise max heap size on x86 to 192MB due to problems with ibm-jdk-bin-1.6,
diff --git a/net-p2p/azureus/Manifest b/net-p2p/azureus/Manifest
index d828dc0f0761..f06cfc058245 100644
--- a/net-p2p/azureus/Manifest
+++ b/net-p2p/azureus/Manifest
@@ -19,6 +19,7 @@ DIST Azureus_3.0.4.2_source.zip 7110233 RMD160 f6f53c99fcf74e0d90513a4a0edb25817
DIST Azureus_3.0.5.2_source.zip 7537643 RMD160 847cee5c8f261cbefddc565833daff0b86d306a0 SHA1 18a90d5fe1345fcf54e86cebc9537ce7957dc89c SHA256 43bb6a69d53ac00a446ccb706ff60d53f65dfffb4c22ab6c69c1851cbdfc8477
DIST Vuze_3.1.1.0_source.zip 8688884 RMD160 82274659dab342c1b1e43ea7cfb9ea3e80ab5d1d SHA1 6c51442179ac5dcd5502638af1e92297b7c69c9f SHA256 5349c419bedcd7acebbc3d9692af96e697b6d7b741d4b7ecc5b7f1376208299f
DIST Vuze_4.0.0.2_source.zip 8228009 RMD160 ff6fe83e600070ec3f57c232ed1cb0b817c85fca SHA1 afd4e442824b7d7012be38de22e039bdc23289e7 SHA256 4d19bde3819794d5b5cf37f3b908608f640ac39d4b69946591944cf319166824
+DIST Vuze_4.0.0.4_source.zip 8255486 RMD160 1c4548485d7be9f9ab80ba004aa83b97cef3869f SHA1 2543258555e21c8179b5ee92130a781576a7b326 SHA256 a7fc791e3839c04967b7ba940399e1c5a02f045e47a0a93c97a758c76f09a8de
DIST azplugins_2.1.6.jar 309944 RMD160 ccbd85902ade3500e996be9353698374a77c4aea SHA1 a25e8ee55e22e53de5984f7272f1d5c698563183 SHA256 81ed58fba9d70916360bc7e13341dbb7afaef25878fa493c4fed5a2ba18d170a
DIST azrating_1.3.1.jar 38172 RMD160 6d7bad5a11e51156862f8779178a25e81ee2a0c6 SHA1 898e29ec254f42302c13643e30d91dc7c34754cc SHA256 8eedb5c7d731fc1f4bc86b2c7b5df386ed16b9d17a6705eaa2da2ead67546863
DIST azupdater_1.8.8.zip 24846 RMD160 eb78263f904ee62813f2fcde61cb61df7646045e SHA1 e065224a57eee9de677a178d8bf24d6340f3b45f SHA256 9d28aafac3dd66d4bb71a0d980c38e5f8aaa743e0a778e1903149f2eb5fc9f1f
@@ -28,5 +29,6 @@ EBUILD azureus-3.0.5.2.ebuild 4957 RMD160 0c9b3ef6275de19434f06088e1516f8d396735
EBUILD azureus-3.1.1.0-r1.ebuild 4870 RMD160 472dc3f06962d7327f8c5c10619c1d205205d0bf SHA1 18a648b96012ae27567c41699fce688673835439 SHA256 e4582f2fdadddb8f20641ccd5fa60cd218e1419b12b64d386ed1d16e4d5bd06b
EBUILD azureus-3.1.1.0.ebuild 4836 RMD160 1d57ecbbf792f639af23ca7c81f1d805996547d4 SHA1 2caef161a9914b7abc033e7458efb286a3c3a273 SHA256 a4713e68ce7b33c6dd655cdf8b7b3dd5073e98ed263b70dd3bb70e55bd7e8cf2
EBUILD azureus-4.0.0.2.ebuild 5193 RMD160 3d7f1db868d8cc547b3aeb34c5116a24ce452121 SHA1 f97d3874b3b5191c3c11cbf533fed157f105fabc SHA256 a57ee444d0e970324982226dc9f1e65b104d3256731db8cdf6e819281fc47a97
-MISC ChangeLog 15479 RMD160 8c4536d2c707b1dac4f79dee2709526fb4075a5f SHA1 0194160c91525121b36698f24b1e74fce876248e SHA256 bda26f1b12fb080b8e297801ae01cd780322396b45f1ee9feea7f5b3a49965d2
+EBUILD azureus-4.0.0.4.ebuild 5197 RMD160 8592a872a19993568d28de1c3cba73ddf3c1c1a0 SHA1 bbd5391341e0c34333ca7c7b0e7e4a9be702ca61 SHA256 4a9cbd12f25d83ef61f7dfbceabb45ed4fec32b796f28b61982958298ede94f4
+MISC ChangeLog 15604 RMD160 0f830cccca525ca72c76d1f460150e29281c5fcb SHA1 9ccf2f026eaa02f3d8e7692501e27b8bd5be1b4d SHA256 be096cd068d43963a1ed8dc0420816c311dc414cc2038bb73d24fc13c30df1ef
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
diff --git a/net-p2p/azureus/azureus-4.0.0.4.ebuild b/net-p2p/azureus/azureus-4.0.0.4.ebuild
new file mode 100644
index 000000000000..d60e7f2f3305
--- /dev/null
+++ b/net-p2p/azureus/azureus-4.0.0.4.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus/azureus-4.0.0.4.ebuild,v 1.1 2008/11/21 23:13:58 caster Exp $
+
+EAPI=2
+
+JAVA_PKG_IUSE="source"
+
+inherit eutils fdo-mime java-pkg-2 java-ant-2
+
+MAIN_DIST=Vuze_${PV}_source.zip
+PLUGINS_N=azplugins
+RATING_N=azrating
+UPDATER_N=azupdater
+UPNPAV_N=azupnpav
+PLUGINS_V=2.1.6
+RATING_V=1.3.1
+UPDATER_V=1.8.8
+UPNPAV_V=0.2.2
+PLUGINS_DIST=${PLUGINS_N}_${PLUGINS_V}.jar
+RATING_DIST=${RATING_N}_${RATING_V}.jar
+UPDATER_DIST=${UPDATER_N}_${UPDATER_V}.zip
+UPNPAV_DIST=${UPNPAV_N}_${UPNPAV_V}.zip
+
+
+ALLPLUGINS_URL="http://azureus.sourceforge.net/plugins"
+
+DESCRIPTION="BitTorrent client in Java, now called Vuze"
+HOMEPAGE="http://www.vuze.com/"
+SRC_URI="mirror://sourceforge/azureus/${MAIN_DIST}
+ ${ALLPLUGINS_URL}/${PLUGINS_DIST}
+ ${ALLPLUGINS_URL}/${RATING_DIST}
+ ${ALLPLUGINS_URL}/${UPDATER_DIST}
+ ${ALLPLUGINS_URL}/${UPNPAV_DIST}"
+LICENSE="GPL-2 BSD"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
+IUSE=""
+
+# bundles parts of commons-lang, but modified
+# bundles parts of http://www.programmers-friend.org/
+RDEPEND="
+ dev-java/json-simple:0
+ >=dev-java/bcprov-1.35:0
+ >=dev-java/commons-cli-1.0:1
+ >=dev-java/log4j-1.2.8:0
+ >=dev-java/swt-3.4:3.4[cairo,xulrunner]
+ !net-p2p/azureus-bin
+ >=virtual/jre-1.5"
+
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-util/desktop-file-utils
+ >=virtual/jdk-1.5"
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+
+src_unpack() {
+ mkdir "${S}" && cd "${S}" || die
+ unpack ${MAIN_DIST}
+
+ cd "${WORKDIR}"
+ mkdir -p plugins/{${PLUGINS_N},${RATING_N},${UPDATER_N},${UPNPAV_N}} || die
+ cp "${DISTDIR}/${PLUGINS_DIST}" plugins/${PLUGINS_N} || die
+ cp "${DISTDIR}/${RATING_DIST}" plugins/${RATING_N} || die
+ cd "${WORKDIR}/plugins/${UPDATER_N}" && unpack ${UPDATER_DIST} || die
+ cd "${WORKDIR}/plugins/${UPNPAV_N}" && unpack ${UPNPAV_DIST} || die
+
+ cd "${S}"
+ epatch "${FILESDIR}/patches-4.0.0.2/use-jdk-cipher-only.diff"
+ epatch "${FILESDIR}/patches-4.0.0.2/remove-osx-platform.diff"
+
+ ### Removes OS X files and entries.
+ rm -rv "org/gudy/azureus2/platform/macosx" \
+ "org/gudy/azureus2/ui/swt/osx" || die
+
+ ### Removes Windows files.
+ rm -v ./org/gudy/azureus2/ui/swt/win32/Win32UIEnhancer.java || die
+
+ ### Removes test files.
+ rm -rv "org/gudy/azureus2/ui/swt/test" \
+ org/gudy/azureus2/ui/console/multiuser/TestUserManager.java || die
+
+ ### Removes bouncycastle (we use our own bcprov).
+ rm -rv "org/bouncycastle" || die
+
+ ### Removes bundled json
+ rm -rv "org/json" || die
+
+ mkdir -p build/libs || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="swt-3.4,bcprov,json-simple,log4j,commons-cli-1"
+
+src_compile() {
+ local mem
+ use amd64 && mem="256"
+ use x86 && mem="192"
+ use ppc && mem="192"
+ use ppc64 && mem="256"
+ export ANT_OPTS="-Xmx${mem}m"
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ java-pkg_dojar dist/*.jar || die "dojar failed"
+ dodoc ChangeLog.txt || die
+
+ java-pkg_dolauncher "${PN}" \
+ --main org.gudy.azureus2.ui.common.Main -pre "${FILESDIR}/${PN}-4.0.0.2-pre" \
+ --java_args '-Dazureus.install.path=/usr/share/azureus/ ${JAVA_OPTIONS}' \
+ --pkg_args '--ui=${UI}'
+
+ insinto /usr/share/${PN}/
+ doins -r "${WORKDIR}/plugins"
+
+ # https://bugs.gentoo.org/show_bug.cgi?id=204132
+ java-pkg_register-environment-variable MOZ_PLUGIN_PATH /usr/lib/nsbrowser/plugins
+
+ doicon "${FILESDIR}/${PN}.png"
+ domenu "${FILESDIR}/${PN}.desktop"
+
+ use source && java-pkg_dosrc "${S}"/{com,edu,org}
+}
+
+pkg_postinst() {
+ ###
+ ### @Todo We should probably deactivate auto-update it by default,
+ ### or even remove the option - bug #218959
+ ###
+ ewarn "Running Azureus as root is not supported and may result in untracked"
+ ewarn "updates to shared components and then collisions on updates via portage"
+
+ elog "Since version 4.0.0.2, plugins that are normally bundled by upstream"
+ elog "(and auto-installed in each user's ~/.azureus if not bundled)"
+ elog "are now installed into shared plugin directory by the ebuild."
+ elog "Users are recommended to delete the following plugin copies:"
+ elog "~/.azureus/plugins/{${PLUGINS_N},${RATING_N},${UPDATER_N},${UPNPAV_N}}"
+ elog
+ elog "Azureus may warn that shared plugin dir is not writable, that's fine."
+ elog "It may also attempt to update some these plugins and fail to write."
+ elog "In that case look for or fill a bump bug in bugs.gentoo.org"
+ elog
+ elog "We plan to disable updater for shared components and plugins."
+ elog "See progress in bug #218959, patches welcome."
+ elog
+ elog "After running azureus for the first time, configuration"
+ elog "options will be placed in '~/.azureus/gentoo.config'."
+ elog "If you need to change some startup options, you should"
+ elog "modify this file, rather than the startup script."
+ elog "Using this config file you can start the console UI."
+ elog
+ elog "To switch from classic UI to Vuze use"
+ elog "1: Tools > Options > Interface > Start > Display Vuze UI Chooser"
+ elog "2: Toolbar (right-hand side)"
+ elog
+ elog "If you have problems starting Azureus, try starting it"
+ elog "from the command line to look at debugging output."
+
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}