From 929740e2de51dd1364308269b7ac3c6241216c4aed9bd8f97e72581ea3233a05 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Mon, 3 Feb 2014 16:33:09 +0000 Subject: [PATCH] - update to Thunderbird 24.3.0 (bnc#861847) * requires NSS 3.15.4 - renamed ppc64le patches to streamline with Firefox package OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=237 --- MozillaThunderbird.changes | 7 + MozillaThunderbird.spec | 16 +- compare-locales.tar.bz2 | 4 +- create-tar.sh | 4 +- l10n-24.2.0.tar.bz2 | 3 - l10n-24.3.0.tar.bz2 | 3 + mozilla-arm-disable-edsp.patch | 12 +- mozilla-kde.patch | 250 ++- ...64le.patch => mozilla-libffi-ppc64le.patch | 1421 ++++++++++++----- mozilla-nongnome-proxies.patch | 4 +- mozilla-ppc.patch | 23 - mozilla-ppc64le.patch | 257 +++ ...c64le.patch => mozilla-xpcom-ppc64le.patch | 230 ++- ppc64le-support.patch | 159 -- thunderbird-24.2.0-source.tar.bz2 | 3 - thunderbird-24.3.0-source.tar.bz2 | 3 + 16 files changed, 1642 insertions(+), 757 deletions(-) delete mode 100644 l10n-24.2.0.tar.bz2 create mode 100644 l10n-24.3.0.tar.bz2 rename libffi-ppc64le.patch => mozilla-libffi-ppc64le.patch (80%) create mode 100644 mozilla-ppc64le.patch rename xpcom-ppc64le.patch => mozilla-xpcom-ppc64le.patch (55%) delete mode 100644 ppc64le-support.patch delete mode 100644 thunderbird-24.2.0-source.tar.bz2 create mode 100644 thunderbird-24.3.0-source.tar.bz2 diff --git a/MozillaThunderbird.changes b/MozillaThunderbird.changes index 400a92d..3e1cb5b 100644 --- a/MozillaThunderbird.changes +++ b/MozillaThunderbird.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Feb 3 16:07:28 UTC 2014 - wr@rosenauer.org + +- update to Thunderbird 24.3.0 (bnc#861847) + * requires NSS 3.15.4 +- renamed ppc64le patches to streamline with Firefox package + ------------------------------------------------------------------- Fri Dec 13 21:29:16 UTC 2013 - uweigand@de.ibm.com diff --git a/MozillaThunderbird.spec b/MozillaThunderbird.spec index 7d26f6a..1f11abb 100644 --- a/MozillaThunderbird.spec +++ b/MozillaThunderbird.spec @@ -1,8 +1,8 @@ # # spec file for package MozillaThunderbird # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. -# 2006-2013 Wolfgang Rosenauer +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 2006-2014 Wolfgang Rosenauer # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ # -%define mainversion 24.2.0 +%define mainversion 24.3.0 %define update_channel release %define gstreamer_ver 0.10 %define with_kde 1 @@ -34,7 +34,7 @@ BuildRequires: libgnomeui-devel BuildRequires: libidl-devel BuildRequires: libnotify-devel BuildRequires: mozilla-nspr-devel >= 4.10.2 -BuildRequires: mozilla-nss-devel >= 3.15.3.1 +BuildRequires: mozilla-nss-devel >= 3.15.4 BuildRequires: nss-shared-helper-devel BuildRequires: python BuildRequires: startup-notification-devel @@ -50,7 +50,7 @@ BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver) %endif Version: %{mainversion} Release: 0 -%define releasedate 2013120700 +%define releasedate 2014013100 Provides: thunderbird = %{version} %if %{with_kde} # this is needed to match this package with the kde4 helper package without the main package @@ -82,9 +82,9 @@ Patch3: mozilla-nongnome-proxies.patch Patch4: mozilla-kde.patch Patch5: mozilla-arm-disable-edsp.patch Patch7: mozilla-ppc.patch -Patch8: libffi-ppc64le.patch -Patch9: xpcom-ppc64le.patch -Patch10: ppc64le-support.patch +Patch8: mozilla-libffi-ppc64le.patch +Patch9: mozilla-xpcom-ppc64le.patch +Patch10: mozilla-ppc64le.patch # Thunderbird/mail Patch20: tb-ssldap.patch Patch21: tb-develdirs.patch diff --git a/compare-locales.tar.bz2 b/compare-locales.tar.bz2 index 8b1f4af..7017480 100644 --- a/compare-locales.tar.bz2 +++ b/compare-locales.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8f7c714b55bfdf4e39c93acd74e18f91e12a9fa639a90e0992ea4c3f19cf79e6 -size 29887 +oid sha256:c5442787b5c41fd2aad47de3a2b214c7133c920de05e3e9236834656d68783ba +size 29922 diff --git a/create-tar.sh b/create-tar.sh index a88cf82..42e2f5e 100644 --- a/create-tar.sh +++ b/create-tar.sh @@ -2,8 +2,8 @@ CHANNEL="esr24" BRANCH="releases/comm-$CHANNEL" -RELEASE_TAG="THUNDERBIRD_24_2_0_RELEASE" -VERSION="24.2.0" +RELEASE_TAG="THUNDERBIRD_24_3_0_RELEASE" +VERSION="24.3.0" echo "cloning $BRANCH..." hg clone http://hg.mozilla.org/$BRANCH thunderbird diff --git a/l10n-24.2.0.tar.bz2 b/l10n-24.2.0.tar.bz2 deleted file mode 100644 index 528dd7e..0000000 --- a/l10n-24.2.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c233fcaf0f3ab142699efaf987c162baeb6871dc5e63ef2f7cbc82159b754417 -size 27985537 diff --git a/l10n-24.3.0.tar.bz2 b/l10n-24.3.0.tar.bz2 new file mode 100644 index 0000000..1b43b6d --- /dev/null +++ b/l10n-24.3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:544c513247aa2460d11e86f6334b478f45ce45059fcfbde1516c22bbc558d241 +size 27970930 diff --git a/mozilla-arm-disable-edsp.patch b/mozilla-arm-disable-edsp.patch index cf82251..74cf5b0 100644 --- a/mozilla-arm-disable-edsp.patch +++ b/mozilla-arm-disable-edsp.patch @@ -1,13 +1,13 @@ # HG changeset patch # User Adrian Schröter -# Parent 5b26dbfe65bd4986ea3792f02bc025fec293b51f +# Parent b945e0c3b145b6b2245f42bab52f911c2d1f6759 disable ESDP support (no BNC or BMO reference yet :-() -diff --git a/xpcom/glue/arm.h b/xpcom/glue/arm.h ---- a/xpcom/glue/arm.h -+++ b/xpcom/glue/arm.h -@@ -143,17 +143,17 @@ namespace mozilla { - extern bool NS_COM_GLUE neon_enabled; +diff --git a/mozglue/build/arm.h b/mozglue/build/arm.h +--- a/mozglue/build/arm.h ++++ b/mozglue/build/arm.h +@@ -116,17 +116,17 @@ namespace mozilla { + extern bool MFBT_DATA neon_enabled; #endif #endif } diff --git a/mozilla-kde.patch b/mozilla-kde.patch index 3d6990d..0fd6452 100644 --- a/mozilla-kde.patch +++ b/mozilla-kde.patch @@ -7,7 +7,7 @@ Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=140751 diff --git a/modules/libpref/src/Makefile.in b/modules/libpref/src/Makefile.in --- a/modules/libpref/src/Makefile.in +++ b/modules/libpref/src/Makefile.in -@@ -49,14 +49,15 @@ endif +@@ -33,14 +33,15 @@ endif # Optimizer bug with GCC 3.2.2 on OS/2 ifeq ($(OS_ARCH), OS2) nsPrefService.$(OBJ_SUFFIX): nsPrefService.cpp @@ -26,8 +26,7 @@ diff --git a/modules/libpref/src/Makefile.in b/modules/libpref/src/Makefile.in diff --git a/modules/libpref/src/Preferences.cpp b/modules/libpref/src/Preferences.cpp --- a/modules/libpref/src/Preferences.cpp +++ b/modules/libpref/src/Preferences.cpp -@@ -23,16 +23,17 @@ - #include "nsIStringEnumerator.h" +@@ -27,16 +27,17 @@ #include "nsIZipReader.h" #include "nsPrefBranch.h" #include "nsXPIDLString.h" @@ -35,6 +34,7 @@ diff --git a/modules/libpref/src/Preferences.cpp b/modules/libpref/src/Preferenc #include "nsCOMArray.h" #include "nsXPCOMCID.h" #include "nsAutoPtr.h" + #include "nsPrintfCString.h" +#include "nsKDEUtils.h" #include "nsQuickSort.h" @@ -44,7 +44,7 @@ diff --git a/modules/libpref/src/Preferences.cpp b/modules/libpref/src/Preferenc #include "prefread.h" #include "prefapi_private_data.h" -@@ -972,16 +973,34 @@ pref_LoadPrefsInDir(nsIFile* aDir, char +@@ -1100,16 +1101,34 @@ pref_LoadPrefsInDir(nsIFile* aDir, char static nsresult pref_LoadPrefsInDirList(const char *listId) { @@ -79,7 +79,7 @@ diff --git a/modules/libpref/src/Preferences.cpp b/modules/libpref/src/Preferenc return NS_OK; bool hasMore; -@@ -997,17 +1016,17 @@ static nsresult pref_LoadPrefsInDirList( +@@ -1125,17 +1144,17 @@ static nsresult pref_LoadPrefsInDirList( nsAutoCString leaf; path->GetNativeLeafName(leaf); @@ -98,7 +98,7 @@ diff --git a/modules/libpref/src/Preferences.cpp b/modules/libpref/src/Preferenc { nsZipItemPtr manifest(jarReader, name, true); NS_ENSURE_TRUE(manifest.Buffer(), NS_ERROR_NOT_AVAILABLE); -@@ -1101,28 +1120,40 @@ static nsresult pref_InitInitialObjects( +@@ -1229,28 +1248,40 @@ static nsresult pref_InitInitialObjects( /* these pref file names should not be used: we process them after all other application pref files for backwards compatibility */ static const char* specialFiles[] = { #if defined(XP_MACOSX) @@ -184,25 +184,24 @@ diff --git a/python/mozbuild/mozpack/chrome/manifest.py b/python/mozbuild/mozpac diff --git a/toolkit/components/downloads/Makefile.in b/toolkit/components/downloads/Makefile.in --- a/toolkit/components/downloads/Makefile.in +++ b/toolkit/components/downloads/Makefile.in -@@ -23,9 +23,11 @@ ifndef MOZ_SUITE - DISABLED_EXTRA_COMPONENTS = \ - nsDownloadManagerUI.js \ - nsDownloadManagerUI.manifest \ - $(NULL) - endif +@@ -4,9 +4,10 @@ + # file, You can obtain one at http://mozilla.org/MPL/2.0/. include $(topsrcdir)/config/rules.mk -+LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre -+ - CXXFLAGS += $(TK_CFLAGS) + CXXFLAGS += $(TK_CFLAGS) -DGOOGLE_PROTOBUF_NO_RTTI + + LOCAL_INCLUDES += \ + -I$(srcdir)/../protobuf \ ++ -I$(topsrcdir)/toolkit/xre \ + $(NULL) diff --git a/toolkit/components/downloads/nsDownloadManager.cpp b/toolkit/components/downloads/nsDownloadManager.cpp --- a/toolkit/components/downloads/nsDownloadManager.cpp +++ b/toolkit/components/downloads/nsDownloadManager.cpp -@@ -38,16 +38,20 @@ - +@@ -41,16 +41,20 @@ #ifdef XP_WIN #include + #include "nsWindowsHelpers.h" #ifdef DOWNLOAD_SCANNER #include "nsDownloadScanner.h" #endif @@ -220,7 +219,7 @@ diff --git a/toolkit/components/downloads/nsDownloadManager.cpp b/toolkit/compon #include "AndroidBridge.h" #endif -@@ -2609,16 +2613,25 @@ nsDownload::SetState(DownloadState aStat +@@ -2686,16 +2690,25 @@ nsDownload::SetState(DownloadState aStat nsCOMPtr pref(do_GetService(NS_PREFSERVICE_CONTRACTID)); // Master pref to control this function. @@ -246,7 +245,7 @@ diff --git a/toolkit/components/downloads/nsDownloadManager.cpp b/toolkit/compon int64_t goat = PR_Now() - mStartTime; showTaskbarAlert = goat > alertIntervalUSec; -@@ -2645,19 +2658,20 @@ nsDownload::SetState(DownloadState aStat +@@ -2722,19 +2735,20 @@ nsDownload::SetState(DownloadState aStat // retention policy, there's no reason to make the text clickable // because if it is, they'll click open the download manager and // the items they downloaded will have been removed. @@ -261,7 +260,7 @@ diff --git a/toolkit/components/downloads/nsDownloadManager.cpp b/toolkit/compon } + } - #if defined(XP_WIN) || defined(XP_MACOSX) || defined(MOZ_WIDGET_ANDROID) || defined(MOZ_WIDGET_GTK2) + #if defined(XP_WIN) || defined(XP_MACOSX) || defined(MOZ_WIDGET_ANDROID) || defined(MOZ_WIDGET_GTK) nsCOMPtr fileURL = do_QueryInterface(mTarget); nsCOMPtr file; nsAutoString path; @@ -271,7 +270,7 @@ diff --git a/toolkit/components/downloads/nsDownloadManager.cpp b/toolkit/compon diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn --- a/toolkit/content/jar.mn +++ b/toolkit/content/jar.mn -@@ -50,29 +50,33 @@ toolkit.jar: +@@ -53,29 +53,33 @@ toolkit.jar: content/global/viewZoomOverlay.js (viewZoomOverlay.js) *+ content/global/bindings/autocomplete.xml (widgets/autocomplete.xml) content/global/bindings/browser.xml (widgets/browser.xml) @@ -765,7 +764,7 @@ diff --git a/toolkit/content/widgets/preferences-kde.xml b/toolkit/content/widge new file mode 100644 --- /dev/null +++ b/toolkit/content/widgets/preferences-kde.xml -@@ -0,0 +1,1339 @@ +@@ -0,0 +1,1332 @@ + + + + +#elif XP_UNIX -+ pack="end"> -+