[Lunar-commits] <moonbase> seamonkey: fixed broken build and post_build
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Sun Jun 17 15:59:35 CEST 2012
commit 5decf52bd12f766fea7374f719d0025cc7bc5caa
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Sun Jun 17 15:59:35 2012 +0200
seamonkey: fixed broken build and post_build
---
web/seamonkey/BUILD | 3 +++
web/seamonkey/DETAILS | 3 +++
web/seamonkey/POST_INSTALL | 7 ++++---
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/web/seamonkey/BUILD b/web/seamonkey/BUILD
index b6ac1ce..b08ed8d 100644
--- a/web/seamonkey/BUILD
+++ b/web/seamonkey/BUILD
@@ -2,6 +2,9 @@
sedit 's/@PRE_RELEASE_SUFFIX@//g' mozilla/browser/base/content/browser.xul &&
+ # Reverse patch which causes seamonkey build to break
+ bzcat $SOURCE_CACHE/Bug-515374.patch.bz2 | patch -p1 -R -d mozilla &&
+
if module_is_expired $MODULE && [ "$VERSION" != "`installed_version $MODULE`" ]; then
set_module_config OLD_VER "`installed_version $MODULE`"
fi &&
diff --git a/web/seamonkey/DETAILS b/web/seamonkey/DETAILS
index 7cebb9b..b0de7a1 100644
--- a/web/seamonkey/DETAILS
+++ b/web/seamonkey/DETAILS
@@ -1,11 +1,14 @@
MODULE=seamonkey
VERSION=2.10.1
SOURCE=$MODULE-$VERSION.source.tar.bz2
+ SOURCE2=Bug-515374.patch.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/comm-release
SOURCE_URL[0]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/$MODULE/releases/$VERSION/source
SOURCE_URL[1]=ftp://mozilla.isc.org/pub/mozilla.org/$MODULE/releases/$VERSION/source
SOURCE_URL[2]=ftp://ftp.mozilla.org/pub/mozilla.org/$MODULE/releases/$VERSION/source
+ SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:fbd756f7c0c5e613f7fc47ada329c53897366adb
+ SOURCE2_VFY=sha1:2e31bd69350b870e54fb7909e42038c12a592ea1
WEB_SITE=http://www.seamonkey-project.org
ENTERED=20051208
UPDATED=20120617
diff --git a/web/seamonkey/POST_INSTALL b/web/seamonkey/POST_INSTALL
index d7ce993..ced25e3 100644
--- a/web/seamonkey/POST_INSTALL
+++ b/web/seamonkey/POST_INSTALL
@@ -1,7 +1,8 @@
OLD_VER="`get_module_config OLD_VER`"
+NEW_VER="`get_module_config NEW_VER`"
SMNKEY_LIBDIR=seamonkey-$VERSION
-if [ ! -z $OLD_VER ]; then
+if [ ! -z "$OLD_VER" ] && [ "$OLD_VER" != "$NEW_VER" ] ; then
rm -rf /usr/lib/seamonkey-$OLD_VER
rm -rf /usr/include/seamonkey-$OLD_VER
rm -rf /usr/share/idl/seamonkey-$OLD_VER
@@ -9,8 +10,8 @@ fi
unset_module_config OLD_VER
rm -rf /usr/lib/seamonkey-1*
-rm -rf /usr/lib/seamonkey-2.[0-3]*
-rm -rf /usr/lib/seamonkey-2.4.0
+rm -rf /usr/lib/seamonkey-2.[02-9]*
+rm -rf /usr/lib/seamonkey-devel-2.[02-9]*
ln -snf /opt/lunar/plugins /usr/lib/$SMNKEY_LIBDIR/plugins
More information about the Lunar-commits
mailing list