summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-22 18:06:01 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2013-11-22 18:06:01 -0200
commitcc29d8eaadb5abdc47c7caf626df9fe0e6fcac62 (patch)
tree569469e688957fb1dcea03e61b6f772f266622df
parent6e4a822776112dd6d8b880690baf3a85652aaf3c (diff)
downloadabslibre-cc29d8eaadb5abdc47c7caf626df9fe0e6fcac62.tar.gz
abslibre-cc29d8eaadb5abdc47c7caf626df9fe0e6fcac62.tar.bz2
abslibre-cc29d8eaadb5abdc47c7caf626df9fe0e6fcac62.zip
ice{cat,weasel-libre}: fix Google GeoLocation removing
-rw-r--r--libre/icecat/PKGBUILD5
-rw-r--r--libre/iceweasel-libre/PKGBUILD5
2 files changed, 6 insertions, 4 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD
index 9c1f30c1c..0d26fd734 100644
--- a/libre/icecat/PKGBUILD
+++ b/libre/icecat/PKGBUILD
@@ -73,8 +73,9 @@ prepare() {
patch -Np1 -i $srcdir/libre.patch
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/base/content/browser-plugins.js
+ sed -i '\|URL of the GeoLocation backend|d;
+ \|geo[.]wifi[.]uri|d;
' browser/app/profile/firefox.js
# Fix for use nspr, sqlite and nss external
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index 182f49a65..9f3ee6be8 100644
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -93,8 +93,9 @@ prepare() {
patch -Np1 -i "$srcdir/libre.patch"
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/base/content/browser-plugins.js
+ sed -i '\|URL of the GeoLocation backend|d;
+ \|geo[.]wifi[.]uri|d;
' browser/app/profile/firefox.js \
browser/metro/profile/metro.js
rm -v browser/base/content/abouthome/snippet*.png || true