firefox-esr: update to 91.4.1, add ppc64le JIT
Closes https://github.com/void-linux/void-packages/pull/34712
This commit is contained in:
parent
e5e0be134b
commit
5c61110b53
2 changed files with 3462 additions and 2 deletions
3441
srcpkgs/firefox-esr/patches/ppc64le-jit.patch
Normal file
3441
srcpkgs/firefox-esr/patches/ppc64le-jit.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -3,7 +3,7 @@
|
||||||
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-esr-i18n".
|
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-esr-i18n".
|
||||||
#
|
#
|
||||||
pkgname=firefox-esr
|
pkgname=firefox-esr
|
||||||
version=91.3.0
|
version=91.4.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="firefox-${version}"
|
wrksrc="firefox-${version}"
|
||||||
build_helper="rust"
|
build_helper="rust"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
|
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
homepage="https://www.mozilla.org/firefox/"
|
homepage="https://www.mozilla.org/firefox/"
|
||||||
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz"
|
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz"
|
||||||
checksum=128b5349f112d8a0fd8698f3645ed43ea29d4b95047b7c4fd770b95d0661e96c
|
checksum=75e98daf53c5aea19d711a625d5d5e6dfdc8335965d3a19567c62f9d2961fc75
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
|
@ -37,6 +37,14 @@ case $XBPS_TARGET_MACHINE in
|
||||||
ppc*) broken="xptcall bitrot" ;;
|
ppc*) broken="xptcall bitrot" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# ppc64le jit, see --enable-jit later
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64le*)
|
||||||
|
distfiles+=" https://github.com/chmeeedalf/gecko-dev/files/7729086/esrppcjit.tar.gz"
|
||||||
|
checksum+=" 5e926a8be5d6d4949c3bc3eb98e2103692eaa26a98928db432b1d44b535f7241"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
fi
|
fi
|
||||||
|
@ -61,6 +69,14 @@ post_extract() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# ppc64le jit, see --enable-jit later
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64le*)
|
||||||
|
mv ../js/src/jit/ppc64 js/src/jit
|
||||||
|
rm -rf ../js
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Mozilla API keys (see https://location.services.mozilla.com/api)
|
# Mozilla API keys (see https://location.services.mozilla.com/api)
|
||||||
# Note: This is for Void Linux use ONLY.
|
# Note: This is for Void Linux use ONLY.
|
||||||
echo -n "cd894504-7a2a-4263-abff-ff73ee89ffca" > mozilla-api-key
|
echo -n "cd894504-7a2a-4263-abff-ff73ee89ffca" > mozilla-api-key
|
||||||
|
@ -87,7 +103,10 @@ do_build() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# webrtc currently fails to build on 32-bit ppc...
|
# webrtc currently fails to build on 32-bit ppc...
|
||||||
|
# also enable jit on ppc64le, which is patched in earlier
|
||||||
|
# https://www.talospace.com/2021/12/91esr-with-baseline-compilerbaseline.html
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64le*) echo "ac_add_options --enable-jit" >>.mozconfig ;;
|
||||||
ppc64*) ;;
|
ppc64*) ;;
|
||||||
ppc*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;;
|
ppc*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue