This commit is contained in:
ohfp 2020-05-07 21:53:32 +02:00
parent b0f26b66d2
commit e94336cb1d
No known key found for this signature in database
GPG key ID: 2954CC8585E27A3F
6 changed files with 45 additions and 22 deletions

View file

@ -7,7 +7,7 @@ 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.
## [75.0-2] - Unreleased ## [76.0-1] - 2020-05-07
### Added ### Added
@ -15,11 +15,19 @@ This project follows the official Firefox releases, but also uses
### Changed ### Changed
- New upstream release 76.0
- DoH disabled by default - DoH disabled by default
### Fixed ### Fixed
- Some default addons from Mozilla are now removed (#59) - Some default addons from Mozilla are now removed (#59)
- Improvements to search engines and DDG Lite added (settings#18)
- Don't disable the Intersection Observer API (settings#20)
- Configure manual update URL (settings#1)
- Set fallback UA to resistFingerprinting's default (settings#10)
- Temporarily fix Firefox's address bar (settings#23)
- Update to ghacks-user.js 69 (settings#21)
- Fix Qwant's name (settings#25)
## [75.0-1] - 2020-04-08 ## [75.0-1] - 2020-04-08

View file

@ -6,8 +6,8 @@
pkgname=librewolf pkgname=librewolf
_pkgname=LibreWolf _pkgname=LibreWolf
# how to get ci vars instead? # how to get ci vars instead?
pkgver=75.0 pkgver=76.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)
@ -28,8 +28,8 @@ source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-
"git+https://gitlab.com/${pkgname}-community/browser/common.git" "git+https://gitlab.com/${pkgname}-community/browser/common.git"
"git+https://gitlab.com/${pkgname}-community/settings.git" "git+https://gitlab.com/${pkgname}-community/settings.git"
"remove_addons.patch") "remove_addons.patch")
sha256sums=('bbb1054d8f2717c634480556d3753a8483986af7360e023bb6232df80b746b0f' sha256sums=('3b7b97b0b0625fc6ec23ee28d425988c679d3a56f362d62fd3b225a5d50afdc8'
'0471d32366c6f415f7608b438ddeb10e2f998498c389217cdd6cc52e8249996b' '0b28ba4cc2538b7756cb38945230af52e8c4659b2006262da6f3352345a8bed2'
'SKIP' 'SKIP'
'SKIP' 'SKIP'
'24b75ba55cb4a2c9a088a22279a1f07fd3b8f3ef4f47774c0c12b79f4bfad124') '24b75ba55cb4a2c9a088a22279a1f07fd3b8f3ef4f47774c0c12b79f4bfad124')
@ -72,10 +72,6 @@ ac_add_options --with-unsigned-addon-scopes=app,system
ac_add_options --allow-addon-sideload ac_add_options --allow-addon-sideload
export MOZ_REQUIRE_SIGNING=0 export MOZ_REQUIRE_SIGNING=0
# System libraries
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
# Features # Features
ac_add_options --enable-alsa ac_add_options --enable-alsa
ac_add_options --enable-jack ac_add_options --enable-jack

View file

@ -3,7 +3,7 @@ Name=LibreWolf
Exec=librewolf %u Exec=librewolf %u
Icon=librewolf Icon=librewolf
Type=Application Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall; MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
StartupWMClass=LibreWolf StartupWMClass=LibreWolf
Categories=Network;WebBrowser; Categories=Network;WebBrowser;
StartupNotify=true StartupNotify=true

View file

@ -1,8 +1,10 @@
diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure Description: point clang to the toolchain provided by the gcc-mozilla package (version 7 required for C++ 17), and statically link against libstdc++
index 627596b..6c3b5b3 100755 Author: Olivier Tilloy <olivier.tilloy@canonical.com>
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)) @@ -1433,6 +1433,9 @@ 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))
@ -12,20 +14,17 @@ index 627596b..6c3b5b3 100755
@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.
@@ -2116,7 +2119,7 @@ def linker_ldflags(linker, macos_sdk): @@ -2118,6 +2121,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
diff --git a/servo/components/style/build_gecko.rs b/servo/components/style/build_gecko.rs
index a502b7d..28370f6 100644
--- a/servo/components/style/build_gecko.rs --- a/servo/components/style/build_gecko.rs
+++ b/servo/components/style/build_gecko.rs +++ b/servo/components/style/build_gecko.rs
@@ -148,6 +148,8 @@ impl BuilderExt for Builder { @@ -149,6 +149,8 @@ impl BuilderExt for Builder {
builder = builder.with_rustfmt(path); builder = builder.with_rustfmt(path);
} }
@ -34,3 +33,23 @@ index a502b7d..28370f6 100644
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
+++ b/layout/style/test/moz.build
@@ -18,6 +18,7 @@ DIRS += ['gtest']
HostSimplePrograms([
'host_ListCSSProperties',
])
+HOST_CXXFLAGS += ['--gcc-toolchain=/usr/lib/gcc-mozilla']
MOCHITEST_MANIFESTS += [
'mochitest.ini',

View file

@ -3,7 +3,7 @@ Name=LibreWolf
Exec=librewolf %u Exec=librewolf %u
Icon=librewolf Icon=librewolf
Type=Application Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall; MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
StartupWMClass=LibreWolf StartupWMClass=LibreWolf
Categories=Network;WebBrowser; Categories=Network;WebBrowser;
StartupNotify=true StartupNotify=true

View file

@ -117,7 +117,7 @@ Icon=librewolf
Terminal=false Terminal=false
X-MultipleArgs=false X-MultipleArgs=false
Type=Application Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall; MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
StartupNotify=true StartupNotify=true
StartupWMClass=LibreWolf StartupWMClass=LibreWolf
Categories=Network;WebBrowser; Categories=Network;WebBrowser;