rpms/azureus/devel azureus-no-update-manager-CoreUpdateChecker.patch, 1.5, 1.6 azureus-no-update-manager-PluginInstallerImpl.patch, 1.3, 1.4 azureus-no-update-manager-PluginUpdatePlugin.patch, 1.1, 1.2 azureus-no-update-manager-SWTUpdateChecker.patch, 1.6, 1.7 azureus-no-update-manager-UpdateMonitor.patch, 1.7, 1.8 azureus-no-updates-PluginInitializer.patch, 1.3, 1.4 azureus-no-updates-PluginInterfaceImpl.patch, 1.3, 1.4 azureus.script, 1.24, 1.25 azureus.spec, 1.79, 1.80 azureus-no-update-manager-PluginInstallerImpl-2.patch, 1.1, NONE

David Juran djuran at fedoraproject.org
Sun Sep 13 15:36:36 UTC 2009


Author: djuran

Update of /cvs/pkgs/rpms/azureus/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23444

Modified Files:
	azureus-no-update-manager-CoreUpdateChecker.patch 
	azureus-no-update-manager-PluginInstallerImpl.patch 
	azureus-no-update-manager-PluginUpdatePlugin.patch 
	azureus-no-update-manager-SWTUpdateChecker.patch 
	azureus-no-update-manager-UpdateMonitor.patch 
	azureus-no-updates-PluginInitializer.patch 
	azureus-no-updates-PluginInterfaceImpl.patch azureus.script 
	azureus.spec 
Removed Files:
	azureus-no-update-manager-PluginInstallerImpl-2.patch 
Log Message:
- revive the no-updates patches (Bz515131)
- fix start-script to work when  /usr/share/azureus/plugins/ is empty


azureus-no-update-manager-CoreUpdateChecker.patch:
 CoreUpdateChecker.java |  300 -------------------------------------------------
 1 file changed, 300 deletions(-)

Index: azureus-no-update-manager-CoreUpdateChecker.patch
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus-no-update-manager-CoreUpdateChecker.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- azureus-no-update-manager-CoreUpdateChecker.patch	3 Dec 2007 17:03:21 -0000	1.5
+++ azureus-no-update-manager-CoreUpdateChecker.patch	13 Sep 2009 15:36:35 -0000	1.6
@@ -1,6 +1,7 @@
---- ../azureus3orig/azureus3/org/gudy/azureus2/update/CoreUpdateChecker.java	2007-12-03 10:07:11.000000000 -0500
-+++ org/gudy/azureus2/update/CoreUpdateChecker.java	2007-12-03 10:30:37.000000000 -0500
-@@ -124,8 +124,6 @@
+diff -up azureus-4.2.0.8/org/gudy/azureus2/update/CoreUpdateChecker.java.no-update-manager-CoreUpdateChecker azureus-4.2.0.8/org/gudy/azureus2/update/CoreUpdateChecker.java
+--- azureus-4.2.0.8/org/gudy/azureus2/update/CoreUpdateChecker.java.no-update-manager-CoreUpdateChecker	2009-07-07 00:52:10.000000000 +0200
++++ azureus-4.2.0.8/org/gudy/azureus2/update/CoreUpdateChecker.java	2009-09-13 12:41:05.000000000 +0200
+@@ -127,8 +127,6 @@ CoreUpdateChecker
  		props.setProperty( "plugin.version", plugin_interface.getAzureusVersion());
  		
  		rdf = plugin_interface.getUtilities().getResourceDownloaderFactory();
@@ -9,7 +10,7 @@
  	}
  	
  	public String
-@@ -144,302 +142,10 @@
+@@ -147,309 +145,11 @@ CoreUpdateChecker
  	checkForUpdate(
  		final UpdateChecker	checker )
  	{
@@ -20,10 +21,15 @@
 -													
 -			Map	decoded = VersionCheckClient.getSingleton().getVersionCheckInfo(
 -		  			first_check?VersionCheckClient.REASON_UPDATE_CHECK_START:VersionCheckClient.REASON_UPDATE_CHECK_PERIODIC);
--
+ 
 -      
 -			displayUserMessage( decoded );
 -			
+-			// No point complaining later if we don't have any data in the map (which is
+-			// more likely due to network problems rather than the version check server
+-			// *actually* returning a map with nothing in it. 
+-			if (decoded.isEmpty()) {return;}
+-			
 -			String latest_version;
 -			String latest_file_name;
 -			
@@ -100,7 +106,7 @@
 -			if ( full_download_url == null ){
 -				
 -				ResourceDownloader[]	primary_mirrors;
--					
+-									
 -				primary_mirrors = getPrimaryDownloaders( latest_file_name );
 -	
 -					// the download hierarchy is primary mirrors first (randomised alternate)
@@ -188,7 +194,7 @@
 -			if ( info_b != null ){
 -			
 -				try{
--					info = new String( info_b );
+-					info = new String( info_b, "UTF-8" );
 -				
 -				}catch( Throwable e ){
 -					
@@ -290,7 +296,7 @@
 -							final ResourceDownloader	downloader,
 -							InputStream					data )
 -						{	
--							installUpdate( checker, update, downloader, f_latest_version, data );
+-							installUpdate( checker, update, downloader, f_latest_file_name, f_latest_version, data );
 -									
 -							return( true );
 -						}
@@ -301,6 +307,8 @@
 -			
 -			Debug.printStackTrace( e );
 -			
+-			checker.reportProgress( "Failed to check for core update: " + Debug.getNestedExceptionMessage(e));
+-			
 -			checker.failed();
 -			
 -		}finally{

azureus-no-update-manager-PluginInstallerImpl.patch:
 PluginInstallerImpl.java |  354 +++++++++++++++++------------------------------
 1 file changed, 130 insertions(+), 224 deletions(-)

Index: azureus-no-update-manager-PluginInstallerImpl.patch
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus-no-update-manager-PluginInstallerImpl.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- azureus-no-update-manager-PluginInstallerImpl.patch	3 Dec 2007 17:03:21 -0000	1.3
+++ azureus-no-update-manager-PluginInstallerImpl.patch	13 Sep 2009 15:36:35 -0000	1.4
@@ -1,22 +1,110 @@
---- ../azureus3orig/azureus3/org/gudy/azureus2/pluginsimpl/local/installer/PluginInstallerImpl.java	2007-12-03 10:07:11.000000000 -0500
-+++ org/gudy/azureus2/pluginsimpl/local/installer/PluginInstallerImpl.java	2007-12-03 10:32:17.000000000 -0500
-@@ -181,13 +181,6 @@
+diff -up azureus-4.2.0.8/org/gudy/azureus2/pluginsimpl/local/installer/PluginInstallerImpl.java.no-update-manager-PluginInstallerImpl azureus-4.2.0.8/org/gudy/azureus2/pluginsimpl/local/installer/PluginInstallerImpl.java
+--- azureus-4.2.0.8/org/gudy/azureus2/pluginsimpl/local/installer/PluginInstallerImpl.java.no-update-manager-PluginInstallerImpl	2009-03-09 20:25:32.000000000 +0100
++++ azureus-4.2.0.8/org/gudy/azureus2/pluginsimpl/local/installer/PluginInstallerImpl.java	2009-09-13 17:14:11.000000000 +0200
+@@ -464,97 +464,7 @@ PluginInstallerImpl
+ 		throws PluginException
  	{
  		PluginUpdatePlugin	pup = (PluginUpdatePlugin)manager.getPluginInterfaceByClass( PluginUpdatePlugin.class ).getPlugin();
- 		
--		UpdateManager	uman = manager.getDefaultPluginInterface().getUpdateManager();
 -		
--		UpdateCheckInstance	inst = 
+-		UpdateManagerImpl	uman = (UpdateManagerImpl)manager.getDefaultPluginInterface().getUpdateManager();
+-		
+-		UpdateCheckInstanceImpl	inst = 
 -			uman.createEmptyUpdateCheckInstance( 
 -					UpdateCheckInstance.UCI_INSTALL,
--					"update.instance.install" );
+-					"update.instance.install",
+-					low_noise );
+-		
+-		if ( properties != null ){
+-			
+-			for ( Map.Entry<Integer,Object> entry: properties.entrySet()){
+ 				
+-				inst.setProperty( entry.getKey(), entry.getValue());
+-			}
+-		}
+-		
+-		if ( listener != null ){
+-			
+-			inst.addListener(
+-				new UpdateCheckInstanceListener()
+-				{
+-					public void
+-					cancelled(
+-						UpdateCheckInstance		instance )
+-					{
+-						listener.cancelled();
+-					}
+-					
+-					public void
+-					complete(
+-						UpdateCheckInstance		instance )
+-					{
+-						final Update[] updates = instance.getUpdates();
+-						
+-						if ( updates.length == 0 ){
+-														
+-							listener.failed( new PluginException( "No updates were added during check process" ));
+-							
+-						}else{
+-							
+-							for (int i=0;i<updates.length;i++){
+-								
+-								updates[i].addListener(
+-									new UpdateListener()
+-									{
+-										private boolean	cancelled;
+-										
+-										public void 
+-										cancelled(
+-											Update update) 
+-										{
+-											cancelled = true;
+-											
+-											check();
+-										}
+-										
+-										public void 
+-										complete(
+-											Update update ) 
+-										{
+-											check();
+-										}
+-										
+-										protected void
+-										check()
+-										{
+-											for (int i=0;i<updates.length;i++){
+-												
+-												if ( !updates[i].isCancelled() && !updates[i].isComplete()){
+-													
+-													return;
+-												}
+-											}
+-											
+-											if ( cancelled ){
+-												
+-												listener.cancelled();
+-												
+-											}else{
+-												
+-												listener.completed();
+-											}
+-										}
+-									});
+-							}
+-						}
+-					}
+-				});
+-		}
 -		
  		try{
  			
  			for (int i=0;i<plugins.length;i++){
-@@ -254,23 +247,6 @@
+@@ -619,56 +529,52 @@ PluginInstallerImpl
+ 				
+ 					final PluginInterface dummy_plugin_interface = manager.getPluginInterfaceByID( plugin_id, false );
  					
- 					((InstallablePluginImpl)plugin).addUpdate( inst, pup, dummy_plugin, dummy_plugin_interface );
+-					((InstallablePluginImpl)plugin).addUpdate( inst, pup, dummy_plugin, dummy_plugin_interface );
++// 					((InstallablePluginImpl)plugin).addUpdate( inst, pup, dummy_plugin, dummy_plugin_interface );
  							
 -					inst.addListener(
 -						new UpdateCheckInstanceListener()
@@ -25,20 +113,67 @@
 -							cancelled(
 -								UpdateCheckInstance		instance )
 -							{
--								dummy_plugin.requestUnload();
+-								try{
++// 					inst.addListener(
++// 						new UpdateCheckInstanceListener()
++// 						{
++// 							public void
++// 							cancelled(
++// 								UpdateCheckInstance		instance )
++// 							{
++// 								try{
+ 								
+-									dummy_plugin_interface.getPluginState().unload();
++// 									dummy_plugin_interface.getPluginState().unload();
+ 									
+-								}catch( Throwable e ){
++// 								}catch( Throwable e ){
+ 									
+-									Debug.out( "Failed to unload plugin", e );
+-								}
 -							}
--							
++// 									Debug.out( "Failed to unload plugin", e );
++// 								}
++// 							}
+ 							
 -							public void
 -							complete(
 -								UpdateCheckInstance		instance )
 -							{
--								dummy_plugin.requestUnload();
+-								PluginInterface pi = manager.getPluginInterfaceByID( plugin_id, false );
++// 							public void
++// 							complete(
++// 								UpdateCheckInstance		instance )
++// 							{
++// 								PluginInterface pi = manager.getPluginInterfaceByID( plugin_id, false );
+ 								
+-								if ( pi != null && pi.getPlugin() instanceof FailedPlugin ){
++// 								if ( pi != null && pi.getPlugin() instanceof FailedPlugin ){
+ 									
+-									try{
+-										pi.getPluginState().unload();
++// 									try{
++// 										pi.getPluginState().unload();
+ 										
+-									}catch( Throwable e ){
++// 									}catch( Throwable e ){
+ 										
+-										Debug.out( "Failed to unload plugin", e );
+-									}
+-								}
++// 										Debug.out( "Failed to unload plugin", e );
++// 									}
++// 								}
+ 
 -							}
 -						});
- 				}else{
+-				}else{
++// 							}
++// 						});
++// 				}else{
  					
- 					((InstallablePluginImpl)plugin).addUpdate( inst, pup, existing_plugin, existing_plugin_interface );
-@@ -278,12 +254,8 @@
+-					((InstallablePluginImpl)plugin).addUpdate( inst, pup, existing_plugin, existing_plugin_interface );
++// 					((InstallablePluginImpl)plugin).addUpdate( inst, pup, existing_plugin, existing_plugin_interface );
  				}
  			}
  		
@@ -51,24 +186,33 @@
  			if ( e instanceof PluginException ){
  				
  				throw((PluginException)e);
-@@ -347,138 +319,6 @@
+@@ -732,138 +638,138 @@ PluginInstallerImpl
  			}
  		}
  		
 -		try{
 -			UpdateManager	uman = manager.getDefaultPluginInterface().getUpdateManager();
--			
++// 		try{
++// 			UpdateManager	uman = manager.getDefaultPluginInterface().getUpdateManager();
+ 			
 -			UpdateCheckInstance	inst = 
 -				uman.createEmptyUpdateCheckInstance(
 -						UpdateCheckInstance.UCI_UNINSTALL,
 -						"update.instance.uninstall");
--
++// 			UpdateCheckInstance	inst = 
++// 				uman.createEmptyUpdateCheckInstance(
++// 						UpdateCheckInstance.UCI_UNINSTALL,
++// 						"update.instance.uninstall");
+ 
 -			for (int i=0;i<pis.length;i++){
--				
++// 			for (int i=0;i<pis.length;i++){
+ 				
 -				final PluginInterface	pi = pis[i];
--				
++// 				final PluginInterface	pi = pis[i];
+ 				
 -				final String	plugin_dir = pi.getPluginDirectoryName();
--
++// 				final String	plugin_dir = pi.getPluginDirectoryName();
+ 
 -				inst.addUpdatableComponent(
 -					new UpdatableComponent()
 -					{
@@ -83,7 +227,21 @@
 -						{
 -							return( 0 );
 -						}
--						
++// 				inst.addUpdatableComponent(
++// 					new UpdatableComponent()
++// 					{
++// 						public String
++// 						getName()
++// 						{
++// 							return( pi.getPluginName());
++// 						}
++					
++// 						public int
++// 						getMaximumCheckTime()
++// 						{
++// 							return( 0 );
++// 						}
+ 						
 -						public void
 -						checkForUpdate(
 -							final UpdateChecker	checker )
@@ -91,7 +249,14 @@
 -							try{
 -								ResourceDownloader rd = 
 -									manager.getDefaultPluginInterface().getUtilities().getResourceDownloaderFactory().create( new File( plugin_dir ));
--								
++// 						public void
++// 						checkForUpdate(
++// 							final UpdateChecker	checker )
++// 						{
++// 							try{
++// 								ResourceDownloader rd = 
++// 									manager.getDefaultPluginInterface().getUtilities().getResourceDownloaderFactory().create( new File( plugin_dir ));
+ 								
 -								rd.addListener(
 -									new ResourceDownloaderAdapter()
 -									{
@@ -101,31 +266,54 @@
 -											InputStream			data )
 -										{
 -											try{
--												if ( pi.isUnloadable()){
--											
--													pi.unload();
--													
+-												if ( pi.getPluginState().isUnloadable()){
++// 								rd.addListener(
++// 									new ResourceDownloaderAdapter()
++// 									{
++// 										public boolean
++// 										completed(
++// 											ResourceDownloader	downloader,
++// 											InputStream			data )
++// 										{
++// 											try{
++// 												if ( pi.getPluginState().isUnloadable()){
+ 											
+-													pi.getPluginState().unload();
++// 													pi.getPluginState().unload();
+ 													
 -													FileUtil.recursiveDelete( new File( plugin_dir ));
--												
++// 													FileUtil.recursiveDelete( new File( plugin_dir ));
+ 												
 -												}
--																
++// 												}
+ 																
 -												UpdateInstaller installer = checker.createInstaller();
--													
++// 												UpdateInstaller installer = checker.createInstaller();
+ 													
 -												installer.addRemoveAction( new File( plugin_dir ).getCanonicalPath());
--											
--												
++// 												installer.addRemoveAction( new File( plugin_dir ).getCanonicalPath());
+ 											
+ 												
 -											}catch( Throwable e ){
--												
++// 											}catch( Throwable e ){
+ 												
 -												Debug.printStackTrace(e);
 -												Logger.log(new LogAlert(LogAlert.REPEATABLE,
 -														"Plugin uninstall failed", e));
 -											}
--											
++// 												Debug.printStackTrace(e);
++// 												Logger.log(new LogAlert(LogAlert.REPEATABLE,
++// 														"Plugin uninstall failed", e));
++// 											}
+ 											
 -												// don't close the stream as we process it later
--												
++// 												// don't close the stream as we process it later
+ 												
 -											return( true );
 -										}
--										
++// 											return( true );
++// 										}
+ 										
 -										public void
 -										failed(
 -											ResourceDownloader			downloader,
@@ -137,13 +325,27 @@
 -											}
 -										}
 -									});
--	
++// 										public void
++// 										failed(
++// 											ResourceDownloader			downloader,
++// 											ResourceDownloaderException e )
++// 										{
++// 											if ( !downloader.isCancelled()){
++// 												Logger.log(new LogAlert(LogAlert.REPEATABLE,
++// 														"Plugin uninstall failed", e));
++// 											}
++// 										}
++// 									});
+ 	
 -									// the plugin may have > 1 plugin interfaces, make the name up appropriately
--								
++// 									// the plugin may have > 1 plugin interfaces, make the name up appropriately
+ 								
 -								String	update_name = "";
--									
++// 								String	update_name = "";
+ 									
 -								PluginInterface[]	ifs = manager.getPluginInterfaces();
--								
++// 								PluginInterface[]	ifs = manager.getPluginInterfaces();
+ 								
 -							    Arrays.sort( 
 -							    		ifs,
 -									  	new Comparator()
@@ -156,37 +358,70 @@
 -								      			return(((PluginInterface)o1).getPluginName().compareTo(((PluginInterface)o2).getPluginName()));
 -								      		}
 -										});
--							    
++// 							    Arrays.sort( 
++// 							    		ifs,
++// 									  	new Comparator()
++// 										{
++// 								      		public int 
++// 											compare(
++// 												Object o1, 
++// 												Object o2)
++// 								      		{
++// 								      			return(((PluginInterface)o1).getPluginName().compareTo(((PluginInterface)o2).getPluginName()));
++// 								      		}
++// 										});
+ 							    
 -								for (int i=0;i<ifs.length;i++){
--									
++// 								for (int i=0;i<ifs.length;i++){
+ 									
 -									if ( ifs[i].getPluginID().equals(pi.getPluginID())){
--									
++// 									if ( ifs[i].getPluginID().equals(pi.getPluginID())){
+ 									
 -										update_name += (update_name.length()==0?"":",") + ifs[i].getPluginName();
 -									}
 -								}
--								
++// 										update_name += (update_name.length()==0?"":",") + ifs[i].getPluginName();
++// 									}
++// 								}
+ 								
 -								checker.addUpdate(
 -									update_name,
 -									new String[]{ "Uninstall: " + plugin_dir},
 -									pi.getPluginVersion(),
 -									rd,
--									pi.isUnloadable()?Update.RESTART_REQUIRED_NO:Update.RESTART_REQUIRED_YES );
--									
+-									pi.getPluginState().isUnloadable()?Update.RESTART_REQUIRED_NO:Update.RESTART_REQUIRED_YES );
++// 								checker.addUpdate(
++// 									update_name,
++// 									new String[]{ "Uninstall: " + plugin_dir},
++// 									pi.getPluginVersion(),
++// 									rd,
++// 									pi.getPluginState().isUnloadable()?Update.RESTART_REQUIRED_NO:Update.RESTART_REQUIRED_YES );
+ 									
 -							}finally{
--								
++// 							}finally{
+ 								
 -								checker.completed();
 -							}
--								
++// 								checker.completed();
++// 							}
+ 								
 -						}
 -					}, false );
 -			}
--
++// 						}
++// 					}, false );
++// 			}
+ 
 -			inst.start();
--			
++// 			inst.start();
+ 			
 -		}catch( Throwable e ){
--			
++// 		}catch( Throwable e ){
+ 			
 -			Debug.printStackTrace(e);
 -		}
++// 			Debug.printStackTrace(e);
++// 		}
  	}
  	
  	protected PluginInterface

azureus-no-update-manager-PluginUpdatePlugin.patch:
 PluginUpdatePlugin.java |  234 ++++++++++++++++++++++++------------------------
 1 file changed, 117 insertions(+), 117 deletions(-)

Index: azureus-no-update-manager-PluginUpdatePlugin.patch
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus-no-update-manager-PluginUpdatePlugin.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- azureus-no-update-manager-PluginUpdatePlugin.patch	10 Feb 2006 17:00:46 -0000	1.1
+++ azureus-no-update-manager-PluginUpdatePlugin.patch	13 Sep 2009 15:36:35 -0000	1.2
@@ -1,11 +1,13 @@
---- org/gudy/azureus2/pluginsimpl/update/PluginUpdatePlugin.java.orig	2006-02-09 23:32:49.000000000 -0500
-+++ org/gudy/azureus2/pluginsimpl/update/PluginUpdatePlugin.java	2006-02-09 23:33:49.000000000 -0500
-@@ -130,20 +130,6 @@
- 		
- 		config.addBooleanParameter2( "enable.update", "Plugin.pluginupdate.enablecheck", true );
- 				
+diff -up azureus-4.0.0.4/org/gudy/azureus2/pluginsimpl/update/PluginUpdatePlugin.java.no-update-manager-PluginUpdatePlugin azureus-4.0.0.4/org/gudy/azureus2/pluginsimpl/update/PluginUpdatePlugin.java
+--- azureus-4.0.0.4/org/gudy/azureus2/pluginsimpl/update/PluginUpdatePlugin.java.no-update-manager-PluginUpdatePlugin	2008-09-25 14:32:04.000000000 +0300
++++ azureus-4.0.0.4/org/gudy/azureus2/pluginsimpl/update/PluginUpdatePlugin.java	2009-09-05 17:29:07.000000000 +0300
+@@ -138,19 +138,19 @@ PluginUpdatePlugin
+ 	initComplete(
+ 		final PluginConfig		plugin_config )
+ 	{
 -		UpdateManager	update_manager = plugin_interface.getUpdateManager();
--		
++// 		UpdateManager	update_manager = plugin_interface.getUpdateManager();
+ 		
 -		update_manager.addListener(
 -			new UpdateManagerListener()
 -			{
@@ -15,17 +17,25 @@
 -				{
 -					SFPluginDetailsLoaderFactory.getSingleton().reset();
 -				}
--				
++// 		update_manager.addListener(
++// 			new UpdateManagerListener()
++// 			{
++// 				public void
++// 				checkInstanceCreated(
++// 					UpdateCheckInstance	inst )
++// 				{
++// 					SFPluginDetailsLoaderFactory.getSingleton().reset();
++// 				}
+ 				
 -			});
--		
- 		final PluginManager	plugin_manager = plugin_interface.getPluginManager();
++// 			});
  		
- 		PluginInterface[]	plugins = plugin_manager.getPlugins();
-@@ -169,134 +155,6 @@
+ 		final PluginManager	plugin_manager = plugin_interface.getPluginManager();
  		
+@@ -178,133 +178,133 @@ PluginUpdatePlugin
  		final int f_non_mandatory_count	= non_mandatory_count;
  		final int f_mandatory_count		= mandatory_count;
--		
+ 		
 -		update_manager.registerUpdatableComponent( 
 -			new UpdatableComponent()
 -			{
@@ -34,51 +44,86 @@
 -				{
 -					return( "Non-mandatory plugins" );
 -				}
--				
++// 		update_manager.registerUpdatableComponent( 
++// 			new UpdatableComponent()
++// 			{
++// 				public String
++// 				getName()
++// 				{
++// 					return( "Non-mandatory plugins" );
++// 				}
+ 				
 -				public int
 -				getMaximumCheckTime()
 -				{
 -					return( f_non_mandatory_count * (( RD_SIZE_RETRIES * RD_SIZE_TIMEOUT )/1000));
 -				}	
--				
++// 				public int
++// 				getMaximumCheckTime()
++// 				{
++// 					return( f_non_mandatory_count * (( RD_SIZE_RETRIES * RD_SIZE_TIMEOUT )/1000));
++// 				}	
+ 				
 -				public void
 -				checkForUpdate(
 -					UpdateChecker	checker )
 -				{
 -					if ( checkForUpdateSupport( checker, null, false ) == 0 ){
--						
++// 				public void
++// 				checkForUpdate(
++// 					UpdateChecker	checker )
++// 				{
++// 					if ( checkForUpdateSupport( checker, null, false ) == 0 ){
+ 						
 -						String[] rps = VersionCheckClient.getSingleton(). getRecommendedPlugins();
--						
++// 						String[] rps = VersionCheckClient.getSingleton(). getRecommendedPlugins();
+ 						
 -						boolean	found_one = false;
--						
++// 						boolean	found_one = false;
+ 						
 -						for (int i=0;i<rps.length;i++){
--							
++// 						for (int i=0;i<rps.length;i++){
+ 							
 -							String	rp_id = rps[i];
--							
--							if ( plugin_manager.getPluginInterfaceByID( rp_id ) != null ){
--								
++// 							String	rp_id = rps[i];
+ 							
+-							if ( plugin_manager.getPluginInterfaceByID( rp_id, false ) != null ){
++// 							if ( plugin_manager.getPluginInterfaceByID( rp_id, false ) != null ){
+ 								
 -									// already installed
--								
++// 									// already installed
+ 								
 -								continue;
 -							}
--							
++// 								continue;
++// 							}
+ 							
 -							final String	config_key = "recommended.processed." + rp_id;
--							
++// 							final String	config_key = "recommended.processed." + rp_id;
+ 							
 -							if ( !plugin_config.getPluginBooleanParameter( config_key, false )){
--								
++// 							if ( !plugin_config.getPluginBooleanParameter( config_key, false )){
+ 								
 -								try{
 -									final PluginInstaller installer = plugin_interface.getPluginManager().getPluginInstaller();
--									
++// 								try{
++// 									final PluginInstaller installer = plugin_interface.getPluginManager().getPluginInstaller();
+ 									
 -									StandardPlugin[]	sps = installer.getStandardPlugins();
--									
++// 									StandardPlugin[]	sps = installer.getStandardPlugins();
+ 									
 -									for (int j=0;j<sps.length;j++){
--										
++// 									for (int j=0;j<sps.length;j++){
+ 										
 -										final StandardPlugin	sp = sps[j];
--										
++// 										final StandardPlugin	sp = sps[j];
+ 										
 -										if ( sp.getId().equals( rp_id )){
--										
++// 										if ( sp.getId().equals( rp_id )){
+ 										
 -											found_one = true;
--											
++// 											found_one = true;
+ 											
 -											checker.getCheckInstance().addListener(
 -												new UpdateCheckInstanceListener()
 -												{
@@ -87,15 +132,29 @@
 -														UpdateCheckInstance		instance )
 -													{													
 -													}
--													
++// 											checker.getCheckInstance().addListener(
++// 												new UpdateCheckInstanceListener()
++// 												{
++// 													public void
++// 													cancelled(
++// 														UpdateCheckInstance		instance )
++// 													{													
++// 													}
+ 													
 -													public void
 -													complete(
 -														UpdateCheckInstance		instance )
 -													{
 -														if ( instance.getUpdates().length == 0 ){
--															
++// 													public void
++// 													complete(
++// 														UpdateCheckInstance		instance )
++// 													{
++// 														if ( instance.getUpdates().length == 0 ){
+ 															
 -															installRecommendedPlugin( installer, sp );
--															
++// 															installRecommendedPlugin( installer, sp );
+ 															
 -															plugin_config.setPluginParameter( config_key, true );
 -														}
 -													}
@@ -153,6 +212,63 @@
 -					log.log( LoggerChannel.LT_INFORMATION, "**** Update check starts ****" );
 -				}
 -			});
++// 															plugin_config.setPluginParameter( config_key, true );
++// 														}
++// 													}
++// 												});
++											
++// 											break;
++// 										}
++// 									}
++									
++// 								}catch( Throwable e ){
++									
++// 								}
++// 							}
++							
++// 							if ( found_one ){
++								
++// 								break;
++// 							}
++// 						}
++// 					}
++// 				}
++				
++// 			}, false );
++		
++// 		update_manager.registerUpdatableComponent( 
++// 				new UpdatableComponent()
++// 				{
++// 					public String
++// 					getName()
++// 					{
++// 						return( "Mandatory plugins" );
++// 					}
++					
++// 					public int
++// 					getMaximumCheckTime()
++// 					{
++// 						return( f_mandatory_count * (( RD_SIZE_RETRIES * RD_SIZE_TIMEOUT )/1000));
++// 					}
++					
++// 					public void
++// 					checkForUpdate(
++// 						UpdateChecker	checker )
++// 					{
++// 						checkForUpdateSupport( checker, null, true );
++// 					}			
++// 				}, true );
++		
++// 		update_manager.addListener(
++// 			new UpdateManagerListener()
++// 			{
++// 				public void
++// 				checkInstanceCreated(
++// 					UpdateCheckInstance	instance )
++// 				{
++// 					log.log( LoggerChannel.LT_INFORMATION, "**** Update check starts ****" );
++// 				}
++// 			});
  	}
  	
  	protected void

azureus-no-update-manager-SWTUpdateChecker.patch:
 SWTUpdateChecker.java |  168 --------------------------------------------------
 1 file changed, 1 insertion(+), 167 deletions(-)

Index: azureus-no-update-manager-SWTUpdateChecker.patch
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus-no-update-manager-SWTUpdateChecker.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- azureus-no-update-manager-SWTUpdateChecker.patch	7 Dec 2007 15:58:19 -0000	1.6
+++ azureus-no-update-manager-SWTUpdateChecker.patch	13 Sep 2009 15:36:35 -0000	1.7
@@ -1,10 +1,12 @@
---- iorigorg/gudy/azureus2/ui/swt/updater2/SWTUpdateChecker.java	2007-12-03 10:07:11.000000000 -0500
-+++ org/gudy/azureus2/ui/swt/updater2/SWTUpdateChecker.java	2007-12-07 09:52:45.000000000 -0500
-@@ -64,180 +64,12 @@
+diff -up azureus-4.2.0.8/org/gudy/azureus2/ui/swt/updater2/SWTUpdateChecker.java.no-update-manager-SWTUpdateChecker azureus-4.2.0.8/org/gudy/azureus2/ui/swt/updater2/SWTUpdateChecker.java
+--- azureus-4.2.0.8/org/gudy/azureus2/ui/swt/updater2/SWTUpdateChecker.java.no-update-manager-SWTUpdateChecker	2009-04-16 20:46:42.000000000 +0200
++++ azureus-4.2.0.8/org/gudy/azureus2/ui/swt/updater2/SWTUpdateChecker.java	2009-09-13 12:57:58.000000000 +0200
+@@ -64,180 +64,14 @@ public class SWTUpdateChecker implements
    public static void
    initialize()
    {
--    PluginInitializer.getDefaultInterface().getUpdateManager().registerUpdatableComponent(new SWTUpdateChecker(),true);
+-  	PluginInitializer.getDefaultInterface().getUpdateManager().registerUpdatableComponent(new SWTUpdateChecker(),true);
++
    }
    
    public SWTUpdateChecker() {    
@@ -14,13 +16,12 @@
 -  	try{
 -	    SWTVersionGetter versionGetter = new SWTVersionGetter( checker );
 -	    
--     	boolean	update_required  = 	versionGetter.needsUpdate() && 
--     								System.getProperty("azureus.skipSWTcheck") == null ;
+-     	boolean	update_required  = 	System.getProperty("azureus.skipSWTcheck") == null && versionGetter.needsUpdate();
 -    	
 -	    if ( update_required ){
 -        	    
 -	       	int	update_prevented_version = COConfigurationManager.getIntParameter( "swt.update.prevented.version", -1 );
--
+ 
 -	    	try{
 -		        URL	swt_url = SWT.class.getClassLoader().getResource("org/eclipse/swt/SWT.class");
 -		        
@@ -69,6 +70,17 @@
 -		        	    			// we need to periodically remind the user there's a problem as they need to realise that
 -		        	    			// it is causing ALL updates (core/plugin) to fail
 -		        	    		
+-		        	    		String	alert = 
+-		        	    			MessageText.getString( 
+-		        	    					"swt.alert.cant.update", 
+-		        	    					new String[]{
+-			        	    					String.valueOf( versionGetter.getCurrentVersion()),
+-			        	    					String.valueOf( versionGetter.getLatestVersion()),
+-		        	    						jar_file_dir.toString(), 
+-		        	    						expected_dir.toString()});
+-		        	    		
+-		        	    		checker.reportProgress( alert );
+-		        	    		
 -		        	    		long	last_prompt = COConfigurationManager.getLongParameter( "swt.update.prevented.version.time", 0 );
 -		        	    		long	now			= SystemTime.getCurrentTime();
 -		        	    		
@@ -80,16 +92,7 @@
 -		        	    		}
 -		        	    		
 -		        		    	if ( force || update_prevented_version != versionGetter.getCurrentVersion()){
--			        		    		
--			        	    		String	alert = 
--			        	    			MessageText.getString( 
--			        	    					"swt.alert.cant.update", 
--			        	    					new String[]{
--				        	    					String.valueOf( versionGetter.getCurrentVersion()),
--				        	    					String.valueOf( versionGetter.getLatestVersion()),
--			        	    						jar_file_dir.toString(), 
--			        	    						expected_dir.toString()});
--			        	    		
+-			        		    				        	    		
 -			        	     		Logger.log(	new LogAlert(LogAlert.REPEATABLE, LogEvent.LT_ERROR, alert ));
 -			        						
 -			        	     		update_prevented_version = versionGetter.getCurrentVersion();
@@ -151,7 +154,7 @@
 -	      
 -	      final Update update = 
 -	    	  checker.addUpdate("SWT Library for " + versionGetter.getPlatform(),
--		          new String[] {"SWT is the graphical library used by Azureus"},
+-		          new String[] {"SWT is the graphical library used by " + Constants.APP_NAME},
 -		          "" + versionGetter.getLatestVersion(),
 -		          swtDownloader,
 -		          Update.RESTART_REQUIRED_YES
@@ -177,7 +180,6 @@
 -  		
 -  		checker.completed();
 -  	}
--    
+     
    }
    
-   private boolean 

azureus-no-update-manager-UpdateMonitor.patch:
 UpdateMonitor.java |  220 +++++++++++++----------------------------------------
 1 file changed, 57 insertions(+), 163 deletions(-)

Index: azureus-no-update-manager-UpdateMonitor.patch
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus-no-update-manager-UpdateMonitor.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- azureus-no-update-manager-UpdateMonitor.patch	29 Jan 2008 16:02:38 -0000	1.7
+++ azureus-no-update-manager-UpdateMonitor.patch	13 Sep 2009 15:36:35 -0000	1.8
@@ -1,17 +1,27 @@
---- origorg/gudy/azureus2/ui/swt/update/UpdateMonitor.java	2007-11-30 10:44:14.000000000 -0500
-+++ org/gudy/azureus2/ui/swt/update/UpdateMonitor.java	2008-01-29 10:08:47.000000000 -0500
-@@ -89,70 +89,6 @@
+diff -up azureus-4.2.0.8/org/gudy/azureus2/ui/swt/update/UpdateMonitor.java.no-update-manager-UpdateMonitor azureus-4.2.0.8/org/gudy/azureus2/ui/swt/update/UpdateMonitor.java
+--- azureus-4.2.0.8/org/gudy/azureus2/ui/swt/update/UpdateMonitor.java.no-update-manager-UpdateMonitor	2009-07-08 19:00:26.000000000 +0200
++++ azureus-4.2.0.8/org/gudy/azureus2/ui/swt/update/UpdateMonitor.java	2009-09-13 13:24:24.000000000 +0200
+@@ -100,66 +100,66 @@ public class UpdateMonitor
  	protected UpdateMonitor(AzureusCore _azureus_core) {
  		azCore = _azureus_core;
  
--		PluginInterface defPI = azCore.getPluginManager().getDefaultPluginInterface();
+-		PluginInterface defPI = PluginInitializer.getDefaultInterface();
 -		UpdateManager um = defPI.getUpdateManager();
--
++// 		PluginInterface defPI = PluginInitializer.getDefaultInterface();
++// 		UpdateManager um = defPI.getUpdateManager();
+ 
 -		um.addListener(new UpdateManagerListener() {
 -			public void checkInstanceCreated(UpdateCheckInstance instance) {
 -				instance.addListener(UpdateMonitor.this);
--				
--				new updateStatusChanger(instance);
++// 		um.addListener(new UpdateManagerListener() {
++// 			public void checkInstanceCreated(UpdateCheckInstance instance) {
++// 				instance.addListener(UpdateMonitor.this);
+ 				
+-				if ( !instance.isLowNoise()){
++// 				if ( !instance.isLowNoise()){
+ 				
+-					new updateStatusChanger(instance);
+-				}
 -			}
 -		});
 -
@@ -61,17 +71,61 @@
 -						performAutoCheck(false);
 -					}
 -				});
--
--		// wait a bit before starting check to give rest of AZ time to initialise 
--		new DelayedEvent("UpdateMon:wait", 2500, new AERunnable() {
--			public void runSupport() {
--				performAutoCheck(true);
--			}
--		});
- 	}
++// 					new updateStatusChanger(instance);
++// 				}
++// 			}
++// 		});
++
++// 		um.addVerificationListener(new UpdateManagerVerificationListener() {
++// 			public boolean acceptUnVerifiedUpdate(final Update update) {
++// 				UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
++// 				if (uiFunctions != null) {
++// 					String title = MessageText.getString(MSG_PREFIX
++// 							+ "accept.unverified.title");
++// 					String text = MessageText.getString(MSG_PREFIX
++// 							+ "accept.unverified.text", new String[] {
++// 						update.getName()
++// 					});
++// 					return uiFunctions.promptUser(title, text, new String[] {
++// 						MessageText.getString("Button.yes"),
++// 						MessageText.getString("Button.no")
++// 					}, 1, MSG_PREFIX + "accept.unverified",
++// 							MessageText.getString("MessageBoxWindow.nomoreprompting"), false,
++// 							0) == 0;
++// 				}
++
++// 				return false;
++// 			}
++
++// 			public void verificationFailed(final Update update, final Throwable cause) {
++// 				final String cause_str = Debug.getNestedExceptionMessage(cause);
++// 				UIFunctions uiFunctions = UIFunctionsManager.getUIFunctions();
++// 				if (uiFunctions != null) {
++// 					String title = MessageText.getString(MSG_PREFIX
++// 							+ "verification.failed.title");
++// 					String text = MessageText.getString(MSG_PREFIX
++// 							+ "verification.failed.text", new String[] {
++// 						update.getName(),
++// 						cause_str
++// 					});
++// 					uiFunctions.promptUser(title, text, new String[] {
++// 						MessageText.getString("Button.ok")
++// 					}, 0, null, null, false, 0);
++// 				}
++// 			}
++// 		});
++
++
++// 		SimpleTimer.addPeriodicEvent("UpdateMon:autocheck",
++// 				AUTO_UPDATE_CHECK_PERIOD, new TimerEventPerformer() {
++// 					public void perform(TimerEvent ev) {
++// 						performAutoCheck(false);
++// 					}
++// 				});
  
- 	protected class updateStatusChanger
-@@ -306,43 +242,6 @@
+ 		DelayedTask delayed_task = 
+ 			UtilitiesImpl.addDelayedTask(
+@@ -381,43 +381,6 @@ public class UpdateMonitor
  	}
  	
  	protected void performAutoCheck(final boolean start_of_day) {
@@ -115,7 +169,7 @@
  	}
  
  	public void 
-@@ -352,76 +251,6 @@
+@@ -427,76 +390,7 @@ public class UpdateMonitor
  		final boolean						isRecheck,
  		final UpdateCheckInstanceListener 	l ) 
  	{
@@ -170,7 +224,7 @@
 -
 -		AEThread2 t = new AEThread2("UpdateMonitor:kickoff", true) {
 -			public void run() {
--				UpdateManager um = azCore.getPluginManager().getDefaultPluginInterface().getUpdateManager();
+-				UpdateManager um = PluginInitializer.getDefaultInterface().getUpdateManager();
 -
 -				current_update_instance = um.createUpdateCheckInstance(bForce
 -						? UpdateCheckInstance.UCI_INSTALL : UpdateCheckInstance.UCI_UPDATE,
@@ -187,8 +241,8 @@
 -				current_update_instance.start();
 -			}
 -		};
--
+ 
 -		t.start();
  	}
  
- 	public void complete(UpdateCheckInstance instance) {
+ 	public void complete( final UpdateCheckInstance instance) {

azureus-no-updates-PluginInitializer.patch:
 PluginInitializer.java |   52 ++++++++++++++++++++++++-------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

Index: azureus-no-updates-PluginInitializer.patch
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus-no-updates-PluginInitializer.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- azureus-no-updates-PluginInitializer.patch	3 Dec 2007 17:03:21 -0000	1.3
+++ azureus-no-updates-PluginInitializer.patch	13 Sep 2009 15:36:35 -0000	1.4
@@ -1,74 +1,106 @@
---- ../azureus3orig/azureus3/org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java	2007-12-03 10:07:11.000000000 -0500
-+++ org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java	2007-12-03 10:27:39.000000000 -0500
-@@ -44,13 +44,8 @@
+diff -up azureus-4.2.0.8/org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java.no-updates-PluginInitializer azureus-4.2.0.8/org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java
+--- azureus-4.2.0.8/org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java.no-updates-PluginInitializer	2009-07-01 01:24:02.000000000 +0200
++++ azureus-4.2.0.8/org/gudy/azureus2/pluginsimpl/local/PluginInitializer.java	2009-09-13 12:36:54.000000000 +0200
+@@ -39,11 +39,11 @@ import org.gudy.azureus2.core3.util.*;
  import org.gudy.azureus2.plugins.*;
  import org.gudy.azureus2.pluginsimpl.local.launch.PluginLauncherImpl;
  import org.gudy.azureus2.pluginsimpl.local.ui.UIManagerImpl;
--import org.gudy.azureus2.pluginsimpl.local.update.*;
+-import org.gudy.azureus2.pluginsimpl.local.update.UpdateManagerImpl;
++//import org.gudy.azureus2.pluginsimpl.local.update.UpdateManagerImpl;
  import org.gudy.azureus2.pluginsimpl.local.utils.UtilitiesImpl;
- 
+ import org.gudy.azureus2.pluginsimpl.local.utils.UtilitiesImpl.runnableWithException;
 -import org.gudy.azureus2.update.UpdaterUpdateChecker;
 -import org.gudy.azureus2.update.UpdaterUtils;
--
--
++//import org.gudy.azureus2.update.UpdaterUpdateChecker;
++//import org.gudy.azureus2.update.UpdaterUtils;
+ 
+ import com.aelitis.azureus.core.*;
  
- /**
-  * @author Olivier
-@@ -91,11 +86,6 @@
-    					"azbpsharehoster", 
+@@ -92,12 +92,12 @@ PluginInitializer
     					"ShareHoster",
- 					"true" },
+ 					"true",
+ 					"false"},
 -   			{	 PluginManagerDefaults.PID_PLUGIN_UPDATE_CHECKER, 
 -   					"org.gudy.azureus2.pluginsimpl.update.PluginUpdatePlugin", 
 -   					"azbppluginupdate", 
 -   					"PluginUpdate",
--					"true" },
- 			{	 PluginManagerDefaults.PID_CLIENT_ID, 
- 				    "com.aelitis.azureus.plugins.clientid.ClientIDPlugin", 
- 				    "azbpclientid", 
-@@ -121,16 +111,6 @@
- 					"azbpmagnet", 
+-					"true",
+-					"true"},
++//    			{	 PluginManagerDefaults.PID_PLUGIN_UPDATE_CHECKER, 
++//    					"org.gudy.azureus2.pluginsimpl.update.PluginUpdatePlugin", 
++//    					"azbppluginupdate", 
++//    					"PluginUpdate",
++// 					"true",
++// 					"true"},
+ 			{	 PluginManagerDefaults.PID_UPNP, 
+ 				    "com.aelitis.azureus.plugins.upnp.UPnPPlugin", 
+ 				    "azbpupnp", 
+@@ -122,18 +122,18 @@ PluginInitializer
  					"Magnet URI Handler",
- 					"true" },
+ 					"true",
+ 					"false"},
 -			{	 PluginManagerDefaults.PID_CORE_UPDATE_CHECKER, 
 -   					"org.gudy.azureus2.update.CoreUpdateChecker", 
 -   					"azbpcoreupdater", 
 -   					"CoreUpdater",
--					"true" },
+-					"true",
+-					"true"},
 -			{	 PluginManagerDefaults.PID_CORE_PATCH_CHECKER, 
 -   					"org.gudy.azureus2.update.CorePatchChecker", 
 -   					"azbpcorepatcher", 
 -   					"CorePatcher",
--					"true" },
+-					"true",
+-					"true"},
++// 			{	 PluginManagerDefaults.PID_CORE_UPDATE_CHECKER, 
++//    					"org.gudy.azureus2.update.CoreUpdateChecker", 
++//    					"azbpcoreupdater", 
++//    					"CoreUpdater",
++// 					"true",
++// 					"true"},
++// 			{	 PluginManagerDefaults.PID_CORE_PATCH_CHECKER, 
++//    					"org.gudy.azureus2.update.CorePatchChecker", 
++//    					"azbpcorepatcher", 
++//    					"CorePatcher",
++// 					"true",
++// 					"true"},
  	   		{	 PluginManagerDefaults.PID_PLATFORM_CHECKER, 
     					"org.gudy.azureus2.platform.PlatformManagerPluginDelegate", 
     					"azplatform2", 
-@@ -316,11 +296,7 @@
+@@ -417,7 +417,7 @@ PluginInitializer
    	
    	core_operation 	= _core_operation;
      
 -    UpdateManagerImpl.getSingleton( azureus_core );	// initialise the update manager
--       
++//     UpdateManagerImpl.getSingleton( azureus_core );	// initialise the update manager
+        
      plugin_manager = PluginManagerImpl.getSingleton( this );
--    
+     
+@@ -439,7 +439,7 @@ PluginInitializer
+     	}
+     }
+     
 -    UpdaterUtils.checkBootstrapPlugins();
++//     UpdaterUtils.checkBootstrapPlugins();
    }
    
-   protected boolean
-@@ -946,16 +922,11 @@
- 	      
+   protected void
+@@ -1145,8 +1145,8 @@ PluginInitializer
  	      if ( load_failure != null ){
- 	      		  
--	    	  	// don't complain about our internal one
--	    	  
+ 	    	  plugin_interface.setAsFailed();
+ 	    	  
+-	    	// don't complain about our internal one
 -	    	  if ( !pid.equals(UpdaterUpdateChecker.getPluginID())){
--	    		  
- 		      	String	msg = "Error loading plugin '" + pluginName + "' / '" + plugin_class_string + "'";
- 		   	 
- 		      	Logger.log(new LogAlert(LogAlert.UNREPEATABLE, msg, load_failure));
++		  //	    	// don't complain about our internal one
++		  //	    	  if ( !pid.equals(UpdaterUpdateChecker.getPluginID())){
+ 	    		  
+ 		      	String msg = "Error loading plugin '" + pluginName + "' / '" + plugin_class_string + "'";
+ 		      	LogAlert la;
+@@ -1159,7 +1159,7 @@ PluginInitializer
+ 		      	Logger.log(la);
  	
- 		      	System.out.println( msg + " : " + load_failure);
+ 		      	System.out.println( msg + ": " + load_failure);
 -		      }
++			//		      }
  	      }
    		}
  	      

azureus-no-updates-PluginInterfaceImpl.patch:
 PluginInterfaceImpl.java |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: azureus-no-updates-PluginInterfaceImpl.patch
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus-no-updates-PluginInterfaceImpl.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- azureus-no-updates-PluginInterfaceImpl.patch	29 May 2006 16:02:45 -0000	1.3
+++ azureus-no-updates-PluginInterfaceImpl.patch	13 Sep 2009 15:36:35 -0000	1.4
@@ -1,6 +1,7 @@
---- org/gudy/azureus2/pluginsimpl/local/PluginInterfaceImpl.java.orig	2006-05-02 02:33:14.000000000 -0700
-+++ org/gudy/azureus2/pluginsimpl/local/PluginInterfaceImpl.java	2006-05-12 09:58:07.000000000 -0700
-@@ -48,7 +48,6 @@
+diff -up azureus-4.0.0.4/org/gudy/azureus2/pluginsimpl/local/PluginInterfaceImpl.java.no-updates-PluginInterfaceImpl azureus-4.0.0.4/org/gudy/azureus2/pluginsimpl/local/PluginInterfaceImpl.java
+--- azureus-4.0.0.4/org/gudy/azureus2/pluginsimpl/local/PluginInterfaceImpl.java.no-updates-PluginInterfaceImpl	2008-08-20 08:20:26.000000000 +0300
++++ azureus-4.0.0.4/org/gudy/azureus2/pluginsimpl/local/PluginInterfaceImpl.java	2009-09-03 20:35:39.000000000 +0300
+@@ -50,7 +50,6 @@ import org.gudy.azureus2.pluginsimpl.loc
  import org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterRepository;
  import org.gudy.azureus2.pluginsimpl.local.ui.config.PluginConfigUIFactoryImpl;
  import org.gudy.azureus2.pluginsimpl.local.utils.*;
@@ -8,12 +9,12 @@
  import org.gudy.azureus2.plugins.ipc.IPCInterface;
  import org.gudy.azureus2.plugins.ipfilter.IPFilter;
  import org.gudy.azureus2.plugins.tracker.Tracker;
-@@ -412,7 +411,7 @@
+@@ -426,7 +425,7 @@ PluginInterfaceImpl 
    public UpdateManager
    getUpdateManager()
    {
 -  	return( UpdateManagerImpl.getSingleton( initialiser.getAzureusCore()));
-+      return( null );
++  	return( null );
    }
  
-   public PeerProtocolManager
+   


Index: azureus.script
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus.script,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -r1.24 -r1.25
--- azureus.script	4 Aug 2009 13:52:13 -0000	1.24
+++ azureus.script	13 Sep 2009 15:36:35 -0000	1.25
@@ -12,9 +12,12 @@ SCRIPT_VERSION=2
 rm -rf $APPDIR/plugins
 mkdir -p $APPDIR/plugins
 pushd $APPDIR/plugins > /dev/null 2>&1
-for pdir in /usr/share/azureus/plugins/*; do
-  ln -s $pdir .;
-done;
+if ls /usr/share/azureus/plugins/* > /dev/null 2>&1;then
+    for pdir in /usr/share/azureus/plugins/*; do
+	ln -s $pdir .;
+    done;
+fi
+
 popd > /dev/null 2>&1
 
 case $(uname -i) in


Index: azureus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/azureus/devel/azureus.spec,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -p -r1.79 -r1.80
--- azureus.spec	13 Sep 2009 08:49:25 -0000	1.79
+++ azureus.spec	13 Sep 2009 15:36:35 -0000	1.80
@@ -2,7 +2,7 @@
 
 Name:		azureus
 Version:	4.2.0.8
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A BitTorrent Client
 Group:		Applications/Internet
 License:	GPLv2+
@@ -18,16 +18,15 @@ Source3:	azureus.applications
 Patch2:		azureus-cache-size.patch
 Patch3:		azureus-remove-manifest-classpath.patch
 Patch9:		azureus-no-shared-plugins.patch
-#Patch12:	azureus-no-updates-PluginInitializer.patch
-#Patch13:	azureus-no-updates-PluginInterfaceImpl.patch
+Patch12:	azureus-no-updates-PluginInitializer.patch
+Patch13:	azureus-no-updates-PluginInterfaceImpl.patch
 Patch14:	azureus-no-update-manager-AzureusCoreImpl.patch
 Patch15:	azureus-no-update-manager-CorePatchChecker.patch
-#Patch16:	azureus-no-update-manager-CoreUpdateChecker.patch
-#Patch18:	azureus-no-update-manager-PluginInstallerImpl.patch
-#Patch19:	azureus-no-update-manager-PluginUpdatePlugin.patch
-#Patch20:	azureus-no-update-manager-SWTUpdateChecker.patch
-#Patch22:	azureus-no-update-manager-UpdateMonitor.patch
-#Patch23:	azureus-no-update-manager-PluginInstallerImpl-2.patch
+Patch16:	azureus-no-update-manager-CoreUpdateChecker.patch
+Patch18:	azureus-no-update-manager-PluginInstallerImpl.patch
+Patch19:	azureus-no-update-manager-PluginUpdatePlugin.patch
+Patch20:	azureus-no-update-manager-SWTUpdateChecker.patch
+Patch22:	azureus-no-update-manager-UpdateMonitor.patch
 Patch27:	azureus-SecureMessageServiceClientHelper-bcprov.patch
 Patch28:	azureus-configuration.patch
 #Patch31:	azureus-fix-menu-MainMenu.patch
@@ -76,16 +75,15 @@ advanced users.
 %patch2 -p0
 %patch3 -p1 -b .remove-manifest-classpath
 %patch9 -p0
-#%patch12 -p0
-#%patch13 -p0
+%patch12 -p1 -b .no-updates-PluginInitializer
+%patch13 -p1 -b .no-updates-PluginInterfaceImpl
 %patch14 -p0
 %patch15 -p0
-#%patch16 -p0
-#%patch18 -p0
-#%patch19 -p0
-#%patch20 -p0
-#%patch22 -p0
-#%patch23 -p0
+%patch16 -p1 -b .no-update-manager-CoreUpdateChecker
+%patch18 -p1 -b .no-update-manager-PluginInstallerImpl
+%patch19 -p1 -b .no-update-manager-PluginUpdatePlugin
+%patch20 -p1 -b .no-update-manager-SWTUpdateChecker
+%patch22 -p1 -b .no-update-manager-UpdateMonitor
 %patch27 -p1 -b .nobcprov
 %patch28 -p0
 #%patch31 -p0
@@ -244,6 +242,10 @@ fi
 %{_datadir}/azureus
 
 %changelog
+* Sun Sep  13 2009 David Juran <djuran at redhat.com> - 4.2.0.8-2
+- revive the no-updates patches (Bz515131)
+- fix start-script to work when  /usr/share/azureus/plugins/ is empty
+
 * Sat Sep 12 2009 David Juran <djuran at redhat.com> - 4.2.0.8-1
 - Upgrade to 4.2.0.8
 


--- azureus-no-update-manager-PluginInstallerImpl-2.patch DELETED ---




More information about the fedora-extras-commits mailing list