diff options
author | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
commit | 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch) | |
tree | f467412e09912ababcd8fe6c05193d829f514dcd /community/seamonkey | |
parent | 3009e8addb4a894329bf8ab3e8fb763361833978 (diff) |
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'community/seamonkey')
-rw-r--r-- | community/seamonkey/PKGBUILD | 56 | ||||
-rw-r--r-- | community/seamonkey/mozconfig | 31 | ||||
-rw-r--r-- | community/seamonkey/seamonkey-2.0-lang.patch | 11 | ||||
-rw-r--r-- | community/seamonkey/seamonkey.desktop | 11 | ||||
-rw-r--r-- | community/seamonkey/seamonkey.install | 12 |
5 files changed, 121 insertions, 0 deletions
diff --git a/community/seamonkey/PKGBUILD b/community/seamonkey/PKGBUILD new file mode 100644 index 000000000..2fbb4de62 --- /dev/null +++ b/community/seamonkey/PKGBUILD @@ -0,0 +1,56 @@ +# $Id: PKGBUILD 80730 2012-12-01 17:20:47Z kkeen $ +# Maintainer: Kyle Keen <keenerd@gmail.com> +pkgname=seamonkey +pkgver=2.14.1 +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') +makedepends=('unzip' 'zip' 'pkg-config' 'python2' 'yasm' 'wireless_tools' 'mesa' 'autoconf2.13' 'imake') +install=$pkgname.install +url="http://www.seamonkey-project.org/" +source=(ftp://releases.mozilla.org/pub/mozilla.org/$pkgname/releases/$pkgver/source/$pkgname-$pkgver.source.tar.bz2 + mozconfig + seamonkey.desktop + seamonkey-2.0-lang.patch) +md5sums=('19463b718446552d04130d01d25d7330' + 'dabc8f517fbff67b8599064bedd32606' + '6119a2254716752c9d08e366f8d4c048' + '25b6fe16ac24cd5c852213e5c1adb272') + +build() { + cd comm-release + cp ../mozconfig .mozconfig + patch -Np1 -i ../seamonkey-2.0-lang.patch + + export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey-$pkgver" + export MOZ_MAKE_FLAGS="$MAKEFLAGS" + unset MAKEFLAGS + + # Don't exit with error when some libs are missing which we have in + # system. + sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ + -i suite/installer/Makefile.in + + make -j1 -f client.mk build +} + +package() { + cd comm-release + + make -j1 -f client.mk DESTDIR="$pkgdir" 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 -m755 -d "$pkgdir/usr/share/applications" + install -m755 -d "$pkgdir/usr/share/pixmaps" + install -m644 suite/branding/nightly/icons/gtk/seamonkey.png \ + "$pkgdir/usr/share/pixmaps/" + install -m644 "$srcdir/seamonkey.desktop" "$pkgdir/usr/share/applications/" + + rm -f "$pkgdir/usr/lib/pkgconfig/"seamonkey-ns{s,pr}.pc + rm -r "$pkgdir"/usr/{include,lib/seamonkey-devel-$pkgver,share/idl} +} diff --git a/community/seamonkey/mozconfig b/community/seamonkey/mozconfig new file mode 100644 index 000000000..2131e894f --- /dev/null +++ b/community/seamonkey/mozconfig @@ -0,0 +1,31 @@ +ac_add_options --enable-application=suite + +ac_add_options --prefix=/usr +ac_add_options --libdir=/usr/lib + +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 + +# Features +ac_add_options --enable-startup-notification +ac_add_options --enable-safe-browsing +ac_add_options --enable-gio + +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 diff --git a/community/seamonkey/seamonkey-2.0-lang.patch b/community/seamonkey/seamonkey-2.0-lang.patch new file mode 100644 index 000000000..b9f4a5cde --- /dev/null +++ b/community/seamonkey/seamonkey-2.0-lang.patch @@ -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 diff --git a/community/seamonkey/seamonkey.desktop b/community/seamonkey/seamonkey.desktop new file mode 100644 index 000000000..dd92a2432 --- /dev/null +++ b/community/seamonkey/seamonkey.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=seamonkey %u +Icon=seamonkey +Type=Application +Terminal=false +MultipleArgs=false +Name=SeaMonkey internet suite +MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;message/rfc822;x-scheme-handler/mailto; +StartupNotify=false +Categories=Application;Network; diff --git a/community/seamonkey/seamonkey.install b/community/seamonkey/seamonkey.install new file mode 100644 index 000000000..709ad81f2 --- /dev/null +++ b/community/seamonkey/seamonkey.install @@ -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 +} |