[Lunar-commits] <moonbase> xulrunner2: move it to zdeprecated.
Florin Braescu
florin at lunar-linux.org
Sun Oct 16 15:00:26 CEST 2011
commit c4df9ed73835a4da394830b23dbfa117025bf423
Author: Florin Braescu <florin at lunar-linux.org>
Date: Sun Oct 16 15:00:26 2011 +0200
xulrunner2: move it to zdeprecated.
---
web/xulrunner2/BUILD | 48 -----------------------------------
web/xulrunner2/CONFLICTS | 2 -
web/xulrunner2/DEPENDS | 8 ------
web/xulrunner2/DETAILS | 21 ---------------
web/xulrunner2/POST_INSTALL | 24 -----------------
web/xulrunner2/POST_REMOVE | 1 -
zdeprecated/xulrunner2/BUILD | 48 +++++++++++++++++++++++++++++++++++
zdeprecated/xulrunner2/CONFLICTS | 2 +
zdeprecated/xulrunner2/DEPENDS | 8 ++++++
zdeprecated/xulrunner2/DETAILS | 21 +++++++++++++++
zdeprecated/xulrunner2/POST_INSTALL | 24 +++++++++++++++++
zdeprecated/xulrunner2/POST_REMOVE | 1 +
12 files changed, 104 insertions(+), 104 deletions(-)
diff --git a/web/xulrunner2/BUILD b/web/xulrunner2/BUILD
deleted file mode 100644
index 7b29359..0000000
--- a/web/xulrunner2/BUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-(
-
- OPTS+=" --enable-application=xulrunner \
- --prefix=/usr \
- --libdir=/usr/lib \
- --with-system-jpeg \
- --with-system-zlib \
- --with-system-bz2 \
- --enable-system-lcms \
- --enable-system-sqlite \
- --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 \
- --disable-javaxpcom \
- --disable-crashreporter \
- --enable-safe-browsing \
- --disable-necko-wifi \
- --enable-startup-notification" &&
-
-# wifi breaks build due to incompatibile header files
- #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
-
-) > $C_FIFO 2>&1
diff --git a/web/xulrunner2/CONFLICTS b/web/xulrunner2/CONFLICTS
deleted file mode 100644
index 476d8d9..0000000
--- a/web/xulrunner2/CONFLICTS
+++ /dev/null
@@ -1,2 +0,0 @@
-conflicts xulrunner
-conflicts xulrunner5
diff --git a/web/xulrunner2/DEPENDS b/web/xulrunner2/DEPENDS
deleted file mode 100644
index 2af156a..0000000
--- a/web/xulrunner2/DEPENDS
+++ /dev/null
@@ -1,8 +0,0 @@
-depends ORBit2
-depends zip
-depends unzip
-depends expat
-depends startup-notification
-depends lcms
-depends sqlite
-depends libnotify
diff --git a/web/xulrunner2/DETAILS b/web/xulrunner2/DETAILS
deleted file mode 100644
index 5e1ef94..0000000
--- a/web/xulrunner2/DETAILS
+++ /dev/null
@@ -1,21 +0,0 @@
- MODULE=xulrunner2
- VERSION=2.0
- SOURCE=xulrunner-$VERSION.source.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla-2.0
- SOURCE_URL[0]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/xulrunner/releases/$VERSION/source
- SOURCE_URL[1]=ftp://mozilla.isc.org/pub/mozilla.org/xulrunner/releases/$VERSION/source
- SOURCE_URL[2]=ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$VERSION/source
- SOURCE_VFY=sha1:45ce820989e0bb7b5758f94c087f21d4190c2441
- WEB_SITE=http://www.mozilla.org
- ENTERED=20080624
- UPDATED=20110428
- SHORT="a XUL runtime that requires no browser"
-PSAFE=no
-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/xulrunner2/POST_INSTALL b/web/xulrunner2/POST_INSTALL
deleted file mode 100644
index 178132e..0000000
--- a/web/xulrunner2/POST_INSTALL
+++ /dev/null
@@ -1,24 +0,0 @@
-OLD_VER="`get_module_config OLD_VER`"
-NEW_VER="`get_module_config NEW_VER`"
-XULRUNNER_HOME=/usr
-XUL_LIBDIR=xulrunner-$NEW_VER
-
-if [ ! -z "$OLD_VER" ] && [ "$OLD_VER" != "$NEW_VER" ] ; then
- for old_version in $OLD_VER
- do
- rm -rf /usr/lib/xulrunner-$old_version
- rm -rf /usr/lib/xulrunner-devel-$old_version
- rm -rf /usr/include/xulrunner-$old_version
- rm -rf /usr/share/idl/xulrunner-$old_version
- rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/xulrunner-$old_version
- done
-fi
-
-# Old xulrunner cleanup
-rm -rf /usr/lib/xulrunner-1*
-rm -rf /usr/lib/xulrunner-devel-1*
-rm -rf /usr/include/xulrunner-1*
-rm -rf /usr/share/idl/xulrunner-1*
-rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/xulrunner-1*
-
-unset_module_config OLD_VER
diff --git a/web/xulrunner2/POST_REMOVE b/web/xulrunner2/POST_REMOVE
deleted file mode 100644
index e0ea243..0000000
--- a/web/xulrunner2/POST_REMOVE
+++ /dev/null
@@ -1 +0,0 @@
-rm -rf /usr/{include,lib,share/idl}/xulrunner-*
diff --git a/zdeprecated/xulrunner2/BUILD b/zdeprecated/xulrunner2/BUILD
new file mode 100644
index 0000000..7b29359
--- /dev/null
+++ b/zdeprecated/xulrunner2/BUILD
@@ -0,0 +1,48 @@
+(
+
+ OPTS+=" --enable-application=xulrunner \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --with-system-jpeg \
+ --with-system-zlib \
+ --with-system-bz2 \
+ --enable-system-lcms \
+ --enable-system-sqlite \
+ --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 \
+ --disable-javaxpcom \
+ --disable-crashreporter \
+ --enable-safe-browsing \
+ --disable-necko-wifi \
+ --enable-startup-notification" &&
+
+# wifi breaks build due to incompatibile header files
+ #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
+
+) > $C_FIFO 2>&1
diff --git a/zdeprecated/xulrunner2/CONFLICTS b/zdeprecated/xulrunner2/CONFLICTS
new file mode 100644
index 0000000..476d8d9
--- /dev/null
+++ b/zdeprecated/xulrunner2/CONFLICTS
@@ -0,0 +1,2 @@
+conflicts xulrunner
+conflicts xulrunner5
diff --git a/zdeprecated/xulrunner2/DEPENDS b/zdeprecated/xulrunner2/DEPENDS
new file mode 100644
index 0000000..2af156a
--- /dev/null
+++ b/zdeprecated/xulrunner2/DEPENDS
@@ -0,0 +1,8 @@
+depends ORBit2
+depends zip
+depends unzip
+depends expat
+depends startup-notification
+depends lcms
+depends sqlite
+depends libnotify
diff --git a/zdeprecated/xulrunner2/DETAILS b/zdeprecated/xulrunner2/DETAILS
new file mode 100644
index 0000000..5e1ef94
--- /dev/null
+++ b/zdeprecated/xulrunner2/DETAILS
@@ -0,0 +1,21 @@
+ MODULE=xulrunner2
+ VERSION=2.0
+ SOURCE=xulrunner-$VERSION.source.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla-2.0
+ SOURCE_URL[0]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/xulrunner/releases/$VERSION/source
+ SOURCE_URL[1]=ftp://mozilla.isc.org/pub/mozilla.org/xulrunner/releases/$VERSION/source
+ SOURCE_URL[2]=ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$VERSION/source
+ SOURCE_VFY=sha1:45ce820989e0bb7b5758f94c087f21d4190c2441
+ WEB_SITE=http://www.mozilla.org
+ ENTERED=20080624
+ UPDATED=20110428
+ SHORT="a XUL runtime that requires no browser"
+PSAFE=no
+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/zdeprecated/xulrunner2/POST_INSTALL b/zdeprecated/xulrunner2/POST_INSTALL
new file mode 100644
index 0000000..178132e
--- /dev/null
+++ b/zdeprecated/xulrunner2/POST_INSTALL
@@ -0,0 +1,24 @@
+OLD_VER="`get_module_config OLD_VER`"
+NEW_VER="`get_module_config NEW_VER`"
+XULRUNNER_HOME=/usr
+XUL_LIBDIR=xulrunner-$NEW_VER
+
+if [ ! -z "$OLD_VER" ] && [ "$OLD_VER" != "$NEW_VER" ] ; then
+ for old_version in $OLD_VER
+ do
+ rm -rf /usr/lib/xulrunner-$old_version
+ rm -rf /usr/lib/xulrunner-devel-$old_version
+ rm -rf /usr/include/xulrunner-$old_version
+ rm -rf /usr/share/idl/xulrunner-$old_version
+ rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/xulrunner-$old_version
+ done
+fi
+
+# Old xulrunner cleanup
+rm -rf /usr/lib/xulrunner-1*
+rm -rf /usr/lib/xulrunner-devel-1*
+rm -rf /usr/include/xulrunner-1*
+rm -rf /usr/share/idl/xulrunner-1*
+rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/xulrunner-1*
+
+unset_module_config OLD_VER
diff --git a/zdeprecated/xulrunner2/POST_REMOVE b/zdeprecated/xulrunner2/POST_REMOVE
new file mode 100644
index 0000000..e0ea243
--- /dev/null
+++ b/zdeprecated/xulrunner2/POST_REMOVE
@@ -0,0 +1 @@
+rm -rf /usr/{include,lib,share/idl}/xulrunner-*
More information about the Lunar-commits
mailing list