]> git.donarmstrong.com Git - dactyl.git/commitdiff
Rename iceweasel_6_support to iceweasel_6_support.patch
authorMichael Schutte <michi@uiae.at>
Sat, 23 Jul 2011 18:37:22 +0000 (20:37 +0200)
committerMichael Schutte <michi@uiae.at>
Sat, 23 Jul 2011 18:37:22 +0000 (20:37 +0200)
debian/patches/iceweasel_6_support [deleted file]
debian/patches/iceweasel_6_support.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/iceweasel_6_support b/debian/patches/iceweasel_6_support
deleted file mode 100644 (file)
index bfc081a..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-Origin: upstream
-Subject: Support Iceweasel up to version 6
-Forwarded: not-needed
-
-Minor tweaks to make Pentadactyl work with newer versions of Iceweasel.
-This patch is equivalent to the difference between 1.0b6 and 1.0b6.1
-(which is not in the upstream hg repository).
-
-This patch originated upstream.
-Index: devel/common/content/events.js
-===================================================================
---- devel.orig/common/content/events.js        2011-07-23 17:09:11.000000000 +0200
-+++ devel/common/content/events.js     2011-07-23 17:14:10.000000000 +0200
-@@ -1611,7 +1611,7 @@
-                         filter.keys = events.fromString(vals[0]).map(events.closure.toString);
-                         filter.commandKeys = vals.slice(1).map(events.closure.canonicalKeys);
--                        filter.inputKeys = filter.commandKeys.filter(/^<[ACM]-/);
-+                        filter.inputKeys = filter.commandKeys.filter(function (s) /^<[ACM]-/.test(s));
-                     });
-                     this.flush();
-                     return values;
-Index: devel/common/modules/options.jsm
-===================================================================
---- devel.orig/common/modules/options.jsm      2011-07-23 17:09:17.000000000 +0200
-+++ devel/common/modules/options.jsm   2011-07-23 17:10:38.000000000 +0200
-@@ -466,7 +466,7 @@
-         regexplist: function regexplist(k, default_) {
-             for (let re in values(this.value))
--                if (re(k))
-+                if ((re.test || re).call(re, k))
-                     return re.result;
-             return arguments.length > 1 ? default_ : null;
-         },
-Index: devel/pentadactyl/install.rdf
-===================================================================
---- devel.orig/pentadactyl/install.rdf 2011-07-23 17:09:28.000000000 +0200
-+++ devel/pentadactyl/install.rdf      2011-07-23 17:09:47.000000000 +0200
-@@ -31,8 +31,8 @@
-         <em:targetApplication>
-             <Description
-                 em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
--                em:minVersion="3.5"
--                em:maxVersion="4.0.*"/>
-+                em:minVersion="3.6"
-+                em:maxVersion="6.*"/>
-         </em:targetApplication>
-     </Description>
- </RDF>
diff --git a/debian/patches/iceweasel_6_support.patch b/debian/patches/iceweasel_6_support.patch
new file mode 100644 (file)
index 0000000..bfc081a
--- /dev/null
@@ -0,0 +1,50 @@
+Origin: upstream
+Subject: Support Iceweasel up to version 6
+Forwarded: not-needed
+
+Minor tweaks to make Pentadactyl work with newer versions of Iceweasel.
+This patch is equivalent to the difference between 1.0b6 and 1.0b6.1
+(which is not in the upstream hg repository).
+
+This patch originated upstream.
+Index: devel/common/content/events.js
+===================================================================
+--- devel.orig/common/content/events.js        2011-07-23 17:09:11.000000000 +0200
++++ devel/common/content/events.js     2011-07-23 17:14:10.000000000 +0200
+@@ -1611,7 +1611,7 @@
+                         filter.keys = events.fromString(vals[0]).map(events.closure.toString);
+                         filter.commandKeys = vals.slice(1).map(events.closure.canonicalKeys);
+-                        filter.inputKeys = filter.commandKeys.filter(/^<[ACM]-/);
++                        filter.inputKeys = filter.commandKeys.filter(function (s) /^<[ACM]-/.test(s));
+                     });
+                     this.flush();
+                     return values;
+Index: devel/common/modules/options.jsm
+===================================================================
+--- devel.orig/common/modules/options.jsm      2011-07-23 17:09:17.000000000 +0200
++++ devel/common/modules/options.jsm   2011-07-23 17:10:38.000000000 +0200
+@@ -466,7 +466,7 @@
+         regexplist: function regexplist(k, default_) {
+             for (let re in values(this.value))
+-                if (re(k))
++                if ((re.test || re).call(re, k))
+                     return re.result;
+             return arguments.length > 1 ? default_ : null;
+         },
+Index: devel/pentadactyl/install.rdf
+===================================================================
+--- devel.orig/pentadactyl/install.rdf 2011-07-23 17:09:28.000000000 +0200
++++ devel/pentadactyl/install.rdf      2011-07-23 17:09:47.000000000 +0200
+@@ -31,8 +31,8 @@
+         <em:targetApplication>
+             <Description
+                 em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
+-                em:minVersion="3.5"
+-                em:maxVersion="4.0.*"/>
++                em:minVersion="3.6"
++                em:maxVersion="6.*"/>
+         </em:targetApplication>
+     </Description>
+ </RDF>
index b6b4f3e579946e36127041c9391c64b3fb851148..69462b16ee4d32dfb815cb05057da435cf39af87 100644 (file)
@@ -1 +1 @@
-iceweasel_6_support
+iceweasel_6_support.patch