[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbrowser/maint-2.4] update pdfjs URL for alpha bundles since Mozilla has changed it depending on the platform



commit 2e0acfc476d4d1c9e9f8d261030833b15248f424
Author: Erinn Clark <erinn@xxxxxxxxxxxxxx>
Date:   Sun Mar 10 21:59:17 2013 +0100

    update pdfjs URL for alpha bundles since Mozilla has changed it depending on the platform
---
 build-scripts/linux-alpha.mk    |    1 +
 build-scripts/osx-alpha.mk      |    1 +
 build-scripts/versions-alpha.mk |    1 -
 build-scripts/windows-alpha.mk  |    1 +
 4 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/build-scripts/linux-alpha.mk b/build-scripts/linux-alpha.mk
index 65227e8..bccddf9 100644
--- a/build-scripts/linux-alpha.mk
+++ b/build-scripts/linux-alpha.mk
@@ -426,6 +426,7 @@ install-torbutton: torbutton.xpi
 	mkdir -p $(BUNDLE)/Data/profile/extensions/
 	cp torbutton.xpi $(BUNDLE)/Data/profile/extensions/torbutton@xxxxxxxxxxxxxxxxxx
 
+PDFJS_URL=https://addons.mozilla.org/firefox/downloads/latest/352704/platform:2/$(PDFJS_PACKAGE)
 install-pdfjs: pdfjs.xpi
 	cp pdfjs.xpi $(BUNDLE)/Data/profile/extensions/uriloader@xxxxxxxxxx
 
diff --git a/build-scripts/osx-alpha.mk b/build-scripts/osx-alpha.mk
index 31f15d8..dc9b2fe 100644
--- a/build-scripts/osx-alpha.mk
+++ b/build-scripts/osx-alpha.mk
@@ -466,6 +466,7 @@ install-noscript: noscript.xpi
 	cp noscript.xpi $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/extensions/\{73a6fe31-595d-460b-a920-fcc0f8843232\}/noscript.zip
 	(cd $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/extensions/\{73a6fe31-595d-460b-a920-fcc0f8843232\} && unzip *.zip && rm *.zip)
 
+PDFJS_URL=https://addons.mozilla.org/firefox/downloads/latest/352704/platform:3/$(PDFJS_PACKAGE)
 install-pdfjs: pdfjs.xpi
 	cp pdfjs.xpi $(BUNDLE)/Library/Application\ Support/Firefox/Profiles/profile/extensions/uriloader@xxxxxxxxxx
 
diff --git a/build-scripts/versions-alpha.mk b/build-scripts/versions-alpha.mk
index 3ea071b..f9237db 100644
--- a/build-scripts/versions-alpha.mk
+++ b/build-scripts/versions-alpha.mk
@@ -54,7 +54,6 @@ MOZBUILD_URL=https://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/$(M
 TORBUTTON_URL=https://people.torproject.org/~mikeperry/$(TORBUTTON_PACKAGE)
 NOSCRIPT_URL=https://addons.mozilla.org/firefox/downloads/latest/722/$(NOSCRIPT_PACKAGE)
 HTTPSEVERYWHERE_URL=https://eff.org/files/$(HTTPSEVERYWHERE_PACKAGE)
-PDFJS_URL=https://addons.mozilla.org/firefox/downloads/latest/352704/$(PDFJS_PACKAGE)
 OBFSPROXY_URL=https://archive.torproject.org/tor-package-archive/obfsproxy/$(OBFSPROXY_PACKAGE)
 
 # Provide some mappings between lower and upper case, which means we don't need
diff --git a/build-scripts/windows-alpha.mk b/build-scripts/windows-alpha.mk
index 987200f..0cc4854 100644
--- a/build-scripts/windows-alpha.mk
+++ b/build-scripts/windows-alpha.mk
@@ -452,6 +452,7 @@ install-noscript: $(SEVENZIP) noscript.xpi
 	cp noscript.xpi $(BUNDLE)/FirefoxPortable/Data/profile/extensions/\{73a6fe31-595d-460b-a920-fcc0f8843232\}/noscript.zip
 	(cd $(BUNDLE)/FirefoxPortable/Data/profile/extensions/\{73a6fe31-595d-460b-a920-fcc0f8843232\} && $(SEVENZIP) x *.zip && rm *.zip)
 
+PDFJS_URL=https://addons.mozilla.org/firefox/downloads/latest/352704/platform:5/$(PDFJS_PACKAGE)
 install-pdfjs: pdfjs.xpi
 	mkdir -p $(BUNDLE)/FirefoxPortable/Data/profile/extensions/
 	cp pdfjs.xpi $(BUNDLE)/FirefoxPortable/Data/profile/extensions/uriloader@xxxxxxxxxx



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits