handle other archs mozilla-1.9.2
authorMarcus Meissner <meissner@suse.de>
Wed, 28 Jul 2010 06:57:39 +0200
branchmozilla-1.9.2
changeset 109 2bfb3c461caf
parent 107 30ee2bd3d369
child 112 22a2c93a47ee
handle other archs
mozilla-xulrunner192/mozilla-xulrunner192.changes
mozilla-xulrunner192/mozilla-xulrunner192.spec
--- a/mozilla-xulrunner192/mozilla-xulrunner192.changes	Tue Jul 27 13:55:00 2010 +0200
+++ b/mozilla-xulrunner192/mozilla-xulrunner192.changes	Wed Jul 28 06:57:39 2010 +0200
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Tue Jul 27 17:04:41 CEST 2010 - meissner@suse.de
+
+- disable ipc and crashreport for ia64,ppc,ppc64,s390,s390x.
+
 -------------------------------------------------------------------
 Sat Jul 24 12:42:58 CEST 2010 - wr@rosenauer.org
 
--- a/mozilla-xulrunner192/mozilla-xulrunner192.spec	Tue Jul 27 13:55:00 2010 +0200
+++ b/mozilla-xulrunner192/mozilla-xulrunner192.spec	Wed Jul 28 06:57:39 2010 +0200
@@ -87,7 +87,6 @@
 Requires(post):  update-alternatives coreutils
 Requires(preun): update-alternatives coreutils
 ### build configuration ###
-%define crashreporter    1
 %define has_system_nspr  0
 %define has_system_nss   0
 %define has_system_cairo 0
@@ -99,6 +98,13 @@
 %if %suse_version > 1110
 %define has_system_cairo 1
 %endif
+%ifarch ppc ppc64 s390 s390x ia64
+%define crashreporter    0
+%define plugincontainer  0
+%else
+%define crashreporter    1
+%define plugincontainer  1
+%endif
 ### configuration end ###
 %define _use_internal_dependency_generator 0
 %define __find_requires sh %{SOURCE2}
@@ -315,6 +321,12 @@
 ac_add_options --disable-crashreporter
 EOF
 %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
 make -f client.mk build
 
 %install
@@ -496,7 +508,9 @@
 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh
 %{_libdir}/xulrunner-%{version_internal}/dependentlibs.list
 %{_libdir}/xulrunner-%{version_internal}/mozilla-xremote-client
+%if %plugincontainer
 %{_libdir}/xulrunner-%{version_internal}/plugin-container
+%endif
 %{_libdir}/xulrunner-%{version_internal}/run-mozilla.sh
 %{_libdir}/xulrunner-%{version_internal}/xulrunner
 %{_libdir}/xulrunner-%{version_internal}/xulrunner-bin