provide browser(npapi)
authorWolfgang Rosenauer <wr@rosenauer.org>
Tue, 06 Mar 2012 07:31:21 +0100
changeset 404 5f3bccaf6d52
parent 401 aafdccaf5ded
child 407 b85eacef913b
provide browser(npapi) updated supported translations list ARM build
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/MozillaFirefox.spec
mozilla-arm-cpu-detection.patch
series
xulrunner/mozilla-arm-cpu-detection.patch
xulrunner/mozilla-disable-neon-option.patch
xulrunner/xulrunner.changes
xulrunner/xulrunner.spec
--- a/MozillaFirefox/MozillaFirefox.changes	Thu Mar 01 22:24:19 2012 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes	Tue Mar 06 07:31:21 2012 +0100
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Mon Mar  5 13:31:48 UTC 2012 - vdziewiecki@suse.com
+
+- add Provides: browser(npapi) FATE#313084
+
 -------------------------------------------------------------------
 Tue Feb 28 07:25:08 UTC 2012 - wr@rosenauer.org
 
--- a/MozillaFirefox/MozillaFirefox.spec	Thu Mar 01 22:24:19 2012 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec	Tue Mar 06 07:31:21 2012 +0100
@@ -52,6 +52,7 @@
 Provides:       firefox = %{mainver}
 Provides:       firefox = %{version}-%{release}
 Provides:       web_browser
+Provides:       browser(npapi)
 # this is needed to match this package with the kde4 helper package without the main package
 # having a hard requirement on the kde4 package
 %define kde_helper_version 6
@@ -158,7 +159,7 @@
 %package translations-other
 Summary:        Extra translations for MozillaFirefox
 Group:          System/Localization
-Provides:       locale(%{name}:af;ak;ast;be;bg;bn_BD;bn_IN;br;bs;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;vi;zu)
+Provides:       locale(%{name}:af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lij;lt;lv;mai;mk;ml;mn;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;sw;ta;ta_LK;te;th;tr;uk;vi;zu)
 Requires:       %{name} = %{version}
 Obsoletes:      %{name}-translations < %{version}-%{release}
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-arm-cpu-detection.patch	Tue Mar 06 07:31:21 2012 +0100
@@ -0,0 +1,20 @@
+# HG changeset patch
+# Parent 80b3a069c028690886ade5fdeb0f5d8b435ea368
+diff --git a/xpcom/glue/objs.mk b/xpcom/glue/objs.mk
+--- a/xpcom/glue/objs.mk
++++ b/xpcom/glue/objs.mk
+@@ -71,13 +71,13 @@ XPCOM_GLUENS_SRC_LCPPSRCS =      \
+   SSE.cpp                        \
+   unused.cpp                     \
+   nsProxyRelease.cpp             \
+   nsTextFormatter.cpp            \
+   GenericFactory.cpp             \
+   FileUtils.cpp                  \
+   $(NULL)
+ 
+-ifeq (arm,$(TARGET_CPU))
++ifneq (,$(filter arm%,$(TARGET_CPU)))
+ XPCOM_GLUENS_SRC_LCPPSRCS += arm.cpp
+ endif
+ 
+ XPCOM_GLUENS_SRC_CPPSRCS = $(addprefix $(topsrcdir)/xpcom/glue/,$(XPCOM_GLUENS_SRC_LCPPSRCS))
--- a/series	Thu Mar 01 22:24:19 2012 +0100
+++ b/series	Tue Mar 06 07:31:21 2012 +0100
@@ -16,6 +16,7 @@
 mozilla-dump_syms-static.patch
 mozilla-sle11.patch
 mozilla-linux3.patch
+mozilla-arm-cpu-detection.patch
 mozilla-disable-neon-option.patch
 #mozilla-yarr-pcre.patch
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xulrunner/mozilla-arm-cpu-detection.patch	Tue Mar 06 07:31:21 2012 +0100
@@ -0,0 +1,1 @@
+../mozilla-arm-cpu-detection.patch
\ No newline at end of file
--- a/xulrunner/mozilla-disable-neon-option.patch	Thu Mar 01 22:24:19 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../mozilla-disable-neon-option.patch
\ No newline at end of file
--- a/xulrunner/xulrunner.changes	Thu Mar 01 22:24:19 2012 +0100
+++ b/xulrunner/xulrunner.changes	Tue Mar 06 07:31:21 2012 +0100
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Sun Mar  4 14:01:59 UTC 2012 - wr@rosenauer.org
+
+- update to version 11.0b5
+- fix build on ARM
+- disable jemalloc on s390(x)
+
 -------------------------------------------------------------------
 Thu Feb 16 08:51:42 UTC 2012 - wr@rosenauer.org
 
--- a/xulrunner/xulrunner.spec	Thu Mar 01 22:24:19 2012 +0100
+++ b/xulrunner/xulrunner.spec	Tue Mar 06 07:31:21 2012 +0100
@@ -78,7 +78,7 @@
 Patch12:        mozilla-dump_syms-static.patch
 Patch13:        mozilla-sle11.patch
 Patch14:        mozilla-linux3.patch
-Patch16:        mozilla-disable-neon-option.patch
+Patch15:        mozilla-arm-cpu-detection.patch
 Patch17:        mozilla-yarr-pcre.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       mozilla-js = %{version}
@@ -161,7 +161,7 @@
 Summary:        Extra translations for XULRunner
 Group:          System/Localization
 Requires:       %{name} = %{version}
-Provides:       locale(%{name}:af;ak;ast;be;bg;bn_BD;br;bs;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;zu)
+Provides:       locale(%{name}:af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lij;lt;lv;mai;mk;ml;mn;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;sw;ta;ta_LK;te;th;tr;uk;vi;zu)
 Obsoletes:      %{name}-translations < %{version}-%{release}
 
 %description translations-other
@@ -197,7 +197,7 @@
 %patch13 -p1
 %endif
 %patch14 -p1
-%patch16 -p1
+%patch15 -p1
 #%patch17 -p1
 
 %build
@@ -281,14 +281,29 @@
 %endif
 %if ! %plugincontainer
 cat << EOF >> $MOZCONFIG
-# Chromium IPC is not ported to Power,S/390 and Itanium (currently just x86,x86_64 and arm)
 ac_add_options --disable-ipc
 EOF
 %endif
-# Disable neon for arm as it does not build correctly
+# S/390
+%ifarch s390 s390x
+cat << EOF >> $MOZCONFIG
+ac_add_options --disable-jemalloc
+EOF
+%endif
+# ARM
 %ifarch %arm
 cat << EOF >> $MOZCONFIG
-ac_add_options --disable-neon
+%ifarch armv7l
+ac_add_options --with-arch=armv7-a
+ac_add_options --with-float-abi=hard
+ac_add_options --with-fpu=vfpv3-d16
+ac_add_options --with-thumb=yes
+%endif
+%ifarch armv5tel
+ac_add_options --with-arch=armv5te
+ac_add_options --with-float-abi=soft
+ac_add_options --with-thumb=no
+%endif
 EOF
 %endif
 make -f client.mk build