Google API key inclusion esr24
authorWolfgang Rosenauer <wr@rosenauer.org>
Sun, 23 Feb 2014 13:05:04 +0100
branchesr24
changeset 706 4639b5ad4fce
parent 702 5561a483919b
child 713 3c7719dfcafa
Google API key inclusion
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/firefox-esr.changes
MozillaFirefox/firefox-esr.spec
--- a/MozillaFirefox/MozillaFirefox.changes	Wed Feb 05 07:16:15 2014 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes	Sun Feb 23 13:05:04 2014 +0100
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Sun Feb 23 11:59:59 UTC 2014 - wr@rosenauer.org
+
+- incorporate Google API key for geolocation (bnc#864170)
+
+-------------------------------------------------------------------
 Thu Jan 30 21:21:09 UTC 2014 - wr@rosenauer.org
 
 - update to Firefox 24.3.0esr (bnc#861847)
--- a/MozillaFirefox/MozillaFirefox.spec	Wed Feb 05 07:16:15 2014 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec	Sun Feb 23 13:05:04 2014 +0100
@@ -63,7 +63,7 @@
 %endif
 Version:        %{mainver}
 Release:        0
-%define         releasedate 2014013000
+%define         releasedate 2014013100
 Provides:       firefox = %{mainver}
 Provides:       firefox = %{version}-%{release}
 Provides:       web_browser
@@ -138,6 +138,10 @@
 %define desktop_file_name %{name}
 %endif
 ### build options
+# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
+# Note: these are for the openSUSE Firefox builds ONLY. For your own distribution,
+# please get your own set of keys.
+%define _google_api_key AIzaSyD1hTe85_a14kr1Ks8T3Ce75rvbR1_Dx7Q
 %define branding 1
 %define localize 1
 %ifarch ppc ppc64 s390 s390x ia64 %arm
@@ -270,6 +274,7 @@
 export MOZILLA_OFFICIAL=1
 export BUILD_OFFICIAL=1
 export MOZ_TELEMETRY_REPORTING=1
+export MOZ_GOOGLE_API_KEY=%{_google_api_key}
 export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing"
 %ifarch %arm
 export CFLAGS="${CFLAGS/-g / }"
--- a/MozillaFirefox/firefox-esr.changes	Wed Feb 05 07:16:15 2014 +0100
+++ b/MozillaFirefox/firefox-esr.changes	Sun Feb 23 13:05:04 2014 +0100
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Sun Feb 23 11:59:59 UTC 2014 - wr@rosenauer.org
+
+- incorporate Google API key for geolocation (bnc#864170)
+
+-------------------------------------------------------------------
 Thu Jan 30 21:21:09 UTC 2014 - wr@rosenauer.org
 
 - update to Firefox 24.3.0esr (bnc#861847)
--- a/MozillaFirefox/firefox-esr.spec	Wed Feb 05 07:16:15 2014 +0100
+++ b/MozillaFirefox/firefox-esr.spec	Sun Feb 23 13:05:04 2014 +0100
@@ -59,7 +59,7 @@
 %endif
 Version:        %{mainver}
 Release:        0
-%define         releasedate 2014013000
+%define         releasedate 2014013100
 Provides:       firefox-esr = %{mainver}
 Provides:       firefox-esr = %{version}-%{release}
 Provides:       web_browser
@@ -142,6 +142,10 @@
 %define desktop_file_name %{name}
 %endif
 ### build options
+# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
+# Note: these are for the openSUSE Firefox builds ONLY. For your own distribution,
+# please get your own set of keys.
+%define _google_api_key AIzaSyD1hTe85_a14kr1Ks8T3Ce75rvbR1_Dx7Q
 %define branding 1
 %define localize 1
 %ifarch ppc ppc64 s390 s390x ia64 %arm
@@ -287,6 +291,7 @@
 export MOZILLA_OFFICIAL=1
 export BUILD_OFFICIAL=1
 export MOZ_TELEMETRY_REPORTING=1
+export MOZ_GOOGLE_API_KEY=%{_google_api_key}
 export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing"
 %ifarch %arm
 export CFLAGS="${CFLAGS/-g / }"