thunderbird: 78.11.0 -> 91.1.1

This commit is contained in:
Danny Rawlins 2021-09-19 21:17:19 +10:00
parent 275d8934bd
commit 6af1facf70
3 changed files with 32 additions and 21 deletions

View File

@ -10,11 +10,6 @@ drwxr-xr-x root/root usr/lib/thunderbird/
drwxr-xr-x root/root usr/lib/thunderbird/chrome/
drwxr-xr-x root/root usr/lib/thunderbird/chrome/icons/
drwxr-xr-x root/root usr/lib/thunderbird/chrome/icons/default/
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/calendar-alarm-dialog.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/calendar-event-dialog.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/calendar-event-summary-dialog.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/calendar-task-dialog.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/calendar-task-summary-dialog.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/default128.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/default16.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/default22.png
@ -29,12 +24,8 @@ drwxr-xr-x root/root usr/lib/thunderbird/defaults/messenger/
drwxr-xr-x root/root usr/lib/thunderbird/defaults/pref/
-rw-r--r-- root/root usr/lib/thunderbird/defaults/pref/channel-prefs.js
-rw-r--r-- root/root usr/lib/thunderbird/dependentlibs.list
drwxr-xr-x root/root usr/lib/thunderbird/features/
-rw-r--r-- root/root usr/lib/thunderbird/features/wetransfer@extensions.thunderbird.net.xpi
drwxr-xr-x root/root usr/lib/thunderbird/fonts/
-rw-r--r-- root/root usr/lib/thunderbird/fonts/TwemojiMozilla.ttf
drwxr-xr-x root/root usr/lib/thunderbird/gtk2/
-rwxr-xr-x root/root usr/lib/thunderbird/gtk2/libmozgtk.so
drwxr-xr-x root/root usr/lib/thunderbird/isp/
-rw-r--r-- root/root usr/lib/thunderbird/isp/Bogofilter.sfd
-rw-r--r-- root/root usr/lib/thunderbird/isp/DSPAM.sfd

View File

@ -1,7 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF37lWKy93moJXVfZOhzdcyX8BOrj5xj89NVyIym/susLQ916rc2El+780Cz/f7nqctH/qs1BOTePm1d37gta/WAs=
SHA256 (Pkgfile) = cf6f4823300662a1c95c8f28f468cbb603300dd2933490189dfecfc95e4c7688
SHA256 (.footprint) = 6b9d0cf535593004cc52a1235980afb12eab4471e85cd6f32a7e5844d8193651
SHA256 (thunderbird-78.11.0.source.tar.xz) = cb5475dd6494c68699aa29f97be2868a455548cabb4c4859e109b1badae7c0fb
RWSagIOpLGJF3xJKzRwSSJutmITM1mSxqRyYp9QHvE+Yiy15Lav5CBLt1swpBK9tScf/bCBxuJbHPWfu+Mac23kdZrsyj5Rsyww=
SHA256 (Pkgfile) = 714c1caae6aa3f295430dc3b860d2ee936b5640439cf0e46f0da1e1e79655003
SHA256 (.footprint) = 923d578f9d9e0dbd81a35f85c1d0228c2c29722327104100bdd991a056632803
SHA256 (thunderbird-91.1.1.source.tar.xz) = 05833526bb04985dc40fbf8d6907fea27ba560e7a1d7487c3f8c15c1a0b808cc
SHA256 (thunderbird.desktop) = c6bc6a66f16951c4f7560d019dad48968169aef6587cef4e98380a300078299a
SHA256 (0038-bmo-1667736-Update-packed_simd-to-compile-on-Rust-1.patch) = 7a8879d1544e47e529eba23a74ab275ba730a990413b73b2d378b0746e3b2187

View File

@ -5,17 +5,14 @@
# Optional: sccache
name=thunderbird
version=78.11.0
version=91.1.1
release=1
source=(https://archive.mozilla.org/pub/thunderbird/releases/$version/source/$name-$version.source.tar.xz
$name.desktop
0038-bmo-1667736-Update-packed_simd-to-compile-on-Rust-1.patch)
$name.desktop)
build() {
cd $name-$version
patch -p1 -i $SRC/0038-bmo-1667736-Update-packed_simd-to-compile-on-Rust-1.patch
if [ -e '/usr/bin/ccache' ]; then
export OS_CCACHE_COMPILERCHECK="$(/usr/bin/clang -dumpversion | sed -z 's/\n/ /g'; crux | cut -d' ' -f3)"
export CCACHE_COMPILERCHECK="string:$OS_CCACHE_COMPILERCHECK"
@ -38,9 +35,9 @@ cat <<- EOF > .mozconfig
ac_add_options --with-system-nss
ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman
ac_add_options --enable-alsa
ac_add_options --enable-optimize=-O2
ac_add_options --enable-linker=lld
ac_add_options --enable-lto=thin
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options --enable-official-branding
@ -52,10 +49,19 @@ cat <<- EOF > .mozconfig
ac_add_options --disable-crashreporter
ac_add_options --disable-necko-wifi
ac_add_options --disable-pulseaudio
ac_add_options --enable-calendar
ac_add_options --disable-elf-hack
EOF
# audio
prt-get isinst alsa-lib && echo 'ac_add_options --enable-alsa' >> .mozconfig || echo 'ac_add_options --disable-alsa' >> .mozconfig
prt-get isinst jack && echo 'ac_add_options --enable-jack' >> .mozconfig || echo 'ac_add_options --disable-jack' >> .mozconfig
prt-get isinst pulseaudio && echo 'ac_add_options --enable-pulseaudio' >> .mozconfig || echo 'ac_add_options --disable-pulseaudio' >> .mozconfig
prt-get isinst wayland-protocols && \
echo 'ac_add_options --enable-default-toolkit=cairo-gtk3-wayland' >> .mozconfig || \
echo 'ac_add_options --enable-default-toolkit=cairo-gtk3' >> .mozconfig
[[ -e '/usr/bin/ccache' ]] && echo 'ac_add_options --enable-ccache' >> .mozconfig
export PYTHON=/usr/bin/python3
@ -63,8 +69,23 @@ EOF
export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib
export MOZ_MAKE_FLAGS="-j ${JOBS-1}"
export MOZBUILD_STATE_PATH="$PKGMK_SOURCE_DIR/.mozbuild"
# Disable notification when build system has finished
export MOZ_NOSPAM=1
# Use system's Python environment
export MACH_USE_SYSTEM_PYTHON=1
# Show flags set at the beginning
echo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
echo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
echo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
echo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
echo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
# python/mach/mach/mixin/process.py fails to detect SHELL
export SHELL='/usr/bin/bash'
./mach build
DESTDIR=$PKG ./mach install