From ebbabc5226c9390f7024a93fba5ad84cb31726d2 Mon Sep 17 00:00:00 2001 From: Nico Jensch Date: Sun, 4 Feb 2024 15:39:47 +0100 Subject: [PATCH] feat: use mold as linker for speedup while linking, set epoch to 1 --- .SRCINFO | 1 + .gitignore | 7 +++---- PKGBUILD | 6 ++++-- firedragon.install | 15 +++++++++------ 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 5c90efe..0ffe49a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -2,6 +2,7 @@ pkgbase = firedragon pkgdesc = Floorp fork build using custom branding & settings pkgver = 11.9.0 pkgrel = 1 + epoch = 1 url = http://dr460nf1r3.org install = firedragon.install arch = x86_64 diff --git a/.gitignore b/.gitignore index c90e386..7d954d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,7 @@ +*.tar.xz* common/ +floorp-core/ +floorp-l10n-central/ pkg/ settings/ src/ -cachyos-source -librewolf-settings -librewolf-source -*.tar.xz* diff --git a/PKGBUILD b/PKGBUILD index 714e7d7..0e9e48b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,6 +7,7 @@ pkgver=11.9.0 _floorp_core_commit=cefaa9a0352456c45be6a917e6664f8ef054a68f _floorp_l10n_commit=6915ae0005fdb1684f3b6b0731bdec1a0596f7e8 pkgrel=1 +epoch=1 pkgdesc="Floorp fork build using custom branding & settings" url='http://dr460nf1r3.org' arch=('x86_64') @@ -34,10 +35,11 @@ makedepends=(cbindgen imagemagick imake inetutils + git jack - lld llvm mesa + mold nasm nodejs python @@ -104,7 +106,7 @@ ac_add_options --disable-bootstrap ac_add_options --disable-elf-hack ac_add_options --enable-default-toolkit=cairo-gtk3-wayland ac_add_options --enable-hardening -ac_add_options --enable-linker=lld +ac_add_options --enable-linker=mold ac_add_options --enable-lto=cross,full ac_add_options --enable-optimize="-O3" ac_add_options --enable-release diff --git a/firedragon.install b/firedragon.install index 2448052..23a7c1e 100644 --- a/firedragon.install +++ b/firedragon.install @@ -3,10 +3,13 @@ NC='\033[0m' post_upgrade() { echo -e "⚠️ This update contains a rebase to the Floorp browser's source! ⚠️ -This means we no longer use Librewolf as base, though settings and -privacy aware feature set were kept as close to our previous setup -as possible. -${RED}To prevent potential issues, we strongly recommend to create a -fresh browser profile. This can be done by running \"firedragon -P\" -in the terminal.${NC}" +This means we no longer use Librewolf as base, though settings and privacy +aware feature set were kept as close to our previous setup as possible. +${RED}To prevent issues arising, this update requires a fresh browser profile.${NC}" + if [ -f /usr/share/libalpm/scripts/garuda-migrations-runner ]; then + echo -e "This action is actually automatically executed by garuda-migrations, however +many settings as well as cookies, localstorage data may be reset to allow for +the new Floorp experience. A backup of the previous profile has been saved under: +~/.firedragon/\$defaultprofile-pre-floorp-backup." + fi } \ No newline at end of file