commit 6887167d650767d534cb91fe78f045c6d5219a23 Author: Danny Rawlins <monster.romster@gmail.com> Date: Wed Dec 26 22:53:28 2018 +1100 thunderbird: picked up port diff --git a/thunderbird/.footprint b/thunderbird/.footprint new file mode 100644 index 00000000..68f0bc4a --- /dev/null +++ b/thunderbird/.footprint @@ -0,0 +1,63 @@ +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 +-rw-r--r-- root/root usr/lib/thunderbird/blocklist.xml +-rw-r--r-- root/root usr/lib/thunderbird/chrome.manifest (EMPTY) +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/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 +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/dictionaries/ +-rw-r--r-- root/root usr/lib/thunderbird/dictionaries/en-US.aff +-rw-r--r-- root/root usr/lib/thunderbird/dictionaries/en-US.dic +drwxr-xr-x root/root usr/lib/thunderbird/distribution/ +drwxr-xr-x root/root usr/lib/thunderbird/distribution/extensions/ +-rw-r--r-- root/root usr/lib/thunderbird/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi +drwxr-xr-x root/root usr/lib/thunderbird/extensions/ +-rw-r--r-- root/root usr/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi +drwxr-xr-x root/root usr/lib/thunderbird/fonts/ +-rw-r--r-- root/root usr/lib/thunderbird/fonts/EmojiOneMozilla.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 +-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/libldap60.so +-rwxr-xr-x root/root usr/lib/thunderbird/libldif60.so +-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/libprldap60.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/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 diff --git a/thunderbird/.signature b/thunderbird/.signature new file mode 100644 index 00000000..6acfc1dd --- /dev/null +++ b/thunderbird/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3/PpFjCTDob3LH7+eoVw04TMfH2mBFpZDD+eMyqdLdNRkBe4RIABCtKBTeEOFjN2MVZG1HOusSS3X+PBfTMVXwI= +SHA256 (Pkgfile) = 8ab1c003f1ea0e7b6bbd427e2b63195d28bec5f7322247fb9b7b39f9c44505a4 +SHA256 (.footprint) = c92069b08c627befb95938cf0a7531db28e583b9e5fb279c9f08d4e6f46cfbf1 +SHA256 (thunderbird-60.4.0.source.tar.xz) = 27a6cdd9cfdd7ce70b1d193c64739db6be6b39eec308f0122d8472a6cd243e75 +SHA256 (thunderbird.desktop) = c6bc6a66f16951c4f7560d019dad48968169aef6587cef4e98380a300078299a diff --git a/thunderbird/Pkgfile b/thunderbird/Pkgfile new file mode 100644 index 00000000..4f77e3a1 --- /dev/null +++ b/thunderbird/Pkgfile @@ -0,0 +1,62 @@ +# Description: Email client from the Mozilla project +# URL: https://www.thunderbird.net/en-US/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: alsa-lib autoconf-2.13 gtk gtk3 libidl nss rust unzip util-linux xorg-libxt yasm zip +# Optional: sccache + +name=thunderbird +version=60.4.0 +release=1 +source=(http://ftp.mozilla.org/pub/thunderbird/releases/$version/source/$name-$versi... + $name.desktop) + +build() { + cd $name-$version + + if [ -n "$(pkginfo -i | grep '^sccache ')" ]; then + export RUSTC_WRAPPER=/usr/bin/sccache + fi + +cat <<- EOF > .mozconfig + ac_add_options --enable-application=comm/mail + ac_add_options --prefix=/usr + ac_add_options --enable-default-toolkit=cairo-gtk3 + 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 --enable-system-ffi + ac_add_options --enable-system-pixman + #breaks search: + #ac_add_options --enable-system-sqlite + ac_add_options --enable-alsa + ac_add_options --with-pthreads + ac_add_options --enable-official-branding + ac_add_options --with-distribution-id=nu.crux + ac_add_options --disable-tests + ac_add_options --disable-dbus + ac_add_options --disable-debug + ac_add_options --disable-updater + ac_add_options --disable-crashreporter + ac_add_options --disable-necko-wifi + ac_add_options --disable-pulseaudio + ac_add_options --disable-gconf + ac_add_options --enable-calendar + ac_add_options --disable-stylo +EOF + + export MOZ_MAKE_FLAGS="-j ${JOBS-1}" + export MOZBUILD_STATE_PATH="$PKGMK_SOURCE_DIR/.mozbuild" + export CARGO_HOME="$PKGMK_SOURCE_DIR" + + ./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} +} diff --git a/thunderbird/thunderbird.desktop b/thunderbird/thunderbird.desktop new file mode 100644 index 00000000..cf2b111b --- /dev/null +++ b/thunderbird/thunderbird.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Thunderbird +Comment=Mail & News Reader +Exec=thunderbird +Icon=thunderbird_default48.png +Terminal=false +Type=Application +Categories=Application;Network; +StartupNotify=false