if anybody wants to build it using the SlackBuild in current, I'm doing it here with some little modifications
Code:
--- ./mozilla-thunderbird.SlackBuild.orig 2018-05-22 20:12:38.958686420 +0200
+++ ./mozilla-thunderbird.SlackBuild 2018-07-10 22:18:32.843948000 +0200
@@ -123,7 +123,7 @@
PATH=$TMP/autoconf-tmp/usr/bin:$PATH
cd $TMP
-rm -rf thunderbird-$VERSION
+rm -rf thunderbird-$RELEASEVER
# Unpack this in a subdirectory to prevent changing permissions on /tmp:
rm -rf thunderbird-unpack
mkdir thunderbird-unpack
@@ -132,10 +132,10 @@
mv * ..
cd ..
rm -rf thunderbird-unpack
-cd thunderbird-$VERSION || exit 1
+cd thunderbird-$RELEASEVER || exit 1
# Retain GTK+ v2 scrolling behavior:
-zcat $CWD/tb.ui.scrollToClick.diff.gz | patch -p1 --verbose || exit 1
+zcat $CWD/tb.ui.scrollToClick.diff.gz | patch -p2 --verbose || exit 1
# Fetch localization, if requested:
if [ ! -z $MOZLOCALIZE ]; then
@@ -168,10 +168,9 @@
--enable-official-branding \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-default-mozilla-five-home=/usr/lib${LIBDIRSUFFIX}/thunderbird-$RELEASEVER \
--with-system-zlib \
--enable-alsa \
- --enable-application=mail \
+ --enable-application=comm/mail \
$ENABLE_CALENDAR \
--enable-default-toolkit=cairo-gtk3 \
--enable-startup-notification \
@@ -231,8 +230,9 @@
# Add the $OPTIONS above to .mozconfig:
for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done
-make -f client.mk build || exit 1
-make -f client.mk install DESTDIR=$PKG || exit 1
+./mach build || exit 1
+./mach buildsymbols || exit 1
+DESTDIR=$PKG ./mach install || exit 1
# We don't need these (just symlinks anyway):
rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/thunderbird-devel-$RELEASEVER
@@ -270,7 +270,7 @@
# Need some default icons in the right place:
for i in 16 22 24 32 48 256; do
- install -m 0644 -D other-licenses/branding/thunderbird/mailicon${i}.png \
+ install -m 0644 -D comm/mail/branding/thunderbird/default${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/thunderbird.png
done
mkdir -p $PKG/usr/share/pixmaps