diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-14 01:32:19 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-14 01:32:19 +0000 |
commit | 51d9a1564670a3423deb3b13752739d9e9568b5d (patch) | |
tree | ac58bf213799dcdb3e23ac8f309f488a23b19fb7 /net-p2p/azureus-bin | |
parent | header fix (Manifest recommit) (diff) | |
download | gentoo-2-51d9a1564670a3423deb3b13752739d9e9568b5d.tar.gz gentoo-2-51d9a1564670a3423deb3b13752739d9e9568b5d.tar.bz2 gentoo-2-51d9a1564670a3423deb3b13752739d9e9568b5d.zip |
Version bump. systray4jdaemon was removed upstream. We now RDEPEND on java classes rather than using the ones provided by azurues.
Diffstat (limited to 'net-p2p/azureus-bin')
-rw-r--r-- | net-p2p/azureus-bin/ChangeLog | 10 | ||||
-rw-r--r-- | net-p2p/azureus-bin/Manifest | 5 | ||||
-rw-r--r-- | net-p2p/azureus-bin/azureus-bin-2.0.7.1_pre20040224.ebuild | 6 | ||||
-rw-r--r-- | net-p2p/azureus-bin/azureus-bin-2.0.8.0a.ebuild | 114 | ||||
-rw-r--r-- | net-p2p/azureus-bin/files/azureus-bin-2.0.8.0a-gentoo.sh | 65 | ||||
-rw-r--r-- | net-p2p/azureus-bin/files/digest-azureus-bin-2.0.8.0a | 3 |
6 files changed, 198 insertions, 5 deletions
diff --git a/net-p2p/azureus-bin/ChangeLog b/net-p2p/azureus-bin/ChangeLog index 3bab22863b39..16f4c74affab 100644 --- a/net-p2p/azureus-bin/ChangeLog +++ b/net-p2p/azureus-bin/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-p2p/azureus-bin # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus-bin/ChangeLog,v 1.4 2004/03/05 07:19:27 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus-bin/ChangeLog,v 1.5 2004/03/14 01:32:19 eradicator Exp $ + +*azureus-bin-2.0.8.0a (13 Mar 2004) + + 13 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + azureus-bin-2.0.7.1_pre20040224.ebuild, azureus-bin-2.0.8.0a.ebuild, + files/azureus-bin-2.0.8.0a-gentoo.sh: + Version bump. systray4jdaemon was removed upstream. We now RDEPEND on java + classes rather than using the ones provided by azurues. *azureus-bin-2.0.7.1_pre20040224 (04 Mar 2004) diff --git a/net-p2p/azureus-bin/Manifest b/net-p2p/azureus-bin/Manifest index e735c89f531c..04ffc7168cb1 100644 --- a/net-p2p/azureus-bin/Manifest +++ b/net-p2p/azureus-bin/Manifest @@ -1,6 +1,9 @@ -MD5 cd09c8e01cd834be4df96e840fcdcc3a azureus-bin-2.0.7.1_pre20040224.ebuild 3517 +MD5 8fa8528e1b65f7b2e8225b06833d6d8b azureus-bin-2.0.7.1_pre20040224.ebuild 3519 +MD5 9fe3e0717c0ca251ac99649826f23a80 azureus-bin-2.0.8.0a.ebuild 3601 MD5 7294b896c0a22835e038ad0ab9abc7f1 ChangeLog 638 MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160 MD5 492b5db31f8be8a352cc1eb3adb23ba1 files/digest-azureus-bin-2.0.7.1_pre20040224 299 +MD5 a5ae00888f1b5e4910a2005c77002994 files/azureus-bin-2.0.8.0a-gentoo.sh 2505 +MD5 05e40b9feac40ba41ddb08f80eb60654 files/digest-azureus-bin-2.0.8.0a 224 MD5 a5ae00888f1b5e4910a2005c77002994 files/azureus-bin-2.0.7.1_pre20040224-gentoo.sh 2505 MD5 17762081fd25f6928b7bd085fa61d9ee files/azureus-bin-Makefile.patch 402 diff --git a/net-p2p/azureus-bin/azureus-bin-2.0.7.1_pre20040224.ebuild b/net-p2p/azureus-bin/azureus-bin-2.0.7.1_pre20040224.ebuild index a37331e19ce9..b42ef041b5d3 100644 --- a/net-p2p/azureus-bin/azureus-bin-2.0.7.1_pre20040224.ebuild +++ b/net-p2p/azureus-bin/azureus-bin-2.0.7.1_pre20040224.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus-bin/azureus-bin-2.0.7.1_pre20040224.ebuild,v 1.1 2004/03/05 07:19:27 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus-bin/azureus-bin-2.0.7.1_pre20040224.ebuild,v 1.2 2004/03/14 01:32:19 eradicator Exp $ inherit eutils @@ -30,8 +30,8 @@ SLOT="0" KEYWORDS="~x86" IUSE="gtk kde" -DEPEND="kde? ( =x11-libs/qt-3* - =kde-base/kdelibs-3* )" +DEPEND="kde? ( >=x11-libs/qt-3* + >=kde-base/kdelibs-3* )" RDEPEND="${DEPEND} dev-java/commons-cli diff --git a/net-p2p/azureus-bin/azureus-bin-2.0.8.0a.ebuild b/net-p2p/azureus-bin/azureus-bin-2.0.8.0a.ebuild new file mode 100644 index 000000000000..4fddfd389ca3 --- /dev/null +++ b/net-p2p/azureus-bin/azureus-bin-2.0.8.0a.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/azureus-bin/azureus-bin-2.0.8.0a.ebuild,v 1.1 2004/03/14 01:32:19 eradicator Exp $ + +inherit eutils + +DESCRIPTION="Azureus - Java BitTorent Client" +HOMEPAGE="http://azureus.sourceforge.net/" + +MY_PN=${PN/-bin/} +MY_DT=20040224 + +S=${WORKDIR}/${MY_PN} +SRC_URI="mirror://sourceforge/${MY_PN}/Azureus_${PV}_linux.GTK.tar.bz2 + mirror://sourceforge/${MY_PN}/Azureus_${PV}_linux.Motif.tar.bz2 + mirror://gentoo/seda-${MY_DT}.zip" + +RESTRICT="nomirror" + +LICENSE="GPL-2 BSD" +SLOT="0" + +# Still in progress... trying to get most external classes in through DEPENDs rather than +KEYWORDS="~x86" +IUSE="gtk" + +DEPEND="virtual/glibc" + +RDEPEND="${DEPEND} + dev-java/commons-cli + dev-java/log4j + dev-java/systray4j + dev-java/junit + gtk? ( =x11-libs/gtk+-2* ) + !gtk? ( =x11-libs/openmotif-2.1* ) + >=virtual/jre-1.4" + +# Where to install the package +PROGRAM_DIR="/usr/lib/${MY_PN}" + +src_unpack() { + if [ `use gtk` ] ; then + unpack Azureus_${PV}_linux.GTK.tar.bz2 + echo + einfo "Using the GTK Azureus package, to use the Motif package" + einfo " set USE=\"-gtk\" in /etc/make.conf." + echo + else + unpack Azureus_${PV}_linux.Motif.tar.bz2 + echo + einfo "Using the Motif Azureus package, to use the GTK package" + einfo " set USE=\"gtk\" in /etc/make.conf." + echo + + # These are provided by =x11-libs/openmotif-2.1.* + rm ${S}/libXm.so ${S}/libXm.so.2 ${S}/libXm.so.2.1 + fi + + # This is pulled in through dev-java/systray4j + rm ${S}/libsystray4j.so ${S}/systray4j.jar + + cp ${FILESDIR}/${P}-gentoo.sh ${S}/azureus + + # Set runtime settings in the startup script + sed -i "s:##PROGRAM_DIR##:${PROGRAM_DIR}:" ${MY_PN}/azureus + + # Unpack seda + cd ${S} + unpack seda-${MY_DT}.zip + tar xjf seda-jnilibs-linux.tar.bz2 + rm seda*bz2 +} + +src_compile() { + einfo "Binary only installation. No compilation required." +} + +src_install() { + cd ${S} + + insinto ${PROGRAM_DIR} + exeinto ${PROGRAM_DIR} + + doins *.jar id.azureus.dir.file + doexe *.so + + dobin azureus + + dodoc README.linux seda-README.txt + dohtml swt-about.html +} + +pkg_postinst() { + echo + einfo "Due to the nature of the portage system, we recommend" + einfo "that users check portage for new versions of Azureus" + einfo "instead of attempting to use the auto-update feature." + einfo "You can disable the upgrade warning in" + einfo "View->Configuration->Interface->Start" + echo + einfo "After running azureus for the first time, configuration" + einfo "options will be placed in ~/.azureus/gentoo.config" + einfo "It is recommended that you modify this file rather than" + einfo "the azureus startup script directly." + echo + einfo "Currently, only the swt interface is available (ie, the setting" + einfo "in ~/.azureus/gentoo.config is ignored). If you want to use" + einfo "any of the other interfaces, you will need to get a CVS version" + einfo "of the Azureus2.jar from http://azureus.sourceforge.net/index_CVS.php" + einfo "and replace ${PROGRAM_DIR}/Azureus2.jar with it. If you do this," + einfo "the setting in ~/.azureus/gentoo.config will be properly used, but" + einfo "you should report all bugs pertaining to the CVS release to the" + einfo "azureus developers and not Gentoo." +} diff --git a/net-p2p/azureus-bin/files/azureus-bin-2.0.8.0a-gentoo.sh b/net-p2p/azureus-bin/files/azureus-bin-2.0.8.0a-gentoo.sh new file mode 100644 index 000000000000..2686baf01269 --- /dev/null +++ b/net-p2p/azureus-bin/files/azureus-bin-2.0.8.0a-gentoo.sh @@ -0,0 +1,65 @@ +#!/bin/sh + +PROGRAM_DIR=##PROGRAM_DIR## # directory where all the files were extracted + +AZ_CONFIG="${HOME}/.azureus/gentoo.config" +if [ -f ~/.azureus/gentoo.config ]; then + . ~/.azureus/gentoo.config +else + if [ ! -e ~/.azureus ]; then + mkdir ~/.azureus + echo "Creating ~/.azureus..." + fi + + # Setup defaults + UI_OPTIONS="--ui=swt" + + # Create the config file + cat > ${AZ_CONFIG} <<END +# User Interface options: +# web - web based +# web2 - web based +# console - console based +# swt - swt (GUI) based +# +# When selecting just 1, use '--ui=<ui>' +# When selecting multiple, use '--uis=<ui>,<ui>' +UI_OPTIONS="--ui=swt" +END + +fi + +MSG0="ERROR:\nYou must edit this script and change PROGRAM_DIR to point to where you installed Azureus" +MSG1="Attempting to start Azureus..." + +AZDIR=./ +if [ ! -e id.azureus.dir.file ]; then + AZDIR=$PROGRAM_DIR + if [ ! -d $AZDIR ]; then + echo $MSG0 >&2 + exit -1 + fi +fi + +cd ${AZDIR} +echo $MSG1 + +# This should work as long as your classpath is setup right... +JARS=`ls *.jar | grep -v Azureus2` +for FILE in $JARS; do CLASSPATH="${FILE}:${CLASSPATH}"; done +java -cp $CLASSPATH -Djava.library.path="/usr/lib:${AZDIR}" -jar Azureus2.jar ${UI_OPTIONS} "$1" + +# Try this if the above doesn't work +#for FILE in *.jar; do CLASSPATH="${FILE}:${CLASSPATH}"; done +#java -cp $CLASSPATH -Djava.library.path="/usr/lib:${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1" + +if [ $? -ne 0 ]; then + echo "If you recieved an error about missing log4j or cli, you " + echo "need to setup your classpath correctly." + echo "This should do the trick (as root):" + echo "java-config --add-system-classpath=junit,log4j,commons-cli" + echo "env-update && source /etc/profile" + echo + echo "Currently, your classpath (including azureus additions) is:" + echo "${CLASSPATH}" +fi diff --git a/net-p2p/azureus-bin/files/digest-azureus-bin-2.0.8.0a b/net-p2p/azureus-bin/files/digest-azureus-bin-2.0.8.0a new file mode 100644 index 000000000000..e003ea881ff7 --- /dev/null +++ b/net-p2p/azureus-bin/files/digest-azureus-bin-2.0.8.0a @@ -0,0 +1,3 @@ +MD5 740c397c3a29e04147b3bef2a50100f3 Azureus_2.0.8.0a_linux.GTK.tar.bz2 3017049 +MD5 f76ee3df5a9807253ae8f53094f985e1 Azureus_2.0.8.0a_linux.Motif.tar.bz2 3927430 +MD5 5f79ac344851884646166d733b5cde8d seda-20040224.zip 755126 |