thunderbird: dropped unmaintained port

This commit is contained in:
Tim Biermann 2023-09-24 09:32:55 +02:00
parent b75a933a07
commit dcd2527ff7
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 0 additions and 184 deletions

View File

@ -1,60 +0,0 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/revdep.d/
-rw-r--r-- root/root etc/revdep.d/thunderbird
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/thunderbird -> /usr/lib/thunderbird/thunderbird
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/thunderbird/
-rw-r--r-- root/root usr/lib/thunderbird/application.ini
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-general-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
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/default24.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/default256.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/default32.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/default48.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/default64.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/msgcomposeWindow16.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/msgcomposeWindow24.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/msgcomposeWindow32.png
-rw-r--r-- root/root usr/lib/thunderbird/chrome/icons/default/msgcomposeWindow48.png
drwxr-xr-x root/root usr/lib/thunderbird/defaults/
drwxr-xr-x root/root usr/lib/thunderbird/defaults/messenger/
-rw-r--r-- root/root usr/lib/thunderbird/defaults/messenger/mailViews.dat
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/fonts/
-rw-r--r-- root/root usr/lib/thunderbird/fonts/TwemojiMozilla.ttf
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
-rw-r--r-- root/root usr/lib/thunderbird/isp/POPFile.sfd
-rw-r--r-- root/root usr/lib/thunderbird/isp/SpamAssassin.sfd
-rw-r--r-- root/root usr/lib/thunderbird/isp/SpamPal.sfd
-rwxr-xr-x root/root usr/lib/thunderbird/liblgpllibs.so
-rwxr-xr-x root/root usr/lib/thunderbird/libmozgtk.so
-rwxr-xr-x root/root usr/lib/thunderbird/libmozsandbox.so
-rwxr-xr-x root/root usr/lib/thunderbird/libmozsqlite3.so
-rwxr-xr-x root/root usr/lib/thunderbird/librnp.so
-rwxr-xr-x root/root usr/lib/thunderbird/libxul.so
-rw-r--r-- root/root usr/lib/thunderbird/omni.ja
-rwxr-xr-x root/root usr/lib/thunderbird/pingsender
-rw-r--r-- root/root usr/lib/thunderbird/platform.ini
-rwxr-xr-x root/root usr/lib/thunderbird/plugin-container
-rw-r--r-- root/root usr/lib/thunderbird/removed-files
-rwxr-xr-x root/root usr/lib/thunderbird/rnp-cli
-rwxr-xr-x root/root usr/lib/thunderbird/rnpkeys
-rwxr-xr-x root/root usr/lib/thunderbird/thunderbird
-rwxr-xr-x root/root usr/lib/thunderbird/thunderbird-bin
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/thunderbird.desktop
drwxr-xr-x root/root usr/share/pixmaps/
lrwxrwxrwx root/root usr/share/pixmaps/thunderbird_default48.png -> /usr/lib/thunderbird/chrome/icons/default/default48.png

View File

@ -1,6 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xVLP1+zvLYNgT5Yhk10phjphym9YZsB0tMQzawgdlxqYauVaqjMse5DoOaopghY9DgLotp3X/weJLgKgGP2DQI=
SHA256 (Pkgfile) = 0f9df0c5b47ffa586cda0c4760bd138e60f6a503ae998247cd54e844a71ccd60
SHA256 (.footprint) = 333f1b8ebb51a1437a3eae54b146017e421f38c4c98cdb05166a5d793a8d5210
SHA256 (thunderbird-115.0.source.tar.xz) = 3edc85647dcebde8b84c17e6eeff6ca9866a9f0ffe9a67d786fdb442c8a9a9ad
SHA256 (thunderbird.desktop) = c6bc6a66f16951c4f7560d019dad48968169aef6587cef4e98380a300078299a

View File

@ -1,109 +0,0 @@
# Description: Email client from the Mozilla project
# URL: https://www.thunderbird.net/en-US/
# Maintainer: unmaintained
# Depends on: alsa-lib autoconf-2.13 cbindgen clang dbus-glib gnupg libevent libidl libnotify libvpx libwebp nodejs nss startup-notification unzip xorg-libxcomposite xorg-libxcursor zip
# Optional: pulseaudio sccache lld
name=thunderbird
version=115.0
release=1
source=(https://ftp.mozilla.org/pub/$name/releases/$version/source/$name-$version.source.tar.xz
$name.desktop)
build() {
cd $name-$version
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"
PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')
fi
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
mkdir -p "$PKGMK_SOURCE_DIR/rust"
export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
sed -i '/ROOT_CLIP_CHAIN/d' gfx/webrender_bindings/webrender_ffi.h
cat <<- EOF > .mozconfig
ac_add_options --prefix=/usr
ac_add_options --enable-application=comm/mail
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-webp
ac_add_options --enable-av1
ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman
ac_add_options --enable-optimize
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options --enable-official-branding
ac_add_options --with-distribution-id=nu.crux
ac_add_options --enable-lto=thin
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-tests
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
ac_add_options --disable-necko-wifi
ac_add_options --disable-elf-hack
ac_add_options --without-wasm-sandboxed-libraries
EOF
# use llvm linker, if available
prt-get isinst lld && \
{ echo -e "ac_add_options --enable-linker=lld" >> .mozconfig;
export LDFLAGS+=" -Wl,--thinlto-jobs=$((JOBS / 2))"; } || \
echo "ac_add_options --enable-linker=bfd" >> .mozconfig
# audio
local PKGMK_MOZAUD="--enable-audio-backends=alsa"
prt-get isinst pulseaudio && PKGMK_MOZAUD+=",pulseaudio"
echo "ac_add_options $PKGMK_MOZAUD" >> .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
export RUSTFLAGS="$RUSTFLAGS -C debuginfo=0"
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
install -d $PKG/usr/share/pixmaps
ln -s /usr/lib/thunderbird/chrome/icons/default/default48.png $PKG/usr/share/pixmaps/thunderbird_default48.png
install -D -m 0644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop
find $PKG -iname '*README*' -delete
#rm -r $PKG/usr/{include,lib/thunderbird-devel,share/idl}
install -d $PKG/etc/revdep.d
echo "/usr/lib/thunderbird" > $PKG/etc/revdep.d/$name
}

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Thunderbird
Comment=Mail & News Reader
Exec=thunderbird
Icon=thunderbird_default48.png
Terminal=false
Type=Application
Categories=Application;Network;
StartupNotify=false