From 6e4a822776112dd6d8b880690baf3a85652aaf3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Fri, 22 Nov 2013 17:33:39 -0200 Subject: ice{cat,weasel-libre}: remove request URL of the Google GeoLocation backend --- libre/icecat/PKGBUILD | 4 +++- libre/iceweasel-libre/PKGBUILD | 5 ++++- 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 -- cgit v1.2.3-2-g168b