diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-11-22 18:06:01 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-11-22 18:06:01 -0200 |
commit | cc29d8eaadb5abdc47c7caf626df9fe0e6fcac62 (patch) | |
tree | 569469e688957fb1dcea03e61b6f772f266622df | |
parent | 6e4a822776112dd6d8b880690baf3a85652aaf3c (diff) |
ice{cat,weasel-libre}: fix Google GeoLocation removing
-rw-r--r-- | libre/icecat/PKGBUILD | 5 | ||||
-rw-r--r-- | libre/iceweasel-libre/PKGBUILD | 5 |
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 |