diff options
author | Jonathon Fernyhough | 2022-03-22 18:14:15 +0000 |
---|---|---|
committer | Jonathon Fernyhough | 2022-03-22 18:14:15 +0000 |
commit | 101141494b878e79326e6302441d42ca42332687 (patch) | |
tree | 73546821f3d5c6f10a0d5d077d97797516a3fd9a | |
parent | 3a993d69c5f2052d5f4a3fc25853a827b5a18a22 (diff) | |
download | aur-101141494b878e79326e6302441d42ca42332687.tar.gz |
Upstream 91.7.0. Align with firefox PKGBUILD.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | 0001-Use-remoting-name-for-GDK-application-names.patch | 57 | ||||
-rw-r--r-- | 0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch | 29 | ||||
-rw-r--r-- | PKGBUILD | 25 |
4 files changed, 17 insertions, 112 deletions
@@ -1,8 +1,8 @@ pkgbase = firefox-esr pkgdesc = Standalone web browser from mozilla.org, Extended Support Release - pkgver = 91.6.1 + pkgver = 91.7.0 pkgrel = 1 - url = https://www.mozilla.org/en-US/firefox/organizations/ + url = https://www.mozilla.org/en-US/firefox/enterprise/ arch = x86_64 license = MPL license = GPL @@ -32,7 +32,7 @@ pkgbase = firefox-esr depends = libxt depends = mime-types depends = dbus-glib - depends = ffmpeg + depends = ffmpeg4.4 depends = nss depends = ttf-font depends = libpulse @@ -42,20 +42,18 @@ pkgbase = firefox-esr optdepends = speech-dispatcher: Text-to-Speech optdepends = hunspell-en_US: Spell checking, American English optdepends = xdg-desktop-portal: Screensharing with Wayland - provides = firefox=91.6.1 - conflicts = firefox options = !emptydirs options = !makeflags options = !strip - source = https://archive.mozilla.org/pub/firefox/releases/91.6.1esr/source/firefox-91.6.1esr.source.tar.xz - source = https://archive.mozilla.org/pub/firefox/releases/91.6.1esr/source/firefox-91.6.1esr.source.tar.xz.asc - source = 0001-Use-remoting-name-for-GDK-application-names.patch + options = !lto + options = !debug + source = https://archive.mozilla.org/pub/firefox/releases/91.7.0esr/source/firefox-91.7.0esr.source.tar.xz + source = https://archive.mozilla.org/pub/firefox/releases/91.7.0esr/source/firefox-91.7.0esr.source.tar.xz.asc source = firefox-esr.desktop source = identity-icons-brand.svg validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353 - sha256sums = f9d8e011b761537a374696df09cae7a896c6ac01c41683c7ac234d73634b65df + sha256sums = 9c3ae9abe1ef10d66d64cbbee96ba2c16840098de8fe0285959f04160d0fee5a sha256sums = SKIP - sha256sums = 138b972a40a74104791783167770c4a01e62cce00bb9cc75119e152f9ea9f14d sha256sums = 39c4c2d1f465e3fb08e20e3036c2284ee3e8dfbd539abe4ffea3c46b4058f16d sha256sums = a9b8b4a0a1f4a7b4af77d5fc70c2686d624038909263c795ecc81e0aec7711e9 diff --git a/0001-Use-remoting-name-for-GDK-application-names.patch b/0001-Use-remoting-name-for-GDK-application-names.patch deleted file mode 100644 index 17e0e2cfccb9..000000000000 --- a/0001-Use-remoting-name-for-GDK-application-names.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> -Date: Mon, 25 Mar 2019 20:30:11 +0100 -Subject: [PATCH] Use remoting name for GDK application names - ---- - toolkit/xre/nsAppRunner.cpp | 6 +----- - widget/gtk/nsAppShell.cpp | 12 +++++------- - 2 files changed, 6 insertions(+), 12 deletions(-) - -diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp -index d3bb8096ad02e..95ccce28fa786 100644 ---- a/toolkit/xre/nsAppRunner.cpp -+++ b/toolkit/xre/nsAppRunner.cpp -@@ -4262,11 +4262,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) { - // consistently. - - // Set program name to the one defined in application.ini. -- { -- nsAutoCString program(gAppData->name); -- ToLowerCase(program); -- g_set_prgname(program.get()); -- } -+ g_set_prgname(gAppData->remotingName); - - // Initialize GTK here for splash. - -diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp -index 60de473de07ab..004c066575c17 100644 ---- a/widget/gtk/nsAppShell.cpp -+++ b/widget/gtk/nsAppShell.cpp -@@ -24,6 +24,8 @@ - # include "WakeLockListener.h" - #endif - #include "gfxPlatform.h" -+#include "nsAppRunner.h" -+#include "mozilla/XREAppData.h" - #include "ScreenHelperGTK.h" - #include "HeadlessScreenHelper.h" - #include "mozilla/widget/ScreenManager.h" -@@ -152,13 +154,9 @@ nsresult nsAppShell::Init() { - // See https://bugzilla.gnome.org/show_bug.cgi?id=747634 - // - // Only bother doing this for the parent process, since it's the one -- // creating top-level windows. (At this point, a child process hasn't -- // received the list of registered chrome packages, so the -- // GetBrandShortName call would fail anyway.) -- nsAutoString brandName; -- mozilla::widget::WidgetUtils::GetBrandShortName(brandName); -- if (!brandName.IsEmpty()) { -- gdk_set_program_class(NS_ConvertUTF16toUTF8(brandName).get()); -+ // creating top-level windows. -+ if (gAppData) { -+ gdk_set_program_class(gAppData->remotingName); - } - } - } diff --git a/0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch b/0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch deleted file mode 100644 index 4f609b4d93a9..000000000000 --- a/0002-Bug-1745560-Add-missing-stub-for-wl_proxy_marshal_fl.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Kevin Daudt <kdaudt@alpinelinux.org> -Date: Sun, 12 Dec 2021 13:38:48 +0000 -Subject: [PATCH] Bug 1745560 - Add missing stub for wl_proxy_marshal_flags, - r=stransky - -Firefox fails to build against wayland 1.20 because this symbol is missing - -Differential Revision: https://phabricator.services.mozilla.com/D133583 ---- - widget/gtk/mozwayland/mozwayland.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/widget/gtk/mozwayland/mozwayland.c b/widget/gtk/mozwayland/mozwayland.c -index 7a448e6321e2..1a86468b4f3d 100644 ---- a/widget/gtk/mozwayland/mozwayland.c -+++ b/widget/gtk/mozwayland/mozwayland.c -@@ -200,3 +200,10 @@ MOZ_EXPORT int wl_list_empty(const struct wl_list* list) { return -1; } - - MOZ_EXPORT void wl_list_insert_list(struct wl_list* list, - struct wl_list* other) {} -+ -+MOZ_EXPORT struct wl_proxy* wl_proxy_marshal_flags( -+ struct wl_proxy* proxy, uint32_t opcode, -+ const struct wl_interface* interface, uint32_t version, uint32_t flags, -+ ...) { -+ return NULL; -+} - @@ -1,17 +1,17 @@ # Maintainer : Figue <ffigue@gmail.com> # Maintainer : Luna Jernberg <droidbittin@gmail.com> -# Contributor : Jan Alexander Steffens (heftig) <heftig@archlinux.org> -# Contributor : Ionut Biru <ibiru@archlinux.org> -# Contributor : Jakub Schmidtke <sjakub@gmail.com> +# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org> +# Contributor: Ionut Biru <ibiru@archlinux.org> +# Contributor: Jakub Schmidtke <sjakub@gmail.com> pkgname=firefox-esr -pkgver=91.6.1 +pkgver=91.7.0 pkgrel=1 pkgdesc="Standalone web browser from mozilla.org, Extended Support Release" arch=(x86_64) license=(MPL GPL LGPL) -url="https://www.mozilla.org/en-US/firefox/organizations/" -depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse) +url="https://www.mozilla.org/en-US/firefox/enterprise/" +depends=(gtk3 libxt mime-types dbus-glib ffmpeg4.4 nss ttf-font libpulse) makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust clang llvm jack nodejs cbindgen nasm python-setuptools python-psutil python-zstandard lld dump_syms) @@ -21,15 +21,11 @@ optdepends=('networkmanager: Location detection via available WiFi networks' 'speech-dispatcher: Text-to-Speech' 'hunspell-en_US: Spell checking, American English' 'xdg-desktop-portal: Screensharing with Wayland') -provides=(firefox=${pkgver}) -conflicts=(firefox) -options=(!emptydirs !makeflags !strip) +options=(!emptydirs !makeflags !strip !lto !debug) source=(https://archive.mozilla.org/pub/firefox/releases/${pkgver}esr/source/firefox-${pkgver}esr.source.tar.xz{,.asc} - 0001-Use-remoting-name-for-GDK-application-names.patch - ${pkgname}.desktop identity-icons-brand.svg) -sha256sums=('f9d8e011b761537a374696df09cae7a896c6ac01c41683c7ac234d73634b65df' + $pkgname.desktop identity-icons-brand.svg) +sha256sums=('9c3ae9abe1ef10d66d64cbbee96ba2c16840098de8fe0285959f04160d0fee5a' 'SKIP' - '138b972a40a74104791783167770c4a01e62cce00bb9cc75119e152f9ea9f14d' '39c4c2d1f465e3fb08e20e3036c2284ee3e8dfbd539abe4ffea3c46b4058f16d' 'a9b8b4a0a1f4a7b4af77d5fc70c2686d624038909263c795ecc81e0aec7711e9') validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com> @@ -50,9 +46,6 @@ prepare() { mkdir mozbuild cd firefox-$pkgver - # https://bugzilla.mozilla.org/show_bug.cgi?id=1530052 - patch -Np1 -i ../0001-Use-remoting-name-for-GDK-application-names.patch - echo -n "$_google_api_key" >google-api-key echo -n "$_mozilla_api_key" >mozilla-api-key |