[Pkg-mozext-commits] [SCM] Debian packaging for useragentswitcher branch, master, updated. upstream/0.7.3-10-g4609bfe

Fabrizio Regalli fabreg at fabreg.it
Sun Jan 8 21:32:38 UTC 2012


The following commit has been merged in the master branch:
commit 748faceae3dec35768610f5d41f5547e0846540a
Author: Fabrizio Regalli <fabreg at fabreg.it>
Date:   Sun Jan 8 22:31:58 2012 +0100

    Added bump-maxversion.diff patch for introducing compatibility with all Firefox/Iceweasel versions (Closes: #653884)

diff --git a/content/useragentswitcher/upgrade.js b/content/useragentswitcher/upgrade.js
index 3cfec6c..80d777e 100644
--- a/content/useragentswitcher/upgrade.js
+++ b/content/useragentswitcher/upgrade.js
@@ -162,11 +162,14 @@ var UserAgentSwitcherUpgrade =
 	// Opens the upgrade page
 	openUpgradePage: function()
 	{
-		var windowContent = window.getBrowser();
+/*		var windowContent = window.getBrowser();
 	
 		windowContent.removeEventListener("load", UserAgentSwitcherUpgrade.openUpgradePage, false);
 
-		window.setTimeout(function() { windowContent.selectedTab = windowContent.addTab("http://chrispederick.com/work/user-agent-switcher/installed/" + UserAgentSwitcherUpgrade.getVersion().replace(/\./g, "") + "/"); }, 0);	
+		window.setTimeout(function() { windowContent.selectedTab =
+		windowContent.addTab("http://chrispederick.com/work/user-agent-switcher/installed/"
+		+ UserAgentSwitcherUpgrade.getVersion().replace(/\./g, "") + "/"); },
+		0);*/
 	},
 
 	// Parses the version number
diff --git a/debian/changelog b/debian/changelog
index 4844123..0ac1a9b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
-useragentswitcher (0.7.3-2) UNRELEASED; urgency=low
+useragentswitcher (0.7.3-2) unstable; urgency=low
 
   * Fixed Vcs-* fields
   * Added Breaks: ${xpi:Breaks} to d/control
   * Bump Standards-Version to 3.9.2 (no changes needed)
   * Added myself to Uploaders
+  * Added bump-maxversion.diff patch for introducing compatibility
+    with all Firefox/Iceweasel versions (Closes: #653884)
 
  -- Fabrizio Regalli <fabreg at fabreg.it>  Tue, 29 Nov 2011 09:49:09 +0100
 
diff --git a/debian/patches/bump-maxversion.diff b/debian/patches/bump-maxversion.diff
new file mode 100644
index 0000000..18c2c09
--- /dev/null
+++ b/debian/patches/bump-maxversion.diff
@@ -0,0 +1,22 @@
+Description: Bump maxVersion for working with all Firefox/Iceweasel version.
+Author: Fabrizio Regalli <fabreg at fabreg.it>
+Forwarded: not-needed
+
+--- a/install.rdf
++++ b/install.rdf
+@@ -24,7 +24,7 @@
+     <em:targetApplication>
+       <Description>
+         <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+-        <em:maxVersion>4.0.*</em:maxVersion>
++        <em:maxVersion>*</em:maxVersion>
+         <em:minVersion>1.0</em:minVersion>
+       </Description>
+     </em:targetApplication>
+@@ -50,4 +50,4 @@
+       </Description>
+     </em:targetApplication>
+   </Description>
+-</RDF>
+\ No newline at end of file
++</RDF>
diff --git a/debian/patches/series b/debian/patches/series
index 66530d9..9e254ef 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+bump-maxversion.diff
 disable-ads.diff
diff --git a/install.rdf b/install.rdf
index 57cb56e..86400a5 100644
--- a/install.rdf
+++ b/install.rdf
@@ -24,7 +24,7 @@
     <em:targetApplication>
       <Description>
         <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
-        <em:maxVersion>4.0.*</em:maxVersion>
+        <em:maxVersion>*</em:maxVersion>
         <em:minVersion>1.0</em:minVersion>
       </Description>
     </em:targetApplication>
@@ -50,4 +50,4 @@
       </Description>
     </em:targetApplication>
   </Description>
-</RDF>
\ No newline at end of file
+</RDF>

-- 
Debian packaging for useragentswitcher



More information about the Pkg-mozext-commits mailing list