Date: Thursday, June 16, 2016 @ 05:14:43 Author: kkeen Revision: 180309
archrelease: copy trunk to community-i686, community-x86_64 Added: seamonkey/repos/community-i686/PKGBUILD (from rev 180308, seamonkey/trunk/PKGBUILD) seamonkey/repos/community-i686/mozconfig (from rev 180308, seamonkey/trunk/mozconfig) seamonkey/repos/community-i686/mozilla-1245076-1.patch (from rev 180308, seamonkey/trunk/mozilla-1245076-1.patch) seamonkey/repos/community-i686/mozilla-1245076.patch (from rev 180308, seamonkey/trunk/mozilla-1245076.patch) seamonkey/repos/community-i686/rhbz-966424.patch (from rev 180308, seamonkey/trunk/rhbz-966424.patch) seamonkey/repos/community-i686/seamonkey-2.0-lang.patch (from rev 180308, seamonkey/trunk/seamonkey-2.0-lang.patch) seamonkey/repos/community-i686/seamonkey.install (from rev 180308, seamonkey/trunk/seamonkey.install) seamonkey/repos/community-x86_64/PKGBUILD (from rev 180308, seamonkey/trunk/PKGBUILD) seamonkey/repos/community-x86_64/mozconfig (from rev 180308, seamonkey/trunk/mozconfig) seamonkey/repos/community-x86_64/mozilla-1245076-1.patch (from rev 180308, seamonkey/trunk/mozilla-1245076-1.patch) seamonkey/repos/community-x86_64/mozilla-1245076.patch (from rev 180308, seamonkey/trunk/mozilla-1245076.patch) seamonkey/repos/community-x86_64/rhbz-966424.patch (from rev 180308, seamonkey/trunk/rhbz-966424.patch) seamonkey/repos/community-x86_64/seamonkey-2.0-lang.patch (from rev 180308, seamonkey/trunk/seamonkey-2.0-lang.patch) seamonkey/repos/community-x86_64/seamonkey.install (from rev 180308, seamonkey/trunk/seamonkey.install) Deleted: seamonkey/repos/community-i686/PKGBUILD seamonkey/repos/community-i686/mozconfig seamonkey/repos/community-i686/rhbz-966424.patch seamonkey/repos/community-i686/seamonkey-2.0-lang.patch seamonkey/repos/community-i686/seamonkey.install seamonkey/repos/community-x86_64/PKGBUILD seamonkey/repos/community-x86_64/mozconfig seamonkey/repos/community-x86_64/rhbz-966424.patch seamonkey/repos/community-x86_64/seamonkey-2.0-lang.patch seamonkey/repos/community-x86_64/seamonkey.install -------------------------------------------+ /PKGBUILD | 178 ++++++++++++++++++++++++++++ /mozconfig | 72 +++++++++++ /rhbz-966424.patch | 46 +++++++ /seamonkey-2.0-lang.patch | 22 +++ /seamonkey.install | 24 +++ community-i686/PKGBUILD | 81 ------------ community-i686/mozconfig | 36 ----- community-i686/mozilla-1245076-1.patch | 49 +++++++ community-i686/mozilla-1245076.patch | 23 +++ community-i686/rhbz-966424.patch | 23 --- community-i686/seamonkey-2.0-lang.patch | 11 - community-i686/seamonkey.install | 12 - community-x86_64/PKGBUILD | 81 ------------ community-x86_64/mozconfig | 36 ----- community-x86_64/mozilla-1245076-1.patch | 49 +++++++ community-x86_64/mozilla-1245076.patch | 23 +++ community-x86_64/rhbz-966424.patch | 23 --- community-x86_64/seamonkey-2.0-lang.patch | 11 - community-x86_64/seamonkey.install | 12 - 19 files changed, 486 insertions(+), 326 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-06-16 05:13:58 UTC (rev 180308) +++ community-i686/PKGBUILD 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,81 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> - -pkgname=seamonkey -pkgver=2.40 -pkgrel=1 -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' 'gst-plugins-base') -optdepends=('gst-plugins-base: vorbis decoding, ogg demuxing' - 'gst-plugins-bad: aac, vp8 and opus decoding' - 'gst-plugins-good: webm and mp4 demuxing' - 'gst-plugins-ugly: 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=('5789df8f96e14577c275f10fdf8462f3' - '9b6d65e9b77acf9fd7c6e3578a5d2acd' - '25b6fe16ac24cd5c852213e5c1adb272' - '8c1578232b7a60fa1caa9a0b322d1e2b') - -prepare() { - cd "$pkgname-$pkgver" - cp ../mozconfig .mozconfig - #patch -Np1 -i ../seamonkey-2.0-lang.patch - - # FS#48404 - echo "ac_add_options --enable-gstreamer=1.0" >> .mozconfig - - # 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-i686/PKGBUILD (from rev 180308, seamonkey/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-06-16 05:14:43 UTC (rev 180309) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=seamonkey +pkgver=2.40 +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' 'gst-plugins-base') +optdepends=('gst-plugins-base: vorbis decoding, ogg demuxing' + 'gst-plugins-bad: aac, vp8 and opus decoding' + 'gst-plugins-good: webm and mp4 demuxing' + 'gst-plugins-ugly: 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 + mozilla-1245076.patch + mozilla-1245076-1.patch) +md5sums=('5789df8f96e14577c275f10fdf8462f3' + '9b6d65e9b77acf9fd7c6e3578a5d2acd' + '25b6fe16ac24cd5c852213e5c1adb272' + '8c1578232b7a60fa1caa9a0b322d1e2b' + '43550e772f110a338d5a42914ee2c3a6' + '772aac58e3a7e8a32bedd898bc35dc90') + +prepare() { + cd "$pkgname-$pkgver" + cp ../mozconfig .mozconfig + #patch -Np1 -i ../seamonkey-2.0-lang.patch + + # FS#48404 + echo "ac_add_options --enable-gstreamer=1.0" >> .mozconfig + + # 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 + + # GCC 6 + patch -Np1 -d mozilla -i ../../mozilla-1245076.patch + patch -Np1 -d mozilla -i ../../mozilla-1245076-1.patch +} + +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} +} + Deleted: community-i686/mozconfig =================================================================== --- community-i686/mozconfig 2016-06-16 05:13:58 UTC (rev 180308) +++ community-i686/mozconfig 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,36 +0,0 @@ -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-i686/mozconfig (from rev 180308, seamonkey/trunk/mozconfig) =================================================================== --- community-i686/mozconfig (rev 0) +++ community-i686/mozconfig 2016-06-16 05:14:43 UTC (rev 180309) @@ -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-i686/mozilla-1245076-1.patch (from rev 180308, seamonkey/trunk/mozilla-1245076-1.patch) =================================================================== --- community-i686/mozilla-1245076-1.patch (rev 0) +++ community-i686/mozilla-1245076-1.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -0,0 +1,49 @@ +diff --git a/config/gcc-stl-wrapper.template.h b/config/gcc-stl-wrapper.template.h +--- a/config/gcc-stl-wrapper.template.h ++++ b/config/gcc-stl-wrapper.template.h +@@ -12,33 +12,39 @@ + // compiling ObjC. + #if defined(__EXCEPTIONS) && __EXCEPTIONS && !(__OBJC__ && __GNUC__ && XP_IOS) + # error "STL code can only be used with -fno-exceptions" + #endif + + // Silence "warning: #include_next is a GCC extension" + #pragma GCC system_header + ++#ifndef moz_dont_include_mozalloc_for_cstdlib ++# define moz_dont_include_mozalloc_for_cstdlib ++#endif ++#ifndef moz_dont_include_mozalloc_for_${HEADER} + // mozalloc.h wants <new>; break the cycle by always explicitly + // including <new> here. NB: this is a tad sneaky. Sez the gcc docs: + // + // `#include_next' does not distinguish between <file> and "file" + // inclusion, nor does it check that the file you specify has the + // same name as the current file. It simply looks for the file + // named, starting with the directory in the search path after the + // one where the current file was found. +-#include_next <new> ++# include_next <new> + + // See if we're in code that can use mozalloc. NB: this duplicates + // code in nscore.h because nscore.h pulls in prtypes.h, and chromium + // can't build with that being included before base/basictypes.h. +-#if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC) +-# include "mozilla/mozalloc.h" +-#else +-# error "STL code can only be used with infallible ::operator new()" ++# if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC) ++# include "mozilla/mozalloc.h" ++# else ++# error "STL code can only be used with infallible ::operator new()" ++# endif ++ + #endif + + #if defined(DEBUG) && !defined(_GLIBCXX_DEBUG) + // Enable checked iterators and other goodies + // + // FIXME/bug 551254: gcc's debug STL implementation requires -frtti. + // Figure out how to resolve this with -fno-rtti. Maybe build with + // -frtti in DEBUG builds? + Copied: seamonkey/repos/community-i686/mozilla-1245076.patch (from rev 180308, seamonkey/trunk/mozilla-1245076.patch) =================================================================== --- community-i686/mozilla-1245076.patch (rev 0) +++ community-i686/mozilla-1245076.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -0,0 +1,23 @@ +diff --git a/gfx/graphite2/src/Collider.cpp b/gfx/graphite2/src/Collider.cpp +--- a/gfx/graphite2/src/Collider.cpp ++++ b/gfx/graphite2/src/Collider.cpp +@@ -21,17 +21,17 @@ + + Alternatively, the contents of this file may be used under the terms of the + Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public + License, as published by the Free Software Foundation, either version 2 + of the License or (at your option) any later version. + */ + #include <algorithm> + #include <limits> +-#include <math.h> ++#include <cmath> + #include <string> + #include <functional> + #include "inc/Collider.h" + #include "inc/Segment.h" + #include "inc/Slot.h" + #include "inc/GlyphCache.h" + #include "inc/Sparse.h" + + Deleted: community-i686/rhbz-966424.patch =================================================================== --- community-i686/rhbz-966424.patch 2016-06-16 05:13:58 UTC (rev 180308) +++ community-i686/rhbz-966424.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,23 +0,0 @@ ---- 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-i686/rhbz-966424.patch (from rev 180308, seamonkey/trunk/rhbz-966424.patch) =================================================================== --- community-i686/rhbz-966424.patch (rev 0) +++ community-i686/rhbz-966424.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -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) Deleted: community-i686/seamonkey-2.0-lang.patch =================================================================== --- community-i686/seamonkey-2.0-lang.patch 2016-06-16 05:13:58 UTC (rev 180308) +++ community-i686/seamonkey-2.0-lang.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,11 +0,0 @@ ---- 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-i686/seamonkey-2.0-lang.patch (from rev 180308, seamonkey/trunk/seamonkey-2.0-lang.patch) =================================================================== --- community-i686/seamonkey-2.0-lang.patch (rev 0) +++ community-i686/seamonkey-2.0-lang.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -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 Deleted: community-i686/seamonkey.install =================================================================== --- community-i686/seamonkey.install 2016-06-16 05:13:58 UTC (rev 180308) +++ community-i686/seamonkey.install 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,12 +0,0 @@ -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-i686/seamonkey.install (from rev 180308, seamonkey/trunk/seamonkey.install) =================================================================== --- community-i686/seamonkey.install (rev 0) +++ community-i686/seamonkey.install 2016-06-16 05:14:43 UTC (rev 180309) @@ -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 +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-06-16 05:13:58 UTC (rev 180308) +++ community-x86_64/PKGBUILD 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,81 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> - -pkgname=seamonkey -pkgver=2.40 -pkgrel=1 -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' 'gst-plugins-base') -optdepends=('gst-plugins-base: vorbis decoding, ogg demuxing' - 'gst-plugins-bad: aac, vp8 and opus decoding' - 'gst-plugins-good: webm and mp4 demuxing' - 'gst-plugins-ugly: 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=('5789df8f96e14577c275f10fdf8462f3' - '9b6d65e9b77acf9fd7c6e3578a5d2acd' - '25b6fe16ac24cd5c852213e5c1adb272' - '8c1578232b7a60fa1caa9a0b322d1e2b') - -prepare() { - cd "$pkgname-$pkgver" - cp ../mozconfig .mozconfig - #patch -Np1 -i ../seamonkey-2.0-lang.patch - - # FS#48404 - echo "ac_add_options --enable-gstreamer=1.0" >> .mozconfig - - # 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-x86_64/PKGBUILD (from rev 180308, seamonkey/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-06-16 05:14:43 UTC (rev 180309) @@ -0,0 +1,89 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=seamonkey +pkgver=2.40 +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' 'gst-plugins-base') +optdepends=('gst-plugins-base: vorbis decoding, ogg demuxing' + 'gst-plugins-bad: aac, vp8 and opus decoding' + 'gst-plugins-good: webm and mp4 demuxing' + 'gst-plugins-ugly: 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 + mozilla-1245076.patch + mozilla-1245076-1.patch) +md5sums=('5789df8f96e14577c275f10fdf8462f3' + '9b6d65e9b77acf9fd7c6e3578a5d2acd' + '25b6fe16ac24cd5c852213e5c1adb272' + '8c1578232b7a60fa1caa9a0b322d1e2b' + '43550e772f110a338d5a42914ee2c3a6' + '772aac58e3a7e8a32bedd898bc35dc90') + +prepare() { + cd "$pkgname-$pkgver" + cp ../mozconfig .mozconfig + #patch -Np1 -i ../seamonkey-2.0-lang.patch + + # FS#48404 + echo "ac_add_options --enable-gstreamer=1.0" >> .mozconfig + + # 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 + + # GCC 6 + patch -Np1 -d mozilla -i ../../mozilla-1245076.patch + patch -Np1 -d mozilla -i ../../mozilla-1245076-1.patch +} + +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} +} + Deleted: community-x86_64/mozconfig =================================================================== --- community-x86_64/mozconfig 2016-06-16 05:13:58 UTC (rev 180308) +++ community-x86_64/mozconfig 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,36 +0,0 @@ -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-x86_64/mozconfig (from rev 180308, seamonkey/trunk/mozconfig) =================================================================== --- community-x86_64/mozconfig (rev 0) +++ community-x86_64/mozconfig 2016-06-16 05:14:43 UTC (rev 180309) @@ -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-x86_64/mozilla-1245076-1.patch (from rev 180308, seamonkey/trunk/mozilla-1245076-1.patch) =================================================================== --- community-x86_64/mozilla-1245076-1.patch (rev 0) +++ community-x86_64/mozilla-1245076-1.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -0,0 +1,49 @@ +diff --git a/config/gcc-stl-wrapper.template.h b/config/gcc-stl-wrapper.template.h +--- a/config/gcc-stl-wrapper.template.h ++++ b/config/gcc-stl-wrapper.template.h +@@ -12,33 +12,39 @@ + // compiling ObjC. + #if defined(__EXCEPTIONS) && __EXCEPTIONS && !(__OBJC__ && __GNUC__ && XP_IOS) + # error "STL code can only be used with -fno-exceptions" + #endif + + // Silence "warning: #include_next is a GCC extension" + #pragma GCC system_header + ++#ifndef moz_dont_include_mozalloc_for_cstdlib ++# define moz_dont_include_mozalloc_for_cstdlib ++#endif ++#ifndef moz_dont_include_mozalloc_for_${HEADER} + // mozalloc.h wants <new>; break the cycle by always explicitly + // including <new> here. NB: this is a tad sneaky. Sez the gcc docs: + // + // `#include_next' does not distinguish between <file> and "file" + // inclusion, nor does it check that the file you specify has the + // same name as the current file. It simply looks for the file + // named, starting with the directory in the search path after the + // one where the current file was found. +-#include_next <new> ++# include_next <new> + + // See if we're in code that can use mozalloc. NB: this duplicates + // code in nscore.h because nscore.h pulls in prtypes.h, and chromium + // can't build with that being included before base/basictypes.h. +-#if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC) +-# include "mozilla/mozalloc.h" +-#else +-# error "STL code can only be used with infallible ::operator new()" ++# if !defined(XPCOM_GLUE) && !defined(NS_NO_XPCOM) && !defined(MOZ_NO_MOZALLOC) ++# include "mozilla/mozalloc.h" ++# else ++# error "STL code can only be used with infallible ::operator new()" ++# endif ++ + #endif + + #if defined(DEBUG) && !defined(_GLIBCXX_DEBUG) + // Enable checked iterators and other goodies + // + // FIXME/bug 551254: gcc's debug STL implementation requires -frtti. + // Figure out how to resolve this with -fno-rtti. Maybe build with + // -frtti in DEBUG builds? + Copied: seamonkey/repos/community-x86_64/mozilla-1245076.patch (from rev 180308, seamonkey/trunk/mozilla-1245076.patch) =================================================================== --- community-x86_64/mozilla-1245076.patch (rev 0) +++ community-x86_64/mozilla-1245076.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -0,0 +1,23 @@ +diff --git a/gfx/graphite2/src/Collider.cpp b/gfx/graphite2/src/Collider.cpp +--- a/gfx/graphite2/src/Collider.cpp ++++ b/gfx/graphite2/src/Collider.cpp +@@ -21,17 +21,17 @@ + + Alternatively, the contents of this file may be used under the terms of the + Mozilla Public License (http://mozilla.org/MPL) or the GNU General Public + License, as published by the Free Software Foundation, either version 2 + of the License or (at your option) any later version. + */ + #include <algorithm> + #include <limits> +-#include <math.h> ++#include <cmath> + #include <string> + #include <functional> + #include "inc/Collider.h" + #include "inc/Segment.h" + #include "inc/Slot.h" + #include "inc/GlyphCache.h" + #include "inc/Sparse.h" + + Deleted: community-x86_64/rhbz-966424.patch =================================================================== --- community-x86_64/rhbz-966424.patch 2016-06-16 05:13:58 UTC (rev 180308) +++ community-x86_64/rhbz-966424.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,23 +0,0 @@ ---- 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-x86_64/rhbz-966424.patch (from rev 180308, seamonkey/trunk/rhbz-966424.patch) =================================================================== --- community-x86_64/rhbz-966424.patch (rev 0) +++ community-x86_64/rhbz-966424.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -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) Deleted: community-x86_64/seamonkey-2.0-lang.patch =================================================================== --- community-x86_64/seamonkey-2.0-lang.patch 2016-06-16 05:13:58 UTC (rev 180308) +++ community-x86_64/seamonkey-2.0-lang.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,11 +0,0 @@ ---- 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-x86_64/seamonkey-2.0-lang.patch (from rev 180308, seamonkey/trunk/seamonkey-2.0-lang.patch) =================================================================== --- community-x86_64/seamonkey-2.0-lang.patch (rev 0) +++ community-x86_64/seamonkey-2.0-lang.patch 2016-06-16 05:14:43 UTC (rev 180309) @@ -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 Deleted: community-x86_64/seamonkey.install =================================================================== --- community-x86_64/seamonkey.install 2016-06-16 05:13:58 UTC (rev 180308) +++ community-x86_64/seamonkey.install 2016-06-16 05:14:43 UTC (rev 180309) @@ -1,12 +0,0 @@ -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-x86_64/seamonkey.install (from rev 180308, seamonkey/trunk/seamonkey.install) =================================================================== --- community-x86_64/seamonkey.install (rev 0) +++ community-x86_64/seamonkey.install 2016-06-16 05:14:43 UTC (rev 180309) @@ -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 +}