Date: Sunday, October 10, 2021 @ 23:37:40 Author: felixonmars Revision: 1029360
archrelease: copy trunk to community-staging-x86_64 Added: seamonkey/repos/community-staging-x86_64/ seamonkey/repos/community-staging-x86_64/PKGBUILD (from rev 1029359, seamonkey/trunk/PKGBUILD) seamonkey/repos/community-staging-x86_64/mozconfig (from rev 1029359, seamonkey/trunk/mozconfig) seamonkey/repos/community-staging-x86_64/seamonkey.install (from rev 1029359, seamonkey/trunk/seamonkey.install) -------------------+ PKGBUILD | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ mozconfig | 53 +++++++++++++++++++++++++++++++++++++ seamonkey.install | 13 +++++++++ 3 files changed, 139 insertions(+) Copied: seamonkey/repos/community-staging-x86_64/PKGBUILD (from rev 1029359, seamonkey/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-10-10 23:37:40 UTC (rev 1029360) @@ -0,0 +1,73 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=seamonkey +pkgver=2.53.9.1 +pkgrel=2 +pkgdesc="SeaMonkey internet suite" +arch=('x86_64') +license=('MPL') +depends=('dbus-glib' 'gtk3' 'hunspell' 'icu' + 'libevent' 'libpulse' 'libvpx' 'libxt' 'mime-types' + 'nss' 'sqlite' 'startup-notification') +makedepends=('autoconf2.13' 'clang' 'gtk2' 'imake' 'llvm' 'mesa' 'python2-setuptools' + 'python2-psutil' 'rust' 'yasm' 'unzip' 'zip' 'nasm') +optdepends=('networkmanager: Location detection via available WiFi networks' + 'libnotify: Notification integration' + 'pulseaudio: Audio support') +url="https://www.seamonkey-project.org/" +source=("https://archive.mozilla.org/pub/seamonkey/releases/$pkgver/source/seamonkey-$pkgver.source.tar.xz" + "mozconfig") +sha256sums=('756fc69478b9913c1f3c91090b78d880da8f593238754b8416c87184e4d6e597' + '05bbf05f6a2f060ba3b69a420d57e95766880869a3e416cb05f60894bce1213b') +install="$pkgname.install" + +# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) +# Note: These are for Arch Linux use ONLY. For your own distribution, please +# get your own set of keys. Feel free to contact foutre...@archlinux.org for +# more information. +_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM + +# Mozilla API keys (see https://location.services.mozilla.com/api) +# Note: These are for Arch Linux use ONLY. For your own distribution, please +# get your own set of keys. Feel free to contact hef...@archlinux.org for +# more information. +_mozilla_api_key=e05d56db0a694edc8b5aaebda3f2db6a + +prepare() { + cd "$pkgname-$pkgver" + cp ../mozconfig .mozconfig + + echo -n "$_google_api_key" > google-api-key + echo -n "$_mozilla_api_key" > mozilla-api-key + + cat >> .mozconfig <<EOF + ac_add_options --with-google-location-service-api-keyfile=${PWD@Q}/google-api-key + ac_add_options --with-google-safebrowsing-api-keyfile=${PWD@Q}/google-api-key + ac_add_options --with-mozilla-api-keyfile=${PWD@Q}/mozilla-api-key +EOF +} + +build() { + cd "$pkgname-$pkgver" + + ./mach build +} + +package() { + cd "$pkgname-$pkgver" + + DESTDIR="$pkgdir" INSTALL_SDK= ./mach install + + rm -rf "$pkgdir"/usr/lib/seamonkey/{dictionaries,hyphenation} + ln -s /usr/share/hunspell "$pkgdir/usr/lib/seamonkey/dictionaries" + ln -s /usr/share/hyphen "$pkgdir/usr/lib/seamonkey/hyphenation" + + install -Dm644 comm/suite/branding/seamonkey/default128.png \ + "$pkgdir/usr/share/pixmaps/seamonkey.png" + + install -Dm644 toolkit/mozapps/installer/linux/rpm/mozilla.desktop \ + "$pkgdir/usr/share/applications/seamonkey.desktop" + sed -i 's/@MOZ_APP_DISPLAYNAME@/SeaMonkey internet suite/' \ + "$pkgdir/usr/share/applications/seamonkey.desktop" + sed -i 's/@MOZ_APP_NAME@/seamonkey/' "$pkgdir/usr/share/applications/seamonkey.desktop" +} Copied: seamonkey/repos/community-staging-x86_64/mozconfig (from rev 1029359, seamonkey/trunk/mozconfig) =================================================================== --- community-staging-x86_64/mozconfig (rev 0) +++ community-staging-x86_64/mozconfig 2021-10-10 23:37:40 UTC (rev 1029360) @@ -0,0 +1,53 @@ +ac_add_options --enable-application=comm/suite + +ac_add_options --prefix=/usr +ac_add_options --libdir=/usr/lib +ac_add_options --disable-elf-hack + +# System libraries +ac_add_options --with-system-nspr +ac_add_options --with-system-nss +ac_add_options --with-system-jpeg +ac_add_options --with-system-zlib +ac_add_options --with-system-bz2 +#ac_add_options --with-system-png +ac_add_options --with-system-libevent +#ac_add_options --with-system-libvpx +ac_add_options --enable-system-hunspell +#ac_add_options --enable-system-sqlite +ac_add_options --enable-system-ffi +#ac_add_options --enable-system-cairo +ac_add_options --enable-system-pixman +ac_add_options --disable-gconf +ac_add_options --with-system-icu + +# Features +ac_add_options --enable-startup-notification +#ac_add_options --enable-safe-browsing +#ac_add_options --enable-gio +#ac_add_options --disable-gstreamer +ac_add_options --enable-pulseaudio + +ac_add_options --enable-calendar +ac_add_options --enable-irc +ac_add_options --enable-dominspector + +ac_add_options --enable-optimize="-O2" +ac_add_options --enable-strip +ac_add_options --enable-install-strip + +#ac_add_options --disable-gnomevfs +ac_add_options --disable-crashreporter +ac_add_options --disable-updater +ac_add_options --disable-tests +#ac_add_options --disable-installer + +ac_add_options --disable-webrender +ac_add_options --disable-stylo + +export MOZILLA_OFFICIAL=1 +export CC=clang +export CXX=clang++ +export AR=llvm-ar +export NM=llvm-nm +export RANLIB=llvm-ranlib Copied: seamonkey/repos/community-staging-x86_64/seamonkey.install (from rev 1029359, seamonkey/trunk/seamonkey.install) =================================================================== --- community-staging-x86_64/seamonkey.install (rev 0) +++ community-staging-x86_64/seamonkey.install 2021-10-10 23:37:40 UTC (rev 1029360) @@ -0,0 +1,13 @@ +post_upgrade() { + # This currently triggers every time the new version has a pkgver (not pkgrel) + # greater than the previous version. Rationale: upstream's prominent release + # notes as described here: https://bbs.archlinux.org/viewtopic.php?pid=1903689#p1903689 + if (( $(vercmp $2 ${1%-*}) < 0 )); then + cat << __EOF__ +SeaMonkey ${1%-*} makes changes to your profile that can't be reverted in case +you want to go back to a previous version of SeaMonkey. Make a full backup of +your profile and thoroughly read and follow the Release Notes at +https://www.seamonkey-project.org/releases/seamonkey${1%-*}." +__EOF__ + fi +}