[Lunar-commits] <moonbase> xulrunner: Adding the new xulrunner module.

Moritz Heiber moe at lunar-linux.org
Wed Jul 2 12:54:23 CEST 2008


commit 58863c684060b1f13244df91965df0030d775394
Author: Moritz Heiber <moe at lunar-linux.org>
Date:   Wed Jul 2 12:54:23 2008 +0200

    xulrunner: Adding the new xulrunner module.
    
    Squashed commit of the following:
    
    commit ef4b22f2ea01c88210d914cc36ac66386fc9c0ee
    Author: Moritz Heiber <moe at lunar-linux.org>
    Date:   Wed Jul 2 12:50:13 2008 +0200
    
        xulrunner: Adding a proper description.
    
    commit 4f9e8a2274166a3a43f8465961c30828417b8ebf
    Author: Moritz Heiber <moe at lunar-linux.org>
    Date:   Wed Jul 2 12:52:04 2008 +0200
    
        xulrunner: Adding a new module.
---
 web/xulrunner/BUILD       |   28 ++++++++++++++++++++++++++++
 web/xulrunner/DEPENDS     |    4 ++++
 web/xulrunner/DETAILS     |   21 +++++++++++++++++++++
 web/xulrunner/POST_REMOVE |    2 ++
 4 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/web/xulrunner/BUILD b/web/xulrunner/BUILD
new file mode 100644
index 0000000..ea864cd
--- /dev/null
+++ b/web/xulrunner/BUILD
@@ -0,0 +1,28 @@
+(
+  
+  OPTS+=" --enable-application=xulrunner \
+          --disable-mochitest \
+          --disable-test \
+          --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 \
+          --disable-libxul \
+          --disable-javaxpcom"
+
+  export MOZ_CO_PROJECT=xulrunner
+  export MOZILLA_OFFICIAL=1
+  export BUILD_OFFICIAL=1
+
+  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
+
+) > $C_FIFO 2>&1
diff --git a/web/xulrunner/DEPENDS b/web/xulrunner/DEPENDS
new file mode 100644
index 0000000..be2b5db
--- /dev/null
+++ b/web/xulrunner/DEPENDS
@@ -0,0 +1,4 @@
+depends ORBit2
+depends zip
+depends unzip
+depends expat
diff --git a/web/xulrunner/DETAILS b/web/xulrunner/DETAILS
new file mode 100644
index 0000000..a28ea7f
--- /dev/null
+++ b/web/xulrunner/DETAILS
@@ -0,0 +1,21 @@
+          MODULE=xulrunner
+         VERSION=1.9
+             VER=1.9.0.0
+          SOURCE=${MODULE}-${VERSION}-source.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
+        WEB_SITE=http://www.mozilla.org
+         ENTERED=20080624
+         UPDATED=20080624
+           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
+mechanisms for installing, upgrading, and uninstalling these applications.
+
+XULRunner will also provide libxul, a solution which allows the embedding of
+Mozilla technologies in other projects and products.
+EOF
diff --git a/web/xulrunner/POST_REMOVE b/web/xulrunner/POST_REMOVE
new file mode 100644
index 0000000..90f0d62
--- /dev/null
+++ b/web/xulrunner/POST_REMOVE
@@ -0,0 +1,2 @@
+rm -rf /usr/include/xulrunner-*
+rm -rf /usr/lib/xulrunner-*


More information about the Lunar-commits mailing list