forked from pool/MozillaFirefox
6.0
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=216
This commit is contained in:
parent
a3f1ce6386
commit
3e05307fe5
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 12 21:16:19 UTC 2011 - wr@rosenauer.org
|
||||||
|
|
||||||
|
- update to 6.0 (bnc#711954)
|
||||||
|
* included security fixes
|
||||||
|
- removed obsolete curl header dependency (mozilla-curl.patch)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 22 13:34:12 UTC 2011 - wr@rosenauer.org
|
Fri Jul 22 13:34:12 UTC 2011 - wr@rosenauer.org
|
||||||
|
|
||||||
|
@ -18,11 +18,11 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%define major 5
|
%define major 6
|
||||||
%define mainver %major.99
|
%define mainver %major.0
|
||||||
|
|
||||||
Name: MozillaFirefox
|
Name: MozillaFirefox
|
||||||
BuildRequires: Mesa-devel autoconf213 fdupes gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files yasm zip
|
BuildRequires: autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files zip fdupes Mesa-devel yasm
|
||||||
%if %suse_version > 1110
|
%if %suse_version > 1110
|
||||||
BuildRequires: libiw-devel
|
BuildRequires: libiw-devel
|
||||||
BuildRequires: libproxy-devel
|
BuildRequires: libproxy-devel
|
||||||
@ -35,7 +35,7 @@ BuildRequires: nss-shared-helper-devel
|
|||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Version: %{mainver}
|
Version: %{mainver}
|
||||||
Release: 1
|
Release: 1
|
||||||
%define releasedate 2011072100
|
%define releasedate 2011081200
|
||||||
Provides: web_browser
|
Provides: web_browser
|
||||||
Provides: firefox = %{version}-%{release}
|
Provides: firefox = %{version}-%{release}
|
||||||
Provides: firefox = %{mainver}
|
Provides: firefox = %{mainver}
|
||||||
@ -74,6 +74,7 @@ Patch12: mozilla-repo.patch
|
|||||||
Patch13: mozilla-dump_syms-static.patch
|
Patch13: mozilla-dump_syms-static.patch
|
||||||
Patch14: mozilla-sle11.patch
|
Patch14: mozilla-sle11.patch
|
||||||
Patch15: mozilla-linux3.patch
|
Patch15: mozilla-linux3.patch
|
||||||
|
Patch16: mozilla-curl.patch
|
||||||
# Firefox/browser
|
# Firefox/browser
|
||||||
Patch31: firefox-browser-css.patch
|
Patch31: firefox-browser-css.patch
|
||||||
Patch32: firefox-cross-desktop.patch
|
Patch32: firefox-cross-desktop.patch
|
||||||
@ -129,7 +130,6 @@ Requires: perl(Archive::Zip)
|
|||||||
Development files for Firefox to make packaging of addons easier.
|
Development files for Firefox to make packaging of addons easier.
|
||||||
|
|
||||||
%if %localize
|
%if %localize
|
||||||
|
|
||||||
%package translations-common
|
%package translations-common
|
||||||
Summary: Common translations for MozillaFirefox
|
Summary: Common translations for MozillaFirefox
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
@ -177,7 +177,6 @@ This package provides upstream look and feel for MozillaFirefox.
|
|||||||
|
|
||||||
|
|
||||||
%if %crashreporter
|
%if %crashreporter
|
||||||
|
|
||||||
%package buildsymbols
|
%package buildsymbols
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Summary: Breakpad buildsymbols for %{name}
|
Summary: Breakpad buildsymbols for %{name}
|
||||||
@ -188,6 +187,7 @@ This subpackage contains the Breakpad created and compatible debugging
|
|||||||
symbols meant for upload to Mozilla's crash collector database.
|
symbols meant for upload to Mozilla's crash collector database.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mozilla -b 7 -b 10
|
%setup -q -n mozilla -b 7 -b 10
|
||||||
cd $RPM_BUILD_DIR/mozilla
|
cd $RPM_BUILD_DIR/mozilla
|
||||||
@ -206,6 +206,7 @@ cd $RPM_BUILD_DIR/mozilla
|
|||||||
%patch14 -p1
|
%patch14 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
|
%patch16 -p1
|
||||||
#
|
#
|
||||||
%patch31 -p1
|
%patch31 -p1
|
||||||
%patch32 -p1
|
%patch32 -p1
|
||||||
@ -269,7 +270,7 @@ ac_add_options --disable-tests
|
|||||||
ac_add_options --disable-debug
|
ac_add_options --disable-debug
|
||||||
ac_add_options --enable-startup-notification
|
ac_add_options --enable-startup-notification
|
||||||
#ac_add_options --enable-chrome-format=jar
|
#ac_add_options --enable-chrome-format=jar
|
||||||
ac_add_options --enable-update-channel=beta
|
ac_add_options --enable-update-channel=default
|
||||||
EOF
|
EOF
|
||||||
%if %suse_version > 1130
|
%if %suse_version > 1130
|
||||||
cat << EOF >> $MOZCONFIG
|
cat << EOF >> $MOZCONFIG
|
||||||
@ -533,7 +534,6 @@ exit 0
|
|||||||
%config /etc/rpm/macros.%{progname}
|
%config /etc/rpm/macros.%{progname}
|
||||||
|
|
||||||
%if %localize
|
%if %localize
|
||||||
|
|
||||||
%files translations-common -f %{_tmppath}/translations.common
|
%files translations-common -f %{_tmppath}/translations.common
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{progdir}
|
%dir %{progdir}
|
||||||
@ -547,13 +547,11 @@ exit 0
|
|||||||
|
|
||||||
# this package does not need to provide files but is needed to fulfill
|
# this package does not need to provide files but is needed to fulfill
|
||||||
# requirements if no other branding package is to be installed
|
# requirements if no other branding package is to be installed
|
||||||
|
|
||||||
%files branding-upstream
|
%files branding-upstream
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{progdir}
|
%dir %{progdir}
|
||||||
|
|
||||||
%if %crashreporter
|
%if %crashreporter
|
||||||
|
|
||||||
%files buildsymbols
|
%files buildsymbols
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/mozilla/*.zip
|
%{_datadir}/mozilla/*.zip
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:38fd3130c110a020cc58672840bf106231b70a0777ef2ecc87890e02e2ab259e
|
oid sha256:204539fc4a582ba0a2bc3cff94789af2df3c60d48f633ae3da7adb114c6e72b5
|
||||||
size 25676
|
size 25687
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
BRANCH="releases/mozilla-beta"
|
BRANCH="releases/mozilla-release"
|
||||||
RELEASE_TAG="FIREFOX_6_0b3_RELEASE"
|
RELEASE_TAG="FIREFOX_6_0_RELEASE"
|
||||||
VERSION="5.99"
|
VERSION="6.0"
|
||||||
|
|
||||||
# mozilla
|
# mozilla
|
||||||
hg clone http://hg.mozilla.org/$BRANCH mozilla
|
hg clone http://hg.mozilla.org/$BRANCH mozilla
|
||||||
@ -23,7 +23,7 @@ for locale in $(awk '{ print $1; }' mozilla/browser/locales/shipped-locales); do
|
|||||||
ja-JP-mac|en-US)
|
ja-JP-mac|en-US)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
hg clone http://hg.mozilla.org/releases/l10n/mozilla-beta/$locale l10n/$locale
|
hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$locale l10n/$locale
|
||||||
[ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG
|
[ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:04a876b1d4512696bdee12fbfac04dcd5c1babb0ae5426095adf84cfac413ca5
|
|
||||||
size 67707242
|
|
3
firefox-6.0-source.tar.bz2
Normal file
3
firefox-6.0-source.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e09ccc62e8bb10f419cce797058721eff9847fd89a8af3c7d51c12aff1552563
|
||||||
|
size 67685578
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:093c037a482d428f4dcd6e2006d11d6fa47d79c9204eb753707ee210c2ded68e
|
|
||||||
size 43567954
|
|
3
l10n-6.0.tar.bz2
Normal file
3
l10n-6.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7a2751fecbc5b204b9ead664ad093e54b87d6de00133217a514eba12be22f739
|
||||||
|
size 43685517
|
89
mozilla-curl.patch
Normal file
89
mozilla-curl.patch
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
# HG changeset patch
|
||||||
|
# User Evan Shaw <edsrzf@gmail.com>
|
||||||
|
# Parent 891179411e19ab39f95bd7769c0e58db6f22f9e4
|
||||||
|
bug 673072 - remove deprecated curl header curl/types.h from Breakpad includes. r=ted
|
||||||
|
|
||||||
|
diff --git a/config/system-headers b/config/system-headers
|
||||||
|
--- a/config/system-headers
|
||||||
|
+++ b/config/system-headers
|
||||||
|
@@ -199,17 +199,16 @@ crypt.h
|
||||||
|
cstddef
|
||||||
|
cstdio
|
||||||
|
cstdlib
|
||||||
|
cstring
|
||||||
|
ctime
|
||||||
|
ctype.h
|
||||||
|
curl/curl.h
|
||||||
|
curl/easy.h
|
||||||
|
-curl/types.h
|
||||||
|
curses.h
|
||||||
|
cxxabi.h
|
||||||
|
DateTimeUtils.h
|
||||||
|
dbus/dbus.h
|
||||||
|
dbus/dbus-glib.h
|
||||||
|
dbus/dbus-glib-lowlevel.h
|
||||||
|
ddeml.h
|
||||||
|
Debug.h
|
||||||
|
diff --git a/js/src/config/system-headers b/js/src/config/system-headers
|
||||||
|
--- a/js/src/config/system-headers
|
||||||
|
+++ b/js/src/config/system-headers
|
||||||
|
@@ -199,17 +199,16 @@ crypt.h
|
||||||
|
cstddef
|
||||||
|
cstdio
|
||||||
|
cstdlib
|
||||||
|
cstring
|
||||||
|
ctime
|
||||||
|
ctype.h
|
||||||
|
curl/curl.h
|
||||||
|
curl/easy.h
|
||||||
|
-curl/types.h
|
||||||
|
curses.h
|
||||||
|
cxxabi.h
|
||||||
|
DateTimeUtils.h
|
||||||
|
dbus/dbus.h
|
||||||
|
dbus/dbus-glib.h
|
||||||
|
dbus/dbus-glib-lowlevel.h
|
||||||
|
ddeml.h
|
||||||
|
Debug.h
|
||||||
|
diff --git a/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc b/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc
|
||||||
|
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc
|
||||||
|
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/http_upload.cc
|
||||||
|
@@ -28,17 +28,16 @@
|
||||||
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
#include "common/linux/http_upload.h"
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
#include <dlfcn.h>
|
||||||
|
#include <curl/curl.h>
|
||||||
|
#include <curl/easy.h>
|
||||||
|
-#include <curl/types.h>
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
|
||||||
|
// Callback to get the response data from server.
|
||||||
|
static size_t WriteCallback(void *ptr, size_t size,
|
||||||
|
size_t nmemb, void *userp) {
|
||||||
|
if (!userp)
|
||||||
|
return 0;
|
||||||
|
diff --git a/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc b/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc
|
||||||
|
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc
|
||||||
|
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/libcurl_wrapper.cc
|
||||||
|
@@ -24,17 +24,16 @@
|
||||||
|
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
#include <curl/curl.h>
|
||||||
|
#include <curl/easy.h>
|
||||||
|
-#include <curl/types.h>
|
||||||
|
#include <dlfcn.h>
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
#include "common/linux/libcurl_wrapper.h"
|
||||||
|
|
||||||
|
using std::string;
|
@ -1,2 +1,2 @@
|
|||||||
REV=7864cfd02969
|
REV=218ed8178b1e
|
||||||
REPO=http://hg.mozilla.org/releases/mozilla-beta
|
REPO=http://hg.mozilla.org/releases/mozilla-release
|
||||||
|
Loading…
Reference in New Issue
Block a user