diff options
author | nikatar | 2020-10-24 14:07:50 +0300 |
---|---|---|
committer | nikatar | 2020-10-24 14:07:50 +0300 |
commit | fdf4fbcb206f0523dc28e513e5de0c6c3deab600 (patch) | |
tree | 69168ba327fb5306de86646236b7662da87a78a9 | |
parent | e6b43de1a59e22fcbbdc364f0acd1285b57253dc (diff) | |
download | aur-fdf4fbcb206f0523dc28e513e5de0c6c3deab600.tar.gz |
82.0-1
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | 0001-Use-remoting-name-for-GDK-application-names.patch | 4 | ||||
-rw-r--r-- | 0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch | 46 | ||||
-rw-r--r-- | 0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch | 31 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | bug1654465.diff | 77 | ||||
-rw-r--r-- | unity-menubar.patch | 4 | ||||
-rwxr-xr-x | upload-symbol-archive | 25 |
8 files changed, 15 insertions, 207 deletions
@@ -1,6 +1,6 @@ pkgbase = firefox-appmenu pkgdesc = Firefox from extra with appmenu patch - pkgver = 81.0.1 + pkgver = 82.0 pkgrel = 1 url = https://www.mozilla.org/firefox/ arch = x86_64 @@ -41,26 +41,22 @@ pkgbase = firefox-appmenu optdepends = pulseaudio: Audio support optdepends = speech-dispatcher: Text-to-Speech optdepends = hunspell-en_US: Spell checking, American English - provides = firefox=81.0.1 + provides = firefox=82.0 conflicts = firefox options = !emptydirs options = !makeflags options = !strip - source = https://archive.mozilla.org/pub/firefox/releases/81.0.1/source/firefox-81.0.1.source.tar.xz - source = https://archive.mozilla.org/pub/firefox/releases/81.0.1/source/firefox-81.0.1.source.tar.xz.asc + source = https://archive.mozilla.org/pub/firefox/releases/82.0/source/firefox-82.0.source.tar.xz + source = https://archive.mozilla.org/pub/firefox/releases/82.0/source/firefox-82.0.source.tar.xz.asc source = 0001-Use-remoting-name-for-GDK-application-names.patch - source = 0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch - source = 0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch source = firefox.desktop source = unity-menubar.patch validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353 - sha256sums = 7eac8d3eaaf580e0f30e9bd79d798c3138aaa5fa2737616fa08c588b730e8fff + sha256sums = 90c58707f5bd34978e2d1bcadbe463556edc0878430f969893ae2f89c5d464c2 sha256sums = SKIP - sha256sums = e0eaec8ddd24bbebf4956563ebc6d7a56f8dada5835975ee4d320dd3d0c9c442 - sha256sums = c2489a4ad3bfb65c064e07180a1de9a2fbc3b1b72d6bc4cd3985484d1b6b7b29 - sha256sums = 52cc26cda4117f79fae1a0ad59e1404b299191a1c53d38027ceb178dab91f3dc + sha256sums = 1dba448eb1605c9dc73c22861a5394b50055909399f056baee4887b29af1b51e sha256sums = 34514a657d6907a159594c51e674eeb81297c431ec26a736417c2fdb995c2c0c - sha256sums = 70d30136888b08283f58e15b97109d02adfddab0544831aaecc696f9b09750da + sha256sums = fdd661b8a41f12e272220c87a5dd07d5846c3099816b90eb2860833910f05969 pkgname = firefox-appmenu diff --git a/0001-Use-remoting-name-for-GDK-application-names.patch b/0001-Use-remoting-name-for-GDK-application-names.patch index b1dcee50ffad..c97bfdfd8ddc 100644 --- a/0001-Use-remoting-name-for-GDK-application-names.patch +++ b/0001-Use-remoting-name-for-GDK-application-names.patch @@ -9,10 +9,10 @@ Subject: [PATCH] Use remoting name for GDK application names 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp -index 49e2c73986ab..43ebcac381c7 100644 +index a16521852d05..d0be5a088d8c 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp -@@ -3822,11 +3822,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) { +@@ -3832,11 +3832,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) { // consistently. // Set program name to the one defined in application.ini. diff --git a/0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch b/0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch deleted file mode 100644 index 427dfcdc1e00..000000000000 --- a/0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Jed Davis <jld@mozilla.com> -Date: Fri, 28 Aug 2020 09:23:58 +0000 -Subject: [PATCH] Bug 1660901 - Support the fstat-like subset of fstatat in the - Linux sandbox policies. r=gcp - -Differential Revision: https://phabricator.services.mozilla.com/D88499 ---- - security/sandbox/linux/SandboxFilter.cpp | 6 ++++++ - security/sandbox/linux/broker/SandboxBrokerUtils.h | 2 ++ - 2 files changed, 8 insertions(+) - -diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp -index e522d61e065c..4087bdc07e01 100644 ---- a/security/sandbox/linux/SandboxFilter.cpp -+++ b/security/sandbox/linux/SandboxFilter.cpp -@@ -243,6 +243,12 @@ class SandboxPolicyCommon : public SandboxPolicyBase { - auto path = reinterpret_cast<const char*>(aArgs.args[1]); - auto buf = reinterpret_cast<statstruct*>(aArgs.args[2]); - auto flags = static_cast<int>(aArgs.args[3]); -+ -+ if (fd != AT_FDCWD && (flags & AT_EMPTY_PATH) != 0 && -+ strcmp(path, "") == 0) { -+ return ConvertError(fstatsyscall(fd, buf)); -+ } -+ - if (fd != AT_FDCWD && path[0] != '/') { - SANDBOX_LOG_ERROR("unsupported fd-relative fstatat(%d, \"%s\", %p, %d)", - fd, path, buf, flags); -diff --git a/security/sandbox/linux/broker/SandboxBrokerUtils.h b/security/sandbox/linux/broker/SandboxBrokerUtils.h -index 85a006740c2c..db33b5028e77 100644 ---- a/security/sandbox/linux/broker/SandboxBrokerUtils.h -+++ b/security/sandbox/linux/broker/SandboxBrokerUtils.h -@@ -19,10 +19,12 @@ - typedef struct stat64 statstruct; - # define statsyscall stat64 - # define lstatsyscall lstat64 -+# define fstatsyscall fstat64 - #elif defined(__NR_stat) - typedef struct stat statstruct; - # define statsyscall stat - # define lstatsyscall lstat -+# define fstatsyscall fstat - #else - # error Missing stat syscall include. - #endif diff --git a/0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch b/0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch deleted file mode 100644 index dd5a535359a0..000000000000 --- a/0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Julien Cristau <jcristau@mozilla.com> -Date: Sun, 6 Sep 2020 20:20:39 +0000 -Subject: [PATCH] Bug 1660901 - ignore AT_NO_AUTOMOUNT in fstatat system call. - r=jld - -Per the manpage "Both stat() and lstat() act as though AT_NO_AUTOMOUNT -was set.", so don't bail if it's set in a call to fstatat. - -Differential Revision: https://phabricator.services.mozilla.com/D89121 ---- - security/sandbox/linux/SandboxFilter.cpp | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp -index 4087bdc07e01..c4f6c318ad1c 100644 ---- a/security/sandbox/linux/SandboxFilter.cpp -+++ b/security/sandbox/linux/SandboxFilter.cpp -@@ -254,9 +254,10 @@ class SandboxPolicyCommon : public SandboxPolicyBase { - fd, path, buf, flags); - return BlockedSyscallTrap(aArgs, nullptr); - } -- if ((flags & ~AT_SYMLINK_NOFOLLOW) != 0) { -+ if ((flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT)) != 0) { - SANDBOX_LOG_ERROR("unsupported flags %d in fstatat(%d, \"%s\", %p, %d)", -- (flags & ~AT_SYMLINK_NOFOLLOW), fd, path, buf, flags); -+ (flags & ~(AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT)), fd, -+ path, buf, flags); - return BlockedSyscallTrap(aArgs, nullptr); - } - return (flags & AT_SYMLINK_NOFOLLOW) == 0 ? broker->Stat(path, buf) @@ -7,7 +7,7 @@ pkgname=firefox-appmenu _pkgname=firefox -pkgver=81.0.1 +pkgver=82.0 pkgrel=1 pkgdesc="Firefox from extra with appmenu patch" arch=(x86_64) @@ -27,17 +27,13 @@ conflicts=("firefox") options=(!emptydirs !makeflags !strip) source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc} 0001-Use-remoting-name-for-GDK-application-names.patch - 0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch - 0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch $_pkgname.desktop unity-menubar.patch) -sha256sums=('7eac8d3eaaf580e0f30e9bd79d798c3138aaa5fa2737616fa08c588b730e8fff' +sha256sums=('90c58707f5bd34978e2d1bcadbe463556edc0878430f969893ae2f89c5d464c2' 'SKIP' - 'e0eaec8ddd24bbebf4956563ebc6d7a56f8dada5835975ee4d320dd3d0c9c442' - 'c2489a4ad3bfb65c064e07180a1de9a2fbc3b1b72d6bc4cd3985484d1b6b7b29' - '52cc26cda4117f79fae1a0ad59e1404b299191a1c53d38027ceb178dab91f3dc' + '1dba448eb1605c9dc73c22861a5394b50055909399f056baee4887b29af1b51e' '34514a657d6907a159594c51e674eeb81297c431ec26a736417c2fdb995c2c0c' - '70d30136888b08283f58e15b97109d02adfddab0544831aaecc696f9b09750da') + 'fdd661b8a41f12e272220c87a5dd07d5846c3099816b90eb2860833910f05969') validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com> # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) @@ -59,11 +55,6 @@ prepare() { # https://bugzilla.mozilla.org/show_bug.cgi?id=1530052 patch -Np1 -i ../0001-Use-remoting-name-for-GDK-application-names.patch - # https://bugs.archlinux.org/task/67978 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1660901 - patch -Np1 -i ../0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch - patch -Np1 -i ../0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch - # actual appmenu patch from ubuntu repos # http://archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_80.0+build2-0ubuntu0.16.04.1.debian.tar.xz patch -Np1 -i ../unity-menubar.patch diff --git a/bug1654465.diff b/bug1654465.diff deleted file mode 100644 index f9982cb4d105..000000000000 --- a/bug1654465.diff +++ /dev/null @@ -1,77 +0,0 @@ - build/moz.configure/rust.configure | 2 +- - config/makefiles/rust.mk | 5 +++++ - .../mozbuild/test/configure/test_toolchain_configure.py | 14 -------------- - 3 files changed, 6 insertions(+), 15 deletions(-) - -diff --git c/build/moz.configure/rust.configure i/build/moz.configure/rust.configure -index aaa693059d95..c90ae5ca7b25 100644 ---- c/build/moz.configure/rust.configure -+++ i/build/moz.configure/rust.configure -@@ -146,7 +146,7 @@ def rust_compiler(rustc_info, cargo_info, build_project): - or by directly running the installer from https://rustup.rs/ - ''')) - if build_project == 'tools/crashreporter': -- rustc_min_version = Version('1.31.0') -+ rustc_min_version = Version('1.38.0') - else: - rustc_min_version = Version('1.43.0') - cargo_min_version = rustc_min_version -diff --git c/config/makefiles/rust.mk i/config/makefiles/rust.mk -index a9abcc9af4c0..b5c7973104ce 100644 ---- c/config/makefiles/rust.mk -+++ i/config/makefiles/rust.mk -@@ -63,6 +63,11 @@ ifndef MOZ_DEBUG_RUST - ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE))) - cargo_rustc_flags += -Clto - endif -+# Versions of rust >= 1.45 need -Cembed-bitcode=yes for all crates when -+# using -Clto. -+ifeq (,$(filter 1.38.% 1.39.% 1.40.% 1.41.% 1.42.% 1.43.% 1.44.%,$(RUSTC_VERSION))) -+RUSTFLAGS += -Cembed-bitcode=yes -+endif - endif - endif - -diff --git c/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py i/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py -index e1921ece6865..759d4d98cc0d 100755 ---- c/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py -+++ i/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py -@@ -1796,38 +1796,24 @@ class RustTest(BaseConfigureTest): - arm_arch=7, fpu='neon', thumb2=True, float_abi='softfp')), - 'thumbv7neon-linux-androideabi') - -- self.assertEqual( -- self.get_rust_target('arm-unknown-linux-androideabi', -- version='1.32.0', -- arm_target=ReadOnlyNamespace( -- arm_arch=7, fpu='neon', thumb2=True, float_abi='softfp')), -- 'armv7-linux-androideabi') -- - self.assertEqual( - self.get_rust_target('arm-unknown-linux-androideabi', - arm_target=ReadOnlyNamespace( - arm_arch=7, fpu='neon', thumb2=False, float_abi='softfp')), - 'armv7-linux-androideabi') - - self.assertEqual( - self.get_rust_target('arm-unknown-linux-androideabi', - arm_target=ReadOnlyNamespace( - arm_arch=7, fpu='vfpv2', thumb2=True, float_abi='softfp')), - 'armv7-linux-androideabi') - - self.assertEqual( - self.get_rust_target('armv7-unknown-linux-gnueabihf', - arm_target=ReadOnlyNamespace( - arm_arch=7, fpu='neon', thumb2=True, float_abi='hard')), - 'thumbv7neon-unknown-linux-gnueabihf') - -- self.assertEqual( -- self.get_rust_target('armv7-unknown-linux-gnueabihf', -- version='1.32.0', -- arm_target=ReadOnlyNamespace( -- arm_arch=7, fpu='neon', thumb2=True, float_abi='hard')), -- 'armv7-unknown-linux-gnueabihf') -- - self.assertEqual( - self.get_rust_target('armv7-unknown-linux-gnueabihf', - arm_target=ReadOnlyNamespace( diff --git a/unity-menubar.patch b/unity-menubar.patch index 459491afc3b8..331d8a71b176 100644 --- a/unity-menubar.patch +++ b/unity-menubar.patch @@ -5100,9 +5100,9 @@ * GetLastUserInputTime returns a timestamp for the most recent user input * event. This is intended for pointer grab requests (including drags). @@ -698,6 +702,8 @@ class nsWindow final : public nsBaseWidg - - mozilla::UniquePtr<mozilla::CurrentX11TimeGetter> mCurrentTimeGetter; static CSDSupportLevel sCSDSupportLevel; + + static bool sTransparentMainWindow; + + mozilla::UniquePtr<nsMenuBar> mMenuBar; }; diff --git a/upload-symbol-archive b/upload-symbol-archive deleted file mode 100755 index 059a399c429f..000000000000 --- a/upload-symbol-archive +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -e - -die() { - echo >&2 "$@" - exit 1 -} - -(( $# >= 2 )) || die "Usage: $0 TOKEN-FILE SYMBOL-ARCHIVE..." -token="$1" -shift - -[[ -f $token && -s $token ]] || die "Invalid TOKEN-FILE ${token@Q}" - -for zip; do - [[ $(file -SEbi "$zip") == application/zip* ]] || die "Invalid SYMBOL-ARCHIVE ${zip@Q}" -done - -for zip; do - echo >&2 "Uploading ${zip@Q} ..." - curl -X POST -H "Auth-Token: $(<"$token")" -F "${zip##*/}=@$zip" \ - --retry 4 --retry-connrefused --connect-timeout 120 \ - https://symbols.mozilla.org/upload/ - echo - mv -v "$zip" "$zip.uploaded" -done |