mirror of
https://aur.archlinux.org/firedragon.git
synced 2024-12-27 05:04:14 +00:00
Update
This commit is contained in:
parent
b0f3e16228
commit
f861e8d243
67
PKGBUILD
67
PKGBUILD
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
pkgname=firedragon
|
pkgname=firedragon
|
||||||
_pkgname=FireDragon
|
_pkgname=FireDragon
|
||||||
pkgver=101.0
|
pkgver=101.0.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
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 aarch64)
|
arch=(x86_64 x86_64_v3 aarch64)
|
||||||
@ -39,7 +39,7 @@ source=(https://archive.mozilla.org/pub/firefox/releases/"$pkgver"/source/firefo
|
|||||||
"librewolf-settings::git+https://gitlab.com/librewolf-community/settings.git"
|
"librewolf-settings::git+https://gitlab.com/librewolf-community/settings.git"
|
||||||
"cachyos-source::git+https://github.com/CachyOS/CachyOS-Browser-Common.git")
|
"cachyos-source::git+https://github.com/CachyOS/CachyOS-Browser-Common.git")
|
||||||
# source_aarch64=()
|
# source_aarch64=()
|
||||||
sha256sums=('55ab5b517d58bbcbc837640263a8371cf1fba3d9f508e54537c4d2cbbfb86095'
|
sha256sums=('b4c76e8bdf81f473f3e56b2f69dbe5119bba5cab38e36ab0f3f38cf0cdc4a9c2'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'158152bdb9ef6a83bad62ae03a3d9bc8ae693b34926e53cc8c4de07df20ab22d'
|
'158152bdb9ef6a83bad62ae03a3d9bc8ae693b34926e53cc8c4de07df20ab22d'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
@ -169,108 +169,101 @@ export LDFLAGS+=" -Wl,--no-keep-memory"
|
|||||||
END
|
END
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# upstream patches from gentoo
|
# Upstream patches from gentoo
|
||||||
|
# PGO improvements
|
||||||
# pgo improvements
|
|
||||||
patch -Np1 -i "${_patches_dir}"/gentoo/0018-bmo-1516081-Disable-watchdog-during-PGO-builds.patch
|
patch -Np1 -i "${_patches_dir}"/gentoo/0018-bmo-1516081-Disable-watchdog-during-PGO-builds.patch
|
||||||
|
|
||||||
# LibreWolf
|
# LibreWolf
|
||||||
|
|
||||||
# Remove some pre-installed addons that might be questionable
|
# Remove some pre-installed addons that might be questionable
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/remove_addons.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/remove_addons.patch
|
||||||
|
|
||||||
# Debian patch to enable global menubar
|
# Debian patch to enable global menubar
|
||||||
# disabled for the default build, as it seems to cause issues in some configurations
|
patch -Np1 -i "${_librewolf_patches_dir}"/unity-menubar.patch
|
||||||
# 2022-01-21: re-enabled because it seems to not mess things up anymore nowadays?
|
|
||||||
# patch -Np1 -i "${_librewolf_patches_dir}"/unity-menubar.patch
|
|
||||||
|
|
||||||
# KDE menu
|
# KDE menu
|
||||||
patch -Np1 -i "${_cachyos_patches_dir}"/kde/0001-kde-unity.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/mozilla-kde_after_unity.patch
|
||||||
patch -Np1 -i "${_cachyos_patches_dir}"/kde/mozilla-nongnome-proxies.patch
|
patch -Np1 -i "${_cachyos_patches_dir}"/kde/mozilla-nongnome-proxies.patch
|
||||||
|
|
||||||
# Disabling Pocket
|
# Disabling Pocket
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/sed-patches/disable-pocket.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/sed-patches/disable-pocket.patch
|
||||||
|
|
||||||
# Remove Internal Plugin Certificates
|
# Allow SearchEngines option in non-ESR builds
|
||||||
# patch -Np1 -i "${_librewolf_patches_dir}"/sed-patches/remove-internal-plugin-certs.patch
|
|
||||||
# => breaks profiled builds since 90.0, it seems
|
|
||||||
|
|
||||||
# allow SearchEngines option in non-ESR builds
|
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/sed-patches/allow-searchengines-non-esr.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/sed-patches/allow-searchengines-non-esr.patch
|
||||||
|
|
||||||
# remove search extensions (experimental)
|
# Remove search extensions (experimental)
|
||||||
# patch -Np1 -i "${_librewolf_patches_dir}"/search-config.patch
|
|
||||||
cp "${srcdir}/librewolf-source/assets/search-config.json" services/settings/dumps/main/search-config.json
|
cp "${srcdir}/librewolf-source/assets/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 "${_librewolf_patches_dir}"/sed-patches/stop-undesired-requests.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/sed-patches/stop-undesired-requests.patch
|
||||||
|
|
||||||
# Assorted patches
|
# Assorted patches
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/urlbarprovider-interventions.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/urlbarprovider-interventions.patch
|
||||||
|
|
||||||
# change some hardcoded directory strings that could lead to unnecessarily
|
# Change some hardcoded directory strings that could lead to unnecessarily
|
||||||
# created directories
|
# Created directories
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/mozilla_dirs.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/mozilla_dirs.patch
|
||||||
|
|
||||||
# somewhat experimental patch to fix bus/dbus/remoting names to io.gitlab.librewolf
|
# somewhat experimental patch to fix bus/dbus/remoting names to io.gitlab.librewolf
|
||||||
# should not break things, buuuuuuuuuut we'll see.
|
# should not break things, buuuuuuuuuut we'll see.
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/dbus_name.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/dbus_name.patch
|
||||||
|
|
||||||
# allow uBlockOrigin to run in private mode by default, without user intervention.
|
# Allow uBlockOrigin to run in private mode by default, without user intervention.
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/allow-ubo-private-mode.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/allow-ubo-private-mode.patch
|
||||||
|
|
||||||
# add custom uBO assets (on first launch only)
|
# Add custom uBO assets (on first launch only)
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/custom-ubo-assets-bootstrap-location.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/custom-ubo-assets-bootstrap-location.patch
|
||||||
|
|
||||||
# ui patches
|
# UI patches
|
||||||
|
# Remove references to firefox from the settings UI, change text in some of the links,
|
||||||
# remove references to firefox from the settings UI, change text in some of the links,
|
|
||||||
# explain that we force en-US and suggest enabling history near the session restore checkbox.
|
# explain that we force en-US and suggest enabling history near the session restore checkbox.
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/pref-naming.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/pref-naming.patch
|
||||||
|
|
||||||
#
|
# Remap help links
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remap-links.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remap-links.patch
|
||||||
|
|
||||||
#
|
# Don't nag to set default browser
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/hide-default-browser.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/hide-default-browser.patch
|
||||||
|
|
||||||
# Add LibreWolf logo to Debugging Page
|
# Add LibreWolf logo to Debugging Page
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/lw-logo-devtools.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/lw-logo-devtools.patch
|
||||||
|
|
||||||
#
|
# Update privacy preferences
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/privacy-preferences.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/privacy-preferences.patch
|
||||||
|
|
||||||
# remove firefox references in the urlbar, when suggesting opened tabs.
|
# Remove firefox references in the urlbar, when suggesting opened tabs.
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remove-branding-urlbar.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remove-branding-urlbar.patch
|
||||||
|
|
||||||
# remove cfr UI elements, as they are disabled and locked already.
|
# Remove cfr UI elements, as they are disabled and locked already.
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remove-cfrprefs.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remove-cfrprefs.patch
|
||||||
|
|
||||||
# do not display your browser is being managed by your organization in the settings.
|
# Do not display your browser is being managed by your organization in the settings.
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remove-organization-policy-banner.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remove-organization-policy-banner.patch
|
||||||
|
|
||||||
# hide "snippets" section from the home page settings, as it was already locked.
|
# Hide "snippets" section from the home page settings, as it was already locked.
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remove-snippets-from-home.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/remove-snippets-from-home.patch
|
||||||
|
|
||||||
# add warning that sanitizing exceptions are bypassed by the options in History > Clear History when LibreWolf closes > Settings
|
# Add warning that sanitizing exceptions are bypassed by the options in History > Clear History when LibreWolf closes > Settings
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/sanitizing-description.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/sanitizing-description.patch
|
||||||
|
|
||||||
# add patch to hide website appearance settings
|
# Add patch to hide website appearance settings
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/website-appearance-ui-rfp.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/website-appearance-ui-rfp.patch
|
||||||
|
|
||||||
#
|
# Update handler links
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/handlers.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/handlers.patch
|
||||||
|
|
||||||
# fix telemetry removal, see https://gitlab.com/librewolf-community/browser/linux/-/merge_requests/17, for example
|
# Fix telemetry removal, see https://gitlab.com/librewolf-community/browser/linux/-/merge_requests/17, for example
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/disable-data-reporting-at-compile-time.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/disable-data-reporting-at-compile-time.patch
|
||||||
|
|
||||||
# allows hiding the password manager (from the lw pref pane) / via a pref
|
# Allows hiding the password manager (from the lw pref pane) / via a pref
|
||||||
patch -Np1 -i "${_librewolf_patches_dir}"/hide-passwordmgr.patch
|
patch -Np1 -i "${_librewolf_patches_dir}"/hide-passwordmgr.patch
|
||||||
|
|
||||||
# Pref pane - custom FireDragon svg
|
# Pref pane - custom FireDragon svg
|
||||||
patch -Np1 -i "${_patches_dir}"/custom/librewolf-pref-pane.patch
|
patch -Np1 -i "${_patches_dir}"/custom/librewolf-pref-pane.patch
|
||||||
patch -Np1 -i "${_patches_dir}"/custom/add_firedragon_svg.patch
|
patch -Np1 -i "${_patches_dir}"/custom/add_firedragon_svg.patch
|
||||||
|
|
||||||
|
# Needed build fix
|
||||||
|
patch -Np1 -i "${_patches_dir}"/gentoo/0032-bmo-1773259-cbindgen-root_clip_chain-fix.patch
|
||||||
|
|
||||||
rm -f "${srcdir}"/common/source_files/mozconfig
|
rm -f "${srcdir}"/common/source_files/mozconfig
|
||||||
cp -r "${srcdir}"/common/source_files/* ./
|
cp -r "${srcdir}"/common/source_files/* ./
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user