[Lunar-commits] <moonbase> xulrunner worky worky

Samuel Verstraete elangelo at lunar-linux.org
Fri Mar 13 16:02:48 CET 2009


commit 3209f5feda6047a24bc347f731c395576cd63856
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date:   Sun Oct 5 21:42:35 2008 +0200

    xulrunner worky worky
---
 web/xulrunner/BUILD   |   64 ++++++++++++++++++++++++++++++++++--------------
 web/xulrunner/DETAILS |   17 +++++++------
 2 files changed, 54 insertions(+), 27 deletions(-)

diff --git a/web/xulrunner/BUILD b/web/xulrunner/BUILD
index c603646..d3565d6 100644
--- a/web/xulrunner/BUILD
+++ b/web/xulrunner/BUILD
@@ -1,33 +1,59 @@
 (
-  
+
+  tar -xjf $SOURCE_CACHE/$SOURCE2 -C $SOURCE_DIRECTORY &&
+
+  patch_it patch/mozilla-ps-pdf-simplify-operators.patch 1 &&
+  patch_it patch/100-system-hunspell-corrections.patch 0 &&
+  patch_it patch/bzXXX_pc_honour_system_nspr_nss.patch 1 &&
+  patch_it patch/mozilla-pkgconfig.patch 1 &&
+  patch_it patch/fix-mozilla-launcher.patch 0 &&
+
   OPTS+=" --enable-application=xulrunner \
-          --disable-mochitest \
-          --disable-test \
+          --prefix=/usr \
+          --libdir=/usr/lib \
+          --with-system-nspr \
+          --with-system-jpeg \
+          --with-system-zlib \
           --with-system-bz2 \
-          --enable-system-sqlite \
-          --disable-crashreporter \
-          --enable-image-encoder=all \
-          --enable-canvas \
-          --enable-js-binary \
-          --enable-storage --enable-places --enable-places_bookmarks \
-          --enable-safe-browsing \
-          --enable-jsd \
-          --enable-xpctools \
-          --enable-default-toolkit=cairo-gtk2 \
+          --enable-system-lcms \
+          --disable-system-sqlite \
           --enable-system-cairo \
-          --disable-tests \
           --with-pthreads \
-          --enable-gnomeui \
-          --disable-libxul \
-          --disable-javaxpcom"
+          --enable-strip \
+          --disable-tests \
+          --disable-mochitest \
+          --disable-installer \
+          --disable-debug \
+          --enable-optimize \
+          --enable-default-toolkit=cairo-gtk2 \
+          --enable-pango \
+          --enable-svg \
+          --enable-canvas \
+          --disable-javaxpcom \
+          --disable-crashreporter \
+          --enable-safe-browsing \
+          --enable-startup-notification"
+
+  
+  #OPTS+=" --enable-application=xulrunner \
+  #        --disable-test \
+  #        --enable-system-sqlite \
+  #        --enable-image-encoder=all \
+  #        --enable-js-binary \
+  #        --enable-storage --enable-places --enable-places_bookmarks \
+  #        --enable-jsd \
+  #        --enable-xpctools \
+  #        --enable-gnomeui \
+  #        --disable-libxul \
+  #        --disable-javaxpcom"
 
   export MOZ_CO_PROJECT=xulrunner
   export MOZILLA_OFFICIAL=1
   export BUILD_OFFICIAL=1
 
-  default_build &&
+  default_build 
 
   # Please check whether this has been corrected with each version bump!
-  sedit "s/idldir=\/usr\/share\/idl\/xulrunner-1.9/idldir=\/usr\/share\/idl\/xulrunner-1.9\/stable/" /usr/lib/pkgconfig/libxul.pc
+  #sedit "s/idldir=\/usr\/share\/idl\/xulrunner-1.9/idldir=\/usr\/share\/idl\/xulrunner-1.9\/stable/" /usr/lib/pkgconfig/libxul.pc
 
 ) > $C_FIFO 2>&1
diff --git a/web/xulrunner/DETAILS b/web/xulrunner/DETAILS
index 00424cf..1385d11 100644
--- a/web/xulrunner/DETAILS
+++ b/web/xulrunner/DETAILS
@@ -1,16 +1,17 @@
           MODULE=xulrunner
-         VERSION=1.9
-             VER=1.9.0.1
-          SOURCE=${MODULE}-${VER}-source.tar.bz2
+         VERSION=1.9.0.3
+          SOURCE=$MODULE-$VERSION-source.tar.bz2
+         SOURCE2=$MODULE-$VERSION-patches.tar.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
-   SOURCE_URL[0]=ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$VER/source/
-   SOURCE_URL[1]=ftp://mozilla.isc.org/pub/mozilla.org/xulrunner/releases/$VER/source/
-   SOURCE_URL[2]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/xulrunner/releases/$VER/source/
-      SOURCE_VFY=sha1:ba3bb0b02404cf1abfb6189b156b2f4eb02e8975
+      SOURCE_URL=ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.0.3/source/
+     SOURCE2_URL=$PATCH_URL/
+      SOURCE_VFY=sha1:089a41ff079cd37d39d19cf3a51daba07337db2c
+     SOURCE2_VFY=sha1:6167afdbf3de17fa002dc965fdd9a8d46329122d
         WEB_SITE=http://www.mozilla.org
          ENTERED=20080624
-         UPDATED=20080624
+         UPDATED=20081005
            SHORT="a XUL runtime that requires no browser"
+
 cat << EOF
 XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM
 applications that are as rich as Firefox and Thunderbird. It will provide


More information about the Lunar-commits mailing list