[Lunar-commits] <moonbase> seamonkey/thunderbird: fix crash on start and quit I changed date of updated field to force rebuild. Similar optimization like for firefox and thunderbird.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Tue Mar 27 22:43:29 CEST 2012


commit 67d5e5dec68e4f7fb1300b7d834d4c3ec6f438ff
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Tue Mar 27 22:43:29 2012 +0200

    seamonkey/thunderbird: fix crash on start and quit
    I changed date of updated field to force rebuild.
    Similar optimization like for firefox and thunderbird.
---
 web/seamonkey/BUILD     |   27 ++++++++++++++++++---------
 web/seamonkey/DEPENDS   |    1 +
 web/seamonkey/DETAILS   |    3 +--
 web/seamonkey/mozconfig |   16 +++++-----------
 4 files changed, 25 insertions(+), 22 deletions(-)

diff --git a/web/seamonkey/BUILD b/web/seamonkey/BUILD
index 011465c..b6ac1ce 100644
--- a/web/seamonkey/BUILD
+++ b/web/seamonkey/BUILD
@@ -15,14 +15,13 @@
   export MOZILLA_OFFICIAL=1  &&
   export BUILD_OFFICIAL=1  &&
   export MOZ_MAKE_FILES=$MAKES  &&
+  export MOZ_OPTIMIZE_FLAGS="$CFLAGS" &&
+  export MOZ_DEBUG_FLAGS="$CFLAGS" &&
 
   cp $SCRIPT_DIRECTORY/mozconfig .  &&
   export MOZ_OBJDIR="${SOURCE_DIRECTORY}/build-mozilla"  &&
   mkdir -p ${MOZ_OBJDIR}  &&
 
-  echo "ac_add_options --disable-necko-wifi" >> mozconfig  &&
-  echo "ac_add_options --disable-system-sqlite" >> mozconfig  &&
-
   #Add DEPENDS options
 
   if in_depends $MODULE gnome-vfs ; then
@@ -43,10 +42,14 @@
     echo "ac_add_options --disable-dbus" >> mozconfig
   fi  &&
 
+  if in_depends $MODULE libffi ; then
+    echo "ac_add_options --enable-system-ffi" >> mozconfig
+  else
+    echo "ac_add_options --disable-system-ffi" >> mozconfig
+  fi  &&
+
   if in_depends $MODULE sun-jdk ; then
-    echo "ac_add_options --with-java-include-path=/usr/java/default/include" >> mozconfig  &&
-    echo "ac_add_options --with-java-bin-path=/usr/java/default/bin" >> mozconfig  &&
-    echo "ac_add_options --enable-javaxpcom" >> mozconfig
+    echo "ac_add_options --with-java-bin-path=/usr/java/default/bin" >> mozconfig
   fi  &&
 
   #Add CONFIGURE options
@@ -55,6 +58,12 @@
     echo "ac_add_options --enable-safe-browsing" >> mozconfig
   fi  &&
 
+  if in_depends $MODULE openldap ; then
+    echo "ac_add_options --enable-ldap" >> mozconfig
+  else
+    echo "ac_add_options --disable-ldap" >> mozconfig
+  fi  &&
+
   setterm -bfreq -blength &&
 
   #Finally, the build!
@@ -63,10 +72,10 @@
     export CCACHE_DISABLE=1  &&
     echo "ac_add_options --enable-profile-guided-optimization" >> mozconfig  &&
     echo "mk_add_options PROFILE_GEN_SCRIPT='python $MOZ_OBJDIR/_profile/pgo/profileserver.py'" >> mozconfig  &&
-    make -f client.mk build &&
-    make -f client.mk profiledbuild
+    make -f client.mk build ${MAKES:+-j${MAKES}} &&
+    make -f client.mk profiledbuild ${MAKES:+-j${MAKES}}
   else
-    make -f client.mk build
+    make -f client.mk build ${MAKES:+-j${MAKES}}
   fi  &&
 
   cd ${MOZ_OBJDIR}  &&
diff --git a/web/seamonkey/DEPENDS b/web/seamonkey/DEPENDS
index d24bc66..2ce3d6f 100644
--- a/web/seamonkey/DEPENDS
+++ b/web/seamonkey/DEPENDS
@@ -22,6 +22,7 @@ optional_depends "hunspell"         "--enable-system-hunspell"  "--disable-syste
 # $OPTS is ignored in this BUILD
 optional_depends "libevent"         ""  ""  "For event detection"
 optional_depends "dbus-glib"        ""  ""  "For dbus support"
+optional_depends "libffi" "" "" "Use system libffi instead of compiling the one in firefox"
 
 optional_depends "startup-notification"  "--enable-startup-notification"  ""  \
                  "To enable startup notification"
diff --git a/web/seamonkey/DETAILS b/web/seamonkey/DETAILS
index fb53fe7..e85d157 100644
--- a/web/seamonkey/DETAILS
+++ b/web/seamonkey/DETAILS
@@ -8,8 +8,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/comm-release
       SOURCE_VFY=sha1:8f5ef8cb2a3ac495add99fb3394d8c007a5d91af
         WEB_SITE=http://www.seamonkey-project.org
          ENTERED=20051208
-         UPDATED=20120314
-      MAINTAINER=zbiggy at o2.pl
+         UPDATED=20120326
            SHORT="Seamonkey is a next generation mozilla web browser"
 
 cat << EOF
diff --git a/web/seamonkey/mozconfig b/web/seamonkey/mozconfig
index a3a47b0..c1721ef 100644
--- a/web/seamonkey/mozconfig
+++ b/web/seamonkey/mozconfig
@@ -7,17 +7,13 @@ ac_add_options --with-system-zlib
 ac_add_options --with-system-jpeg
 ac_add_options --with-system-bz2
 ac_add_options --enable-storage
-ac_add_options --enable-places
 ac_add_options --enable-application=suite
 ac_add_options --enable-default-toolkit=cairo-gtk2
 ac_add_options --enable-optimize="$CFLAGS"
 ac_add_options --enable-crypto
 ac_add_options --enable-strip
-ac_add_options --enable-canvas
-ac_add_options --enable-svg
 ac_add_options --enable-system-cairo
 ac_add_options --enable-xterm-updates
-ac_add_options --enable-libxul
 ac_add_options --enable-official-branding
 ac_add_options --enable-jemalloc
 ac_add_options --disable-debug
@@ -26,18 +22,16 @@ ac_add_options --disable-installer
 ac_add_options --disable-pedantic
 ac_add_options --disable-logging
 ac_add_options --disable-accessibility
-ac_add_options --enable-mathml
+ac_add_options --disable-updater
 ac_add_options --disable-os2-high-mem
 ac_add_options --enable-gio
 ac_add_options --enable-raw
 ac_add_options --with-system-libvpx
-ac_add_options --enable-splashscreen
 ac_add_options --enable-shared-js
 ac_add_options --enable-system-pixman
-ac_add_options --enable-image-decoders=all
-ac_add_options --enable-image-encoders=all
 ac_add_options --enable-calendar
-ac_add_options --enable-functiontimer
-ac_add_options --enable-timeline
 ac_add_options --enable-tree-freetype
-ac_add_options --enable-faststart
+ac_add_options --enable-static-mail
+ac_add_options --disable-crashreporter
+ac_add_options --disable-necko-wifi
+ac_add_options --disable-system-sqlite


More information about the Lunar-commits mailing list