wok rev 2747

Add Seamonkey web suite
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 26 00:43:36 2009 +0200 (2009-04-26)
parents ea64af670988
children 03099f36f38b
files seamonkey/receipt seamonkey/stuff/bookmarks.html seamonkey/stuff/seamonkey.desktop seamonkey/stuff/seamonkey.mozconfig seamonkey/stuff/seamonkey.png seamonkey/stuff/userChrome.css
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/seamonkey/receipt	Sun Apr 26 00:43:36 2009 +0200
     1.3 @@ -0,0 +1,52 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="seamonkey"
     1.7 +VERSION="1.1.16"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Seamonkey suite (browser, mail, news reader)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
    1.12 +DEPENDS="gtk+ glib jpeg xorg-libX11"
    1.13 +BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils findutils xorg-libXft-dev"
    1.14 +WEB_SITE="http://www.seamonkey-project.org/"
    1.15 +WGET_URL="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	mv mozilla $PACKAGE-$VERSION 2>/dev/null
    1.21 +	cp -a stuff/seamonkey.mozconfig $src/.mozconfig
    1.22 +	cd $src
    1.23 +	cat >> layout/build/Makefile.in << "EOF"
    1.24 +ifdef MOZ_ENABLE_CANVAS
    1.25 +EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
    1.26 +endif
    1.27 +EOF
    1.28 +	make -f client.mk build
    1.29 +	make -f client.mk DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc
    1.36 +	cp -a $_pkg/usr/bin/seamonkey $fs/usr/bin
    1.37 +	cp -a $_pkg/usr/lib/seamonkey-* $fs/usr/lib
    1.38 +	# Home page, bookmarks file and branding.
    1.39 +	cp -a stuff/bookmarks.html \
    1.40 +		$fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
    1.41 +	# User preference.
    1.42 +	cp -a stuff/userChrome.css \
    1.43 +		$fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome
    1.44 +	# Move default config to /etc/seamonkey (/usr maybe read-only)
    1.45 +	mv -f $fs/usr/lib/$PACKAGE-$VERSION/defaults $fs/etc/$PACKAGE
    1.46 +	ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
    1.47 +	# Remove unecessary file and set permissions.
    1.48 +	rm -rf $fs/etc/seamonkey/profile/US
    1.49 +	chown -R root.root $fs/etc
    1.50 +}
    1.51 +
    1.52 +clean_wok()
    1.53 +{
    1.54 +	rm -rf build
    1.55 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/seamonkey/stuff/bookmarks.html	Sun Apr 26 00:43:36 2009 +0200
     2.3 @@ -0,0 +1,45 @@
     2.4 +<!DOCTYPE NETSCAPE-Bookmark-file-1>
     2.5 +<!-- This is an automatically generated file.
     2.6 +     It will be read and overwritten.
     2.7 +     DO NOT EDIT! -->
     2.8 +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
     2.9 +<TITLE>Bookmarks</TITLE>
    2.10 +<H1>Bookmarks</H1>
    2.11 +
    2.12 +<DL><p>
    2.13 +    <DT><H3 LAST_MODIFIED="1240358214" PERSONAL_TOOLBAR_FOLDER="true" ID="NC:PersonalToolbarFolder">Personal Toolbar Folder</H3>
    2.14 +    <DL><p>
    2.15 +        <DT><H3 ADD_DATE="1240358206" LAST_MODIFIED="1240358385" ID="rdf:#$uqzUx1">SliTaz</H3>
    2.16 +        <DL><p>
    2.17 +            <DT><A HREF="http://www.slitaz.org/" ADD_DATE="1240358195" LAST_VISIT="1240358416" LAST_MODIFIED="1240358230" LAST_CHARSET="ISO-8859-1" ID="rdf:#$tqzUx1">SliTaz GNU/Linux (Home)</A>
    2.18 +            <DT><A HREF="http://forum.slitaz.org/" ADD_DATE="1240358254" LAST_VISIT="1240358281" LAST_CHARSET="ISO-8859-1" ID="rdf:#$vqzUx1">SliTaz Community Forum</A>
    2.19 +            <DT><A HREF="http://wiki.slitaz.org/" ADD_DATE="1240358350" LAST_VISIT="1240358354" LAST_MODIFIED="1240358395" LAST_CHARSET="UTF-8" ID="rdf:#$xqzUx1">SliTaz Community Wiki</A>
    2.20 +            <DT><A HREF="http://labs.slitaz.org/" ADD_DATE="1240358267" LAST_VISIT="1240358280" LAST_CHARSET="UTF-8" ID="rdf:#$wqzUx1">SliTaz Labs</A>
    2.21 +        </DL><p>
    2.22 +    </DL><p>
    2.23 +    <DT><H3 ID="rdf:#$bqzUx1">Mozilla Project</H3>
    2.24 +    <DL><p>
    2.25 +        <DT><H3 ID="rdf:#$cqzUx1">mozilla.org</H3>
    2.26 +        <DL><p>
    2.27 +            <DT><A HREF="http://www.mozilla.org/" ID="rdf:#$dqzUx1">The Mozilla Organization</A>
    2.28 +            <DT><A HREF="http://www.seamonkey-project.org/" ID="rdf:#$eqzUx1">SeaMonkey Project</A>
    2.29 +            <DT><A HREF="http://www.mozilla.org/products/" ID="rdf:#$fqzUx1">Mozilla Products</A>
    2.30 +            <DT><A HREF="http://www.mozilla.org/feedback.html" ID="rdf:#$gqzUx1">Feedback</A>
    2.31 +        </DL><p>
    2.32 +        <DT><H3 ID="rdf:#$hqzUx1">Community &amp; Support</H3>
    2.33 +        <DL><p>
    2.34 +            <DT><A HREF="http://www.mozillazine.org/" ID="rdf:#$iqzUx1">mozillaZine</A>
    2.35 +            <DT><A HREF="http://forums.mozillazine.org/viewforum.php?f=40" ID="rdf:#$jqzUx1">SeaMonkey Support (mozillaZine)</A>
    2.36 +            <DT><A HREF="http://www.mozdev.org/" ID="rdf:#$kqzUx1">mozdev.org</A>
    2.37 +            <DT><A HREF="http://plugindoc.mozdev.org/" ID="rdf:#$lqzUx1">Mozilla Plug-in Information (mozdev)</A>
    2.38 +            <DT><A HREF="http://extensionroom.mozdev.org/" ID="rdf:#$mqzUx1">Mozilla Extensions (mozdev)</A>
    2.39 +        </DL><p>
    2.40 +    </DL><p>
    2.41 +    <DT><H3 ID="rdf:#$nqzUx1">Search the Web</H3>
    2.42 +    <DL><p>
    2.43 +        <DT><A HREF="http://www.google.com/" ID="rdf:#$oqzUx1">Google</A>
    2.44 +        <DT><A HREF="http://groups.google.com/" ID="rdf:#$pqzUx1">Google Groups</A>
    2.45 +        <DT><A HREF="http://news.google.com/" ID="rdf:#$qqzUx1">Google News</A>
    2.46 +    </DL><p>
    2.47 +    <HR>
    2.48 +</DL><p>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/seamonkey/stuff/seamonkey.desktop	Sun Apr 26 00:43:36 2009 +0200
     3.3 @@ -0,0 +1,9 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=Seamonkey Web Browser
     3.7 +Name[fr]=Navigateur Web Seamonkey
     3.8 +Comment=Browse the Internet
     3.9 +Exec=seamonkey
    3.10 +Icon=seamonkey.png
    3.11 +Type=Application
    3.12 +Categories=Application;Network;
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/seamonkey/stuff/seamonkey.mozconfig	Sun Apr 26 00:43:36 2009 +0200
     4.3 @@ -0,0 +1,16 @@
     4.4 +
     4.5 +ac_add_options --prefix=/usr
     4.6 +
     4.7 +ac_add_options --with-system-zlib
     4.8 +ac_add_options --with-system-png
     4.9 +ac_add_options --with-system-jpeg
    4.10 +
    4.11 +ac_add_options --enable-application=suite
    4.12 +ac_add_options --enable-system-cairo
    4.13 +ac_add_options --enable-canvas
    4.14 +ac_add_options --enable-strip
    4.15 +#ac_add_options --enable-xinerama
    4.16 +
    4.17 +ac_add_options --disable-tests
    4.18 +ac_add_options --disable-installer
    4.19 +ac_add_options --disable-accessibility
     5.1 Binary file seamonkey/stuff/seamonkey.png has changed
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/seamonkey/stuff/userChrome.css	Sun Apr 26 00:43:36 2009 +0200
     6.3 @@ -0,0 +1,25 @@
     6.4 +/*
     6.5 + * Default userChrome.css for Seamonkey on SliTaz GNU/Linux.
     6.6 + *
     6.7 + * This file can be used to customize the look of Mozilla's user interface
     6.8 + * You should consider using !important on rules which you want to
     6.9 + * override default settings.
    6.10 + *
    6.11 + * For more examples see http://www.mozilla.org/unix/customizing.html
    6.12 + *
    6.13 + */
    6.14 +
    6.15 +/*
    6.16 + * Do not remove the @namespace line -- it's required for correct functioning
    6.17 + */
    6.18 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
    6.19 +
    6.20 +
    6.21 +/*
    6.22 + * Make all the default font sizes 9 pt to other GTK+ applications :
    6.23 + *
    6.24 +*/
    6.25 +
    6.26 +* {
    6.27 +   font-size: 9pt !important
    6.28 +}