diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2006-11-17 01:18:44 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2006-11-17 01:18:44 +0000 |
| commit | f8374320671c6a39b6d2935b5b3e21b5824e4407 (patch) | |
| tree | e8f1280d7479efefe71879ca2d9e78fbe327b405 /net-p2p/vuze | |
| parent | 088b4fa7df37b5bea6880adfa83fcc36d9e7dc6a (diff) | |
Diffstat (limited to 'net-p2p/vuze')
| -rw-r--r-- | net-p2p/vuze/Makefile | 91 | ||||
| -rw-r--r-- | net-p2p/vuze/distinfo | 3 | ||||
| -rw-r--r-- | net-p2p/vuze/files/azureus | 28 | ||||
| -rw-r--r-- | net-p2p/vuze/files/build.xml | 50 | ||||
| -rw-r--r-- | net-p2p/vuze/files/patch-TransferTypes | 17 | ||||
| -rw-r--r-- | net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java | 20 | ||||
| -rw-r--r-- | net-p2p/vuze/files/patch-swt31 | 186 | ||||
| -rw-r--r-- | net-p2p/vuze/pkg-descr | 7 | ||||
| -rw-r--r-- | net-p2p/vuze/pkg-message | 14 |
9 files changed, 0 insertions, 416 deletions
diff --git a/net-p2p/vuze/Makefile b/net-p2p/vuze/Makefile deleted file mode 100644 index 5fe3d3ded7d7..000000000000 --- a/net-p2p/vuze/Makefile +++ /dev/null @@ -1,91 +0,0 @@ -# New ports collection makefile for: Azureus -# Date created: October 6, 2004 -# Whom: Jeremy Faulkner <gldisater@gldis.ca> -# -# $FreeBSD$ -# - -PORTNAME= azureus -PORTVERSION= 2.5.0.0 -CATEGORIES= net-p2p java -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= Azureus_${PORTVERSION}_source - -MAINTAINER= lioux@FreeBSD.org -COMMENT= A BitTorrent client written in Java - -BUILD_DEPENDS= \ - ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j \ - ${JAVALIBDIR}/commons-cli.jar:${PORTSDIR}/java/jakarta-commons-cli \ - ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \ - ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 \ - ${JAVALIBDIR}/seda.jar:${PORTSDIR}/net/seda -RUN_DEPENDS= \ - ${JAVALIBDIR}/swt.jar:${PORTSDIR}/x11-toolkits/swt31 - -ONLY_FOR_ARCHS= i386 amd64 - -USE_JAVA= yes -JAVA_BUILD= jdk -JAVA_RUN= jdk -JAVA_VERSION= 1.4+ -JAVA_OS= native -USE_ANT= yes -USE_JIKES= no - -USE_ZIP= yes -USE_DOS2UNIX= org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java \ - org/gudy/azureus2/ui/swt/Messages.java \ - org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java \ - org/gudy/azureus2/ui/swt/shells/MessageSlideShell.java \ - org/gudy/azureus2/ui/swt/views/TableView.java \ - org/gudy/azureus2/ui/swt/Utils.java \ - org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java -NO_WRKSUBDIR= yes - -JARFILE= ${PORTNAME}.jar - -# build classpath from BUILD_DEPENDS -MAKE_ENV= LANG=C -CLASSPATH_JARS= ${BUILD_DEPENDS:C/:.+$//:M*.jar} - -PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} bin/${PORTNAME} - -do-configure: - ${SED} -e "s+%%PREFIX%%+${PREFIX}+" -e "s+%%LOCALBASE%%+${LOCALBASE}+" \ - -e "s|%%LIBDIR%%|${LOCALBASE}/lib|" \ - -e "s|%%JAVAJARDIR%%|${JAVAJARDIR}|" \ - -e "s|%%JAVA%%|${LOCALBASE}/bin/java|" \ - -e "s|%%JAVA_VERSION%%|${JAVA_VERSION}|" \ - -e "s|%%JAVA_OS%%|${JAVA_OS}|" \ - -e "s|%%JARFILE%%|${JARFILE}|" \ - -e "s|%%SWTJAR%%|${JAVALIBDIR}/swt.jar|" \ - ${FILESDIR}/${PORTNAME} > ${WRKDIR}/${PORTNAME} - -do-install: - ${MKDIR} ${JAVAJARDIR} - ${INSTALL_DATA} ${WRKSRC}/dist/lib/${JARFILE} \ - ${JAVAJARDIR}/ - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} - -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.pre.mk> - -CLASSPATH=. -.for jar in ${CLASSPATH_JARS} -CLASSPATH:=${CLASSPATH}:${jar} -.endfor - -post-patch: - @${SED} -E \ - -e 's|%%CLASSPATH%%|${CLASSPATH}|' \ - ${FILESDIR}/build.xml > ${WRKSRC}/build.xml -# bash -> sh - @${REINPLACE_CMD} -E \ - -e 's|/bin/bash|${SH}|' \ - ${WRKSRC}/com/aelitis/azureus/core/update/impl/AzureusRestarterImpl.java - -.include <bsd.port.post.mk> diff --git a/net-p2p/vuze/distinfo b/net-p2p/vuze/distinfo deleted file mode 100644 index e6d2c0e32bd7..000000000000 --- a/net-p2p/vuze/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (Azureus_2.5.0.0_source.zip) = f487f75f37674820bd3b2cc6af97ce57 -SHA256 (Azureus_2.5.0.0_source.zip) = 64aa4150bb8036f11e5207a602253431d46578ce9cd3b62732b0ae0f555a08c4 -SIZE (Azureus_2.5.0.0_source.zip) = 5856328 diff --git a/net-p2p/vuze/files/azureus b/net-p2p/vuze/files/azureus deleted file mode 100644 index ae536948e69a..000000000000 --- a/net-p2p/vuze/files/azureus +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ - -export JAVA_VERSION -export JAVA_OS - -# java -JAVA_VERSION="%%JAVA_VERSION%%" -JAVA_OS="%%JAVA_OS%%" - -ECLIPSE_BASE=%%LOCALBASE%%/eclipse -ECLIPSE_SWT_JAR=%%SWTJAR%% -LIB_PATH=%%LIBDIR%% - -CLASS_PATH=:%%JAVAJARDIR%%/%%JARFILE%%:${ECLIPSE_SWT_JAR} - -if [ "${DEBUG}" ] -then - echo "ECLIPSE_BASE = ${ECLIPSE_BASE}" - echo "ECLIPSE_WS = ${ECLIPSE_WS}" - echo "ECLIPSE_SWT = ${ECLIPSE_SWT}" - echo "ECLIPSE_SWT_JAR = ${ECLIPSE_SWT_JAR}" - echo "CLASS_PATH = ${CLASS_PATH}" - echo "LIB_PATH = ${LIB_PATH}" -fi - -exec "%%JAVA%%" -cp "${CLASS_PATH}" "-Djava.library.path=${LIB_PATH}" "-Dos.name=Linux" "-Dazureus.config.path=${HOME}/.Azureus" "-Duser.dir=${HOME}/.Azureus" org.gudy.azureus2.ui.swt.Main "${@}" diff --git a/net-p2p/vuze/files/build.xml b/net-p2p/vuze/files/build.xml deleted file mode 100644 index 4555797a810c..000000000000 --- a/net-p2p/vuze/files/build.xml +++ /dev/null @@ -1,50 +0,0 @@ -<!-- Under a BSDL license. Copyright by Mario S F Ferreira <lioux@FreeBSD.org> 2005- --> -<!-- Under a BSDL license. Copyright by jrandom 2005- --> -<!-- $FreeBSD$ --> -<project basedir="." default="dist" name="azureus"> - <description> - Builds Azureus - </description> - <!-- set global properties for this build --> - <property name="src" location="src"/> - <property name="build" location="build"/> - <property name="dist" location="dist"/> - - <target name="init"> - <!-- Create the time stamp --> - <tstamp/> - <!-- Create the build directory structure used by compile --> - <mkdir dir="${build}"/> - </target> - - <target name="compile" depends="init" description="compile the source " > - <!-- Compile the java code from ${src} into ${build} --> - <javac srcdir="." destdir="${build}" fork="yes" memoryMaximumSize="512m"> - <include name="**/*.java"/> - <exclude name="**/Win32*.java"/> - <exclude name="**/swt/osx/**"/> - <exclude name="**/macosx/**"/> - <classpath path="%%CLASSPATH%%"/> - </javac> - </target> - - <target name="dist" depends="compile" description="generate the distribution" > - <!-- Create the distribution directory --> - <mkdir dir="${dist}/lib"/> - - <copy todir="${build}"> - <fileset dir="." includes="**/*.gif **/*.jpg, **/*.png **/*.properties" /> - <fileset dir="." includes="**/*.dat **/*.stf **/*.xsd" /> - <fileset dir="." includes="**/*.css **/*.html **/*.js **/*.php **/*.tmpl **/*.txt" /> - <fileset dir="." includes="**/*.ico **/*.wav" /> - </copy> - <!-- Put everything in ${build} into the azureus.jar file --> - <jar jarfile="${dist}/lib/azureus.jar" basedir="${build}"/> - </target> - - <target name="clean" description="clean up" > - <!-- Delete the ${build} and ${dist} directory trees --> - <delete dir="${build}"/> - <delete dir="${dist}"/> - </target> -</project> diff --git a/net-p2p/vuze/files/patch-TransferTypes b/net-p2p/vuze/files/patch-TransferTypes deleted file mode 100644 index 2c13840c877e..000000000000 --- a/net-p2p/vuze/files/patch-TransferTypes +++ /dev/null @@ -1,17 +0,0 @@ ---- org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Fri Dec 12 09:56:48 2003 -+++ org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java Sat Jun 11 16:06:40 2005 -@@ -41,5 +41,5 @@ - TransferData[] data = event.dataTypes; - for (int i = 0; i < data.length; i++) { -- int id = data[i].type; -+ long id = data[i].type; - String name = getNameFromId(id); - System.out.println("Data type is " + id + " " + name); -@@ -97,5 +97,5 @@ - return ids; - } -- static String getNameFromId(int id) { -+ static String getNameFromId(long id) { -- switch (id) { -+ switch ((int)id) { - case 1 : diff --git a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java b/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java deleted file mode 100644 index c5cab31b137e..000000000000 --- a/net-p2p/vuze/files/patch-org__gudy__azureus2__platform__macosx__access__jnilib__OSXAccess.java +++ /dev/null @@ -1,20 +0,0 @@ ---- org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java.orig Sun Sep 24 16:18:49 2006 -+++ org/gudy/azureus2/platform/macosx/access/jnilib/OSXAccess.java Sun Sep 24 16:19:07 2006 -@@ -19,7 +19,7 @@ - */ - package org.gudy.azureus2.platform.macosx.access.jnilib; - --import org.eclipse.swt.internal.carbon.AEDesc; -+// import org.eclipse.swt.internal.carbon.AEDesc; - - import org.gudy.azureus2.core3.util.Debug; - -@@ -42,7 +42,7 @@ - } - } - -- public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result); -+// public static final native int AEGetParamDesc(int theAppleEvent, int theAEKeyword, int desiredType, AEDesc result); - - public static final native String getVersion(); - diff --git a/net-p2p/vuze/files/patch-swt31 b/net-p2p/vuze/files/patch-swt31 deleted file mode 100644 index 3db8d63cdc7d..000000000000 --- a/net-p2p/vuze/files/patch-swt31 +++ /dev/null @@ -1,186 +0,0 @@ -This set of patches allows Azureus to build against the 3.1.x version -of SWT. When the 3.2.x is _released_ by Eclipse, and our x11-toolkits/swt31 -port is updated, this file can be removed from the Azureus port. - ---- org/gudy/azureus2/ui/swt/Messages.java.orig Sun Sep 24 15:18:49 2006 -+++ org/gudy/azureus2/ui/swt/Messages.java Sun Sep 24 15:55:09 2006 -@@ -100,6 +100,7 @@ - - // XXX We could (should?) send this event for all widget types - // XXX Would it better to have a custom event type? -+/* - if (SWT.getVersion() > 3200) { - Event event = new Event(); - // SWT 3.2 only. Code Ok -- Only called in SWT 3.2 mode -@@ -107,6 +108,7 @@ - event.widget = widget; - widget.notifyListeners(SWT.Settings, event); - } -+*/ - } - else if (widget instanceof Tree) { - Tree tree = (Tree) widget; -@@ -191,7 +193,7 @@ - Constants.isOSX ? "Cmd+" : "Ctrl+")); - } - } -- } else if (widget instanceof TableColumn) { -+ } /* else if (widget instanceof TableColumn) { - String key = (String) widget.getData(); - if (key != null) { - if (!key.endsWith(".info")) -@@ -209,6 +211,7 @@ - } - } - } -+*/ - } - - ---- org/gudy/azureus2/ui/swt/views/TableView.java.orig Sun Sep 24 15:23:49 2006 -+++ org/gudy/azureus2/ui/swt/views/TableView.java Sun Sep 24 16:04:17 2006 -@@ -631,6 +631,7 @@ - }); - } - -+/* - if (Utils.SWT32_TABLEPAINT) { - // SWT 3.2 only. Code Ok -- Only called in SWT 3.2 mode - table.addListener(SWT.PaintItem, new Listener() { -@@ -643,6 +644,7 @@ - } - }); - } -+*/ - - // Deselect rows if user clicks on a black spot (a spot with no row) - table.addMouseListener(new MouseAdapter() { -@@ -816,6 +818,7 @@ - - // we are sent a SWT.Settings event when the language changes and - // when System fonts/colors change. In both cases, invalidate -+/* - if (SWT.getVersion() > 3200) { - table.addListener(SWT.Settings, new Listener() { - public void handleEvent(Event e) { -@@ -823,6 +826,7 @@ - } - }); - } -+*/ - - // XXX Disabled. We handle unset rows ourselves via table paints which - // are more reliable. -@@ -970,6 +974,7 @@ - } - - // SWT 3.2 only. Code Ok -- Only called in SWT 3.2 mode -+/* - Rectangle cellBounds = item.getBounds(event.index); - - cellBounds.x += 3; -@@ -1018,6 +1023,7 @@ - } catch (Exception e) { - e.printStackTrace(); - } -+*/ - } - - public void runDefaultAction() { -@@ -3148,7 +3154,7 @@ - private void changeColumnIndicator() { - if (table == null || table.isDisposed()) - return; -- -+/* - try { - // can't use TableColumnCore.getPosition, because user may have moved - // columns around, messing up the SWT column indexes. -@@ -3167,6 +3173,7 @@ - } catch (NoSuchMethodError e) { - // sWT < 3.2 doesn't have column indicaters - } -+*/ - } - - private void visibleRowsChanged() { ---- org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java.orig Sun Sep 24 15:28:27 2006 -+++ org/gudy/azureus2/ui/swt/views/configsections/ConfigSectionPlugins.java Sun Sep 24 15:29:27 2006 -@@ -406,12 +406,14 @@ - tc.addSelectionListener(new SelectionAdapter() { - public void widgetSelected(SelectionEvent e) { - boolean ascending = comparator.setField(table.indexOf(tc)); -+/* - try { - table.setSortColumn(tc); - table.setSortDirection(ascending ? SWT.UP : SWT.DOWN); - } catch (NoSuchMethodError ignore) { - // Ignore Pre 3.0 - } -+*/ - Collections.sort(pluginIFs, comparator); - table.clearAll(); - } ---- org/gudy/azureus2/ui/swt/shells/MessageSlideShell.java.orig Sun Sep 24 15:32:29 2006 -+++ org/gudy/azureus2/ui/swt/shells/MessageSlideShell.java Sun Sep 24 15:59:32 2006 -@@ -64,7 +64,7 @@ - * - */ - public class MessageSlideShell { -- private static boolean USE_SWT32_BG_SET = true; -+ private static boolean USE_SWT32_BG_SET = false; - - private static final boolean DEBUG = false; - -@@ -289,6 +289,7 @@ - if (shell == null) { - shell = new Shell(display, style); - } -+/* - if (USE_SWT32_BG_SET) { - try { - shell.setBackgroundMode(SWT.INHERIT_DEFAULT); -@@ -298,6 +299,7 @@ - // ignore - } - } -+*/ - Utils.setShellIcon(shell); - shell.setText(popupParams.title); - -@@ -537,6 +539,7 @@ - gc.dispose(); - - boolean bAlternateDrawing = true; -+/* - if (USE_SWT32_BG_SET) { - try { - shell.setBackgroundImage(imgBackground); -@@ -544,7 +547,7 @@ - } catch (NoSuchMethodError e) { - } - } -- -+*/ - if (bAlternateDrawing) { - // Drawing of BG Image for pre SWT 3.2 - - ---- org/gudy/azureus2/ui/swt/Utils.java.orig Sun Sep 24 16:24:39 2006 -+++ org/gudy/azureus2/ui/swt/Utils.java Sun Sep 24 16:25:05 2006 -@@ -680,6 +680,7 @@ - if (!table.isVisible() || iTopIndex >= itemCount) - return -1; - -+/* - if (Constants.isOSX) { - try { - TableItem item = table.getItem(iTopIndex); -@@ -702,6 +703,7 @@ - table.getItemHeight()) + 1, table.getItemCount() - 1); - } - } -+*/ - - // getItem will return null if clientArea's height is smaller than - // header height. diff --git a/net-p2p/vuze/pkg-descr b/net-p2p/vuze/pkg-descr deleted file mode 100644 index b63cc7c3410c..000000000000 --- a/net-p2p/vuze/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Azureus is a java bittorrent client. Azureus offers multiple -torrent downloads, queuing/priority systems (on torrents and -files), start/stop seeding options and instant access to -numerous pieces of information about your torrents. Azureus -now features an embedded tracker easily setup and ready to use. - -WWW: http://azureus.sourceforge.net/ diff --git a/net-p2p/vuze/pkg-message b/net-p2p/vuze/pkg-message deleted file mode 100644 index efdf17d4c8ce..000000000000 --- a/net-p2p/vuze/pkg-message +++ /dev/null @@ -1,14 +0,0 @@ -==================================== -============ ATTENTION ============= -==================================== - -If you have problems running -Azureus, make sure you have the -latest version of all your installed -packages. - -For instance, make sure the swt31 -package is of version 3.1.1 or -later. - -==================================== |
