Date: Monday, December 7, 2015 @ 01:14:53 Author: foutrelis Revision: 149398
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: seamonkey/repos/community-staging-i686/ seamonkey/repos/community-staging-i686/PKGBUILD (from rev 149396, seamonkey/trunk/PKGBUILD) seamonkey/repos/community-staging-i686/mozconfig (from rev 149396, seamonkey/trunk/mozconfig) seamonkey/repos/community-staging-i686/rhbz-966424.patch (from rev 149396, seamonkey/trunk/rhbz-966424.patch) seamonkey/repos/community-staging-i686/seamonkey-2.0-lang.patch (from rev 149396, seamonkey/trunk/seamonkey-2.0-lang.patch) seamonkey/repos/community-staging-i686/seamonkey.install (from rev 149396, seamonkey/trunk/seamonkey.install) seamonkey/repos/community-staging-x86_64/ seamonkey/repos/community-staging-x86_64/PKGBUILD (from rev 149396, seamonkey/trunk/PKGBUILD) seamonkey/repos/community-staging-x86_64/mozconfig (from rev 149396, seamonkey/trunk/mozconfig) seamonkey/repos/community-staging-x86_64/rhbz-966424.patch (from rev 149397, seamonkey/trunk/rhbz-966424.patch) seamonkey/repos/community-staging-x86_64/seamonkey-2.0-lang.patch (from rev 149397, seamonkey/trunk/seamonkey-2.0-lang.patch) seamonkey/repos/community-staging-x86_64/seamonkey.install (from rev 149397, seamonkey/trunk/seamonkey.install) ---------------------------------------------------+ community-staging-i686/PKGBUILD | 78 ++++++++++++++++++++ community-staging-i686/mozconfig | 36 +++++++++ community-staging-i686/rhbz-966424.patch | 23 +++++ community-staging-i686/seamonkey-2.0-lang.patch | 11 ++ community-staging-i686/seamonkey.install | 12 +++ community-staging-x86_64/PKGBUILD | 78 ++++++++++++++++++++ community-staging-x86_64/mozconfig | 36 +++++++++ community-staging-x86_64/rhbz-966424.patch | 23 +++++ community-staging-x86_64/seamonkey-2.0-lang.patch | 11 ++ community-staging-x86_64/seamonkey.install | 12 +++ 10 files changed, 320 insertions(+) Copied: seamonkey/repos/community-staging-i686/PKGBUILD (from rev 149396, seamonkey/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,78 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=seamonkey +pkgver=2.39 +pkgrel=2 +pkgdesc="SeaMonkey internet suite" +arch=('i686' 'x86_64') +license=('MPL') +depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hunspell' 'libevent' 'libnotify' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'nss' 'sqlite' 'startup-notification' 'libpulse' 'icu' 'gconf') +makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'yasm' 'wireless_tools' 'mesa' 'autoconf2.13' 'imake' 'python3' 'gstreamer0.10-base') +optdepends=('gstreamer0.10-base-plugins: vorbis decoding, ogg demuxing' + 'gstreamer0.10-bad-plugins: aac, vp8 and opus decoding' + 'gstreamer0.10-good-plugins: webm and mp4 demuxing' + 'gstreamer0.10-ugly-plugins: h.264 decoding') +install=$pkgname.install +url="http://www.seamonkey-project.org/" +source=(https://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/$pkgver/source/seamonkey-$pkgver.source.tar.xz + mozconfig + seamonkey-2.0-lang.patch + rhbz-966424.patch) +md5sums=('eb571346b1ad00d3197d48aa0a906102' + '9b6d65e9b77acf9fd7c6e3578a5d2acd' + '25b6fe16ac24cd5c852213e5c1adb272' + '8c1578232b7a60fa1caa9a0b322d1e2b') + +prepare() { + cd "$pkgname-$pkgver" + cp ../mozconfig .mozconfig + #patch -Np1 -i ../seamonkey-2.0-lang.patch + + # https://bugs.archlinux.org/task/41689 + patch -Np1 -d mozilla -i ../../rhbz-966424.patch + + # Don't exit with error when some libs are missing which we have in + # system. + sed -i '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' suite/installer/Makefile.in + + # configure script misdetects the preprocessor without an optimization level + sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure + + # 2.26 build fix from wgnie (blfs ch 37) + sed -i 's/$(MOZ_ZLIB_CFLAGS)/& $(MOZ_PIXMAN_CFLAGS)/' config/config.mk +} + +build() { + cd "$pkgname-$pkgver" + + export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey-$pkgver" + export MOZ_MAKE_FLAGS="$MAKEFLAGS" + unset MAKEFLAGS + unset CPPFLAGS + + make -j1 -f client.mk build +} + +package() { + cd "$pkgname-$pkgver" + + make -j1 -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install + + rm -rf "$pkgdir"/usr/lib/seamonkey-$pkgver/{dictionaries,hyphenation} + ln -s /usr/share/hunspell "$pkgdir/usr/lib/seamonkey-$pkgver/dictionaries" + ln -s /usr/share/hyphen "$pkgdir/usr/lib/seamonkey-$pkgver/hyphenation" + + install -Dm644 suite/branding/nightly/icons/gtk/seamonkey.png \ + "$pkgdir/usr/share/pixmaps/seamonkey.png" + + install -Dm644 mozilla/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" + + rm -f "$pkgdir/usr/lib/pkgconfig/"seamonkey-ns{s,pr}.pc + #rm -r "$pkgdir"/usr/{include,lib/seamonkey-devel-$pkgver,share/idl} +} + Copied: seamonkey/repos/community-staging-i686/mozconfig (from rev 149396, seamonkey/trunk/mozconfig) =================================================================== --- community-staging-i686/mozconfig (rev 0) +++ community-staging-i686/mozconfig 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,36 @@ +ac_add_options --enable-application=suite + +ac_add_options --prefix=/usr +ac_add_options --libdir=/usr/lib + +# 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 --with-pthreads +ac_add_options --enable-system-pixman + +# 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 --disable-gnomevfs +ac_add_options --disable-crashreporter +ac_add_options --disable-updater +ac_add_options --disable-tests +ac_add_options --disable-installer + +export MOZILLA_OFFICIAL=1 Copied: seamonkey/repos/community-staging-i686/rhbz-966424.patch (from rev 149396, seamonkey/trunk/rhbz-966424.patch) =================================================================== --- community-staging-i686/rhbz-966424.patch (rev 0) +++ community-staging-i686/rhbz-966424.patch 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,23 @@ +--- a/toolkit/modules/CertUtils.jsm ++++ b/toolkit/modules/CertUtils.jsm +@@ -170,17 +170,19 @@ this.checkCert = + issuerCert = issuerCert.QueryInterface(Ci.nsIX509Cert3); + var tokenNames = issuerCert.getAllTokenNames({}); + + if (!tokenNames || !tokenNames.some(isBuiltinToken)) + throw new Ce(certNotBuiltInErr, Cr.NS_ERROR_ABORT); + } + + function isBuiltinToken(tokenName) { +- return tokenName == "Builtin Object Token"; ++ return tokenName == "Builtin Object Token" || ++ tokenName == "Default Trust" || ++ tokenName == "System Trust"; + } + + /** + * This class implements nsIBadCertListener. Its job is to prevent "bad cert" + * security dialogs from being shown to the user. It is better to simply fail + * if the certificate is bad. See bug 304286. + * + * @param aAllowNonBuiltInCerts (optional) Copied: seamonkey/repos/community-staging-i686/seamonkey-2.0-lang.patch (from rev 149396, seamonkey/trunk/seamonkey-2.0-lang.patch) =================================================================== --- community-staging-i686/seamonkey-2.0-lang.patch (rev 0) +++ community-staging-i686/seamonkey-2.0-lang.patch 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,11 @@ +--- comm-1.9.1/mozilla/modules/libpref/src/init/all.js 2009-10-11 02:12:44.000000000 +0200 ++++ comm-1.9.1/mozilla/modules/libpref/src/init/all.js 2009-09-16 02:56:45.000000000 +0200 +@@ -890,7 +890,7 @@ + pref("intl.charset.detector", "chrome://global/locale/intl.properties"); + pref("intl.charset.default", "chrome://global-platform/locale/intl.properties"); + pref("intl.ellipsis", "chrome://global-platform/locale/intl.properties"); +-pref("intl.locale.matchOS", false); ++pref("intl.locale.matchOS", true); + // fallback charset list for Unicode conversion (converting from Unicode) + // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes) + // for ISO-8859-1 Copied: seamonkey/repos/community-staging-i686/seamonkey.install (from rev 149396, seamonkey/trunk/seamonkey.install) =================================================================== --- community-staging-i686/seamonkey.install (rev 0) +++ community-staging-i686/seamonkey.install 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} Copied: seamonkey/repos/community-staging-x86_64/PKGBUILD (from rev 149396, seamonkey/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,78 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=seamonkey +pkgver=2.39 +pkgrel=2 +pkgdesc="SeaMonkey internet suite" +arch=('i686' 'x86_64') +license=('MPL') +depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hunspell' 'libevent' 'libnotify' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'nss' 'sqlite' 'startup-notification' 'libpulse' 'icu' 'gconf') +makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'yasm' 'wireless_tools' 'mesa' 'autoconf2.13' 'imake' 'python3' 'gstreamer0.10-base') +optdepends=('gstreamer0.10-base-plugins: vorbis decoding, ogg demuxing' + 'gstreamer0.10-bad-plugins: aac, vp8 and opus decoding' + 'gstreamer0.10-good-plugins: webm and mp4 demuxing' + 'gstreamer0.10-ugly-plugins: h.264 decoding') +install=$pkgname.install +url="http://www.seamonkey-project.org/" +source=(https://archive.mozilla.org/pub/mozilla.org/seamonkey/releases/$pkgver/source/seamonkey-$pkgver.source.tar.xz + mozconfig + seamonkey-2.0-lang.patch + rhbz-966424.patch) +md5sums=('eb571346b1ad00d3197d48aa0a906102' + '9b6d65e9b77acf9fd7c6e3578a5d2acd' + '25b6fe16ac24cd5c852213e5c1adb272' + '8c1578232b7a60fa1caa9a0b322d1e2b') + +prepare() { + cd "$pkgname-$pkgver" + cp ../mozconfig .mozconfig + #patch -Np1 -i ../seamonkey-2.0-lang.patch + + # https://bugs.archlinux.org/task/41689 + patch -Np1 -d mozilla -i ../../rhbz-966424.patch + + # Don't exit with error when some libs are missing which we have in + # system. + sed -i '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' suite/installer/Makefile.in + + # configure script misdetects the preprocessor without an optimization level + sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure + + # 2.26 build fix from wgnie (blfs ch 37) + sed -i 's/$(MOZ_ZLIB_CFLAGS)/& $(MOZ_PIXMAN_CFLAGS)/' config/config.mk +} + +build() { + cd "$pkgname-$pkgver" + + export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey-$pkgver" + export MOZ_MAKE_FLAGS="$MAKEFLAGS" + unset MAKEFLAGS + unset CPPFLAGS + + make -j1 -f client.mk build +} + +package() { + cd "$pkgname-$pkgver" + + make -j1 -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install + + rm -rf "$pkgdir"/usr/lib/seamonkey-$pkgver/{dictionaries,hyphenation} + ln -s /usr/share/hunspell "$pkgdir/usr/lib/seamonkey-$pkgver/dictionaries" + ln -s /usr/share/hyphen "$pkgdir/usr/lib/seamonkey-$pkgver/hyphenation" + + install -Dm644 suite/branding/nightly/icons/gtk/seamonkey.png \ + "$pkgdir/usr/share/pixmaps/seamonkey.png" + + install -Dm644 mozilla/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" + + rm -f "$pkgdir/usr/lib/pkgconfig/"seamonkey-ns{s,pr}.pc + #rm -r "$pkgdir"/usr/{include,lib/seamonkey-devel-$pkgver,share/idl} +} + Copied: seamonkey/repos/community-staging-x86_64/mozconfig (from rev 149396, seamonkey/trunk/mozconfig) =================================================================== --- community-staging-x86_64/mozconfig (rev 0) +++ community-staging-x86_64/mozconfig 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,36 @@ +ac_add_options --enable-application=suite + +ac_add_options --prefix=/usr +ac_add_options --libdir=/usr/lib + +# 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 --with-pthreads +ac_add_options --enable-system-pixman + +# 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 --disable-gnomevfs +ac_add_options --disable-crashreporter +ac_add_options --disable-updater +ac_add_options --disable-tests +ac_add_options --disable-installer + +export MOZILLA_OFFICIAL=1 Copied: seamonkey/repos/community-staging-x86_64/rhbz-966424.patch (from rev 149397, seamonkey/trunk/rhbz-966424.patch) =================================================================== --- community-staging-x86_64/rhbz-966424.patch (rev 0) +++ community-staging-x86_64/rhbz-966424.patch 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,23 @@ +--- a/toolkit/modules/CertUtils.jsm ++++ b/toolkit/modules/CertUtils.jsm +@@ -170,17 +170,19 @@ this.checkCert = + issuerCert = issuerCert.QueryInterface(Ci.nsIX509Cert3); + var tokenNames = issuerCert.getAllTokenNames({}); + + if (!tokenNames || !tokenNames.some(isBuiltinToken)) + throw new Ce(certNotBuiltInErr, Cr.NS_ERROR_ABORT); + } + + function isBuiltinToken(tokenName) { +- return tokenName == "Builtin Object Token"; ++ return tokenName == "Builtin Object Token" || ++ tokenName == "Default Trust" || ++ tokenName == "System Trust"; + } + + /** + * This class implements nsIBadCertListener. Its job is to prevent "bad cert" + * security dialogs from being shown to the user. It is better to simply fail + * if the certificate is bad. See bug 304286. + * + * @param aAllowNonBuiltInCerts (optional) Copied: seamonkey/repos/community-staging-x86_64/seamonkey-2.0-lang.patch (from rev 149397, seamonkey/trunk/seamonkey-2.0-lang.patch) =================================================================== --- community-staging-x86_64/seamonkey-2.0-lang.patch (rev 0) +++ community-staging-x86_64/seamonkey-2.0-lang.patch 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,11 @@ +--- comm-1.9.1/mozilla/modules/libpref/src/init/all.js 2009-10-11 02:12:44.000000000 +0200 ++++ comm-1.9.1/mozilla/modules/libpref/src/init/all.js 2009-09-16 02:56:45.000000000 +0200 +@@ -890,7 +890,7 @@ + pref("intl.charset.detector", "chrome://global/locale/intl.properties"); + pref("intl.charset.default", "chrome://global-platform/locale/intl.properties"); + pref("intl.ellipsis", "chrome://global-platform/locale/intl.properties"); +-pref("intl.locale.matchOS", false); ++pref("intl.locale.matchOS", true); + // fallback charset list for Unicode conversion (converting from Unicode) + // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes) + // for ISO-8859-1 Copied: seamonkey/repos/community-staging-x86_64/seamonkey.install (from rev 149397, seamonkey/trunk/seamonkey.install) =================================================================== --- community-staging-x86_64/seamonkey.install (rev 0) +++ community-staging-x86_64/seamonkey.install 2015-12-07 00:14:53 UTC (rev 149398) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +}