diff --git a/mozilla-nongnome-proxies.patch b/mozilla-nongnome-proxies.patch index 412d655..837200b 100644 --- a/mozilla-nongnome-proxies.patch +++ b/mozilla-nongnome-proxies.patch @@ -1,10 +1,10 @@ -From: Wolfgang Rosenauer +From: Wolfgang Rosenauer, Tristan Miller Subject: Do not use gconf for proxy settings if not running within Gnome -diff -ruN seamonkey/mozilla/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp seamonkey.new/mozilla/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp ---- seamonkey/mozilla/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp 2020-02-18 00:39:44.000000000 +0100 -+++ seamonkey.new/mozilla/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp 2020-03-02 12:41:27.735383057 +0100 -@@ -59,13 +59,17 @@ +diff -ruN seamonkey-2.53.17b1.orig/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp seamonkey-2.53.17b1/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp +--- seamonkey-2.53.17b1.orig/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp 2023-06-10 12:41:26.000000000 +0200 ++++ seamonkey-2.53.17b1/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp 2023-07-12 09:41:08.047344985 +0200 +@@ -55,10 +55,14 @@ nsresult nsUnixSystemProxySettings::Init() { @@ -12,9 +12,6 @@ diff -ruN seamonkey/mozilla/toolkit/system/unixproxy/nsUnixSystemProxySettings.c - if (mGSettings) { - mGSettings->GetCollectionForSchema(NS_LITERAL_CSTRING("org.gnome.system.proxy"), - getter_AddRefs(mProxySettings)); -- } -- if (!mProxySettings) { -- mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID); + // only use GSettings if that is a GNOME session + const char* sessionType = PR_GetEnv("DESKTOP_SESSION"); + if (sessionType && !strcmp(sessionType, "gnome")) { @@ -22,9 +19,6 @@ diff -ruN seamonkey/mozilla/toolkit/system/unixproxy/nsUnixSystemProxySettings.c + if (mGSettings) { + mGSettings->GetCollectionForSchema(NS_LITERAL_CSTRING("org.gnome.system.proxy"), + getter_AddRefs(mProxySettings)); -+ } -+ if (!mProxySettings) { -+ mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID); + } } diff --git a/seamonkey-2.53.16.source-l10n.tar.xz b/seamonkey-2.53.16.source-l10n.tar.xz deleted file mode 100644 index a576659..0000000 --- a/seamonkey-2.53.16.source-l10n.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7e452a91c1a7371c1e4f31aa2ab3d85d326acc9cce66b1c75954e0d9d0d888d1 -size 13641752 diff --git a/seamonkey-2.53.16.source.tar.xz b/seamonkey-2.53.16.source.tar.xz deleted file mode 100644 index dec01fb..0000000 --- a/seamonkey-2.53.16.source.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b7c82fb8cd795ae9c78c57c0dde0f24d61432bdcaf93f28715f1ea4d51c0edc -size 265946284 diff --git a/seamonkey-2.53.17.source-l10n.tar.xz b/seamonkey-2.53.17.source-l10n.tar.xz new file mode 100644 index 0000000..5227655 --- /dev/null +++ b/seamonkey-2.53.17.source-l10n.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56fa73336ae570cc8df6f2e34694874a4be945a6e9495f106663110d752c54f5 +size 13661552 diff --git a/seamonkey-2.53.17.source.tar.xz b/seamonkey-2.53.17.source.tar.xz new file mode 100644 index 0000000..19a993c --- /dev/null +++ b/seamonkey-2.53.17.source.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5730831dbc7bc5719db5043bcb6b3843155c915fa9c9fd9ac0ac4ae8bd1bc68 +size 266150192 diff --git a/seamonkey-lto.patch b/seamonkey-lto.patch index 7aa07b3..4636c9a 100644 --- a/seamonkey-lto.patch +++ b/seamonkey-lto.patch @@ -1,11 +1,12 @@ ---- seamonkey-2.53.9/security/sandbox/linux/moz.build 2021-08-08 15:02:00.000000000 +0200 -+++ seamonkey-2.53.9.new/security/sandbox/linux/moz.build 2021-08-26 14:43:43.392464338 +0200 -@@ -99,7 +99,7 @@ +diff -ruN seamonkey-2.53.17b1.orig/security/sandbox/linux/moz.build seamonkey-2.53.17b1/security/sandbox/linux/moz.build +--- seamonkey-2.53.17b1.orig/security/sandbox/linux/moz.build 2023-06-10 12:41:21.000000000 +0200 ++++ seamonkey-2.53.17b1/security/sandbox/linux/moz.build 2023-07-12 09:48:50.099448143 +0200 +@@ -101,7 +101,7 @@ # forcing there to be only one partition. for f in CONFIG['OS_CXXFLAGS']: if f.startswith('-flto') and CONFIG['CC_TYPE'] != 'clang': - LDFLAGS += ['--param lto-partitions=1'] + LDFLAGS += ['--param=lto-partitions=1'] - # -if CONFIG['MOZ_ALSA']: - # - DEFINES['MOZ_ALSA'] = True + DEFINES['NS_NO_XPCOM'] = True + DisableStlWrapping() diff --git a/seamonkey.changes b/seamonkey.changes index 7b5cc56..50ec180 100644 --- a/seamonkey.changes +++ b/seamonkey.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Fri Aug 04 13:04:12 UTC 2023 - Tristan Miller + +- update to SeaMonkey 2.53.17 + * Fix macOS Contacts permission request bug 1826719. + * Remove SeaMonkey 2.57 links from debugQA bug 1829683. + * Treat opening urls from the library as external bug 1619108. + * Disable spam warning for autogenerated links in plaintext messages + bug 619031. + * Switch SeaMonkey build files to Python 3 bug 1635849. + * Remove empty overlays from Composer bug 1828533. + * Move xpfe autocomplete to comm-central suite bug 1418512. + * Remove nsIPrefBranch2 and nsIPrefBranchInternal bug 1374847. + * SeaMonkey 2.53.17 uses the same backend as Firefox and contains + the relevant Firefox 60.8 security fixes. + * SeaMonkey 2.53.17 shares most parts of the mail and news code with + Thunderbird. Please read the Thunderbird 60.8.0 release notes for + specific security fixes in this release. + * Additional important security fixes up to Current Firefox 102.11 + and Thunderbird 102.11 ESR plus many enhancements have been + backported. We will continue to enhance SeaMonkey security in + subsequent 2.53.x beta and release versions as fast as we are able + to. + * Adapt mozilla-nongnome-proxies.patch for SeaMonkey 2.53.17 + * Adapt seamonkey-lto.patch for SeaMonkey 2.53.17 + * Remove obsolete %clean section from seamonkey.spec +- request inclusion in Leap 15.4 and 15.5: + https://bugzilla.opensuse.org/show_bug.cgi?id=1213986 + ------------------------------------------------------------------- Wed Mar 31 07:22:42 UTC 2023 - Tristan Miller diff --git a/seamonkey.spec b/seamonkey.spec index a98a6fc..54a436a 100644 --- a/seamonkey.spec +++ b/seamonkey.spec @@ -72,9 +72,9 @@ BuildRequires: clang-devel >= 5 %endif Provides: web_browser Provides: browser(npapi) -Version: 2.53.16 +Version: 2.53.17 Release: 0 -%define releasedate 20230331000000 +%define releasedate 20230804000000 Summary: An integrated web browser, composer, mail/news client, and IRC client License: MPL-2.0 Group: Productivity/Networking/Web/Browsers @@ -219,7 +219,7 @@ cd mozilla cp %{SOURCE12} GNUmakefile -%patch1 -p2 +%patch1 -p1 %patch3 -p2 %patch4 -p1 %patch5 -p0 @@ -416,10 +416,6 @@ rm -f $RPM_BUILD_ROOT%{progdir}/dictionaries/* mkdir -p %{buildroot}%{_datadir}/appdata install -m0644 -t %{buildroot}%{_datadir}/appdata/ $RPM_BUILD_DIR/*.appdata.xml -%clean -rm -rf $RPM_BUILD_ROOT -rm -rf %{_tmppath}/translations.* - %files -f seamonkey.lang %defattr(-,root,root) %{_bindir}/%{progname}