merge latest firefox24 changes
authorWolfgang Rosenauer <wr@rosenauer.org>
Sat, 05 Oct 2013 22:23:57 +0200
changeset 673 89ef5ce746c2
parent 671 f5edfe756055 (current diff)
parent 672 2268d308dc15 (diff)
child 675 3b47e7008410
merge latest firefox24 changes
MozillaFirefox/MozillaFirefox.spec
--- a/MozillaFirefox/MozillaFirefox.changes	Sat Sep 28 13:24:50 2013 +0200
+++ b/MozillaFirefox/MozillaFirefox.changes	Sat Oct 05 22:23:57 2013 +0200
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Tue Sep 24 07:31:30 UTC 2013 - wr@rosenauer.org
+
+- as GStreamer is not automatically required anymore but loaded
+  dynamically if available, require it explicitely
+- recommend optional GStreamer plugins for comprehensive media
+  support
+
+-------------------------------------------------------------------
 Mon Sep 16 11:59:18 UTC 2013 - lnussel@suse.de
 
 - move greek to the translations-common package (bnc#840551)
--- a/MozillaFirefox/MozillaFirefox.spec	Sat Sep 28 13:24:50 2013 +0200
+++ b/MozillaFirefox/MozillaFirefox.spec	Sat Oct 05 22:23:57 2013 +0200
@@ -57,6 +57,9 @@
 BuildRequires:  pkgconfig(gstreamer-%gstreamer_ver)
 BuildRequires:  pkgconfig(gstreamer-app-%gstreamer_ver)
 BuildRequires:  pkgconfig(gstreamer-plugins-base-%gstreamer_ver)
+Requires:       libgstreamer-0_10-0
+Recommends:     gstreamer-0_10-fluendo-mp3
+Recommends:     gstreamer-0_10-plugins-ffmpeg
 %endif
 Version:        %{mainver}
 Release:        0
@@ -165,7 +168,7 @@
 %package translations-common
 Summary:        Common translations for Firefox
 Group:          System/Localization
-Provides:       locale(%{name}:ar;ca;cs;da;de;el;en_GB;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW)
+Provides:       locale(%{name}:ar;ca;cs;da;de;en_GB;el;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW)
 Requires:       %{name} = %{version}
 Obsoletes:      %{name}-translations < %{version}-%{release}
 
@@ -300,30 +303,44 @@
 ac_add_options --enable-startup-notification
 #ac_add_options --enable-chrome-format=jar
 ac_add_options --enable-update-channel=%{update_channel}
+EOF
 %if %suse_version > 1130
+cat << EOF >> $MOZCONFIG
 ac_add_options --disable-gnomevfs
 ac_add_options --enable-gio
+EOF
 %endif
 %if %suse_version < 1220
+cat << EOF >> $MOZCONFIG
 ac_add_options --disable-gstreamer
+EOF
 %endif
 %if %branding
+cat << EOF >> $MOZCONFIG
 ac_add_options --enable-official-branding
+EOF
 %endif
 %if %suse_version > 1110
+cat << EOF >> $MOZCONFIG
 ac_add_options --enable-libproxy
+EOF
 %endif
 %if ! %crashreporter
+cat << EOF >> $MOZCONFIG
 ac_add_options --disable-crashreporter
+EOF
 %endif
 # Disable neon for arm as it does not build correctly
 %ifarch %arm
+cat << EOF >> $MOZCONFIG
 ac_add_options --disable-neon
+EOF
 %endif
 %ifnarch %ix86 x86_64
+cat << EOF >> $MOZCONFIG
 ac_add_options --disable-webrtc
+EOF
 %endif
-EOF
 make -f client.mk build
 
 %install
@@ -375,7 +392,7 @@
 	rm -rf $RPM_BUILD_ROOT%{progdir}/browser/extensions/langpack-$locale@firefox.mozilla.org/hyphenation
 	# check against the fixed common list and sort into the right filelist
 	_matched=0
-	for _match in ar ca cs da de el en-GB es-AR es-CL es-ES fi fr hu it ja ko nb-NO nl pl pt-BR pt-PT ru sv-SE zh-CN zh-TW; do
+	for _match in ar ca cs da de en-GB el es-AR es-CL es-ES fi fr hu it ja ko nb-NO nl pl pt-BR pt-PT ru sv-SE zh-CN zh-TW; do
 	  [ "$_match" = "$locale" ] && _matched=1
 	done
 	[ $_matched -eq 1 ] && _l10ntarget=common || _l10ntarget=other
--- a/MozillaFirefox/_constraints	Sat Sep 28 13:24:50 2013 +0200
+++ b/MozillaFirefox/_constraints	Sat Oct 05 22:23:57 2013 +0200
@@ -5,7 +5,7 @@
       <size unit="G">9</size>
     </disk>
     <memory>
-      <size unit="M">3500</size>
+      <size unit="M">3800</size>
     </memory>
   </hardware>
 </constraints>