[tor-commits] [torbrowser/maint-2.2] Remove the fix-install-rdf target

erinn at torproject.org erinn at torproject.org
Thu Mar 8 20:43:00 UTC 2012


commit dcd0e9f36b2cfa6cd64f58ff0848606d0c1b4487
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Sat Feb 18 21:03:35 2012 +0100

    Remove the fix-install-rdf target
    
    Extensions are now compatible with newer FF by default, and we haven't
    used it for a while anyway
---
 build-scripts/linux.mk   |    7 -------
 build-scripts/osx.mk     |    7 -------
 build-scripts/windows.mk |    7 -------
 3 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/build-scripts/linux.mk b/build-scripts/linux.mk
index 1c785d5..67db913 100644
--- a/build-scripts/linux.mk
+++ b/build-scripts/linux.mk
@@ -433,13 +433,6 @@ install-extensions: $(DEFAULT_EXTENSIONS)
 		done
 
 ## Language extensions need to be handled differently from other extensions
-fix-install-rdf: $(filter-out langpack_en-US.xpi,langpack_$(LANGCODE).xpi)
-ifneq ($(LANGCODE), en-US)
-	rm -fr xx
-	mkdir xx
-	(cd xx && unzip ../langpack_$(LANGCODE).xpi && sed -i -e "s/em:maxVersion>6.0.1/em:maxVersion>6.0.*/" install.rdf && zip  -r ../langpack_$(LANGCODE).xpi .)
-endif
-
 install-lang-extensions: $(filter-out langpack_en-US.xpi,langpack_$(LANGCODE).xpi)
 ifneq ($(LANGCODE), en-US)
 	mkdir -p $(BUNDLE)/Data/profile/extensions
diff --git a/build-scripts/osx.mk b/build-scripts/osx.mk
index edd3b7b..bda3216 100644
--- a/build-scripts/osx.mk
+++ b/build-scripts/osx.mk
@@ -396,13 +396,6 @@ install-extensions: $(DEFAULT_EXTENSIONS)
 
 ## Language extensions need to be handled differently from other extensions
 
-fix-install-rdf: $(filter-out langpack_en-US.xpi,langpack_$(LANGCODE).xpi)
-ifneq ($(LANGCODE), en-US)
-	rm -fr xx
-	mkdir xx
-	(cd xx && unzip ../langpack_$(LANGCODE).xpi && sed -i -e "s/em:maxVersion>6.0.1/em:maxVersion>6.0.*/" install.rdf && zip  -r ../langpack_$(LANGCODE).xpi .)
-endif
-
 install-lang-extensions: $(filter-out langpack_en-US.xpi,langpack_$(LANGCODE).xpi)
 ifneq ($(LANGCODE), en-US)
 	mkdir -p $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/extensions/
diff --git a/build-scripts/windows.mk b/build-scripts/windows.mk
index 6c09ec8..3250219 100644
--- a/build-scripts/windows.mk
+++ b/build-scripts/windows.mk
@@ -410,13 +410,6 @@ copy-files_%: generic-bundle.stamp
 BUNDLE=$(NAME)_$(LANGCODE)/$(NAME)
 DUMMYPROFILE=$(BUNDLE)/FirefoxPortable/App/DummyProfile
 
-fix-install-rdf: $(filter-out langpack_en-US.xpi,langpack_$(LANGCODE).xpi)
-ifneq ($(LANGCODE), en-US)
-	rm -fr xx
-	mkdir xx
-	(cd xx && unzip ../langpack_$(LANGCODE).xpi && sed -i -e "s/em:maxVersion>6.0.1/em:maxVersion>6.0.*/" install.rdf && zip  -r ../langpack_$(LANGCODE).xpi .)
-endif
-
 install-extensions: $(filter-out langpack_en-US.xpi,langpack_$(LANGCODE).xpi)
 	## Make a dummy profile to stop Firefox creating some large files
 	cp -r $(BUNDLE)/FirefoxPortable/App/DefaultData $(DUMMYPROFILE)





More information about the tor-commits mailing list