diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-02-25 14:56:03 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2026-02-25 14:56:03 +0000 |
| commit | 54d794a1b88e205090af9ec6f89a6daaa9ffa69a (patch) | |
| tree | 970bdfca3b907d31954573d35ccdcf9cda938846 /firefox/abuild | |
| parent | 94fd0d6303dcac01d6d52c5a6d2d7504cb35b61e (diff) | |
| download | alicelinux-54d794a1b88e205090af9ec6f89a6daaa9ffa69a.tar.gz alicelinux-54d794a1b88e205090af9ec6f89a6daaa9ffa69a.zip | |
Woodpecker CI 2e1ae7580ce30cfe34521519fea2614da30be3af [SKIP CI]
Diffstat (limited to 'firefox/abuild')
| -rw-r--r-- | firefox/abuild | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/firefox/abuild b/firefox/abuild index 443b4e2a..4aede4e4 100644 --- a/firefox/abuild +++ b/firefox/abuild @@ -1,11 +1,27 @@ name=firefox version=147.0.4 -release=1 +release=2 source="https://ftp.mozilla.org/pub/${name}/releases/${version}/source/${name}-${version}.source.tar.xz - musl-prctl.patch - libcxx18.patch" + enable-jxl.patch + gtk-focus-mask.patch + libcxx18.patch + musl-heap-reporter.patch + musl-no-features-h.patch + musl-prctl.patch + musl-pread64.patch + musl-pthread-name.patch + musl-sandbox-libgcc.patch + musl-sandbox-sched.patch + musl-siginfo.patch + musl-single-threaded.patch + no-build-id.patch" build() { + # musl: allow select() syscall in all sandbox policies + awk '/CASES_FOR_poll:/{print; print "#ifdef __NR_select"; print " case __NR_select:"; print "#endif"; next}1' \ + security/sandbox/linux/SandboxFilter.cpp > SandboxFilter.tmp + mv SandboxFilter.tmp security/sandbox/linux/SandboxFilter.cpp + cat > .mozconfig << EOF ac_add_options --prefix=/usr ac_add_options --libdir=/usr/lib @@ -45,16 +61,11 @@ ac_add_options --disable-system-extension-dirs ac_add_options --disable-default-browser-agent ac_add_options --disable-backgroundtasks ac_add_options --disable-webspeech +ac_add_options --enable-default-toolkit=cairo-gtk3-wayland-only ac_add_options --target=x86_64-unknown-linux-musl ac_add_options --host=x86_64-unknown-linux-musl EOF - if [ -f $SPM_PKGDB/libx11 ] && [ ! -f $SPM_PKGDB/wayland ]; then - echo "ac_add_options --enable-default-toolkit=cairo-gtk3-x11-only" >> .mozconfig - elif [ -f $SPM_PKGDB/wayland ] && [ ! -f $SPM_PKGDB/libx11 ]; then - echo "ac_add_options --enable-default-toolkit=cairo-gtk3-wayland-only" >> .mozconfig - fi - if [ -e '/usr/bin/ccache' ]; then echo 'ac_add_options --enable-ccache' >> .mozconfig PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//') |