thunderbird: update to 128.2.3.

This commit is contained in:
dataCobra 2024-09-30 09:18:58 +02:00 committed by classabbyamp
parent b5e47f0bd3
commit 532b5d8b26
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5
3 changed files with 28 additions and 25 deletions

View file

@ -1,10 +1,6 @@
Enable FLAC on platforms without ffvpx like powerpc*
diff --git dom/media/flac/FlacDecoder.cpp dom/media/flac/FlacDecoder.cpp
index 53fc3c9937f7..b23771ab80fa 100644
--- a/dom/media/flac/FlacDecoder.cpp --- a/dom/media/flac/FlacDecoder.cpp
+++ b/dom/media/flac/FlacDecoder.cpp +++ b/dom/media/flac/FlacDecoder.cpp
@@ -7,6 +7,7 @@ @@ -7,11 +7,22 @@
#include "FlacDecoder.h" #include "FlacDecoder.h"
#include "MediaContainerType.h" #include "MediaContainerType.h"
#include "mozilla/StaticPrefs_media.h" #include "mozilla/StaticPrefs_media.h"
@ -12,13 +8,19 @@ index 53fc3c9937f7..b23771ab80fa 100644
namespace mozilla { namespace mozilla {
@@ -14,5 +15,9 @@ namespace mozilla { /* static */
bool FlacDecoder::IsEnabled() { -bool FlacDecoder::IsEnabled() { return StaticPrefs::media_flac_enabled(); }
#ifdef MOZ_FFVPX +bool FlacDecoder::IsEnabled() {
return StaticPrefs::media_flac_enabled(); +#ifdef MOZ_FFVPX
+#elif defined(MOZ_FFMPEG) + return StaticPrefs::media_flac_enabled();
+ RefPtr<PDMFactory> platform = new PDMFactory(); +#elif defined(MOZ_FFVPX)
+ RefPtr<PDMFACTORY> platform = new PDMFactory();
+ return StaticPrefs::media_flac_enabled() && + return StaticPrefs::media_flac_enabled() &&
+ platform->SupportsMimeType("audio/flac"_ns); + platform->SupportMimeType("audio/flac"_ns);
#else +#else
return false; + return false;
+#endif
+}
/* static */
bool FlacDecoder::IsSupportedType(const MediaContainerType& aContainerType) {

View file

@ -1,17 +1,18 @@
--- a/security/sandbox/linux/SandboxFilter.cpp 2020-11-23 22:41:14.556378950 +0100 --- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp 2020-11-23 22:40:23.595806444 +0100 +++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -68,7 +68,13 @@ @@ -77,10 +77,12 @@ using namespace sandbox::bpf_dsl;
// The headers define O_LARGEFILE as 0 on x86_64, but we need the // The GNU libc headers define O_LARGEFILE as 0 on x86_64, but we need the
// actual value because it shows up in file flags. // actual value because it shows up in file flags.
-#define O_LARGEFILE_REAL 00100000 -#if !defined(O_LARGEFILE) || O_LARGEFILE == 0
-# define O_LARGEFILE_REAL 00100000
+#if defined(__x86_64__) || defined(__i386__) || defined(__mips__) +#if defined(__x86_64__) || defined(__i386__) || defined(__mips__)
+#define O_LARGEFILE_REAL 0100000 +#define O_LARGEFILE_REAL 0100000
+#elif defined(__powerpc__) +#elif defined(__powerpc__)
+#define O_LARGEFILE_REAL 0200000 +#define O_LARGEFILE_REAL 0200000
+#else #else
-# define O_LARGEFILE_REAL O_LARGEFILE
+#define O_LARGEFILE_REAL O_LARGEFILE +#define O_LARGEFILE_REAL O_LARGEFILE
+#endif #endif
// Not part of UAPI, but userspace sees it in F_GETFL; see bug 1650751. // Not part of UAPI, but userspace sees it in F_GETFL; see bug 1650751.
#define FMODE_NONOTIFY 0x4000000

View file

@ -3,15 +3,15 @@
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/thunderbird-i18n". # THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/thunderbird-i18n".
# #
pkgname=thunderbird pkgname=thunderbird
version=115.12.2 version=128.2.3
revision=1 revision=1
build_helper="rust" build_helper="rust"
short_desc="Standalone Mail/News reader" short_desc="Standalone Mail/News reader"
maintainer="dataCobra <datacobra@thinkbot.de>" maintainer="dataCobra <datacobra@thinkbot.de>"
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.thunderbird.net/" homepage="https://www.thunderbird.net/"
distfiles="${MOZILLA_SITE}/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz" distfiles="${MOZILLA_SITE}/thunderbird/releases/${version}esr/source/thunderbird-${version}esr.source.tar.xz"
checksum=6378a0dbe8d785f58ab9778a507e36c33a5f869ae1a670638e27787b9864e638 checksum=7ad90cbceb74ba0c7fe466a8032bebeaf29c97d7a48eb7c67c201dadc204dcaa
lib32disabled=yes lib32disabled=yes