[arch-commits] Commit in seamonkey/trunk (PKGBUILD mozconfig)

Ionut Biru ibiru at archlinux.org
Sat Jun 9 09:37:27 UTC 2012


    Date: Saturday, June 9, 2012 @ 05:37:27
  Author: ibiru
Revision: 161320

update to 2.10

Modified:
  seamonkey/trunk/PKGBUILD
  seamonkey/trunk/mozconfig

-----------+
 PKGBUILD  |   27 ++++++++++++++++++---------
 mozconfig |    5 -----
 2 files changed, 18 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-09 07:38:36 UTC (rev 161319)
+++ PKGBUILD	2012-06-09 09:37:27 UTC (rev 161320)
@@ -7,7 +7,7 @@
 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')
+makedepends=('unzip' 'zip' 'pkg-config'  'python2' 'yasm' 'wireless_tools' 'mesa' 'autoconf2.13' 'imake' 'gcc4.6')
 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
@@ -15,28 +15,37 @@
         seamonkey.desktop
         seamonkey-2.0-lang.patch)
 md5sums=('c2c41a12107a67e5eedef06d50e26c56'
-         'b8887c39a190e3168a9c7e4355ae3dd4'
+         'dabc8f517fbff67b8599064bedd32606'
          '6119a2254716752c9d08e366f8d4c048'
          '25b6fe16ac24cd5c852213e5c1adb272')
 
 build() {
-  cd "$srcdir/comm-release"
-  patch -Np1 -i "$srcdir/seamonkey-2.0-lang.patch"
+  cd comm-release
+  cp ../mozconfig .mozconfig
+  patch -Np1 -i ../seamonkey-2.0-lang.patch
 
-  cp "$srcdir/mozconfig" .mozconfig
+  export CC=gcc-4.6
+  export CXX=g++-4.6
   export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/seamonkey-$pkgver"
+  export MOZ_MAKE_FLAGS="$MAKEFLAGS"
+  unset MAKEFLAGS
 
-  make -j1 -f client.mk build MOZ_MAKE_FLAGS="$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 "$srcdir/comm-release"
+  cd comm-release
 
   make -j1 -f client.mk DESTDIR="$pkgdir" install
 
   rm -rf "$pkgdir"/usr/lib/seamonkey-$pkgver/{dictionaries,hyphenation}
-  ln -sf /usr/share/hunspell "$pkgdir/usr/lib/seamonkey-$pkgver/dictionaries"
-  ln -sf /usr/share/hyphen "$pkgdir/usr/lib/seamonkey-$pkgver/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"

Modified: mozconfig
===================================================================
--- mozconfig	2012-06-09 07:38:36 UTC (rev 161319)
+++ mozconfig	2012-06-09 09:37:27 UTC (rev 161320)
@@ -26,11 +26,6 @@
 ac_add_options --disable-crashreporter
 ac_add_options --disable-updater
 ac_add_options --disable-tests
-ac_add_options --disable-mochitest
 ac_add_options --disable-installer
 
-# Optimization
-ac_add_options --enable-optimize
-
 export MOZILLA_OFFICIAL=1
-mk_add_options MOZILLA_OFFICIAL=1




More information about the arch-commits mailing list