# HG changeset patch # User Marcus Meissner # Date 1280293059 -7200 # Node ID 2bfb3c461cafe03c8c9acac565a1ee196ff5830a # Parent 30ee2bd3d3695ea46c05746d7bd6aa78a14fcfa4 handle other archs diff -r 30ee2bd3d369 -r 2bfb3c461caf mozilla-xulrunner192/mozilla-xulrunner192.changes --- 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 diff -r 30ee2bd3d369 -r 2bfb3c461caf mozilla-xulrunner192/mozilla-xulrunner192.spec --- 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