Skip to content

Commit

Permalink
Merge pull request #3186 from mariux64/update-thunderbird
Browse files Browse the repository at this point in the history
Update thunderbird
  • Loading branch information
david authored Nov 6, 2024
2 parents dbe94a9 + 30f6216 commit f10e4af
Showing 1 changed file with 16 additions and 22 deletions.
38 changes: 16 additions & 22 deletions thunderbird.be0
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

#export BEE_TMP_TMPDIR=/scratch/local2 BEE_TMP_BUILDROOT=/scratch/local2/bee-root BEE_MAKEFLAGS='-j80'

# BEE_VERSION thunderbird-128.2.3-0
# BEE_VERSION thunderbird-128.4.1-0

#SRCURL[0]="https://ftp.mozilla.org/pub/thunderbird/releases/${PKGVERSION}esr/source/thunderbird-${PKGVERSION}esr.source.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/5f7e8ad742ab12eff21f96074a07a091/thunderbird-128.2.3esr.source.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/e3825aaf86966602f0a0089d03d68034/thunderbird-128.4.1esr.source.tar.xz"

# build_in_sourcedir

Expand All @@ -17,16 +17,7 @@ mee_configure() {
cat > ${S}/mozconfig <<CONF
ac_add_options --prefix=${PREFIX}
ac_add_options --enable-application=comm/mail
ac_add_options --without-system-nspr
ac_add_options --with-system-libvpx
ac_add_options --with-system-libevent
ac_add_options --without-system-nss
ac_add_options --without-system-icu
ac_add_options --enable-system-pixman
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-zlib
ac_add_options --disable-elf-hack
ac_add_options --enable-bootstrap
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
ac_add_options --disable-tests
Expand All @@ -37,17 +28,20 @@ ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-rust-simd
ac_add_options --disable-necko-wifi
ac_add_options --with-distribution-id=MarIuX
ac_add_options --without-wasm-sandboxed-libraries
MOZ_BUILD_FLAGS="${BEE_MAKEFLAGS} -w"
mk_add_options MOZ_OBJDIR=$B
CONF
export MOZBUILD_STATE_PATH=${B}/mozbuild
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
}

mee_build () {
export CARGO_HOME=$B/.cargo
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
start_cmd ${S}/mach build
}

Expand All @@ -73,15 +67,15 @@ mee_build_post() {

# create molgen ldap address book..
cat >${B}/all-molgen-ldap.js <<EOF1
pref("ldap_2.autoComplete.directoryServer", "ldap_2.servers.MOLGEN_pre");
pref("ldap_2.autoComplete.useDirectory", true);
pref("ldap_2.servers.MOLGEN_pre.auth.dn", "");
pref("ldap_2.servers.MOLGEN_pre.auth.saslmech", "");
pref("ldap_2.servers.MOLGEN_pre.description", "MOLGEN (preconfigured)");
pref("ldap_2.servers.MOLGEN_pre.filename", "ldap.mab");
pref("ldap_2.servers.MOLGEN_pre.maxHits", 100);
pref("ldap_2.servers.MOLGEN_pre.uri", "ldap://ldap.molgen.mpg.de/dc=addressbook,dc=apps,dc=molgen,dc=mpg,dc=DE??sub?(objectclass=*)");
pref("ldap_2.servers.MOLGEN_pre.autoComplete.filterTemplate", "(|(mail=*%v*)(displayName=*%v*)(givenName=*%v*)(sn=*%v*)(cn=*%v*))");
pref("ldap_2.autoComplete.directoryServer", "ldap_2.servers.MOLGEN_pre");
pref("ldap_2.autoComplete.useDirectory", true);
pref("ldap_2.servers.MOLGEN_pre.auth.dn", "");
pref("ldap_2.servers.MOLGEN_pre.auth.saslmech", "");
pref("ldap_2.servers.MOLGEN_pre.description", "MOLGEN (preconfigured)");
pref("ldap_2.servers.MOLGEN_pre.filename", "ldap.mab");
pref("ldap_2.servers.MOLGEN_pre.maxHits", 100);
pref("ldap_2.servers.MOLGEN_pre.uri", "ldap://ldap.molgen.mpg.de/dc=addressbook,dc=apps,dc=molgen,dc=mpg,dc=DE??sub?(objectclass=*)");
pref("ldap_2.servers.MOLGEN_pre.autoComplete.filterTemplate", "(|(mail=*%v*)(displayName=*%v*)(givenName=*%v*)(sn=*%v*)(cn=*%v*))");
EOF1

# create molgen default prefs
Expand Down Expand Up @@ -124,7 +118,7 @@ EOF2
}

mee_install() {
start_cmd make install DESTDIR=${D}
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none && start_cmd make install DESTDIR=${D}
}

mee_install_post() {
Expand Down

0 comments on commit f10e4af

Please sign in to comment.