diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes
index 58c06ec..eaa6c9a 100644
--- a/MozillaFirefox.changes
+++ b/MozillaFirefox.changes
@@ -1,3 +1,45 @@
+-------------------------------------------------------------------
+Mon Jun 9 08:28:17 UTC 2014 - wr@rosenauer.org
+
+- update to Firefox 30.0 (bnc#881874)
+ * MFSA 2014-48/CVE-2014-1533/CVE-2014-1534
+ (bmo#921622, bmo#967354, bmo#969517, bmo#969549, bmo#973874,
+ bmo#978652, bmo#978811, bmo#988719, bmo#990868, bmo#991981,
+ bmo#992274, bmo#994907, bmo#995679, bmo#995816, bmo#995817,
+ bmo#996536, bmo#996715, bmo#999651, bmo#1000598,
+ bmo#1000960, bmo#1002340, bmo#1005578, bmo#1007223,
+ bmo#1009952, bmo#1011007)
+ Miscellaneous memory safety hazards (rv:30.0)
+ * MFSA 2014-49/CVE-2014-1536/CVE-2014-1537/CVE-2014-1538
+ (bmo#989994, bmo#999274, bmo#1005584)
+ Use-after-free and out of bounds issues found using Address
+ Sanitizer
+ * MFSA 2014-50/CVE-2014-1539 (bmo#995603)
+ Clickjacking through cursor invisability after Flash interaction
+ * MFSA 2014-51/CVE-2014-1540 (bmo#978862)
+ Use-after-free in Event Listener Manager
+ * MFSA 2014-52/CVE-2014-1541 (bmo#1000185)
+ Use-after-free with SMIL Animation Controller
+ * MFSA 2014-53/CVE-2014-1542 (bmo#991533)
+ Buffer overflow in Web Audio Speex resampler
+ * MFSA 2014-54/CVE-2014-1543 (bmo#1011859)
+ Buffer overflow in Gamepad API
+- rebased patches
+- removed obsolete patches
+ * firefox-browser-css.patch
+ * mozilla-aarch64-bmo-962488.patch
+ * mozilla-aarch64-bmo-963023.patch
+ * mozilla-aarch64-bmo-963024.patch
+ * mozilla-aarch64-bmo-963027.patch
+ * mozilla-ppc64-xpcom.patch
+ * mozilla-ppc64le-javascript.patch
+ * mozilla-ppc64le-libffi.patch
+ * mozilla-ppc64le-mfbt.patch
+ * mozilla-ppc64le-webrtc.patch
+ * mozilla-ppc64le-xpcom.patch
+- requires NSPR 4.10.6
+- enabled GStreamer 1.0 usage for 13.2 and above
+
-------------------------------------------------------------------
Sat May 10 06:09:37 UTC 2014 - wr@rosenauer.org
diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec
index c6a1125..3370a69 100644
--- a/MozillaFirefox.spec
+++ b/MozillaFirefox.spec
@@ -17,15 +17,18 @@
#
-%define major 29
-%define mainver %major.0.1
+%define major 30
+%define mainver %major.0
%define update_channel release
-%if %suse_version > 1220
-%define gstreamer_ver 0.10
+%if %suse_version > 1210
+%if %suse_version > 1310
+%define gstreamer_ver 1.0
+%define gstreamer 1
%else
%define gstreamer_ver 0.10
%endif
+%endif
Name: MozillaFirefox
BuildRequires: Mesa-devel
@@ -51,7 +54,7 @@ BuildRequires: libproxy-devel
%else
BuildRequires: wireless-tools
%endif
-BuildRequires: mozilla-nspr-devel >= 4.10.3
+BuildRequires: mozilla-nspr-devel >= 4.10.6
BuildRequires: mozilla-nss-devel >= 3.16
BuildRequires: nss-shared-helper-devel
BuildRequires: pkgconfig(libpulse)
@@ -59,13 +62,19 @@ BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(gstreamer-%gstreamer_ver)
BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver)
BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver)
+%if 0%{?gstreamer} == 1
+Requires: libgstreamer-1_0-0
+Recommends: gstreamer-fluendo-mp3
+Recommends: gstreamer-plugin-libav
+%else
Requires: libgstreamer-0_10-0
Recommends: gstreamer-0_10-fluendo-mp3
Recommends: gstreamer-0_10-plugins-ffmpeg
%endif
+%endif
Version: %{mainver}
Release: 0
-%define releasedate 2014050900
+%define releasedate 2014060900
Provides: firefox = %{mainver}
Provides: firefox = %{version}-%{release}
Provides: web_browser
@@ -108,19 +117,8 @@ Patch11: mozilla-icu-strncat.patch
Patch12: mozilla-arm-disable-edsp.patch
Patch13: mozilla-ppc.patch
Patch14: mozilla-libproxy-compat.patch
-Patch15: mozilla-ppc64le-build.patch
-Patch16: mozilla-ppc64le-javascript.patch
-Patch17: mozilla-ppc64le-libffi.patch
-Patch18: mozilla-ppc64le-mfbt.patch
-Patch19: mozilla-ppc64le-webrtc.patch
-Patch20: mozilla-ppc64le-xpcom.patch
-Patch21: mozilla-ppc64-xpcom.patch
# Gecko/Toolkit AArch64 Porting
Patch30: mozilla-aarch64-bmo-810631.patch
-Patch31: mozilla-aarch64-bmo-962488.patch
-Patch32: mozilla-aarch64-bmo-963027.patch
-Patch33: mozilla-aarch64-bmo-963023.patch
-Patch34: mozilla-aarch64-bmo-963024.patch
# Firefox/browser
Patch101: firefox-kde.patch
@@ -198,7 +196,7 @@ of Firefox.
%package translations-other
Summary: Extra translations for Firefox
Group: System/Localization
-Provides: locale(%{name}:ach;af;an;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;en_ZA;eo;es_MX;et;eu;fa;ff;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;km;kn;ku;lij;lt;lv;mai;mk;ml;mr;ms;nn_NO;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;te;th;tr;uk;vi;xh;zu)
+Provides: locale(%{name}:ach;af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;en_ZA;eo;es_MX;et;eu;fa;ff;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;km;kn;ku;lg;lij;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)
Requires: %{name} = %{version}
Obsoletes: %{name}-translations < %{version}-%{release}
@@ -261,18 +259,7 @@ cd $RPM_BUILD_DIR/mozilla
%patch12 -p1
%patch13 -p1
%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-%patch20 -p1
-%patch21 -p1
%patch30 -p1
-%patch31 -p1
-%patch32 -p1
-%patch33 -p1
-%patch34 -p1
# Firefox
%patch101 -p1
@@ -340,6 +327,9 @@ ac_add_options --disable-debug
ac_add_options --enable-startup-notification
#ac_add_options --enable-chrome-format=jar
ac_add_options --enable-update-channel=%{update_channel}
+%if 0%{?gstreamer} == 1
+ac_add_options --enable-gstreamer=1.0
+%endif
%if %suse_version > 1130
ac_add_options --disable-gnomevfs
ac_add_options --enable-gio
diff --git a/compare-locales.tar.xz b/compare-locales.tar.xz
index b22718c..a96919f 100644
--- a/compare-locales.tar.xz
+++ b/compare-locales.tar.xz
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a0bdebb950897ad8ac5b25d45a547bef7e1c17b450f49a128ea9dd77bbb06d3b
-size 28408
+oid sha256:acccf9b3b483f646264bbcb09ef709955a16e743dd3deb693a189aa775c50ee7
+size 28508
diff --git a/create-tar.sh b/create-tar.sh
index 073e7a5..a89c769 100644
--- a/create-tar.sh
+++ b/create-tar.sh
@@ -2,8 +2,8 @@
CHANNEL="release"
BRANCH="releases/mozilla-$CHANNEL"
-RELEASE_TAG="FIREFOX_29_0_1_RELEASE"
-VERSION="29.0.1"
+RELEASE_TAG="FIREFOX_30_0_RELEASE"
+VERSION="30.0"
# mozilla
if [ -d mozilla ]; then
diff --git a/firefox-29.0.1-source.tar.xz b/firefox-29.0.1-source.tar.xz
deleted file mode 100644
index 30649e6..0000000
--- a/firefox-29.0.1-source.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:46f282cdc7346e148cf5b38c80ddec9c396d6a3167fbbe5ca67466525eeea650
-size 120610264
diff --git a/firefox-30.0-source.tar.xz b/firefox-30.0-source.tar.xz
new file mode 100644
index 0000000..d5efc74
--- /dev/null
+++ b/firefox-30.0-source.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:90179c3e6b747141f1f8d787135e2dc5879dae1c7be24cf3a8ae36e66e156258
+size 121266984
diff --git a/firefox-branded-icons.patch b/firefox-branded-icons.patch
index 1978093..fb68c98 100644
--- a/firefox-branded-icons.patch
+++ b/firefox-branded-icons.patch
@@ -1,10 +1,10 @@
# HG changeset patch
-# Parent 5defe7bd2f041c227fe4a65f8a90e6cc42a9a339
+# Parent ab6659ccbfbbfed31bce1bcd696a820069b9d7c0
diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in
--- a/browser/app/Makefile.in
+++ b/browser/app/Makefile.in
-@@ -133,16 +133,21 @@ GARBAGE += $(addprefix $(FINAL_TARGET)/d
+@@ -76,16 +76,21 @@ GARBAGE += $(addprefix $(FINAL_TARGET)/d
endif
ifdef MOZ_WIDGET_GTK
@@ -29,7 +29,7 @@ diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in
diff --git a/browser/branding/official/Makefile.in b/browser/branding/official/Makefile.in
--- a/browser/branding/official/Makefile.in
+++ b/browser/branding/official/Makefile.in
-@@ -42,18 +42,21 @@ BRANDING_FILES := \
+@@ -36,18 +36,21 @@ BRANDING_FILES := \
document.icns \
dsstore \
$(NULL)
@@ -47,14 +47,14 @@ diff --git a/browser/branding/official/Makefile.in b/browser/branding/official/M
$(NULL)
endif
- ifeq ($(OS_ARCH),OS2)
- BRANDING_FILES := \
- firefox-os2.ico \
- document-os2.ico \
+ BRANDING_DEST := $(DIST)/branding
+ BRANDING_TARGET := export
+ INSTALL_TARGETS += BRANDING
+
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
--- a/browser/installer/package-manifest.in
+++ b/browser/installer/package-manifest.in
-@@ -571,18 +571,21 @@
+@@ -611,18 +611,21 @@
@BINPATH@/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
@BINPATH@/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/icon.png
@BINPATH@/chrome/toolkit@JAREXT@
diff --git a/firefox-kde.patch b/firefox-kde.patch
index 09164e7..6621773 100644
--- a/firefox-kde.patch
+++ b/firefox-kde.patch
@@ -2,7 +2,7 @@ diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser
new file mode 100644
--- /dev/null
+++ b/browser/base/content/browser-kde.xul
-@@ -0,0 +1,1217 @@
+@@ -0,0 +1,1219 @@
+#filter substitution
+
+# -*- Mode: HTML -*-
@@ -411,14 +411,9 @@ new file mode 100644
+
+
+
-+
-+#ifdef XP_UNIX
-+ &syncStartPanel.subTitleUnix;
-+#else
-+ &syncStartPanel.subTitle;
-+#endif
-+
++ value="&syncStartPanel2.heading;"/>
++
+
+
+
@@ -714,6 +709,8 @@ new file mode 100644
+
+
+
++
++
+
+
+
@@ -813,6 +810,12 @@ new file mode 100644
+ oncommand="toggleSidebar('viewBookmarksSidebar');">
+
+
++
++
+
+
-+
+
+
+