From 7ad23517c3ba4e4817db2e1802b211670184a0e6d9d3ea01383a6bbe740a6c97 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 21 Dec 2009 13:04:13 +0000 Subject: [PATCH] checked in OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=137 --- MozillaFirefox.changes | 5 - MozillaFirefox.spec | 42 ++--- firefox-ui-lockdown.patch | 387 -------------------------------------- firefox.schemas | 2 +- 4 files changed, 12 insertions(+), 424 deletions(-) delete mode 100644 firefox-ui-lockdown.patch diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 2ca7e42..307db98 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Thu Dec 17 20:06:38 CET 2009 - wr@rosenauer.org - -- readded firefox-ui-lockdown.patch (bnc#546158) - ------------------------------------------------------------------- Thu Dec 3 21:53:59 CET 2009 - wr@rosenauer.org diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index cc4abdc..76dff0a 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -25,7 +25,7 @@ BuildRequires: mozilla-xulrunner191-devel = 1.9.1.6 %if %suse_version > 1020 BuildRequires: fdupes %endif -License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ +License: GPL v2 or later ; LGPL v2.1 or later ; MPL 1.1 or later Provides: web_browser Provides: firefox Version: 3.5.6 @@ -49,7 +49,6 @@ Patch1: firefox-libxul-sdk.patch Patch2: firefox-no-update.patch Patch3: toolkit-download-folder.patch Patch4: mozilla-linkorder.patch -Patch5: firefox-ui-lockdown.patch Patch6: firefox-cross-desktop.patch Patch7: firefox-kde.patch Patch8: firefox-no-gnomevfs.patch @@ -74,8 +73,11 @@ Requires: %{name}-branding = 3.5 %define releasedate 2009120100 %define progname firefox %define progdir %{_prefix}/%_lib/%{progname} +%if %suse_version > 1020 %define gnome_dir %{_prefix} -%define gconf_confdir %{_sysconfdir}/gconf +%else +%define gnome_dir /opt/gnome +%endif ### build options %define branding 1 %define localize 1 @@ -88,9 +90,10 @@ plethora of extensions. %if %localize + %package translations-common Summary: Common translations for MozillaFirefox -License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ +License: GPL v2 or later ; LGPL v2.1 or later ; MPL 1.1 or later Provides: locale(%{name}:ar;ca;cs;da;de;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) Group: System/Localization PreReq: %{name} = %{version} @@ -103,7 +106,7 @@ of MozillaFirefox. %package translations-other Summary: Extra translations for MozillaFirefox -License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ +License: GPL v2 or later ; LGPL v2.1 or later ; MPL 1.1 or later Provides: locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;ku;lt;lv;mk;ml;mn;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi) Group: System/Localization PreReq: %{name} = %{version} @@ -117,15 +120,12 @@ of MozillaFirefox. %endif %package branding-upstream -License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ +License: GPL v2 or later ; LGPL v2.1 or later ; MPL Summary: Upstream branding for MozillaFirefox Group: Productivity/Networking/Web/Browsers Provides: %{name}-branding = 3.5 Conflicts: otherproviders(%{name}-branding) Supplements: packageand(%{name}:branding-upstream) -%if %suse_version > 1020 -%gconf_schemas_prereq -%endif #BRAND: Provide three files - #BRAND: /usr/lib/firefox/browserconfig.properties that contains the #BRAND: default homepage and some other default configuration options @@ -149,7 +149,6 @@ cd $RPM_BUILD_DIR/mozilla %patch2 -p1 %patch3 -p1 %patch4 -p1 -%patch5 -p1 %patch6 -p1 %if %suse_version >= 1110 # copy current files and patch them later to keep them in sync @@ -280,13 +279,6 @@ done cp -f $RPM_BUILD_ROOT%{progdir}/icons/mozicon50.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/%{progname}.xpm %endif %suse_update_desktop_file %{name} Network WebBrowser X-Ximian-Main X-Ximian-Toplevel GTK -# SCHEMA file -mkdir -p $RPM_BUILD_ROOT%{gconf_confdir}/schemas -install -m 644 %{SOURCE5} \ - $RPM_BUILD_ROOT%{gconf_confdir}/schemas/ -%if %suse_version > 1020 -%find_gconf_schemas -%endif # excludes rm -f $RPM_BUILD_ROOT%{progdir}/updater.ini rm -f $RPM_BUILD_ROOT%{progdir}/removed-files @@ -305,14 +297,6 @@ rm -rf $RPM_BUILD_ROOT rm -rf %{_tmppath}/translations.* %endif -%if %suse_version > 1020 -%pre branding-upstream -f %{name}.schemas_pre - -%preun branding-upstream -f %{name}.schemas_preun - -%posttrans branding-upstream -f %{name}.schemas_posttrans -%endif - %post # update mime and desktop database if [ -f usr/bin/update-mime-database ] ; then @@ -351,7 +335,7 @@ if [ -f opt/gnome/bin/update-mime-database ] ; then fi %endif -%files +%files %defattr(-,root,root) %dir %{progdir} %dir %{progdir}/chrome/ @@ -388,11 +372,7 @@ fi %defattr(-,root,root) %endif -%if %suse_version > 1020 -%files branding-upstream -f %{name}.schemas_list -%else -%files branding-upstream -%endif +%files branding-upstream %defattr(-,root,root) %{progdir}/browserconfig.properties %{progdir}/defaults/profile/bookmarks.html diff --git a/firefox-ui-lockdown.patch b/firefox-ui-lockdown.patch deleted file mode 100644 index 0776b0c..0000000 --- a/firefox-ui-lockdown.patch +++ /dev/null @@ -1,387 +0,0 @@ -diff --git a/browser/base/content/browser-menubar.inc b/browser/base/content/browser-menubar.inc ---- a/browser/base/content/browser-menubar.inc -+++ b/browser/base/content/browser-menubar.inc -@@ -64,21 +64,19 @@ -