| |
@@ -44,7 +44,7 @@
|
| |
|
| |
pkgname=iceweasel
|
| |
epoch=1
|
| |
- pkgver=80.0
|
| |
+ pkgver=81.0.1
|
| |
pkgrel=1
|
| |
pkgrel+=.parabola1
|
| |
_brandingver=80.0
|
| |
@@ -57,7 +57,7 @@
|
| |
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse)
|
| |
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
|
| |
autoconf2.13 rust clang llvm jack gtk2 nodejs cbindgen nasm
|
| |
- python-setuptools python-psutil lld)
|
| |
+ python-setuptools python-psutil python-zstandard lld)
|
| |
# FIXME: 'mozilla-serarchplugins' package needs re-working (see note in prepare())
|
| |
makedepends+=(quilt libxslt imagemagick git jq)
|
| |
optdepends=('networkmanager: Location detection via available WiFi networks'
|
| |
@@ -69,6 +69,8 @@
|
| |
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)
|
| |
source+=(https://repo.parabola.nu/other/iceweasel/${pkgname}_${_brandingver}-${_brandingrel}.branding.tar.xz{,.sig}
|
| |
libre.patch
|
| |
@@ -78,19 +80,21 @@
|
| |
build-arm-libopus.patch)
|
| |
source_i686=('avoid-libxul-OOM-python-check.patch'
|
| |
'rust-static-disable-network-test-on-static-libraries.patch')
|
| |
- sha256sums=('380d9853e0712442ba2d4acd85c0e09c19ad36561a3ea8932705ad6b8a91146a'
|
| |
+ sha256sums=('7eac8d3eaaf580e0f30e9bd79d798c3138aaa5fa2737616fa08c588b730e8fff'
|
| |
'SKIP'
|
| |
- '3bb7463471fb43b2163a705a79a13a3003d70fff4bbe44f467807ca056de9a75'
|
| |
- '44be8e819b8334ed36e9410d62dbc6c16dd8f8329a191403bfdce3cf2e9181fc')
|
| |
- sha256sums+=('228b7d316ab6836a6e69aa7070033b1ae073f3579474a49d8c306702b1c1413e'
|
| |
- 'SKIP'
|
| |
- '5cfcadbd168c52b1b1e3f2f2c45911a4ae1a9d8a05918be68475a31985607bd8'
|
| |
- '0ed6b8efa00f73a96bceaba2d6a31fb11d416106729ab9b8289b191eb9acccfa'
|
| |
- '714998c5fc379f54a66ff80a845b7880169cd5b4094b77b719a99d33b65c0940')
|
| |
+ 'e0eaec8ddd24bbebf4956563ebc6d7a56f8dada5835975ee4d320dd3d0c9c442'
|
| |
+ 'c2489a4ad3bfb65c064e07180a1de9a2fbc3b1b72d6bc4cd3985484d1b6b7b29'
|
| |
+ '52cc26cda4117f79fae1a0ad59e1404b299191a1c53d38027ceb178dab91f3dc'
|
| |
+ '44be8e819b8334ed36e9410d62dbc6c16dd8f8329a191403bfdce3cf2e9181fc'
|
| |
+ '228b7d316ab6836a6e69aa7070033b1ae073f3579474a49d8c306702b1c1413e'
|
| |
+ 'SKIP'
|
| |
+ '5cfcadbd168c52b1b1e3f2f2c45911a4ae1a9d8a05918be68475a31985607bd8'
|
| |
+ '0ed6b8efa00f73a96bceaba2d6a31fb11d416106729ab9b8289b191eb9acccfa'
|
| |
+ '0ace0929a7487bd3d464a432e9be643a8f62d135cdfc1b4b2c55846aee8c04dc')
|
| |
+ sha256sums_i686=('80b6461579398398c28f9b72b0c55220f261d9bf6c5a253e3bc66dc8a65131f6'
|
| |
+ 'e661665ee00ecec66c33e115b0af3474452022f0d8ceda634a6315dc8cb99014')
|
| |
sha256sums_armv7h=('bc00516032330760444939c516a60c78f868631e1b37f075f0fe71a53737b966'
|
| |
'2d4d91f7e35d0860225084e37ec320ca6cae669f6c9c8fe7735cdbd542e3a7c9')
|
| |
- sha256sums_i686=('bf2829f280ef05a608584ce7ec95875e147f315bac9609f5e18052bc03e3c4f9'
|
| |
- 'e661665ee00ecec66c33e115b0af3474452022f0d8ceda634a6315dc8cb99014')
|
| |
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com>
|
| |
validpgpkeys+=('BFA8008A8265677063B11BF47171986E4B745536') # Andreas Grapentin
|
| |
validpgpkeys+=('3954A7AB837D0EA9CFA9798925DB7D9B5A8D4B40') # bill-auger
|
| |
@@ -107,9 +111,13 @@
|
| |
cd firefox-$pkgver
|
| |
|
| |
# https://bugzilla.mozilla.org/show_bug.cgi?id=1530052
|
| |
- echo "applying 0001-Use-remoting-name-for-GDK-application-names.patch"
|
| |
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
|
| |
+
|
| |
cat >../mozconfig <<END
|
| |
ac_add_options --enable-application=browser
|
| |
mk_add_options MOZ_OBJDIR=${PWD@Q}/obj
|
| |
@@ -134,6 +142,7 @@
|
| |
ac_add_options --with-distribution-id=nu.parabola
|
| |
ac_add_options --with-unsigned-addon-scopes=app,system
|
| |
ac_add_options --allow-addon-sideload
|
| |
+ export MOZ_APP_NAME=$pkgname
|
| |
export MOZ_APP_REMOTINGNAME=${pkgname//-/}
|
| |
export MOZ_TELEMETRY_REPORTING=
|
| |
export MOZ_REQUIRE_SIGNING=
|
| |
@@ -287,6 +296,11 @@
|
| |
pushd browser/components/search/extensions
|
| |
sed -i "${_remove_engines_sed}" list.json
|
| |
sed -i 's|https://duckduckgo.com/|https://html.duckduckgo.com/html/|' ddg/manifest.json
|
| |
+
|
| |
+ # Removing URL parameters that let DuckDuckGo know the place in UI
|
| |
+ # the search was ran from (like address bar, context menu, etc.)
|
| |
+ jq 'del(.chrome_settings_overrides.search_provider.params)' ddg/manifest.json > manifest.json.tmp \
|
| |
+ && mv manifest.json.tmp ddg/manifest.json
|
| |
|
| |
# Sanity-check search-engines patching
|
| |
_removed_engines_regex='Bing|Google|Seznam|Twitter|Yahoo|Yandex|Яндекс|amazon|bing|google|ebay|twitter'
|
| |
@@ -338,6 +352,7 @@
|
| |
|
| |
export MOZ_NOSPAM=1
|
| |
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
|
| |
+ export MACH_USE_SYSTEM_PYTHON=1
|
| |
|
| |
# LTO needs more open files
|
| |
ulimit -n 4096
|
| |
@@ -374,10 +389,6 @@
|
| |
export CXXFLAGS+=" -mmmx"
|
| |
;;
|
| |
x86_64)
|
| |
- # -fno-plt with cross-LTO -> LLVM ERROR: Function Import: link error
|
| |
- CFLAGS="${CFLAGS/-fno-plt/}"
|
| |
- CXXFLAGS="${CXXFLAGS/-fno-plt/}"
|
| |
-
|
| |
# clang-9 -> error: unknown argument: '-fvar-tracking-assignments'
|
| |
CFLAGS="${CFLAGS/-fvar-tracking-assignments/}"
|
| |
CXXFLAGS="${CXXFLAGS/-fvar-tracking-assignments/}"
|
| |
@@ -452,9 +463,6 @@
|
| |
_check_build_config
|
| |
echo "Building optimized browser..."
|
| |
./mach build
|
| |
-
|
| |
- echo "Building symbol archive..."
|
| |
- ./mach buildsymbols
|
| |
}
|
| |
|
| |
package() {
|
| |
Built and smoke tested for x86_64 and i686.
armv7h build failed with the same errors as before. It failed in librechroot@x86_64 and in ARM VM created with parabola-vmbootstrap (regardless of inside or outside of librechroot@armv7h). Please see logs for details:
iceweasel-1:81.0.1-1.parabola1-armv7h-prepare.log: https://termbin.com/ob2l
iceweasel-1:81.0.1-1.parabola1-armv7h-build.log: https://termbin.com/oxfq