mirror of
https://aur.archlinux.org/firedragon.git
synced 2024-12-26 12:44:21 +00:00
Updated version to 11.11.0
This commit is contained in:
parent
f4296550f9
commit
7e5ff33064
14
.SRCINFO
14
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = firedragon
|
pkgbase = firedragon
|
||||||
pkgdesc = Floorp fork build using custom branding & settings
|
pkgdesc = Floorp fork build using custom branding & settings
|
||||||
pkgver = 11.10.5
|
pkgver = 11.11.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
epoch = 1
|
epoch = 1
|
||||||
url = http://dr460nf1r3.org
|
url = http://dr460nf1r3.org
|
||||||
@ -32,6 +32,8 @@ pkgbase = firedragon
|
|||||||
makedepends = xorg-server-xvfb
|
makedepends = xorg-server-xvfb
|
||||||
makedepends = yasm
|
makedepends = yasm
|
||||||
makedepends = zip
|
makedepends = zip
|
||||||
|
makedepends = weston
|
||||||
|
makedepends = xwayland-run
|
||||||
depends = dbus
|
depends = dbus
|
||||||
depends = dbus-glib
|
depends = dbus-glib
|
||||||
depends = ffmpeg
|
depends = ffmpeg
|
||||||
@ -65,15 +67,15 @@ pkgbase = firedragon
|
|||||||
options = !strip
|
options = !strip
|
||||||
backup = usr/lib/firedragon/firedragon.cfg
|
backup = usr/lib/firedragon/firedragon.cfg
|
||||||
backup = usr/lib/firedragon/distribution/policies.json
|
backup = usr/lib/firedragon/distribution/policies.json
|
||||||
source = https://github.com/Floorp-Projects/Floorp/archive/refs/tags/v11.10.5.tar.gz
|
source = https://github.com/Floorp-Projects/Floorp/archive/refs/tags/v11.11.0.tar.gz
|
||||||
source = floorp-core::git+https://github.com/Floorp-Projects/Floorp-core#commit=db75341a765d0c1a53ccbc21513d61d82e877314
|
source = floorp-core::git+https://github.com/Floorp-Projects/Floorp-core#commit=31ceb1c62a7b11b07b1cfb16f6ee3de35974594c
|
||||||
source = floorp-l10n-central::git+https://github.com/Floorp-Projects/Unified-l10n-central#commit=4c2c1ca3e907d8ce170be6770d892d17e08c0e56
|
source = floorp-l10n-central::git+https://github.com/Floorp-Projects/Unified-l10n-central#commit=4c2c1ca3e907d8ce170be6770d892d17e08c0e56
|
||||||
source = common::git+https://gitlab.com/garuda-linux/firedragon/common.git
|
source = common::git+https://gitlab.com/garuda-linux/firedragon/common.git
|
||||||
source = settings::git+https://gitlab.com/garuda-linux/firedragon/settings.git
|
source = settings::git+https://gitlab.com/garuda-linux/firedragon/settings.git
|
||||||
source = firedragon.desktop
|
source = firedragon.desktop
|
||||||
sha256sums = d0cbd91d4a2e490441177476dd3c7d21b173878950d363e3a35dae151134de7d
|
sha256sums = b05d551fd0fe0114e79cbd9c2e872d5e8ced8299774a95219d332cd098c8d3ef
|
||||||
sha256sums = SKIP
|
sha256sums = 824240c9799ac4939c195d26e43e22d788be07d23ebfb14a832194bf560b6561
|
||||||
sha256sums = SKIP
|
sha256sums = c391478e5a144c08fdd92cf2c4e70971afbd913947509c578f3a653a4d36cb0f
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 53d3e743f3750522318a786befa196237892c93f20571443fdf82a480e7f0560
|
sha256sums = 53d3e743f3750522318a786befa196237892c93f20571443fdf82a480e7f0560
|
||||||
|
86
PKGBUILD
86
PKGBUILD
@ -1,10 +1,16 @@
|
|||||||
# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
|
# Maintainer: dr460nf1r3 <dr460nf1r3 at garudalinux dot org>
|
||||||
# Co-Maintainer: FGD
|
# Co-Maintainer: FGD
|
||||||
|
|
||||||
|
# Three-stage profile-guided optimization
|
||||||
|
: ${_build_pgo:=true}
|
||||||
|
|
||||||
|
# Profile with xvfb-run, if possible
|
||||||
|
: ${_build_pgo_xvfb:=false}
|
||||||
|
|
||||||
pkgname=firedragon
|
pkgname=firedragon
|
||||||
_pkgname=FireDragon
|
_pkgname=FireDragon
|
||||||
pkgver=11.10.5
|
pkgver=11.11.0
|
||||||
_floorp_core_commit="db75341a765d0c1a53ccbc21513d61d82e877314"
|
_floorp_core_commit="31ceb1c62a7b11b07b1cfb16f6ee3de35974594c"
|
||||||
_floorp_l10n_commit="4c2c1ca3e907d8ce170be6770d892d17e08c0e56"
|
_floorp_l10n_commit="4c2c1ca3e907d8ce170be6770d892d17e08c0e56"
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=1
|
epoch=1
|
||||||
@ -76,14 +82,23 @@ source=(https://github.com/Floorp-Projects/Floorp/archive/refs/tags/v"${pkgver}"
|
|||||||
"common::git+https://gitlab.com/garuda-linux/firedragon/common.git"
|
"common::git+https://gitlab.com/garuda-linux/firedragon/common.git"
|
||||||
"settings::git+https://gitlab.com/garuda-linux/firedragon/settings.git"
|
"settings::git+https://gitlab.com/garuda-linux/firedragon/settings.git"
|
||||||
"${pkgname}.desktop")
|
"${pkgname}.desktop")
|
||||||
sha256sums=('d0cbd91d4a2e490441177476dd3c7d21b173878950d363e3a35dae151134de7d'
|
sha256sums=('b05d551fd0fe0114e79cbd9c2e872d5e8ced8299774a95219d332cd098c8d3ef'
|
||||||
'SKIP'
|
'824240c9799ac4939c195d26e43e22d788be07d23ebfb14a832194bf560b6561'
|
||||||
'SKIP'
|
'c391478e5a144c08fdd92cf2c4e70971afbd913947509c578f3a653a4d36cb0f'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'53d3e743f3750522318a786befa196237892c93f20571443fdf82a480e7f0560')
|
'53d3e743f3750522318a786befa196237892c93f20571443fdf82a480e7f0560')
|
||||||
install="${pkgname}.install"
|
install="${pkgname}.install"
|
||||||
|
|
||||||
|
# Select the method of profiling
|
||||||
|
if [[ "${_build_pgo::1}" == "t" ]]; then
|
||||||
|
if [[ "${_build_pgo_xvfb::1}" == "t" ]]; then
|
||||||
|
makedepends+=(xorg-server-xvfb)
|
||||||
|
else
|
||||||
|
makedepends+=(weston xwayland-run)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# Floorp's shenanigan to make the build work without cloning the whole
|
# Floorp's shenanigan to make the build work without cloning the whole
|
||||||
# git source (puts submodules' content in place)
|
# git source (puts submodules' content in place)
|
||||||
@ -243,41 +258,82 @@ build() {
|
|||||||
ulimit -n 4096
|
ulimit -n 4096
|
||||||
|
|
||||||
# Do 3-tier PGO
|
# Do 3-tier PGO
|
||||||
|
if [[ "${_build_pgo::1}" == "t" ]]; then
|
||||||
|
local _old_profdata="${SRCDEST:-$startdir}/merged.profdata"
|
||||||
|
local _old_jarlog="${SRCDEST:-$startdir}/jarlog"
|
||||||
|
|
||||||
|
# Restore old profile
|
||||||
|
if [[ "${_build_pgo_reuse::1}" == "t" ]]; then
|
||||||
|
if [[ -s "$_old_profdata" ]]; then
|
||||||
|
echo "Restoring old profile data."
|
||||||
|
cp --reflink=auto -f "$_old_profdata" merged.profdata
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -s "$_old_jarlog" ]]; then
|
||||||
|
echo "Restoring old jar log."
|
||||||
|
cp --reflink=auto -f "$_old_jarlog" jarlog
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make new profile
|
||||||
|
if [[ "${_build_pgo_reuse::1}" != "t" ]] || [[ ! -s merged.profdata ]]; then
|
||||||
echo "Building instrumented browser..."
|
echo "Building instrumented browser..."
|
||||||
cat >.mozconfig ../mozconfig - <<END
|
cat >.mozconfig ../mozconfig
|
||||||
ac_add_options --enable-profile-generate=cross
|
echo >>.mozconfig "ac_add_options --enable-profile-generate=cross"
|
||||||
END
|
|
||||||
./mach build
|
./mach build
|
||||||
|
|
||||||
echo "Profiling instrumented browser..."
|
echo "Profiling instrumented browser..."
|
||||||
./mach package
|
./mach package
|
||||||
LLVM_PROFDATA=llvm-profdata \
|
|
||||||
JARLOG_FILE="${PWD}/jarlog" \
|
if [[ "${_build_pgo_xvfb::1}" == "t" ]]; then
|
||||||
xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" \
|
local _headless_run=(
|
||||||
./mach python build/pgo/profileserver.py
|
xvfb-run
|
||||||
|
-s "-screen 0 1920x1080x24 -nolisten local"
|
||||||
|
)
|
||||||
|
else
|
||||||
|
local _headless_run=(
|
||||||
|
wlheadless-run
|
||||||
|
-c weston --width=1920 --height=1080
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
LLVM_PROFDATA=llvm-profdata JARLOG_FILE=${PWD@Q}/jarlog \
|
||||||
|
"${_headless_run[@]}" -- ./mach python build/pgo/profileserver.py
|
||||||
|
|
||||||
echo "Removing instrumented browser..."
|
echo "Removing instrumented browser..."
|
||||||
./mach clobber
|
./mach clobber
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Building optimized browser..."
|
echo "Building optimized browser..."
|
||||||
cat >.mozconfig ../mozconfig
|
cat >.mozconfig ../mozconfig
|
||||||
|
|
||||||
if [[ -s merged.profdata ]]; then
|
if [[ -s merged.profdata ]]; then
|
||||||
stat -c "Profile data found (%s bytes)" merged.profdata
|
stat -c "Profile data found (%s bytes)" merged.profdata
|
||||||
echo "ac_add_options --enable-profile-use=cross" >>.mozconfig
|
echo >>.mozconfig "ac_add_options --enable-profile-use=cross"
|
||||||
echo "ac_add_options --with-pgo-profile-path='${PWD@Q}/merged.profdata'" >>.mozconfig
|
echo >>.mozconfig "ac_add_options --with-pgo-profile-path='${PWD@Q}/merged.profdata'"
|
||||||
|
|
||||||
|
# save profdata for reuse
|
||||||
|
cp --reflink=auto -f merged.profdata "$_old_profdata"
|
||||||
else
|
else
|
||||||
echo "Profile data not found."
|
echo "Profile data not found."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -s jarlog ]]; then
|
if [[ -s jarlog ]]; then
|
||||||
stat -c "Jar log found (%s bytes)" jarlog
|
stat -c "Jar log found (%s bytes)" jarlog
|
||||||
echo "ac_add_options --with-pgo-jarlog='${PWD@Q}/jarlog'" >>.mozconfig
|
echo >>.mozconfig "ac_add_options --with-pgo-jarlog='${PWD@Q}/jarlog'"
|
||||||
|
|
||||||
|
# save jarlog for reuse
|
||||||
|
cp --reflink=auto -f jarlog "$_old_jarlog"
|
||||||
else
|
else
|
||||||
echo "Jar log not found."
|
echo "Jar log not found."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./mach build
|
./mach build
|
||||||
|
else
|
||||||
|
echo "Building browser..."
|
||||||
|
cat >.mozconfig ../mozconfig
|
||||||
|
./mach build
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Building symbol archive..."
|
echo "Building symbol archive..."
|
||||||
./mach buildsymbols
|
./mach buildsymbols
|
||||||
|
Loading…
Reference in New Issue
Block a user