# HG changeset patch # User Dominique Corbex # Date 1283072671 -7200 # Node ID 7bd9b8911046268a2a84ff3c917b1bf845c2fa27 # Parent 03e76c74becd1325256f9e60cc2ce6454e2c8eb1 Add: Thunderbird (3.1.2) Mozilla mail diff -r 03e76c74becd -r 7bd9b8911046 thunderbird/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thunderbird/receipt Sun Aug 29 11:04:31 2010 +0200 @@ -0,0 +1,60 @@ +# SliTaz package receipt. + +PACKAGE="thunderbird" +VERSION="3.1.2" +CATEGORY="network" +SHORT_DESC="Mozilla's Thunderbird email application." +MAINTAINER="domcox@slitaz.org" +DEPENDS="alsa-lib gtk+ dbus dbus-glib glib jpeg nss sqlite xorg-libX11 xorg-libXdamage xorg-libXt" +BUILD_DEPENDS="alsa-lib-dev bzip2 dbus-dev dbus-glib-dev freetype fontconfig gtk+-dev libIDL libnotify-dev make nss-dev perl pkg-config python sqlite-dev tar wireless_tools-dev xorg-dev xorg-libXt-dev zip" +TARBALL="$PACKAGE-$VERSION.source.tar.bz2" +WEB_SITE="www.mozillamessaging.com" +WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL" +LANG="de es fr en_GB pt_PT pt_BR ru" + +# Rules to configure and make the package. +compile_rules() +{ + # WARNING: long compile time. + # Requirements: + # - 512MB RAM with lots of available swap space. Additional RAM will + # significantly decrease build time. + # - At least 2.5 GB of disk space. + + # Move the mozilla source tree to $PACKAGE-$VERSION to keep variables + # and to have a nice clean. + cd $WOK/$PACKAGE + echo -n "Checking source" + [ -d comm-* ] && mv comm-* $PACKAGE-$VERSION 2>/dev/null + [ -d $PACKAGE-$VERSION ] || (echo "src not found, exiting" ; exit 1) + status + # add config + cp -a stuff/thunderbird.mozconfig.conf $src/.mozconfig + # languages + echo "# languages" >> $src/.mozconfig + echo "mk_ad_options MOZ_CO_LOCALES=\"$LANG\"" >> $src/.mozconfig + # for a quick build + echo "# build quicker" >> $src/.mozconfig + echo 'mk_add_options MOZ_MAKE_FLAGS="-j4"' >> $src/.mozconfig + # build + cd $src + ./configure $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + # program + cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/bin $fs/usr + # adding mime-type (x-html) + cp stuff/mimeTypes.rdf $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile + # icons and desktop file + mkdir -p $fs/usr/share/applications + cp -a stuff/thunderbird.desktop $fs/usr/share/applications + mkdir -p $fs/usr/share/pixmaps + cp -a stuff/thunderbird-icon.png $fs/usr/share/pixmaps +} diff -r 03e76c74becd -r 7bd9b8911046 thunderbird/stuff/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thunderbird/stuff/README Sun Aug 29 11:04:31 2010 +0200 @@ -0,0 +1,8 @@ + + +Tazwok build Thunderbird from the official Mozilla source code, we use a .mozconfig +file to set all configure options. SliTaz thunderbird.mozconfig.conf is copied in the +mozilla source code with the command 'tazwok cook'. So if you want to make +some changes, edit thunderbird.mozconfig.conf. + +- domcox diff -r 03e76c74becd -r 7bd9b8911046 thunderbird/stuff/mimeTypes.rdf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thunderbird/stuff/mimeTypes.rdf Sun Aug 29 11:04:31 2010 +0200 @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 03e76c74becd -r 7bd9b8911046 thunderbird/stuff/thunderbird-icon.png Binary file thunderbird/stuff/thunderbird-icon.png has changed diff -r 03e76c74becd -r 7bd9b8911046 thunderbird/stuff/thunderbird.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thunderbird/stuff/thunderbird.desktop Sun Aug 29 11:04:31 2010 +0200 @@ -0,0 +1,17 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Mozilla Thunderbird Mail Client +Name[de]=Thunderbird - E-Mail +Name[es]=Correo y Agenda de Thunderbird +Name[fr]=Messagerie Mozilla Thunderbird +Name[pt_BR]=Correio Thunderbird +Comment=Mail & News Reader +Comment[de]=Lesen von E-Mails, Blogs, Newsgroup +Comment[es]=Consultar correo electrnico, blogs, grupos de noticias Usenet y la agenda +Comment[fr]=Consulter les e-mails, blogs, forums de discussion Usenet +Comment[pt_BR]=Ver e-mails, blogs, fruns de discusso da Usenet +Exec=/usr/bin/thunderbird +Icon=thunderbird-icon +Terminal=false +Type=Application +Categories=Application;Network; diff -r 03e76c74becd -r 7bd9b8911046 thunderbird/stuff/thunderbird.mozconfig.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thunderbird/stuff/thunderbird.mozconfig.conf Sun Aug 29 11:04:31 2010 +0200 @@ -0,0 +1,141 @@ +# from Linux from scratch + +# This file contains the options used in the Thunderbird build. You may +# need to specify additional options for your specific build needs. +# Use the information provided by running './configure --help' to +# help you determine if you need to add any additional options. +# Some additional options can be added by uncommenting the examples +# in this file or adding options by inserting a line containing +# 'ac_add_options --some-option-you-need'. Be aware that some accepted +# options, such as '--with-system-bz2', do not affect the build. + +# slitaz +ac_add_options --with-distribution-id=slitaz + +# specify that we want to build thunderbird +ac_add_options --enable-application=mail + +# sepcify that we want to build the Lightning calendar extension as per the +# Mozilla distributed Thunderbird. +# ac_add_options --enable-calendar + +# Create an object directory and specify to build the package in that +# directory. If desired, modify the location of the object directory +# to a directory inside the source tree by removing '../' from the +# line below. +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../thunderbird-build + +# Specify the installation prefix. If you would prefer Xulrunner +# installed in a different prefix, modify the line below to fit +# your needs (the config will always be written to /etc/gre.d) +ac_add_options --prefix=/usr + +# apply a minimal level of optimization (-O) +ac_add_options --enable-optimize + +# These options are used so that the Xulrunner binaries are linked to +# the system-installed copies of the specified libraries instead of +# the source tree code which may not be the most recent versions. +# With the exception of libsqlite3, the libraries are statically linked. + +# (Options to use system installed libraries) +# Using the shipped version of libsqlite3 has been reported to cause +# problems with other applications which were using sqlite3. +# Only comment this line if you know exactly what you are doing! +ac_add_options --enable-system-sqlite + +# Comment this only if you want to use whatever patched version of cairo +# is in the shipped mozilla tree, together with the system headers. +ac_add_options --enable-system-cairo + +# Comment this if you have not installed lcms. +# ac_add_options --enable-system-lcms + +# Comment this if you did not build libjpeg before GTK+-2. +ac_add_options --with-system-jpeg + +# These two options enable support for building Thunderbird with +# system-installed versions of the Network Security Services (NSS) +# and Netscape Portable Runtime (NSPR) libraries. Comment them if +# you wish to use the included copies (not recommended). +# ac_add_options --with-system-nspr +ac_add_options --with-system-nss + +# Comment this if you have not built png with the apng patch. +# ac_add_options --with-system-png + +# The pthreads option is only used when building nspr +# Uncomment this if you build the included nspr. +#ac_add_options --with-pthreads + +# zlib is included in LFS. Do not comment this line. +ac_add_options --with-system-zlib + +# (Options to disable parts of the package) +# This option is used to disable the a11y support in the Xulrunner +# binaries. Comment out this option if you require a11y support. +ac_add_options --disable-accessibility + +# Uncomment this if you did not build curl. +#ac_add_options --disable-crashreporter + +# Comment this if you have built dbus-glib. +# ac_add_options --disable-dbus + +# Comment this if you have gnome-vfs and libgnomeui, and wish to +# integrate thunderbird into your gnome desktop +ac_add_options --disable-gnomevfs + +# This option is added so that the Mozilla Installer program is not +# built or installed. The program is not required for a BLFS +# installation of Xulrunner. +ac_add_options --disable-installer + +# Enable the build of static internal libs (this is currently required, until +# Thunderbird 3.1, DO NOT COMMENT, see note below about XulRunner). +ac_add_options --enable-static + +# This option is added so that test libraries and programs are not +# built. These would only be required for debugging purposes. +ac_add_options --disable-tests + +# Disable the updater, which is not appropriate if you build from source +ac_add_options --disable-updater + +# (options to add extra parts of the package) +# This option causes the installed binaries to have the official +# Thunderbird name embedded in them. Due to license restrictions, you +# may not distribute binaries created using this option. It also +# means you get a popup EULA when you first run thunderbird. +ac_add_options --disable-official-branding + +# This option is used to enable source tree included LDAP support in +# the Firefox binaries. This used to be required for mozab support in +# OpenOffice, however, is now deprecated. +ac_add_options --enable-ldap + +# This option is used so that the debugging symbols are removed from +# the installed binaries during the installation process. Comment out +# this option if you may have a need to retain the debugging symbols +# in the installed binaries (the resulting binaries will be about 7MB +# bigger). +ac_add_options --enable-strip + +# Uncomment this option if you desire support for dual-monitor +# display using the X-Window Xinerama libraries. +#ac_add_options --enable-xinerama + +# Enable strong cryptography (This is explicitly required if you plan to use +# the enigmail extension for Thunderbird). +ac_add_options --enable-crypto + +# Point to the xulrunner libraries - comment these for a standalone client +# DO NOT UNCOMMENT THESE - System XULRunner is broken until Thunderbird +# development catches up with XULRunner-1.9.2 (TB-3.1, est. April 6, 2010). +#ac_add_options --with-system-libxul +#ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-devel-1.9.2.8 + +# curl is required for the crash reporter. +# Use --disable-crashreporter to disable the crash reporter. +ac_add_options --disable-crashreporter +