diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /libre/seamonkey-libre |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'libre/seamonkey-libre')
-rw-r--r-- | libre/seamonkey-libre/PKGBUILD | 56 | ||||
-rw-r--r-- | libre/seamonkey-libre/gnuzilla-addons.patch | 29 | ||||
-rw-r--r-- | libre/seamonkey-libre/mozconfig | 30 | ||||
-rw-r--r-- | libre/seamonkey-libre/python27.patch | 11 | ||||
-rw-r--r-- | libre/seamonkey-libre/seamonkey-2.0-lang.patch | 11 | ||||
-rw-r--r-- | libre/seamonkey-libre/seamonkey-appversion.patch | 12 | ||||
-rw-r--r-- | libre/seamonkey-libre/seamonkey.desktop | 11 |
7 files changed, 160 insertions, 0 deletions
diff --git a/libre/seamonkey-libre/PKGBUILD b/libre/seamonkey-libre/PKGBUILD new file mode 100644 index 000000000..343f3e3ed --- /dev/null +++ b/libre/seamonkey-libre/PKGBUILD @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=seamonkey-libre +pkgver=2.0.12 +pkgrel=1 +pkgdesc="SeaMonkey internet suite, with GNUZilla addons" +arch=('i686' 'x86_64') +license=('MPL') +depends=('gtk2' 'mozilla-common' 'nss' 'libxt' 'gcc-libs' 'alsa-lib' 'dbus-glib') +makedepends=('zip' 'pkg-config' 'libgnomeui>=2.24.2' 'python2' 'libidl2' 'autoconf2.13') +replaces=('mozilla' 'seamonkey') +conflicts=('seamonkey') +provides=("seamonkey=$pkgver") +url="http://www.mozilla.org/projects/seamonkey" +source=(http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/${pkgver}/source/seamonkey-${pkgver}.source.tar.bz2 + mozconfig + seamonkey.desktop + seamonkey-appversion.patch + seamonkey-2.0-lang.patch + python27.patch + gnuzilla-addons.patch) +md5sums=('681328d58a71d23e52ebe986a8eca3fd' + '4978159e4921892e34dcd7e9804f0437' + '448848e65efcbf1b2be2873b66b6cd48' + 'a4275fc48361c80f676e96fdb28bd74e' + '25b6fe16ac24cd5c852213e5c1adb272' + '47e57931d65c71baafcf0e4f9160e876' + '178073b25aa41ffc601bcd9ddf1f69de') + +build() { + cd "${srcdir}/comm-1.9.1" + patch -Np1 -i "${srcdir}/seamonkey-appversion.patch" + patch -Np1 -i "${srcdir}/seamonkey-2.0-lang.patch" + patch -Np0 -i "${srcdir}/python27.patch" + + pushd suite/browser >/dev/null + patch -Np0 -i "${srcdir}/gnuzilla-addons.patch" + popd >/dev/null + + cp "${srcdir}/mozconfig" .mozconfig + unset CFLAGS + unset CXXFLAGS + + export LDFLAGS="-Wl,-rpath,/usr/lib/seamonkey-2.0" + + make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}" + make -j1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/applications" + install -m755 -d "${pkgdir}/usr/share/pixmaps" + install -m644 "${srcdir}/comm-1.9.1/suite/branding/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 +} diff --git a/libre/seamonkey-libre/gnuzilla-addons.patch b/libre/seamonkey-libre/gnuzilla-addons.patch new file mode 100644 index 000000000..6cf586e7a --- /dev/null +++ b/libre/seamonkey-libre/gnuzilla-addons.patch @@ -0,0 +1,29 @@ +--- usr/lib/seamonkey-2.0/defaults/pref/browser-prefs.js 2011-03-03 06:47:16.000000000 -0300 ++++ browser-prefs.js 2011-03-08 12:02:29.616789776 -0300 +@@ -465,12 +465,12 @@ + + // Preferences for the Get Add-ons pane + pref("extensions.getAddons.showPane", true); +-pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/%LOCALE%/%APP%"); ++pref("extensions.getAddons.browseAddons", "http://www.gnu.org/software/gnuzilla/addons.html"); + pref("extensions.getAddons.maxResults", 5); +-pref("extensions.getAddons.recommended.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/recommended"); +-pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/featured/all/10/%OS%/%VERSION%"); +-pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search?q=%TERMS%"); +-pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/10/%OS%/%VERSION%"); ++pref("extensions.getAddons.recommended.browseURL", "http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.recommended.url", "http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.search.browseURL", "http://www.gnu.org/software/gnuzilla/addons.html"); ++pref("extensions.getAddons.search.url", "http://www.gnu.org/software/gnuzilla/addons.html"); + + // Non-symmetric (not shared by extensions) extension-specific [update] preferences + pref("extensions.getMoreExtensionsURL", "chrome://branding/locale/brand.properties"); +@@ -557,7 +557,7 @@ + // Disables default plugin for Plugin Finder Service + pref("plugin.default_plugin_disabled", true); + // plugin finder service url +-pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%"); ++pref("pfs.datasource.url", "http://www.gnu.org/software/gnuzilla/addons.html"); + pref("plugins.hide_infobar_for_missing_plugin", false); + + //@line 584 "/build/src/comm-1.9.1/suite/browser/browser-prefs.js" diff --git a/libre/seamonkey-libre/mozconfig b/libre/seamonkey-libre/mozconfig new file mode 100644 index 000000000..4eb1b51ea --- /dev/null +++ b/libre/seamonkey-libre/mozconfig @@ -0,0 +1,30 @@ +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-png +ac_add_options --with-pthreads +ac_add_options --disable-tests +ac_add_options --disable-debug +ac_add_options --disable-installer +ac_add_options --disable-crashreporter +ac_add_options --enable-optimize +ac_add_options --enable-xinerama +ac_add_options --enable-default-toolkit=cairo-gtk2 +ac_add_options --disable-xprint +ac_add_options --enable-strip +ac_add_options --enable-pango +#disabled due to bugs with cairo 1.10 +#ac_add_options --enable-system-cairo +ac_add_options --enable-svg +ac_add_options --enable-canvas +ac_add_options --prefix=/usr +ac_add_options --mandir=/usr/share/man +ac_add_options --enable-crypto +ac_add_options --enable-application=suite +ac_cv_visibility_pragma=no + +export BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 +mk_add_options BUILD_OFFICIAL=1 +mk_add_options MOZILLA_OFFICIAL=1 diff --git a/libre/seamonkey-libre/python27.patch b/libre/seamonkey-libre/python27.patch new file mode 100644 index 000000000..f00681fd2 --- /dev/null +++ b/libre/seamonkey-libre/python27.patch @@ -0,0 +1,11 @@ +--- configure.in~ 2010-10-20 17:43:42.843358798 -0700 ++++ configure.in 2010-10-20 17:43:16.373359032 -0700 +@@ -874,7 +874,7 @@ + AC_MSG_RESULT([yes]) + fi + +-AC_PATH_PROGS(PYTHON, $PYTHON python2.5 python2.4 python) ++AC_PATH_PROGS(PYTHON, $PYTHON python2.7 python2.5 python2.4 python) + if test -z "$PYTHON"; then + AC_MSG_ERROR([python was not found in \$PATH]) + fi diff --git a/libre/seamonkey-libre/seamonkey-2.0-lang.patch b/libre/seamonkey-libre/seamonkey-2.0-lang.patch new file mode 100644 index 000000000..b9f4a5cde --- /dev/null +++ b/libre/seamonkey-libre/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/libre/seamonkey-libre/seamonkey-appversion.patch b/libre/seamonkey-libre/seamonkey-appversion.patch new file mode 100644 index 000000000..0c34cf477 --- /dev/null +++ b/libre/seamonkey-libre/seamonkey-appversion.patch @@ -0,0 +1,12 @@ +diff -Nur comm-1.9.1.orig/suite/installer/Makefile.in comm-1.9.1/suite/installer/Makefile.in +--- comm-1.9.1.orig/suite/installer/Makefile.in 2010-01-04 23:01:34.000000000 +0200 ++++ comm-1.9.1/suite/installer/Makefile.in 2010-01-11 22:38:44.000000000 +0200 +@@ -42,6 +42,8 @@ + + include $(DEPTH)/config/autoconf.mk + ++MOZ_APP_VERSION="2.0" ++ + NO_PKG_FILES = \ + $(MOZ_APP_NAME)-config \ + xpcshell* \ diff --git a/libre/seamonkey-libre/seamonkey.desktop b/libre/seamonkey-libre/seamonkey.desktop new file mode 100644 index 000000000..084082aea --- /dev/null +++ b/libre/seamonkey-libre/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 +StartupNotify=false +Categories=Application;Network; |