update to 9.0 release
authorWolfgang Rosenauer <wr@rosenauer.org>
Mon, 19 Dec 2011 11:46:22 +0100
changeset 363 48596576f932
parent 361 f19ac1a825a1
child 364 0f5c150b9dcd
update to 9.0 release
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/create-tar.sh
xulrunner/create-tar.sh
xulrunner/xulrunner.changes
xulrunner/xulrunner.spec
--- a/MozillaFirefox/MozillaFirefox.changes	Fri Dec 09 13:26:54 2011 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes	Mon Dec 19 11:46:22 2011 +0100
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Sun Dec 18 09:52:08 UTC 2011 - wr@rosenauer.org
+
+- update to Firefox 9
+
 -------------------------------------------------------------------
 Sun Nov 27 03:51:54 UTC 2011 - mgorse@suse.com
 
--- a/MozillaFirefox/MozillaFirefox.spec	Fri Dec 09 13:26:54 2011 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec	Mon Dec 19 11:46:22 2011 +0100
@@ -16,13 +16,25 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-%define major 8
-%define mainver %major.99
+%define major 9
+%define mainver %major.0
 
 Name:           MozillaFirefox
-BuildRequires:  Mesa-devel autoconf213 dbus-1-glib-devel fdupes gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files yasm zip
+BuildRequires:  Mesa-devel
+BuildRequires:  autoconf213
+BuildRequires:  dbus-1-glib-devel
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
+BuildRequires:  libcurl-devel
+BuildRequires:  libgnomeui-devel
+BuildRequires:  libidl-devel
+BuildRequires:  libnotify-devel
+BuildRequires:  python
+BuildRequires:  startup-notification-devel
+BuildRequires:  unzip
+BuildRequires:  update-desktop-files
+BuildRequires:  yasm
+BuildRequires:  zip
 %if %suse_version > 1110
 BuildRequires:  libiw-devel
 BuildRequires:  libproxy-devel
@@ -32,10 +44,9 @@
 BuildRequires:  mozilla-nspr-devel >= 4.8.9
 BuildRequires:  mozilla-nss-devel >= 3.13.1
 BuildRequires:  nss-shared-helper-devel
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Version:        %{mainver}
-Release:        1
-%define         releasedate 2011120800
+Release:        0
+%define         releasedate 2011121600
 Provides:       web_browser
 Provides:       firefox = %{version}-%{release}
 Provides:       firefox = %{mainver}
@@ -44,8 +55,9 @@
 %define kde_helper_version 6
 Provides:       mozilla-kde4-version = %{kde_helper_version}
 Summary:        Mozilla Firefox Web Browser
+License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
+Group:          Productivity/Networking/Web/Browsers
 Url:            http://www.mozilla.org/
-Group:          Productivity/Networking/Web/Browsers
 Source:         firefox-%{version}-source.tar.bz2
 Source1:        MozillaFirefox.desktop
 Source2:        MozillaFirefox-rpmlintrc
@@ -118,7 +130,6 @@
 plethora of extensions.
 
 %package devel
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Summary:        Devel package for Firefox
 Group:          Development/Tools/Other
 Provides:       firefox-devel = %{version}-%{release}
@@ -133,9 +144,8 @@
 
 %package translations-common
 Summary:        Common translations for MozillaFirefox
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
+Group:          System/Localization
 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
 Requires:       %{name} = %{version}
 Obsoletes:      %{name}-translations < %{version}-%{release}
 
@@ -145,9 +155,8 @@
 
 %package translations-other
 Summary:        Extra translations for MozillaFirefox
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
+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)
-Group:          System/Localization
 Requires:       %{name} = %{version}
 Obsoletes:      %{name}-translations < %{version}-%{release}
 
@@ -157,7 +166,6 @@
 %endif
 
 %package branding-upstream
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Summary:        Upstream branding for MozillaFirefox
 Group:          Productivity/Networking/Web/Browsers
 Provides:       %{name}-branding = 5.0
@@ -180,7 +188,6 @@
 %if %crashreporter
 
 %package buildsymbols
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Summary:        Breakpad buildsymbols for %{name}
 Group:          Development/Debug
 
@@ -270,7 +277,7 @@
 ac_add_options --disable-debug
 ac_add_options --enable-startup-notification
 #ac_add_options --enable-chrome-format=jar
-ac_add_options --enable-update-channel=beta
+ac_add_options --enable-update-channel=default
 EOF
 %if %suse_version > 1130
 cat << EOF >> $MOZCONFIG
--- a/MozillaFirefox/create-tar.sh	Fri Dec 09 13:26:54 2011 +0100
+++ b/MozillaFirefox/create-tar.sh	Mon Dec 19 11:46:22 2011 +0100
@@ -1,9 +1,9 @@
 #!/bin/bash
 
-CHANNEL="beta"
+CHANNEL="release"
 BRANCH="releases/mozilla-$CHANNEL"
-RELEASE_TAG="FIREFOX_9_0b5_RELEASE"
-VERSION="8.99"
+RELEASE_TAG="FIREFOX_9_0_RELEASE"
+VERSION="9.0"
 
 # mozilla
 hg clone http://hg.mozilla.org/$BRANCH mozilla
--- a/xulrunner/create-tar.sh	Fri Dec 09 13:26:54 2011 +0100
+++ b/xulrunner/create-tar.sh	Mon Dec 19 11:46:22 2011 +0100
@@ -1,9 +1,9 @@
 #!/bin/bash
 
-CHANNEL="beta"
+CHANNEL="release"
 BRANCH="releases/mozilla-$CHANNEL"
-RELEASE_TAG="FIREFOX_9_0b5_RELEASE"
-VERSION="8.99"
+RELEASE_TAG="FIREFOX_9_0_RELEASE"
+VERSION="9.0"
 
 # mozilla
 hg clone http://hg.mozilla.org/$BRANCH mozilla
--- a/xulrunner/xulrunner.changes	Fri Dec 09 13:26:54 2011 +0100
+++ b/xulrunner/xulrunner.changes	Mon Dec 19 11:46:22 2011 +0100
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Sun Dec 18 09:28:02 UTC 2011 - wr@rosenauer.org
+
+- update to release 9.0 (bnc#737533)
+
 -------------------------------------------------------------------
 Sat Nov 12 15:20:49 UTC 2011 - wr@rosenauer.org
 
--- a/xulrunner/xulrunner.spec	Fri Dec 09 13:26:54 2011 +0100
+++ b/xulrunner/xulrunner.spec	Mon Dec 19 11:46:22 2011 +0100
@@ -16,11 +16,25 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           xulrunner
-BuildRequires:  Mesa-devel autoconf213 dbus-1-glib-devel fdupes gcc-c++ hunspell-devel libcurl-devel libgnomeui-devel libidl-devel libnotify-devel nss-shared-helper-devel pkg-config python startup-notification-devel unzip yasm zip
+BuildRequires:  Mesa-devel
+BuildRequires:  autoconf213
+BuildRequires:  dbus-1-glib-devel
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
+BuildRequires:  hunspell-devel
+BuildRequires:  libcurl-devel
+BuildRequires:  libgnomeui-devel
+BuildRequires:  libidl-devel
+BuildRequires:  libnotify-devel
+BuildRequires:  nss-shared-helper-devel
+BuildRequires:  pkg-config
+BuildRequires:  python
+BuildRequires:  startup-notification-devel
+BuildRequires:  unzip
+BuildRequires:  yasm
+BuildRequires:  zip
 %if %suse_version > 1110
 BuildRequires:  libiw-devel
 BuildRequires:  libproxy-devel
@@ -29,16 +43,16 @@
 %endif
 BuildRequires:  mozilla-nspr-devel >= 4.8.9
 BuildRequires:  mozilla-nss-devel >= 3.13.1
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
-Version:        8.99
-Release:        1
-%define         releasedate 2011120800
+Version:        9.0
+Release:        0
+%define         releasedate 2011121600
 %define         version_internal 9.0
 %define         apiversion 9
 %define         uaweight 900000
 Summary:        Mozilla Runtime Environment
+License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
+Group:          Productivity/Other
 Url:            http://www.mozilla.org/
-Group:          Productivity/Other
 Provides:       gecko
 %ifarch %ix86
 Provides:       xulrunner-32bit = %{version}-%{release}
@@ -63,6 +77,7 @@
 Patch13:        mozilla-sle11.patch
 Patch14:        mozilla-linux3.patch
 Patch15:        mozilla-ppc64.patch
+Patch16:        mozilla-a11y.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       mozilla-js = %{version}
 Requires(post):  update-alternatives coreutils
@@ -98,7 +113,6 @@
 
 
 %package -n mozilla-js
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Summary:        Mozilla JS engine
 Group:          Productivity/Other
 
@@ -110,7 +124,6 @@
 
 
 %package devel
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Summary:        XULRunner/Gecko SDK
 Group:          Development/Libraries/Other
 %if %has_system_nspr
@@ -127,7 +140,6 @@
 %if %localize
 
 %package translations-common
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Summary:        Common translations for XULRunner
 Group:          System/Localization
 Requires:       %{name} = %{version}
@@ -144,7 +156,6 @@
 
 
 %package translations-other
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Summary:        Extra translations for XULRunner
 Group:          System/Localization
 Requires:       %{name} = %{version}
@@ -162,7 +173,6 @@
 %if %crashreporter
 
 %package buildsymbols
-License:        MPL-1.1 or GPL-2.0+ or LGPL-2.1+
 Summary:        Breakpad buildsymbols for %{name}
 Group:          Development/Debug
 
@@ -186,6 +196,7 @@
 %endif
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %build
 # no need to add build time to binaries
@@ -280,7 +291,7 @@
 cp %{SOURCE4} dist/bin/defaults/pref/all-openSUSE.js
 %makeinstall STRIP=/bin/true
 # xpt.py is not executable
-chmod a+x $RPM_BUILD_ROOT%{_libdir}/xulrunner-devel-%{version_internal}/sdk/bin/xpt.py
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/xulrunner-devel-%{version_internal}/sdk/bin/*.py
 # remove some executable permissions
 find $RPM_BUILD_ROOT%{_includedir}/xulrunner-%{version_internal} \
      -type f -perm -111 -exec chmod a-x {} \;
@@ -451,8 +462,8 @@
 %if %suse_version >= 1120
 %ghost %{_bindir}/xulrunner
 %endif
-# API symlink
-%{_libdir}/xulrunner-%{apiversion}
+# API symlink (already in mozilla-js)
+#%{_libdir}/xulrunner-%{apiversion}
 # compat symlinks
 %if 0%{?ga_version:1}
 %ghost %{_libdir}/xulrunner-%{ga_version}
@@ -467,7 +478,6 @@
 %files devel
 %defattr(-,root,root)
 %{_libdir}/xulrunner-%{version_internal}/xpcshell
-%{_libdir}/xulrunner-%{version_internal}/xpidl
 %{_libdir}/xulrunner-devel-%{version_internal}/
 # FIXME symlink dynamic libs below sdk/lib
 %attr(644,root,root) %{_libdir}/pkgconfig/*