[arch-commits] CVS update of extra/network/azureus (12 files)

Jan de Groot jgc at archlinux.org
Sun Aug 26 10:30:58 EDT 2007


    Date: Sunday, August 26, 2007 @ 10:30:58
  Author: jgc
    Path: /home/cvs-extra/extra/network/azureus

   Added: azureus-bcprov-1.35.patch (1.1) azureus-cache-size.patch (1.1)
          azureus-remove-manifest-classpath.patch (1.1)
          azureus-remove-win32-PlatformManagerUpdateChecker.patch (1.1)
          azureus-remove-win32-mediaplayer.patch (1.1)
          azureus-remove-win32-osx-platforms.patch (1.1)
          azureus-remove-win32-osx-restarter.patch (1.1)
          azureus-sunsecurity.patch (1.1) gnu-jessie.patch (1.1)
Modified: PKGBUILD (1.11 -> 1.12) azureus.desktop (1.1 -> 1.2)
          azureus.sh (1.2 -> 1.3)

upgpkg: azureus 3.0.1.6-2
Build from source
Use system installation of bcprov and swt
Fix launcher to include an icon
Fix launcher script to look for the right CLASSPATH
Make it work with GNU java (though some small issues still)


---------------------------------------------------------+
 PKGBUILD                                                |   77 ++++++-
 azureus-bcprov-1.35.patch                               |   20 ++
 azureus-cache-size.patch                                |   13 +
 azureus-remove-manifest-classpath.patch                 |   12 +
 azureus-remove-win32-PlatformManagerUpdateChecker.patch |   16 +
 azureus-remove-win32-mediaplayer.patch                  |   31 +++
 azureus-remove-win32-osx-platforms.patch                |   53 +++++
 azureus-remove-win32-osx-restarter.patch                |  138 ++++++++++++++
 azureus-sunsecurity.patch                               |   60 ++++++
 azureus.desktop                                         |    2 
 azureus.sh                                              |    5 
 gnu-jessie.patch                                        |   11 +
 12 files changed, 421 insertions(+), 17 deletions(-)


Index: extra/network/azureus/PKGBUILD
diff -u extra/network/azureus/PKGBUILD:1.11 extra/network/azureus/PKGBUILD:1.12
--- extra/network/azureus/PKGBUILD:1.11	Fri Jun 29 19:51:40 2007
+++ extra/network/azureus/PKGBUILD	Sun Aug 26 10:30:57 2007
@@ -1,25 +1,76 @@
-# $Id: PKGBUILD,v 1.11 2007/06/29 23:51:40 eric Exp $
+# $Id: PKGBUILD,v 1.12 2007/08/26 14:30:57 jgc Exp $
 # Maintainer: Arjan Timmerman <arjan at soulfly.nl>
 # Contributer: Jaroslaw Swierczynski <swiergot at juvepoland.com>
 
 pkgname=azureus
 pkgver=3.0.1.6
-pkgrel=1
+pkgrel=2
 pkgdesc="BitTorrent client with GUI, written in Java"
 arch=('i686' 'x86_64')
 url="http://azureus.sourceforge.net/"
 license=('GPL')
-depends=('bash' 'gtk2' 'j2re' 'swt')
-source=(http://dl.sourceforge.net/sourceforge/azureus/Azureus${pkgver}.jar \
-	$pkgname.desktop azureus.sh)
-md5sums=('6f92fb311fb1e6fc5016f4f2ff358673'
-         '752b5a2394f86387fea1cc7e24386819'
-         '24a328ac5896fb2dc271ad2e8a976762')
+depends=('swt>=3.3' 'gtk2>=2.10.14' 'bcprov>=1.37')
+makedepends=('java-gcj-compat' 'apache-ant' 'unzip')
+source=(http://downloads.sourceforge.net/sourceforge/azureus/Azureus_${pkgver}_source.zip
+	azureus-bcprov-1.35.patch
+	azureus-cache-size.patch
+	azureus-remove-manifest-classpath.patch
+	azureus-remove-win32-PlatformManagerUpdateChecker.patch
+	azureus-remove-win32-mediaplayer.patch
+	azureus-remove-win32-osx-platforms.patch
+	azureus-remove-win32-osx-restarter.patch
+	azureus-sunsecurity.patch
+	gnu-jessie.patch
+	azureus.sh
+	azureus.desktop)
+noextract=(Azureus_${pkgver}_source.zip)
+md5sums=('1f077e3fa3962f6a1f9d3f531ddaea6c'
+         '1ac74562ed0ac29781d2a5fa3e57df73'
+         '0f08c1d21d220dbf95fc887c8fd58730'
+         '6e79e5fb1b83cad2e7d55570eb188ceb'
+         'f8146298148078cfb85dfae0ee5d332b'
+         'f80a7009367056c171640809496b0276'
+         '6ca5b10c8a550720355b6e0f6e09cbc5'
+         'fa50eca910235ad82b849c969dd3c0da'
+         '509fe2d1264280c7f028ee4a3ac62360'
+         '11e2de45ed09fce049864d791bccebbb'
+         '38e123386e0979eef4cddac12df5ffec'
+         '805945053df79224bdff0634c6a48124')
 
 build() {
-  cd $startdir/src
-  
-  install -D -m644 Azureus${pkgver}.jar $startdir/pkg/usr/share/java/azureus/Azureus3.jar
-  install -D -m644 $startdir/src/$pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop
-  install -D -m755 $startdir/src/azureus.sh $startdir/pkg/usr/bin/azureus
+  mkdir -p ${startdir}/src/Azureus_${pkgver}_source
+  cd ${startdir}/src/Azureus_${pkgver}_source
+  unzip -qqo ${startdir}/src/Azureus_${pkgver}_source.zip
+  patch -Np1 -i ${startdir}/src/azureus-bcprov-1.35.patch || return 1
+  patch -Np0 -i ${startdir}/src/azureus-cache-size.patch || return 1
+  patch -Np0 -i ${startdir}/src/azureus-remove-manifest-classpath.patch || return 1
+  patch -Np0 -i ${startdir}/src/azureus-remove-win32-PlatformManagerUpdateChecker.patch || return 1
+  patch -Np1 -i ${startdir}/src/azureus-remove-win32-mediaplayer.patch || return 1
+  patch -Np0 -i ${startdir}/src/azureus-remove-win32-osx-platforms.patch || return 1
+  patch -Np1 -i ${startdir}/src/azureus-remove-win32-osx-restarter.patch || return 1
+  patch -Np0 -i ${startdir}/src/azureus-sunsecurity.patch || return 1
+  patch -Np0 -i ${startdir}/src/gnu-jessie.patch || return 1
+
+  rm -fr org/gudy/azureus2/ui/swt/osx org/gudy/azureus2/platform/macosx || return 1
+  rm -fr org/gudy/azureus2/ui/swt/win32 org/gudy/azureus2/platform/win32 com/aelitis/azureus/util/win32 || return 1
+  rm -fr org/gudy/azureus2/ui/swt/test || return 1
+  rm -fr org/bouncycastle || return 1
+
+  mkdir -p build/libs
+  ln -sf /usr/share/java/swt.jar build/libs/ || return 1
+  ln -sf /usr/share/java/bcprov.jar build/libs/ || return 1
+
+  ant jar || return 1
+
+  mkdir -p ${startdir}/pkg/usr/share/java
+  install -m644 dist/Azureus2.jar ${startdir}/pkg/usr/share/java/ || return 1
+
+  mkdir -p ${startdir}/pkg/usr/bin
+  install -m755 ${startdir}/src/azureus.sh ${startdir}/pkg/usr/bin/azureus || return 1
+
+  mkdir -p ${startdir}/pkg/usr/share/pixmaps
+  install -m644 org/gudy/azureus2/ui/icons/a32.png ${startdir}/pkg/usr/share/pixmaps/Azureus.png || return 1
+
+  mkdir -p ${startdir}/pkg/usr/share/applications
+  install -m644 ${startdir}/src/azureus.desktop ${startdir}/pkg/usr/share/applications/ || return 1
 }
Index: extra/network/azureus/azureus-bcprov-1.35.patch
diff -u /dev/null extra/network/azureus/azureus-bcprov-1.35.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/azureus-bcprov-1.35.patch	Sun Aug 26 10:30:57 2007
@@ -0,0 +1,20 @@
+--- azureus/com/aelitis/azureus/core/clientmessageservice/secure/impl/SecureMessageServiceClientHelper.java.orig	2007-01-20 18:23:49.000000000 +0100
++++ azureus/com/aelitis/azureus/core/clientmessageservice/secure/impl/SecureMessageServiceClientHelper.java	2007-01-20 18:25:29.000000000 +0100
+@@ -36,7 +36,7 @@
+ import org.bouncycastle.crypto.encodings.PKCS1Encoding;
+ import org.bouncycastle.crypto.engines.RSAEngine;
+ import org.bouncycastle.crypto.params.ParametersWithRandom;
+-import org.bouncycastle.jce.provider.RSAUtil;
++import org.bouncycastle.jce.provider.DSAUtil;
+ import org.gudy.azureus2.core3.util.Debug;
+ import org.gudy.azureus2.plugins.utils.StaticUtilities;
+ 
+@@ -97,7 +97,7 @@
+ 				
+ 				PKCS1Encoding	padded_eng = new PKCS1Encoding( eng );
+ 				
+-	            CipherParameters param = RSAUtil.generatePublicKeyParameter(public_key);
++	            CipherParameters param = DSAUtil.generatePublicKeyParameter(public_key);
+ 	            
+ 	            param = new ParametersWithRandom(param, new SecureRandom());
+ 	            
Index: extra/network/azureus/azureus-cache-size.patch
diff -u /dev/null extra/network/azureus/azureus-cache-size.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/azureus-cache-size.patch	Sun Aug 26 10:30:57 2007
@@ -0,0 +1,13 @@
+# limit cache size to max 64M
+# patch from fedora
+--- org/gudy/azureus2/core3/config/COConfigurationManager.java.~1.34.~	2006-01-19 21:27:18.000000000 -0500
++++ org/gudy/azureus2/core3/config/COConfigurationManager.java	2006-02-09 00:01:46.000000000 -0500
+@@ -39,7 +39,7 @@
+ 	public static final int CONFIG_CACHE_SIZE_MAX_MB;
+ 	
+ 	static{
+-		long max_mem_bytes 	= Runtime.getRuntime().maxMemory();
++	    long max_mem_bytes 	= Math.min (Runtime.getRuntime().maxMemory(), 64*1024*1024);
+ 	    long mb_1			= 1*1024*1024;
+ 	    long mb_32			= 32*mb_1;
+ 	    CONFIG_CACHE_SIZE_MAX_MB = (int)(( max_mem_bytes - mb_32 )/mb_1);
Index: extra/network/azureus/azureus-remove-manifest-classpath.patch
diff -u /dev/null extra/network/azureus/azureus-remove-manifest-classpath.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/azureus-remove-manifest-classpath.patch	Sun Aug 26 10:30:57 2007
@@ -0,0 +1,12 @@
+# patch from fedora
+# is it much useful for us?
+--- build.xml.orig	2005-10-25 05:22:46.000000000 -0700
++++ build.xml	2006-01-25 12:16:32.000000000 -0800
+@@ -39,7 +39,6 @@
+       <jar destfile="${root.dir}/${dist.dir}/Azureus2.jar" basedir="${root.dir}" excludes="${dist.jar.excludes}" >
+          <manifest>
+             <attribute name="Main-Class" value="org.gudy.azureus2.ui.common.Main" />
+-            <attribute name="Class-Path" value="Azureus2.jar apple-extensions.jar commons-cli.jar log4j.jar swt.jar swt-win32.jar swt-osx.jar" />
+          </manifest>
+       </jar>
+       
Index: extra/network/azureus/azureus-remove-win32-PlatformManagerUpdateChecker.patch
diff -u /dev/null extra/network/azureus/azureus-remove-win32-PlatformManagerUpdateChecker.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/azureus-remove-win32-PlatformManagerUpdateChecker.patch	Sun Aug 26 10:30:58 2007
@@ -0,0 +1,16 @@
+# remove references to win32 code we don't build
+# patch from fedora
+--- org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java	2006-07-27 11:35:22.000000000 +0200
++++ org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java	2006-08-22 10:22:49.000000000 +0200
+@@ -131,11 +131,6 @@
+    					"azbpcorepatcher", 
+    					"CorePatcher",
+ 					"true" },
+-	   		{	 PluginManagerDefaults.PID_PLATFORM_CHECKER, 
+-   					"org.gudy.azureus2.platform.win32.PlatformManagerUpdateChecker", 
+-   					"azplatform2", 
+-   					"azplatform2",
+-					"true" },
+ 	   		//{	 PluginManagerDefaults.PID_JPC, 
+ 				//	"com.aelitis.azureus.plugins.jpc.JPCPlugin", 
+ 				//	"azjpc", 
Index: extra/network/azureus/azureus-remove-win32-mediaplayer.patch
diff -u /dev/null extra/network/azureus/azureus-remove-win32-mediaplayer.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/azureus-remove-win32-mediaplayer.patch	Sun Aug 26 10:30:58 2007
@@ -0,0 +1,31 @@
+# remove references to win32 code we don't build
+# patch by caster
+diff --git a/com/aelitis/azureus/ui/swt/views/skin/TorrentListViewsUtils.java b/com/aelitis/azureus/ui/swt/views/skin/TorrentListViewsUtils.java
+index b78e62b..160d078 100644
+--- a/com/aelitis/azureus/ui/swt/views/skin/TorrentListViewsUtils.java
++++ b/com/aelitis/azureus/ui/swt/views/skin/TorrentListViewsUtils.java
+@@ -67,7 +67,6 @@ import com.aelitis.azureus.ui.swt.views.TorrentListView;
+ import com.aelitis.azureus.ui.swt.views.TorrentListViewListener;
+ import com.aelitis.azureus.ui.swt.views.list.ListView;
+ import com.aelitis.azureus.util.Constants;
+-import com.aelitis.azureus.util.win32.Win32Utils;
+ 
+ import org.gudy.azureus2.plugins.PluginInterface;
+ import org.gudy.azureus2.plugins.download.Download;
+@@ -434,16 +433,6 @@ public class TorrentListViewsUtils
+ 	 * @param string
+ 	 */
+ 	private static boolean runInMediaPlayer(String mediaFile) {
+-		if (Constants.isWindows) {
+-			String wmpEXE = Win32Utils.getWMP();
+-			if (new File(wmpEXE).exists()) {
+-				try {
+-					Runtime.getRuntime().exec(wmpEXE + " \"" + mediaFile + "\"");
+-					return true;
+-				} catch (IOException e) {
+-				}
+-			}
+-		}
+ 		return false;
+ 	}
+ 
Index: extra/network/azureus/azureus-remove-win32-osx-platforms.patch
diff -u /dev/null extra/network/azureus/azureus-remove-win32-osx-platforms.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/azureus-remove-win32-osx-platforms.patch	Sun Aug 26 10:30:58 2007
@@ -0,0 +1,53 @@
+# remove referencesto win32 and osx code we don't build
+# patch originally from fedora, adapted to new versions
+--- org/gudy/azureus2/platform/PlatformManagerFactory.java.orig	2007-01-26 12:59:30.000000000 -0600
++++ org/gudy/azureus2/platform/PlatformManagerFactory.java	2007-01-26 13:00:08.000000000 -0600
+@@ -40,46 +40,9 @@
+ 	public static PlatformManager
+ 	getPlatformManager()
+ 	{
+-		try{
+-			class_mon.enter();
+-		
+-			if ( platform_manager == null ){
+-										  
+-				try{
+-					if ( getPlatformType() == PlatformManager.PT_WINDOWS ){
+-						
+-						platform_manager = org.gudy.azureus2.platform.win32.PlatformManagerImpl.getSingleton();
+-						
+-					}else if( getPlatformType() == PlatformManager.PT_MACOSX ){
+-						
+-	                    platform_manager = org.gudy.azureus2.platform.macosx.PlatformManagerImpl.getSingleton();
+-	                    
+-					}else if( getPlatformType() == PlatformManager.PT_UNIX ){
+-						
+-            platform_manager = org.gudy.azureus2.platform.unix.PlatformManagerImpl.getSingleton();
+-
+-					}
+-				}catch( PlatformManagerException e ){
+-					
+-						// exception will already have been logged
+-					
+-				}catch( Throwable e ){
+-					
+-					Debug.printStackTrace(e);
+-				}
+-			}
++		platform_manager = org.gudy.azureus2.platform.dummy.PlatformManagerImpl.getSingleton();
+ 			
+-			if ( platform_manager == null ){
+-				
+-				platform_manager = org.gudy.azureus2.platform.dummy.PlatformManagerImpl.getSingleton();
+-			}
+-			
+-			return( platform_manager );
+-			
+-		}finally{
+-			
+-			class_mon.exit();
+-		}
++		return( platform_manager );
+ 	}
+ 	
+ 	public static int
Index: extra/network/azureus/azureus-remove-win32-osx-restarter.patch
diff -u /dev/null extra/network/azureus/azureus-remove-win32-osx-restarter.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/azureus-remove-win32-osx-restarter.patch	Sun Aug 26 10:30:58 2007
@@ -0,0 +1,138 @@
+diff --git a/com/aelitis/azureus/core/update/impl/AzureusRestarterImpl.java b/com/aelitis/azureus/core/update/impl/AzureusRestarterImpl.java
+index 735cbf7..ce8108f 100644
+--- a/com/aelitis/azureus/core/update/impl/AzureusRestarterImpl.java
++++ b/com/aelitis/azureus/core/update/impl/AzureusRestarterImpl.java
+@@ -29,8 +29,6 @@ import org.gudy.azureus2.core3.logging.*;
+ import org.gudy.azureus2.core3.util.*;
+ import org.gudy.azureus2.platform.PlatformManager;
+ import org.gudy.azureus2.platform.PlatformManagerFactory;
+-import org.gudy.azureus2.platform.win32.access.AEWin32Access;
+-import org.gudy.azureus2.platform.win32.access.AEWin32Manager;
+ 
+ import com.aelitis.azureus.core.AzureusCore;
+ import com.aelitis.azureus.core.AzureusCoreFactory;
+@@ -212,27 +210,6 @@ AzureusRestarterImpl
+ 	}
+ 	  
+ 	
+-	private boolean
+-	win32NativeRestart(
+-		PrintWriter	log,
+-		String		exec )
+-	{
+-	    try{
+-	    		// we need to spawn without inheriting handles
+-	    	
+-	    	PlatformManager pm = PlatformManagerFactory.getPlatformManager();
+-	    	
+-	    	pm.createProcess( exec, false );
+-	    
+-	    	return( true );
+-	    	
+-	    }catch(Throwable e) {
+-	        e.printStackTrace(log);
+-	        
+-	        return( false );
+-	    }
+-	}
+-	
+ 
+ 	private String getExeUpdater(PrintWriter log) {
+ 		try {
+@@ -294,7 +271,7 @@ AzureusRestarterImpl
+ 
+ 		return null;
+ 	}
+-
++/*
+   private boolean restartViaEXE(PrintWriter log,
+   		String exeUpdater,
+       String[]  properties,
+@@ -353,7 +330,7 @@ AzureusRestarterImpl
+ 							SystemProperties.getApplicationPath(), AEWin32Access.SW_NORMAL);
+ 				}
+ 			}
+-
++*/
+ 			/*
+ 			 * Some results:
+ 			 * 0: OOM
+@@ -370,7 +347,6 @@ AzureusRestarterImpl
+ 			 * 31: No Association
+ 			 * 32: DLL Not found
+ 			 * >32: OK!
+-			 */
+ 			log.println("   -> " + result);
+ 
+ 			if (result <= 32) {
+@@ -430,7 +406,7 @@ AzureusRestarterImpl
+ 		return true;
+ 	}
+   
+-
++*/
+   // ****************** This code is copied into Restarter / Updater so make changes there too !!!
+   
+   
+@@ -444,20 +420,9 @@ AzureusRestarterImpl
+     String[]  parameters,
+     boolean update_only) 
+   {
+-    if(Constants.isOSX){
+-    	
+-    	restartAzureus_OSX(log,mainClass,properties,parameters);
+-    	
+-    }else if( Constants.isUnix ){
+-    	
+     	restartAzureus_Unix(log,mainClass,properties,parameters);
+-      
+-    }else{
+-    	
+-    	restartAzureus_win32(log,mainClass,properties,parameters,update_only);
+-    }
+   }
+-  
++/*  
+   private void 
+   restartAzureus_win32(
+       PrintWriter log,
+@@ -496,7 +461,7 @@ AzureusRestarterImpl
+ 		}
+ 	}
+   
+-
++*/
+ 	private boolean
+ 	javaSpawn(
+ 		PrintWriter log, 
+@@ -520,30 +485,6 @@ AzureusRestarterImpl
+ 		}
+ 	}
+ 
+-	private void 
+-  restartAzureus_OSX(
+-      PrintWriter log,
+-    String mainClass,
+-    String[]  properties,
+-    String[] parameters) 
+-  {
+-
+-     String exec = "\"" + JAVA_EXEC_DIR + "java\" " + getClassPath() + getLibraryPath();
+-  	 
+-     for (int i=0;i<properties.length;i++){
+-    	 exec += properties[i] + " ";
+-     }
+-    
+-     exec += mainClass ;
+-    
+-     for(int i = 0 ; i < parameters.length ; i++) {
+-    	 exec += " \"" + parameters[i] + "\"";
+-     }
+-
+-     runExternalCommandViaUnixShell( log, exec );
+-  }
+-  
+-  
+   
+   private void 
+   restartAzureus_Unix(
Index: extra/network/azureus/azureus-sunsecurity.patch
diff -u /dev/null extra/network/azureus/azureus-sunsecurity.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/azureus-sunsecurity.patch	Sun Aug 26 10:30:58 2007
@@ -0,0 +1,60 @@
+--- org/gudy/azureus2/core3/internat/MessageText.java	2007-02-12 18:10:08.000000000 +0100
++++ org/gudy/azureus2/core3/internat/MessageText.java	2007-07-01 20:28:57.000000000 +0200
+@@ -30,6 +30,7 @@
+ import java.util.jar.JarFile;
+ import java.util.regex.Matcher;
+ import java.util.regex.Pattern;
++import java.security.PrivilegedAction;
+ 
+ import org.gudy.azureus2.core3.config.COConfigurationManager;
+ import org.gudy.azureus2.core3.logging.LogAlert;
+@@ -39,8 +40,6 @@
+ import org.gudy.azureus2.core3.util.FileUtil;
+ import org.gudy.azureus2.core3.util.SystemProperties;
+ 
+-import sun.security.action.GetPropertyAction;
+-
+ /**
+  * @author Arbeiten
+  * 
+@@ -685,10 +684,18 @@
+   	// a way to call this code explicitly..
+     String language, region, country, variant;
+     language = (String) AccessController.doPrivileged(
+-                    new GetPropertyAction("user.language", "en"));
++		    new PrivilegedAction() {
++			    public Object run() {
++				    return System.getProperty("user.language", "en");
++			    }
++		    });
+     // for compatibility, check for old user.region property
+     region = (String) AccessController.doPrivileged(
+-                    new GetPropertyAction("user.region"));
++		    new PrivilegedAction() {
++			    public Object run() {
++				    return System.getProperty("user.region");
++			    }
++		    });
+     if (region != null) {
+         // region can be of form country, country_variant, or _variant
+         int i = region.indexOf('_');
+@@ -701,9 +708,17 @@
+         }
+     } else {
+         country = (String) AccessController.doPrivileged(
+-                        new GetPropertyAction("user.country", ""));
++			new PrivilegedAction() {
++				public Object run() {
++					return System.getProperty("user.country", "");
++				}
++			});
+         variant = (String) AccessController.doPrivileged(
+-                        new GetPropertyAction("user.variant", ""));
++			new PrivilegedAction() {
++				public Object run() {
++					return System.getProperty("user.variant", "");
++				}
++			});
+     }
+     changeLocale(new Locale(language, country, variant));
+     COConfigurationManager.removeParameter("locale");
Index: extra/network/azureus/azureus.desktop
diff -u extra/network/azureus/azureus.desktop:1.1 extra/network/azureus/azureus.desktop:1.2
--- extra/network/azureus/azureus.desktop:1.1	Wed Nov  9 03:26:35 2005
+++ extra/network/azureus/azureus.desktop	Sun Aug 26 10:30:58 2007
@@ -5,4 +5,4 @@
 Icon=Azureus
 Terminal=false
 Type=Application
-Categories=Application;Network;
+Categories=Network;
Index: extra/network/azureus/azureus.sh
diff -u extra/network/azureus/azureus.sh:1.2 extra/network/azureus/azureus.sh:1.3
--- extra/network/azureus/azureus.sh:1.2	Fri Jun 29 12:50:58 2007
+++ extra/network/azureus/azureus.sh	Sun Aug 26 10:30:58 2007
@@ -1,4 +1,3 @@
 #!/bin/bash
-CLASSPATH="/usr/share/java/azureus/Azureus3.jar:/usr/share/java/swt/swt.jar"
-LIBPATH="/usr/share/java/swt"
-java -cp "${CLASSPATH}" -Djava.library.path="${LIBPATH}" org.gudy.azureus2.ui.swt.Main "$@"
+CLASSPATH="/usr/share/java/Azureus2.jar:/usr/share/java/swt.jar:/usr/share/java/bcprov.jar"
+java -cp "${CLASSPATH}" -Dazureus.install.path=${HOME}/.azureus/ org.gudy.azureus2.ui.swt.Main "$@"
Index: extra/network/azureus/gnu-jessie.patch
diff -u /dev/null extra/network/azureus/gnu-jessie.patch:1.1
--- /dev/null	Sun Aug 26 10:30:58 2007
+++ extra/network/azureus/gnu-jessie.patch	Sun Aug 26 10:30:58 2007
@@ -0,0 +1,11 @@
+--- org/gudy/azureus2/core3/security/impl/SESecurityManagerImpl.java.orig	2007-08-26 11:52:57.000000000 +0000
++++ org/gudy/azureus2/core3/security/impl/SESecurityManagerImpl.java	2007-08-26 11:53:29.000000000 +0000
+@@ -130,7 +130,7 @@
+ 		installAuthenticator();
+ 		
+ 	
+-		String[]	providers = { "com.sun.net.ssl.internal.ssl.Provider", "org.metastatic.jessie.provider.Jessie" };
++		String[]	providers = { "com.sun.net.ssl.internal.ssl.Provider", "gnu.javax.net.ssl.provider.Jessie" };
+ 			
+ 		String	provider = null;
+ 		




More information about the arch-commits mailing list