1
0
mirror of https://aur.archlinux.org/firedragon.git synced 2024-12-27 05:04:14 +00:00

Update, add latest Librewolf changes

This commit is contained in:
dr460nf1r3 2022-02-05 16:58:59 +01:00
parent 341561d3e5
commit d031b85c6b
No known key found for this signature in database
GPG Key ID: B5C20B53B5FB19ED
2 changed files with 22 additions and 2 deletions

View File

@ -1,7 +1,7 @@
pkgbase = firedragon pkgbase = firedragon
pkgdesc = Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE pkgdesc = Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE
pkgver = 96.0.3 pkgver = 96.0.3
pkgrel = 1 pkgrel = 2
url = https://gitlab.com/dr460nf1r3/settings/ url = https://gitlab.com/dr460nf1r3/settings/
install = firedragon.install install = firedragon.install
arch = x86_64 arch = x86_64

View File

@ -5,7 +5,7 @@
pkgname=firedragon pkgname=firedragon
_pkgname=FireDragon _pkgname=FireDragon
pkgver=96.0.3 pkgver=96.0.3
pkgrel=1 pkgrel=2
pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE" pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE"
arch=(x86_64 x86_64_v3) arch=(x86_64 x86_64_v3)
backup=('usr/lib/firedragon/firedragon.cfg' backup=('usr/lib/firedragon/firedragon.cfg'
@ -96,15 +96,32 @@ prepare() {
echo "---- Librewolf patches" echo "---- Librewolf patches"
patch -Np1 -i ${_patches_dir}/librewolf/remove_addons.patch patch -Np1 -i ${_patches_dir}/librewolf/remove_addons.patch
# somewhat experimental patch to fix bus/dbus/remoting names to io.gitlab.librewolf
# should not break things, buuuuuuuuuut we'll see.
patch -Np1 -i ${_patches_dir}/dbus_name.patch
# allow uBlockOrigin to run in private mode by default, without user intervention.
patch -Np1 -i ${_patches_dir}/allow-ubo-private-mode.patch
# add custom uBO assets (on first launch only)
patch -Np1 -i ${_patches_dir}/custom-ubo-assets-bootstrap-location.patch
# Debian patch to enable global menubar # Debian patch to enable global menubar
patch -Np1 -i ${_patches_dir}/librewolf/unity-menubar.patch patch -Np1 -i ${_patches_dir}/librewolf/unity-menubar.patch
# custom patch that does not conflict with the unity patch
patch -Np1 -i ${_patches_dir}/mozilla-kde_after_unity.patch
# Remove Mozilla VPN ads # Remove Mozilla VPN ads
patch -Np1 -i ${_patches_dir}/librewolf/mozilla-vpn-ad.patch patch -Np1 -i ${_patches_dir}/librewolf/mozilla-vpn-ad.patch
# Allow SearchEngines option in non-ESR builds # Allow SearchEngines option in non-ESR builds
patch -Np1 -i ${_patches_dir}/sed-patches/allow-searchengines-non-esr.patch patch -Np1 -i ${_patches_dir}/sed-patches/allow-searchengines-non-esr.patch
# remove search extensions (experimental)
# patch -Np1 -i ${_patches_dir}/search-config.patch
cp "${srcdir}/common/source_files/search-config.json" services/settings/dumps/main/search-config.json
# Stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10) # Stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10)
patch -Np1 -i ${_patches_dir}/sed-patches/stop-undesired-requests.patch patch -Np1 -i ${_patches_dir}/sed-patches/stop-undesired-requests.patch
@ -132,6 +149,9 @@ prepare() {
patch -Np1 -i ${_patches_dir}/librewolf-ui/pref_pane.patch patch -Np1 -i ${_patches_dir}/librewolf-ui/pref_pane.patch
patch -Np1 -i ${_patches_dir}/misc/add_firedragon_svg.patch patch -Np1 -i ${_patches_dir}/misc/add_firedragon_svg.patch
# fix telemetry removal, see https://gitlab.com/librewolf-community/browser/linux/-/merge_requests/17, for example
patch -Np1 -i ${_patches_dir}/disable-data-reporting-at-compile-time.patch
echo "---- Fixing build issues" echo "---- Fixing build issues"
# Needed patch to have build working # Needed patch to have build working
patch -Np1 -i ${_patches_dir}/misc/fix-wayland.patch patch -Np1 -i ${_patches_dir}/misc/fix-wayland.patch