From c13a9073fd5f1d48b20e74f299f3a4e4ed35975c Mon Sep 17 00:00:00 2001 From: dr460nf1r3 Date: Mon, 3 Oct 2022 12:15:03 +0200 Subject: [PATCH] Fix settings page being buggy by not modifying upstream patches --- .SRCINFO | 2 +- PKGBUILD | 40 +++++----------------------------------- 2 files changed, 6 insertions(+), 36 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 24555ae..011593a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = firedragon pkgdesc = Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE pkgver = 105.0.1 - pkgrel = 2 + pkgrel = 4 url = https://gitlab.com/dr460nf1r3/settings/ install = firedragon.install arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 17d927d..ef5483e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=firedragon _pkgname=FireDragon pkgver=105.0.1 -pkgrel=2 +pkgrel=4 pkgdesc="Librewolf fork build using custom branding, settings & KDE patches by OpenSUSE" arch=(x86_64 x86_64_v3 aarch64) backup=('usr/lib/firedragon/firedragon.cfg' @@ -79,19 +79,6 @@ prepare() { local _cachyos_patches_dir _cachyos_patches_dir="${srcdir}/cachyos-source/patches" - #sed -i 's/lib\/librewolf/lib\/firedragon/g' "${_librewolf_patches_dir}/mozilla_dirs.patch" - #sed -i 's/lib64\/librewolf/lib64\/firedragon/g' "${_librewolf_patches_dir}/mozilla_dirs.patch" - #sed -i 's/librewolf/firedragon/g' "${_librewolf_patches_dir}/mozilla_dirs.patch" - - # Prepare patches, then return to the source directory - pushd "${_patches_dir}" && sh "${srcdir}/common/rebrand.sh" - popd - pushd "${_librewolf_patches_dir}" && sh "${srcdir}/common/rebrand.sh" - popd - pushd "${_cachyos_patches_dir}" && sh "${srcdir}/common/rebrand.sh" - popd - - cat >../mozconfig < Clear History when LibreWolf closes > Settings - # patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/sanitizing-description.patch - # Add patch to hide website appearance settings patch -Np1 -i "${_librewolf_patches_dir}"/ui-patches/website-appearance-ui-rfp.patch @@ -272,9 +245,6 @@ fi patch -Np1 -i "${_patches_dir}"/custom/librewolf-pref-pane.patch patch -Np1 -i "${_patches_dir}"/custom/add_firedragon_svg.patch - # Needed build fix - patch -Np1 -i "${_cachyos_patches_dir}"/zstandard-0.18.0.patch - rm -f "${srcdir}"/common/source_files/mozconfig cp -r "${srcdir}"/common/source_files/* ./ }