summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-22 17:33:39 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-22 17:33:39 -0200
commit6e4a822776112dd6d8b880690baf3a85652aaf3c (patch)
tree4da5f1032bc0e624304eb76a6577072c00fb03c5 /libre
parent55c21947edfc47455458604d4617e71d40d4cf37 (diff)
downloadabslibre-6e4a822776112dd6d8b880690baf3a85652aaf3c.tar.gz
abslibre-6e4a822776112dd6d8b880690baf3a85652aaf3c.tar.bz2
abslibre-6e4a822776112dd6d8b880690baf3a85652aaf3c.zip
ice{cat,weasel-libre}: remove request URL of the Google GeoLocation backend
Diffstat (limited to 'libre')
-rw-r--r--libre/icecat/PKGBUILD4
-rw-r--r--libre/iceweasel-libre/PKGBUILD5
2 files changed, 7 insertions, 2 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD
index c249e740f..9c1f30c1c 100644
--- a/libre/icecat/PKGBUILD
+++ b/libre/icecat/PKGBUILD
@@ -14,7 +14,7 @@ _pgo=false
pkgname=icecat
pkgver=24.0
-pkgrel=4
+pkgrel=5
pkgdesc='GNU IceCat, the standalone web browser based on Mozilla Firefox.'
arch=(i686 x86_64 mips64el)
license=(MPL GPL LGPL)
@@ -74,6 +74,8 @@ prepare() {
sed -i 's|Adobe Flash|SWF Player|g;
' browser/base/content/pageinfo/permissions.js \
browser/base/content/browser-plugins.js
+ sed -i '\|geo.wifi.uri| s|https://www[.]googleapis[.]com/geolocation/v1/geolocate[?]key=[%]GOOGLE_API_KEY[%]||g;
+ ' browser/app/profile/firefox.js
# Fix for use nspr, sqlite and nss external
sed -i 's/\(MOZ_PKG_FATAL_WARNINGS =\).*/\1 0/' \
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index 69f526ba7..182f49a65 100644
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -23,7 +23,7 @@ _pkgname=iceweasel
pkgname=iceweasel-libre
epoch=1
pkgver=$_debver.$_debrel
-pkgrel=2
+pkgrel=3
pkgdesc="A libre version of Debian Iceweasel, the standalone web browser based on Mozilla Firefox."
arch=(i686 x86_64 mips64el)
@@ -94,6 +94,9 @@ prepare() {
sed -i 's|Adobe Flash|SWF Player|g;
' browser/base/content/pageinfo/permissions.js \
browser/base/content/browser-plugins.js
+ sed -i '\|geo.wifi.uri| s|https://www[.]googleapis[.]com/geolocation/v1/geolocate[?]key=[%]GOOGLE_API_KEY[%]||g;
+ ' browser/app/profile/firefox.js \
+ browser/metro/profile/metro.js
rm -v browser/base/content/abouthome/snippet*.png || true
sed -i "\|abouthome/snippet|d" browser/base/jar.mn