From cc29d8eaadb5abdc47c7caf626df9fe0e6fcac62 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 22 Nov 2013 18:06:01 -0200 Subject: ice{cat,weasel-libre}: fix Google GeoLocation removing --- libre/icecat/PKGBUILD | 5 +++-- libre/iceweasel-libre/PKGBUILD | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'libre') 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 -- cgit v1.2.3-54-g00ecf