diff options
author | Ruben Rodriguez <ruben@gnu.org> | 2014-10-09 15:34:15 +0200 |
---|---|---|
committer | Ruben Rodriguez <ruben@gnu.org> | 2014-10-09 15:34:15 +0200 |
commit | ada9157dba86db9b58733c85359ef38b7629795c (patch) | |
tree | 289169857f2f00b88da0b3e12942909f03b4b1a7 /helpers/DATA/firefox/patches/hack-manifest-packaging.patch | |
parent | 09a39c557e4891556755dac241329b18980ecf33 (diff) |
Moved custom patches to helpers/DATA/firefox/patches/
Diffstat (limited to 'helpers/DATA/firefox/patches/hack-manifest-packaging.patch')
-rw-r--r-- | helpers/DATA/firefox/patches/hack-manifest-packaging.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/helpers/DATA/firefox/patches/hack-manifest-packaging.patch b/helpers/DATA/firefox/patches/hack-manifest-packaging.patch new file mode 100644 index 0000000..5cede80 --- /dev/null +++ b/helpers/DATA/firefox/patches/hack-manifest-packaging.patch @@ -0,0 +1,17 @@ +# Hack allowing to bundle whole unpacked extensions without their manifests +# breaking the packaging process. + +--- a/python/mozbuild/mozpack/packager/__init__.py 2014-10-04 19:03:00.000000000 +0000 ++++ b/python/mozbuild/mozpack/packager/__init__.py 2014-10-06 12:07:03.000000000 +0000 +@@ -246,7 +246,10 @@ + ''' + assert not self._closed + if is_manifest(path): +- self._add_manifest_file(path, file) ++ if "chrome.manifest" in path and "extensions" in path: ++ self._file_queue.append(self.formatter.add, path, file) ++ else: ++ self._add_manifest_file(path, file) + elif path.endswith('.xpt'): + self._queue.append(self.formatter.add_interfaces, path, file) + else: |