v78.0.1-1
This commit is contained in:
parent
41f7ccd6ac
commit
fffe391367
|
@ -7,6 +7,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
This project follows the official Firefox releases, but also uses
|
This project follows the official Firefox releases, but also uses
|
||||||
[Arch Linux Package Versioning](https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_versioning) to mark individual releases in between versions.
|
[Arch Linux Package Versioning](https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_versioning) to mark individual releases in between versions.
|
||||||
|
|
||||||
|
## [78.0-1] - 2020-07-01
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- New upstream release 78.0
|
||||||
|
- Various changes to approach fixing settings#21
|
||||||
|
|
||||||
## [77.0.1-2] - 2020-06-08
|
## [77.0.1-2] - 2020-06-08
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
14
PKGBUILD
14
PKGBUILD
|
@ -6,16 +6,16 @@
|
||||||
pkgname=librewolf
|
pkgname=librewolf
|
||||||
_pkgname=LibreWolf
|
_pkgname=LibreWolf
|
||||||
# how to get ci vars instead?
|
# how to get ci vars instead?
|
||||||
pkgver=77.0.1
|
pkgver=78.0
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom."
|
pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom."
|
||||||
arch=(x86_64 aarch64)
|
arch=(x86_64 aarch64)
|
||||||
license=(MPL GPL LGPL)
|
license=(MPL GPL LGPL)
|
||||||
url="https://librewolf-community.gitlab.io/"
|
url="https://librewolf-community.gitlab.io/"
|
||||||
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse)
|
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse)
|
||||||
makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils
|
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
|
||||||
xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2
|
autoconf2.13 rust clang llvm jack gtk2 nodejs cbindgen nasm
|
||||||
python nodejs python2-psutil cbindgen nasm git binutils)
|
python-setuptools python-psutil git binutils)
|
||||||
optdepends=('networkmanager: Location detection via available WiFi networks'
|
optdepends=('networkmanager: Location detection via available WiFi networks'
|
||||||
'libnotify: Notification integration'
|
'libnotify: Notification integration'
|
||||||
'pulseaudio: Audio support'
|
'pulseaudio: Audio support'
|
||||||
|
@ -37,13 +37,13 @@ source_aarch64=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/
|
||||||
arm.patch
|
arm.patch
|
||||||
https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/extra/firefox/build-arm-libopus.patch)
|
https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/master/extra/firefox/build-arm-libopus.patch)
|
||||||
|
|
||||||
sha256sums_x86_64=('54256fc5f8e9c2e8129ef84773fae31fcfdaf95da6d4d03151f3939e9f749640'
|
sha256sums_x86_64=('291a593151e476e6c4b61e48a3bdd5a11896fbde6261dcad347d5b7df265a058'
|
||||||
'0b28ba4cc2538b7756cb38945230af52e8c4659b2006262da6f3352345a8bed2'
|
'0b28ba4cc2538b7756cb38945230af52e8c4659b2006262da6f3352345a8bed2'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'305b3ac9b96430eb71035ddff558995268a88646d9b4ead50316b39af9da53c7'
|
'305b3ac9b96430eb71035ddff558995268a88646d9b4ead50316b39af9da53c7'
|
||||||
'4425388d62cbb7ec3808926ae5e04021b17af8a0b6ba47c08a253ecfdcc264c0')
|
'4425388d62cbb7ec3808926ae5e04021b17af8a0b6ba47c08a253ecfdcc264c0')
|
||||||
sha256sums_aarch64=('54256fc5f8e9c2e8129ef84773fae31fcfdaf95da6d4d03151f3939e9f749640'
|
sha256sums_aarch64=('291a593151e476e6c4b61e48a3bdd5a11896fbde6261dcad347d5b7df265a058'
|
||||||
'0b28ba4cc2538b7756cb38945230af52e8c4659b2006262da6f3352345a8bed2'
|
'0b28ba4cc2538b7756cb38945230af52e8c4659b2006262da6f3352345a8bed2'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
|
|
|
@ -24,11 +24,6 @@ ac_add_options --enable-application=browser
|
||||||
ac_add_options NODEJS=/usr/lib/nodejs-mozilla/bin/node
|
ac_add_options NODEJS=/usr/lib/nodejs-mozilla/bin/node
|
||||||
ac_add_options NASM=/usr/lib/nasm-mozilla/bin/nasm
|
ac_add_options NASM=/usr/lib/nasm-mozilla/bin/nasm
|
||||||
|
|
||||||
# let's see if this works: make things backwards-compatible as much as possible
|
|
||||||
# TODO: check if this would also work when building on something newer to have it run on
|
|
||||||
# 16.04/xenial later on as well?
|
|
||||||
ac_add_options --enable-stdcxx-compat
|
|
||||||
|
|
||||||
# This supposedly speeds up compilation (We test through dogfooding anyway)
|
# This supposedly speeds up compilation (We test through dogfooding anyway)
|
||||||
ac_add_options --disable-tests
|
ac_add_options --disable-tests
|
||||||
ac_add_options --disable-debug
|
ac_add_options --disable-debug
|
||||||
|
|
|
@ -61,7 +61,7 @@ rm -f mozconfig
|
||||||
# source /root/.cargo/env
|
# source /root/.cargo/env
|
||||||
|
|
||||||
# install cbindgen
|
# install cbindgen
|
||||||
cargo install --version 0.14.2 cbindgen
|
cargo install --version 0.14.3 cbindgen
|
||||||
|
|
||||||
if [[ $CARCH == 'aarch64' ]]; then
|
if [[ $CARCH == 'aarch64' ]]; then
|
||||||
|
|
||||||
|
|
|
@ -4,21 +4,29 @@ Bug-Ubuntu: https://launchpad.net/bugs/1856861
|
||||||
|
|
||||||
--- a/build/moz.configure/toolchain.configure
|
--- a/build/moz.configure/toolchain.configure
|
||||||
+++ b/build/moz.configure/toolchain.configure
|
+++ b/build/moz.configure/toolchain.configure
|
||||||
@@ -1433,6 +1433,9 @@ set_config('_DEPEND_CFLAGS', depend_cflags(c_compiler))
|
@@ -1252,6 +1252,7 @@ try_compile(includes=['cstddef'],
|
||||||
|
'# endif',
|
||||||
|
'#endif',
|
||||||
|
]),
|
||||||
|
+ flags=['--gcc-toolchain=/usr/lib/gcc-mozilla'],
|
||||||
|
check_msg='for new enough STL headers from libstdc++',
|
||||||
|
when=needs_libstdcxx_newness_check,
|
||||||
|
onerror=die_on_old_libstdcxx)
|
||||||
|
@@ -1433,6 +1434,10 @@ set_config('_DEPEND_CFLAGS', depend_cfla
|
||||||
set_config('_HOST_DEPEND_CFLAGS', depend_cflags(host_c_compiler))
|
set_config('_HOST_DEPEND_CFLAGS', depend_cflags(host_c_compiler))
|
||||||
|
|
||||||
|
|
||||||
|
+add_old_configure_assignment('CFLAGS', ['--gcc-toolchain=/usr/lib/gcc-mozilla'])
|
||||||
+add_old_configure_assignment('CXXFLAGS', ['--gcc-toolchain=/usr/lib/gcc-mozilla'])
|
+add_old_configure_assignment('CXXFLAGS', ['--gcc-toolchain=/usr/lib/gcc-mozilla'])
|
||||||
+
|
+
|
||||||
+
|
+
|
||||||
@depends(c_compiler)
|
@depends(c_compiler)
|
||||||
def preprocess_option(compiler):
|
def preprocess_option(compiler):
|
||||||
# The uses of PREPROCESS_OPTION depend on the spacing for -o/-Fi.
|
# The uses of PREPROCESS_OPTION depend on the spacing for -o/-Fi.
|
||||||
@@ -2125,7 +2128,7 @@ def linker_ldflags(linker, macos_sdk):
|
@@ -2137,6 +2142,7 @@ def linker_ldflags(linker, macos_sdk, ho
|
||||||
flags.append('-Wl,-syslibroot,%s' % macos_sdk)
|
|
||||||
else:
|
|
||||||
flags.append('-Wl,--sysroot=%s' % macos_sdk)
|
flags.append('-Wl,--sysroot=%s' % macos_sdk)
|
||||||
-
|
elif host.cpu == 'arm':
|
||||||
|
flags.append('-Wl,--no-keep-memory')
|
||||||
+ flags.append('-static-libstdc++')
|
+ flags.append('-static-libstdc++')
|
||||||
return flags
|
return flags
|
||||||
|
|
||||||
|
@ -34,16 +42,6 @@ Bug-Ubuntu: https://launchpad.net/bugs/1856861
|
||||||
for dir in SEARCH_PATHS.iter() {
|
for dir in SEARCH_PATHS.iter() {
|
||||||
builder = builder.clang_arg("-I").clang_arg(dir.to_str().unwrap());
|
builder = builder.clang_arg("-I").clang_arg(dir.to_str().unwrap());
|
||||||
}
|
}
|
||||||
--- a/build/unix/stdc++compat/moz.build
|
|
||||||
+++ b/build/unix/stdc++compat/moz.build
|
|
||||||
@@ -24,4 +24,7 @@ COMPILE_FLAGS['CLANG_PLUGIN'] = []
|
|
||||||
DEFINES['MOZ_LIBSTDCXX_VERSION'] = CONFIG['MOZ_LIBSTDCXX_TARGET_VERSION']
|
|
||||||
HOST_DEFINES['MOZ_LIBSTDCXX_VERSION'] = CONFIG['MOZ_LIBSTDCXX_HOST_VERSION']
|
|
||||||
|
|
||||||
+CXXFLAGS += ['--gcc-toolchain=/usr/lib/gcc-mozilla']
|
|
||||||
+HOST_CXXFLAGS += ['--gcc-toolchain=/usr/lib/gcc-mozilla']
|
|
||||||
+
|
|
||||||
OS_LIBS += ['-Wl,--version-script,%s/hide_std.ld' % SRCDIR]
|
|
||||||
--- a/layout/style/test/moz.build
|
--- a/layout/style/test/moz.build
|
||||||
+++ b/layout/style/test/moz.build
|
+++ b/layout/style/test/moz.build
|
||||||
@@ -18,6 +18,7 @@ DIRS += ['gtest']
|
@@ -18,6 +18,7 @@ DIRS += ['gtest']
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
diff --git a/python/mozbuild/mozbuild/action/check_binary.py b/python/mozbuild/mozbuild/action/check_binary.py
|
|
||||||
index d85536f..1ce1305 100644
|
|
||||||
--- a/python/mozbuild/mozbuild/action/check_binary.py
|
|
||||||
+++ b/python/mozbuild/mozbuild/action/check_binary.py
|
|
||||||
@@ -293,9 +293,7 @@ def checks(target, binary):
|
|
||||||
target = HOST
|
|
||||||
checks = []
|
|
||||||
if target['MOZ_LIBSTDCXX_VERSION']:
|
|
||||||
- checks.append(check_stdcxx)
|
|
||||||
checks.append(check_libgcc)
|
|
||||||
- checks.append(check_glibc)
|
|
||||||
|
|
||||||
# Disabled for local builds because of readelf performance: See bug 1472496
|
|
||||||
if not buildconfig.substs.get('DEVELOPER_OPTIONS'):
|
|
|
@ -1,75 +0,0 @@
|
||||||
diff -r 55f4a0a504e4 build/moz.configure/toolchain.configure
|
|
||||||
--- a/build/moz.configure/toolchain.configure Wed Mar 18 05:41:31 2020 +0000
|
|
||||||
+++ b/build/moz.configure/toolchain.configure Wed Mar 18 07:15:55 2020 +0100
|
|
||||||
@@ -886,10 +886,6 @@
|
|
||||||
return []
|
|
||||||
|
|
||||||
|
|
||||||
-def minimum_gcc_version():
|
|
||||||
- return Version('7.1.0')
|
|
||||||
-
|
|
||||||
-
|
|
||||||
@template
|
|
||||||
def compiler(language, host_or_target, c_compiler=None, other_compiler=None,
|
|
||||||
other_c_compiler=None):
|
|
||||||
@@ -1016,11 +1012,10 @@
|
|
||||||
if host_or_target.os == 'Android':
|
|
||||||
raise FatalCheckError('GCC is not supported on Android.\n'
|
|
||||||
'Please use clang from the Android NDK instead.')
|
|
||||||
- gcc_version = minimum_gcc_version()
|
|
||||||
- if info.version < gcc_version:
|
|
||||||
+ if info.version < '7.1.0':
|
|
||||||
raise FatalCheckError(
|
|
||||||
- 'Only GCC %d.%d or newer is supported (found version %s).'
|
|
||||||
- % (gcc_version.major, gcc_version.minor, info.version))
|
|
||||||
+ 'Only GCC 7.1 or newer is supported (found version %s).'
|
|
||||||
+ % info.version)
|
|
||||||
|
|
||||||
if info.type == 'clang-cl':
|
|
||||||
if info.version < '8.0.0':
|
|
||||||
@@ -1218,45 +1213,6 @@
|
|
||||||
'about the target bitness.')
|
|
||||||
|
|
||||||
|
|
||||||
-@depends(cxx_compiler, target)
|
|
||||||
-def needs_libstdcxx_newness_check(cxx_compiler, target):
|
|
||||||
- # We only have to care about this on Linux and MinGW.
|
|
||||||
- if cxx_compiler.type == 'clang-cl':
|
|
||||||
- return
|
|
||||||
-
|
|
||||||
- if target.kernel not in ('Linux', 'WINNT'):
|
|
||||||
- return
|
|
||||||
-
|
|
||||||
- if target.os == 'Android':
|
|
||||||
- return
|
|
||||||
-
|
|
||||||
- return True
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-def die_on_old_libstdcxx():
|
|
||||||
- die('The libstdc++ in use is not new enough. Please run '
|
|
||||||
- './mach bootstrap to update your compiler, or update your system '
|
|
||||||
- 'libstdc++ installation.')
|
|
||||||
-
|
|
||||||
-try_compile(includes=['cstddef'],
|
|
||||||
- body='\n'.join([
|
|
||||||
- # _GLIBCXX_RELEASE showed up in libstdc++ 7.
|
|
||||||
- '#if defined(__GLIBCXX__) && !defined(_GLIBCXX_RELEASE)',
|
|
||||||
- '# error libstdc++ not new enough',
|
|
||||||
- '#endif',
|
|
||||||
- '#if defined(_GLIBCXX_RELEASE)',
|
|
||||||
- '# if _GLIBCXX_RELEASE < %d' % minimum_gcc_version().major,
|
|
||||||
- '# error libstdc++ not new enough',
|
|
||||||
- '# else',
|
|
||||||
- ' (void) 0',
|
|
||||||
- '# endif',
|
|
||||||
- '#endif',
|
|
||||||
- ]),
|
|
||||||
- check_msg='for new enough STL headers from libstdc++',
|
|
||||||
- when=needs_libstdcxx_newness_check,
|
|
||||||
- onerror=die_on_old_libstdcxx)
|
|
||||||
-
|
|
||||||
-
|
|
||||||
@depends(c_compiler, target)
|
|
||||||
def default_debug_flags(compiler_info, target):
|
|
||||||
# Debug info is ON by default.
|
|
Loading…
Reference in a new issue