[Lunar-commits] <moonbase> xulrunner: version bump 1.9.0.5 (security fixes)

Zachary McGrew zmcgrew at lunar-linux.org
Mon Jan 12 00:24:20 CET 2009


commit f15693a9e777685f3b046c8a0a8f02303c36f345
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date:   Sun Jan 11 15:24:20 2009 -0800

    xulrunner: version bump 1.9.0.5 (security fixes)
    
    With this bump also brings an updated build so that it correctly works with most applications as a replacement for firefox (Since firefox no longer allows access to it's gecko libs)
    
    Thanks to ElAngelo for finding the patches, and doing most of the work
---
 web/xulrunner/BUILD   |   56 +++++++++++++++++++++++++++++++++++++-----------
 web/xulrunner/DEPENDS |    2 +
 web/xulrunner/DETAILS |   17 +++++++-------
 3 files changed, 54 insertions(+), 21 deletions(-)

diff --git a/web/xulrunner/BUILD b/web/xulrunner/BUILD
index ea864cd..3dd0194 100644
--- a/web/xulrunner/BUILD
+++ b/web/xulrunner/BUILD
@@ -1,28 +1,58 @@
 (
-  
+
+  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-jpeg \
+          --with-system-zlib \
           --with-system-bz2 \
+          --enable-system-lcms \
           --enable-system-sqlite \
-          --disable-crashreporter \
-          --enable-image-encoder=all \
+          --enable-system-cairo \
+          --with-pthreads \
+          --enable-strip \
+          --disable-tests \
+          --disable-mochitest \
+          --disable-installer \
+          --disable-debug \
+          --enable-optimize \
+          --enable-default-toolkit=cairo-gtk2 \
+          --enable-pango \
+          --enable-svg \
           --enable-canvas \
-          --enable-js-binary \
-          --enable-storage --enable-places --enable-places_bookmarks \
+          --disable-javaxpcom \
+          --disable-crashreporter \
           --enable-safe-browsing \
-          --enable-jsd \
-          --enable-xpctools \
-          --disable-libxul \
-          --disable-javaxpcom"
+          --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/DEPENDS b/web/xulrunner/DEPENDS
index be2b5db..a291bbf 100644
--- a/web/xulrunner/DEPENDS
+++ b/web/xulrunner/DEPENDS
@@ -2,3 +2,5 @@ depends ORBit2
 depends zip
 depends unzip
 depends expat
+depends startup-notification
+depends lcms
diff --git a/web/xulrunner/DETAILS b/web/xulrunner/DETAILS
index a28ea7f..aad6e7e 100644
--- a/web/xulrunner/DETAILS
+++ b/web/xulrunner/DETAILS
@@ -1,16 +1,17 @@
           MODULE=xulrunner
-         VERSION=1.9
-             VER=1.9.0.0
-          SOURCE=${MODULE}-${VERSION}-source.tar.bz2
+         VERSION=1.9.0.5
+          SOURCE=$MODULE-$VERSION-source.tar.bz2
+         SOURCE2=$MODULE-1.9.0.3-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:2e21652b9cad2a6ac8f048f50e9e053c19760d4b
+      SOURCE_URL=ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$VERSION/source/
+     SOURCE2_URL=$PATCH_URL/
+      SOURCE_VFY=sha1:f934e073efaad3d4dde847c8491fa9529564d5d2
+     SOURCE2_VFY=sha1:6167afdbf3de17fa002dc965fdd9a8d46329122d
         WEB_SITE=http://www.mozilla.org
          ENTERED=20080624
-         UPDATED=20080624
+         UPDATED=20090111
            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