~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to debian/patches/90-updatecenter.patch

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-03-07 18:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20080307180000-jru3h4lbsfz7e71i
Tags: 6.0.1-0ubuntu2
* Bug fix upload (LP: #201332)
  - Replace GPLv2 text in debian/copyright by reference to
    /usr/share/common-licenses/GPL-2
  - Update dependency to openjdk6
  - Refine package descriptions
  - Add IDE Update Center specific to Ubuntu packages
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -Nur -x '*.orig' -x '*~' netbeans-6.0.1/ide/updatecenters/src/org/netbeans/modules/updatecenters/resources/Bundle.properties netbeans-6.0.1.new/ide/updatecenters/src/org/netbeans/modules/updatecenters/resources/Bundle.properties
 
2
--- netbeans-6.0.1/ide/updatecenters/src/org/netbeans/modules/updatecenters/resources/Bundle.properties 2007-11-08 13:30:54.000000000 +0100
 
3
+++ netbeans-6.0.1.new/ide/updatecenters/src/org/netbeans/modules/updatecenters/resources/Bundle.properties     2008-03-07 17:40:47.000000000 +0100
 
4
@@ -1,6 +1,6 @@
 
5
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
6
 #
 
7
-# Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
 
8
+# Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
 
9
 #
 
10
 # The contents of this file are subject to the terms of either the GNU
 
11
 # General Public License Version 2 only ("GPL") or the Common
 
12
@@ -23,7 +23,7 @@
 
13
 # Contributor(s):
 
14
 #
 
15
 # The Original Software is NetBeans. The Initial Developer of the Original
 
16
-# Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
 
17
+# Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
 
18
 # Microsystems, Inc. All Rights Reserved.
 
19
 #
 
20
 # If you wish your version of this file to be governed by only the CDDL
 
21
@@ -51,8 +51,10 @@
 
22
 Services/AutoupdateType/beta-update-provider.instance=NetBeans Beta
 
23
 Services/AutoupdateType/thirdparty-update-provider.instance=3rd Party Plugins
 
24
 Services/AutoupdateType/pluginportal-update-provider.instance=Plugin Portal
 
25
+Services/AutoupdateType/ubuntu-specific-update-provider.instance=Ubuntu Specific
 
26
 #NOI18N
 
27
 URL_Standard=http://updates.netbeans.org/netbeans/updates/6.0/uc/final/stable/catalog.xml.gz?{$netbeans.hash.code}
 
28
 URL_Beta=http://updates.netbeans.org/netbeans/updates/6.0/uc/final/beta/catalog.xml.gz?{$netbeans.hash.code}
 
29
 URL_ThirdParty=http://updates.netbeans.org/netbeans/updates/6.0/uc/final/thirdparty/catalog.xml.gz?{$netbeans.hash.code}
 
30
 URL_PluginPortal=http://plugins.netbeans.org/nbpluginportal/updates/6.0/catalog.xml.gz
 
31
+URL_Ubuntu_Specific=http://updates.netbeans.org/netbeans/updates/6.0/uc/final/ubuntu/catalog.xml.gz?{$netbeans.hash.code}
 
32
diff -Nur -x '*.orig' -x '*~' netbeans-6.0.1/ide/updatecenters/src/org/netbeans/modules/updatecenters/resources/mf-layer.xml netbeans-6.0.1.new/ide/updatecenters/src/org/netbeans/modules/updatecenters/resources/mf-layer.xml
 
33
--- netbeans-6.0.1/ide/updatecenters/src/org/netbeans/modules/updatecenters/resources/mf-layer.xml      2007-11-07 18:53:46.000000000 +0100
 
34
+++ netbeans-6.0.1.new/ide/updatecenters/src/org/netbeans/modules/updatecenters/resources/mf-layer.xml  2008-03-07 17:40:47.000000000 +0100
 
35
@@ -3,7 +3,7 @@
 
36
 <!--
 
37
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
38
 
 
39
-Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
 
40
+Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
 
41
 
 
42
 
 
43
 The contents of this file are subject to the terms of either the GNU
 
44
@@ -27,7 +27,7 @@
 
45
 Contributor(s):
 
46
 
 
47
 The Original Software is NetBeans. The Initial Developer of the Original
 
48
-Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
 
49
+Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
 
50
 Microsystems, Inc. All Rights Reserved.
 
51
 
 
52
 If you wish your version of this file to be governed by only the CDDL
 
53
@@ -88,6 +88,16 @@
 
54
         <attr name="instanceCreate" methodvalue="org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogFactory.createUpdateProvider" />        
 
55
       </file>
 
56
     
 
57
+      <file name="ubuntu-specific-update-provider.instance">
 
58
+          <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.updatecenters.resources.Bundle"/>
 
59
+          <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/updatecenters/resources/updateAction.gif"/>
 
60
+          <attr name="url_key" stringvalue="URL_Ubuntu_Specific"/>
 
61
+          <attr name="category" stringvalue="STANDARD"/> 
 
62
+          <attr name="enabled" boolvalue="true"/>
 
63
+          <attr name="instanceOf" stringvalue="org.netbeans.spi.autoupdate.UpdateProvider" />
 
64
+          <attr name="instanceCreate" methodvalue="org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogFactory.createUpdateProvider" />                
 
65
+      </file>
 
66
+      
 
67
    </folder>
 
68
     
 
69
   </folder> <!-- Services -->