[Lunar-commits] r23878 - in moonbase/trunk/web: . seamonkey
Terry Chan
tchan at lunar-linux.org
Sun Apr 1 01:29:42 CEST 2007
Author: tchan
Date: 2007-04-01 01:29:42 +0200 (Sun, 01 Apr 2007)
New Revision: 23878
Added:
moonbase/trunk/web/seamonkey/
moonbase/trunk/web/seamonkey/BUILD
moonbase/trunk/web/seamonkey/DEPENDS
moonbase/trunk/web/seamonkey/DETAILS
moonbase/trunk/web/seamonkey/POST_INSTALL
moonbase/trunk/web/seamonkey/POST_REMOVE
moonbase/trunk/web/seamonkey/seamonkey.desktop
Log:
Added seamonkey to moonbase/web. From zbiggy's module with a few fixes.
This module does NOT conflict with mozilla (I removed the conflicting symlinks).
Added: moonbase/trunk/web/seamonkey/BUILD
===================================================================
--- moonbase/trunk/web/seamonkey/BUILD (rev 0)
+++ moonbase/trunk/web/seamonkey/BUILD 2007-03-31 23:29:42 UTC (rev 23878)
@@ -0,0 +1,69 @@
+(
+patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+ if module_is_expired $MODULE ; then
+ set_module_config OLD_VER "`installed_version $MODULE`"
+ fi &&
+
+ MOZILLA_HOME=/usr/lib/$MODULE-$VERSION
+
+ export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig
+ export MOZ_NSS_AUTOCONF=1
+ export NATIVE_THEME_SUPPORT=1
+ export MOZILLA_USE_XFT=1
+ export BUILD_OPT=1
+
+ export MOZ_CO_PROJECT=suite
+ export MOZILLA_OFFICIAL=1
+ export BUILD_OFFICIAL=1
+
+ ./configure \
+ --prefix=/usr \
+ --with-x \
+ --with-pthreads \
+ --with-default-mozilla-five-home=$MOZILLA_HOME \
+ --enable-glitz \
+ --with-user-appdir=.seamonkey \
+ --with-system-zlib \
+ --with-system-png \
+ --with-system-jpeg \
+ --enable-extensions="default,xmlextras,xforms,webservices,wallet,universalchardet,transformiix,tasks,schema-validation,reporter,cookie,cview,datetime,finger,p3p,permissions,venkman,spellcheck,inspector,irc,-gnomevfs,-auth" \
+ --enable-xft \
+ --enable-application=suite \
+ --enable-reorder \
+ --enable-optimize="$OPTS" \
+ --enable-crypto \
+ --enable-strip \
+ --enable-strip-libs \
+ --enable-svg \
+ --disable-debug \
+ --disable-logging \
+ --disable-accessibility \
+ --disable-ldap \
+ --disable-profilesharing \
+ --disable-installer \
+ --enable-mathml \
+ --enable-canvas \
+ --enable-svg-renderer=cairo \
+ --enable-system-cairo \
+ --disable-gnomevfs \
+ --disable-gnomeui \
+ --disable-xinerema &&
+
+# for future use
+# --enable-default-toolkit=cairo-gtk2 \
+default_make &&
+
+ install -d /usr/include/seamonkey-$VERSION/nss &&
+ cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
+ /usr/include/seamonkey-$VERSION/nss &&
+
+ mkdir -p /opt/lunar/plugins &&
+ for plugin in `ls /usr/lib/seamonkey-$VERSION/plugins`; do
+ `install -m755 /usr/lib/seamonkey-$VERSION/plugins/$plugin /opt/lunar/plugins/`; done &&
+
+install -d /usr/share/applications /usr/share/pixmaps &&
+install -m644 $SCRIPT_DIRECTORY/seamonkey.desktop /usr/share/applications &&
+rm -f /usr/share/pixmaps/seamonkey.xpm &&
+install -m644 $MOZILLA_HOME/chrome/icons/default/main-window.xpm /usr/share/pixmaps/seamonkey.xpm
+
+) > $C_FIFO 2>&1
Added: moonbase/trunk/web/seamonkey/DEPENDS
===================================================================
--- moonbase/trunk/web/seamonkey/DEPENDS (rev 0)
+++ moonbase/trunk/web/seamonkey/DEPENDS 2007-03-31 23:29:42 UTC (rev 23878)
@@ -0,0 +1,5 @@
+depends libpng &&
+depends jpeg &&
+depends zlib &&
+depends cairo &&
+depends gtk+-2
Added: moonbase/trunk/web/seamonkey/DETAILS
===================================================================
--- moonbase/trunk/web/seamonkey/DETAILS (rev 0)
+++ moonbase/trunk/web/seamonkey/DETAILS 2007-03-31 23:29:42 UTC (rev 23878)
@@ -0,0 +1,22 @@
+ MODULE=seamonkey
+ VERSION=1.1.1
+ SOURCE=$MODULE-$VERSION.source.tar.bz2
+ SOURCE2=sm-xrender.patch
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
+ SOURCE_URL[0]=ftp://ftp.mozilla.org/pub/mozilla.org/$MODULE/releases/$VERSION/
+ SOURCE_URL[1]=ftp://sunsite.icm.edu.pl/pub/mozilla/seamonkey/releases/$VERSION/
+ SOURCE_URL[2]=ftp://ftp.task.gda.pl/pub/mozilla/seamonkey/releases/$VERSION/
+ SOURCE_VFY=sha1:08a6a66a1e69e112680e8ad2116c54d7ccb54c3b
+ SOURCE2_URL=$PATCH_URL
+ SOURCE2_VFY=sha1:cab357aa5854456ffd24713126e64a18b391a4cb
+ WEB_SITE=http://www.mozilla.org/
+ ENTERED=20051208
+ UPDATED=20070331
+ MAINTAINER=zbiggy at o2.pl
+ SHORT="Seamonkey is a next generation mozilla web browser."
+cat << EOF
+Seamonkey is a next generation browser that is being developed by the Free Software
+Community. Initially, its development was based on a last beta version of Mozilla Web Suite.
+Most of code is shared now with FireFox but outlook and behaviour is made in classic
+mozilla style.
+EOF
Added: moonbase/trunk/web/seamonkey/POST_INSTALL
===================================================================
--- moonbase/trunk/web/seamonkey/POST_INSTALL (rev 0)
+++ moonbase/trunk/web/seamonkey/POST_INSTALL 2007-03-31 23:29:42 UTC (rev 23878)
@@ -0,0 +1,20 @@
+OLD_VER="`get_module_config OLD_VER`"
+SMNKEY_LIBDIR=seamonkey-$VERSION
+
+if [ ! -z $OLD_VER ]; then
+ rm -rf /usr/lib/seamonkey-$OLD_VER
+ rm -rf /usr/include/seamonkey-$OLD_VER
+ rm -rf /usr/share/idl/seamonkey-$OLD_VER
+fi
+
+unset_module_config OLD_VER
+cp /usr/lib/$SMNKEY_LIBDIR/plugins/* /opt/lunar/plugins/
+rm -rf /usr/lib/$SMNKEY_LIBDIR/plugins
+ln -snf /opt/lunar/plugins /usr/lib/$SMNKEY_LIBDIR/plugins
+
+export LD_LIBRARY_PATH="/usr/lib/$SMNKEY_LIBDIR:/opt/lunar/plugins:/usr/lib/$SMNKEY_LIBDIR/components"
+export MOZILLA_FIVE_HOME="/usr/lib/$SMNKEY_LIBDIR"
+ldconfig
+
+cd /usr/lib/$SMNKEY_LIBDIR
+./regxpcom
Added: moonbase/trunk/web/seamonkey/POST_REMOVE
===================================================================
--- moonbase/trunk/web/seamonkey/POST_REMOVE (rev 0)
+++ moonbase/trunk/web/seamonkey/POST_REMOVE 2007-03-31 23:29:42 UTC (rev 23878)
@@ -0,0 +1,5 @@
+rm -fr /usr/lib/seamonkey*
+rm -fr /usr/include/seamonkey*
+rm -fr /usr/share/applications/seamonkey*
+rm -fr /usr/share/idl/seamonkey*
+rm -f /usr/share/pixmaps/seamonkey.xpm
Added: moonbase/trunk/web/seamonkey/seamonkey.desktop
===================================================================
--- moonbase/trunk/web/seamonkey/seamonkey.desktop (rev 0)
+++ moonbase/trunk/web/seamonkey/seamonkey.desktop 2007-03-31 23:29:42 UTC (rev 23878)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Seamonkey
+Comment=Seamonkey Web Browser
+Exec=seamonkey
+Icon=/usr/share/pixmaps/seamonkey.xpm
+Terminal=false
+Type=Application
+Categories=Application;Network;
More information about the Lunar-commits
mailing list