Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sbportal: Update firefox_esr to 91.11.0
supported version of ff_esr from SAP
glibc update brick ff_esr 78
  • Loading branch information
david committed Dec 16, 2022
1 parent eff3102 commit 06c8792
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions firefox_esr.be0
@@ -1,40 +1,47 @@
#!/bin/env beesh

# BEE_VERSION firefox_esr-78.9.0-2
# BEE_VERSION firefox_esr-91.11.0-0

#export BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j80'

#SRCURL[0]="https://ftp.mozilla.org/pub/firefox/releases/${PKGVERSION}${PKGEXTRANAME}/source/firefox-${PKGVERSION}${PKGEXTRANAME}.source.tar.xz"

SRCURL[0]="https://beehive.molgen.mpg.de/10529ea05d2a1b46eb239330a3ae5471/firefox-78.9.0esr.source.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/34e1d9a3347bccb1010491d3789aa77e/firefox-91.11.0esr.source.tar.xz"

mee_patch() {
sed -i '/ROOT_CLIP_CHAIN/d' ${S}/gfx/webrender_bindings/webrender_ffi.h
}

mee_configure() {

. /usr/local/package/lib/node.profile
. /pkg/rustc-1.50.0-0/profile

. /pkg/rustc-1.63.0-0/profile
cat > ${S}/mozconfig <<-EOF
ac_add_options --enable-application=browser
ac_add_options --disable-necko-wifi
ac_add_options --enable-official-branding
ac_add_options --without-system-icu
ac_add_options --without-system-nspr
ac_add_options --disable-elf-hack
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --disable-debug-symbols
ac_add_options --enable-bootstrap
mk_add_options MOZ_MAKE_FLAGS="${BEE_MAKEFLAGS}"
mk_add_options MOZ_OBJDIR=$B
unset MOZ_TELEMETRY_REPORTING
EOF
export MACH_USE_SYSTEM_PYTHON=1
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
export MOZBUILD_STATE_PATH=${B}/mozbuild
${S}/mach configure
}

mee_build() {
export CARGO_HOME=$B/.cargo
export CC=gcc CXX=g++
export MOZBUILD_STATE_PATH=${B}/mozbuild
${S}/mach build
}

Expand Down Expand Up @@ -102,9 +109,9 @@ mee_install_post() {
EOF

chmod 755 ${D}/usr/local/bin/sbportal



cat <<-EOF >${D}${PREFIX}/local/lib/firefox/defaults/pref/autoconfig.js
// Any comment. You must start the file with a comment!
pref("general.config.filename", "default_config_mariux.cfg");
Expand Down

0 comments on commit 06c8792

Please sign in to comment.