wok-next rev 6080
Add: Thunderbird (3.1.2) Mozilla mail
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Aug 29 11:04:31 2010 +0200 (2010-08-29) |
parents | 03e76c74becd |
children | f6570d678cdb |
files | thunderbird/receipt thunderbird/stuff/README thunderbird/stuff/mimeTypes.rdf thunderbird/stuff/thunderbird-icon.png thunderbird/stuff/thunderbird.desktop thunderbird/stuff/thunderbird.mozconfig.conf |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/thunderbird/receipt Sun Aug 29 11:04:31 2010 +0200 1.3 @@ -0,0 +1,60 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="thunderbird" 1.7 +VERSION="3.1.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Mozilla's Thunderbird email application." 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +DEPENDS="alsa-lib gtk+ dbus dbus-glib glib jpeg nss sqlite xorg-libX11 xorg-libXdamage xorg-libXt" 1.12 +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" 1.13 +TARBALL="$PACKAGE-$VERSION.source.tar.bz2" 1.14 +WEB_SITE="www.mozillamessaging.com" 1.15 +WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/source/$TARBALL" 1.16 +LANG="de es fr en_GB pt_PT pt_BR ru" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + # WARNING: long compile time. 1.22 + # Requirements: 1.23 + # - 512MB RAM with lots of available swap space. Additional RAM will 1.24 + # significantly decrease build time. 1.25 + # - At least 2.5 GB of disk space. 1.26 + 1.27 + # Move the mozilla source tree to $PACKAGE-$VERSION to keep variables 1.28 + # and to have a nice clean. 1.29 + cd $WOK/$PACKAGE 1.30 + echo -n "Checking source" 1.31 + [ -d comm-* ] && mv comm-* $PACKAGE-$VERSION 2>/dev/null 1.32 + [ -d $PACKAGE-$VERSION ] || (echo "src not found, exiting" ; exit 1) 1.33 + status 1.34 + # add config 1.35 + cp -a stuff/thunderbird.mozconfig.conf $src/.mozconfig 1.36 + # languages 1.37 + echo "# languages" >> $src/.mozconfig 1.38 + echo "mk_ad_options MOZ_CO_LOCALES=\"$LANG\"" >> $src/.mozconfig 1.39 + # for a quick build 1.40 + echo "# build quicker" >> $src/.mozconfig 1.41 + echo 'mk_add_options MOZ_MAKE_FLAGS="-j4"' >> $src/.mozconfig 1.42 + # build 1.43 + cd $src 1.44 + ./configure $CONFIGURE_ARGS && 1.45 + make && 1.46 + make DESTDIR=$PWD/_pkg install 1.47 +} 1.48 + 1.49 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.50 +genpkg_rules() 1.51 +{ 1.52 + mkdir -p $fs/usr 1.53 + # program 1.54 + cp -a $_pkg/usr/lib $fs/usr 1.55 + cp -a $_pkg/usr/bin $fs/usr 1.56 + # adding mime-type (x-html) 1.57 + cp stuff/mimeTypes.rdf $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile 1.58 + # icons and desktop file 1.59 + mkdir -p $fs/usr/share/applications 1.60 + cp -a stuff/thunderbird.desktop $fs/usr/share/applications 1.61 + mkdir -p $fs/usr/share/pixmaps 1.62 + cp -a stuff/thunderbird-icon.png $fs/usr/share/pixmaps 1.63 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/thunderbird/stuff/README Sun Aug 29 11:04:31 2010 +0200 2.3 @@ -0,0 +1,8 @@ 2.4 + 2.5 + 2.6 +Tazwok build Thunderbird from the official Mozilla source code, we use a .mozconfig 2.7 +file to set all configure options. SliTaz thunderbird.mozconfig.conf is copied in the 2.8 +mozilla source code with the command 'tazwok cook'. So if you want to make 2.9 +some changes, edit thunderbird.mozconfig.conf. 2.10 + 2.11 +- domcox
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/thunderbird/stuff/mimeTypes.rdf Sun Aug 29 11:04:31 2010 +0200 3.3 @@ -0,0 +1,110 @@ 3.4 +<?xml version="1.0"?> 3.5 + 3.6 +<!-- 3.7 + This file is used as a persistent data store for helper application 3.8 + information about both MIME type and protocol scheme helpers. 3.9 + 3.10 + The root of the data are the two containers 3.11 + <RDF:Seq about="urn:mimetypes:root"/> and <RDF:Seq about="urn:schemes:root"/>. 3.12 + 3.13 + These contain one <RDF:li/> entry per MIME type/protocol. Each <RDF:li/> entry 3.14 + corresponds to a "urn:<class>:<type>" resource, where <class> is either 3.15 + "mimetype" or "scheme" and <type> is either a MIME type in "major/minor" format 3.16 + or a scheme. For example, for HTML we would have "urn:mimetype:text/html", 3.17 + while for mailto: we would have "urn:scheme:mailto". 3.18 + 3.19 + Typically, this resource will be in the <RDF:Description/> node which has the 3.20 + corresponding "about" attribute. 3.21 + 3.22 + Each "urn:<class>:<type>" resource can have the following properties: 3.23 + 3.24 + NC:Value - the MIME type or scheme string 3.25 + NC:editable - a "true" or "false" depending on whether this entry is 3.26 + editable 3.27 + NC:description - a description of the type ("HTML Document" for text/html) 3.28 + NC:fileExtensions - for MIME types, there will be one of these properties 3.29 + per extension that corresponds to this MIME type, 3.30 + each one having a single extension as its value. 3.31 + NC:handlerProp - the way the type should be handled. This corresponds to a 3.32 + "urn:<class>:handler:<type>" resource. Eg, the way HTML is 3.33 + handled would be stored in the 3.34 + "urn:mimetype:handler:text/html" resource. 3.35 + 3.36 + Each "urn:<class>:handler:<type>" resource can have the following properties: 3.37 + 3.38 + NC:useSystemDefault - "true" if we should handle per default OS setting, 3.39 + "false" or not set otherwise 3.40 + NC:saveToDisk - "true" if the data should be saved to disk, "false" or not 3.41 + set otherwise. 3.42 + (Note - if both of these are false, that means "open in helper app") 3.43 + NC:alwaysAsk - "true" if the user should always be prompted before handling 3.44 + data of this type, false otherwise. 3.45 + NC:externalApplication - the preferred helper application to use for this 3.46 + type. This corresponds to a 3.47 + "urn:<class>:externalApplication:<type>" resource. 3.48 + NC:possibleApplication - a helper application that can be used for this type. 3.49 + Since there can be multiple possible applications, 3.50 + there can be multiple assertions in the graph with 3.51 + this property for a given handler resource. 3.52 + 3.53 + Each "urn:<class>:externalApplication:<type>" resource, and each resource 3.54 + that represents a possible application, can have the following property: 3.55 + 3.56 + NC:prettyName - the "pretty name" of the application ("Acrobat Reader" for 3.57 + /usr/bin/acroread, eg). 3.58 + 3.59 + If the resource represents a local application, then it can have the following 3.60 + property: 3.61 + 3.62 + NC:path - the path to the application on the local filesystem, for example 3.63 + /usr/bin/test or C:\windows\system32\cmd.exe. 3.64 + 3.65 + If the resource represents a web application, then it can have the following 3.66 + property: 3.67 + 3.68 + NC:uriTemplate - a URI pointing to the web application to which the type 3.69 + should be handed off, with %s in the template representing 3.70 + the place where the content should be inserted. For example, 3.71 + here is a URI template for a service that lets you email 3.72 + an address in a mailto: link: 3.73 + http://www.example.com/sendmail?link=%s 3.74 +--> 3.75 + 3.76 +<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 3.77 + xmlns:NC="http://home.netscape.com/NC-rdf#"> 3.78 + 3.79 + <RDF:Seq RDF:about="urn:schemes:root"> 3.80 + <RDF:li RDF:resource="urn:scheme:http"/> 3.81 + </RDF:Seq> 3.82 + 3.83 + <RDF:Description RDF:about="urn:scheme:externalApplication:http" 3.84 + NC:prettyName="midori" 3.85 + NC:path="/usr/bin/midori" /> 3.86 + <RDF:Description RDF:about="urn:scheme:handler:http" 3.87 + NC:alwaysAsk="false"> 3.88 + <NC:externalApplication RDF:resource="urn:scheme:externalApplication:http"/> 3.89 + <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/midori"/> 3.90 + </RDF:Description> 3.91 + 3.92 + <RDF:Description RDF:about="urn:schemes"> 3.93 + <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/> 3.94 + </RDF:Description> 3.95 + 3.96 + <RDF:Description RDF:about="urn:scheme:http" 3.97 + NC:value="http"> 3.98 + <NC:handlerProp RDF:resource="urn:scheme:handler:http"/> 3.99 + </RDF:Description> 3.100 + 3.101 + <RDF:Description RDF:about="urn:mimetypes"> 3.102 + <NC:MIME-types RDF:resource="urn:mimetypes:root"/> 3.103 + </RDF:Description> 3.104 + 3.105 + <RDF:Seq RDF:about="urn:mimetypes:root"> 3.106 + </RDF:Seq> 3.107 + <RDF:Description RDF:about="urn:root" 3.108 + NC:en-US_defaultHandlersVersion="-1" 3.109 + NC:fr_defaultHandlersVersion="-1" /> 3.110 + <RDF:Description RDF:about="urn:handler:local:/usr/bin/midori" 3.111 + NC:prettyName="midori" 3.112 + NC:path="/usr/bin/midori" /> 3.113 +</RDF:RDF>
4.1 Binary file thunderbird/stuff/thunderbird-icon.png has changed
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/thunderbird/stuff/thunderbird.desktop Sun Aug 29 11:04:31 2010 +0200 5.3 @@ -0,0 +1,17 @@ 5.4 +[Desktop Entry] 5.5 +Encoding=UTF-8 5.6 +Name=Mozilla Thunderbird Mail Client 5.7 +Name[de]=Thunderbird - E-Mail 5.8 +Name[es]=Correo y Agenda de Thunderbird 5.9 +Name[fr]=Messagerie Mozilla Thunderbird 5.10 +Name[pt_BR]=Correio Thunderbird 5.11 +Comment=Mail & News Reader 5.12 +Comment[de]=Lesen von E-Mails, Blogs, Newsgroup 5.13 +Comment[es]=Consultar correo electrnico, blogs, grupos de noticias Usenet y la agenda 5.14 +Comment[fr]=Consulter les e-mails, blogs, forums de discussion Usenet 5.15 +Comment[pt_BR]=Ver e-mails, blogs, fruns de discusso da Usenet 5.16 +Exec=/usr/bin/thunderbird 5.17 +Icon=thunderbird-icon 5.18 +Terminal=false 5.19 +Type=Application 5.20 +Categories=Application;Network;
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/thunderbird/stuff/thunderbird.mozconfig.conf Sun Aug 29 11:04:31 2010 +0200 6.3 @@ -0,0 +1,141 @@ 6.4 +# from Linux from scratch 6.5 + 6.6 +# This file contains the options used in the Thunderbird build. You may 6.7 +# need to specify additional options for your specific build needs. 6.8 +# Use the information provided by running './configure --help' to 6.9 +# help you determine if you need to add any additional options. 6.10 +# Some additional options can be added by uncommenting the examples 6.11 +# in this file or adding options by inserting a line containing 6.12 +# 'ac_add_options --some-option-you-need'. Be aware that some accepted 6.13 +# options, such as '--with-system-bz2', do not affect the build. 6.14 + 6.15 +# slitaz 6.16 +ac_add_options --with-distribution-id=slitaz 6.17 + 6.18 +# specify that we want to build thunderbird 6.19 +ac_add_options --enable-application=mail 6.20 + 6.21 +# sepcify that we want to build the Lightning calendar extension as per the 6.22 +# Mozilla distributed Thunderbird. 6.23 +# ac_add_options --enable-calendar 6.24 + 6.25 +# Create an object directory and specify to build the package in that 6.26 +# directory. If desired, modify the location of the object directory 6.27 +# to a directory inside the source tree by removing '../' from the 6.28 +# line below. 6.29 +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../thunderbird-build 6.30 + 6.31 +# Specify the installation prefix. If you would prefer Xulrunner 6.32 +# installed in a different prefix, modify the line below to fit 6.33 +# your needs (the config will always be written to /etc/gre.d) 6.34 +ac_add_options --prefix=/usr 6.35 + 6.36 +# apply a minimal level of optimization (-O) 6.37 +ac_add_options --enable-optimize 6.38 + 6.39 +# These options are used so that the Xulrunner binaries are linked to 6.40 +# the system-installed copies of the specified libraries instead of 6.41 +# the source tree code which may not be the most recent versions. 6.42 +# With the exception of libsqlite3, the libraries are statically linked. 6.43 + 6.44 +# (Options to use system installed libraries) 6.45 +# Using the shipped version of libsqlite3 has been reported to cause 6.46 +# problems with other applications which were using sqlite3. 6.47 +# Only comment this line if you know exactly what you are doing! 6.48 +ac_add_options --enable-system-sqlite 6.49 + 6.50 +# Comment this only if you want to use whatever patched version of cairo 6.51 +# is in the shipped mozilla tree, together with the system headers. 6.52 +ac_add_options --enable-system-cairo 6.53 + 6.54 +# Comment this if you have not installed lcms. 6.55 +# ac_add_options --enable-system-lcms 6.56 + 6.57 +# Comment this if you did not build libjpeg before GTK+-2. 6.58 +ac_add_options --with-system-jpeg 6.59 + 6.60 +# These two options enable support for building Thunderbird with 6.61 +# system-installed versions of the Network Security Services (NSS) 6.62 +# and Netscape Portable Runtime (NSPR) libraries. Comment them if 6.63 +# you wish to use the included copies (not recommended). 6.64 +# ac_add_options --with-system-nspr 6.65 +ac_add_options --with-system-nss 6.66 + 6.67 +# Comment this if you have not built png with the apng patch. 6.68 +# ac_add_options --with-system-png 6.69 + 6.70 +# The pthreads option is only used when building nspr 6.71 +# Uncomment this if you build the included nspr. 6.72 +#ac_add_options --with-pthreads 6.73 + 6.74 +# zlib is included in LFS. Do not comment this line. 6.75 +ac_add_options --with-system-zlib 6.76 + 6.77 +# (Options to disable parts of the package) 6.78 +# This option is used to disable the a11y support in the Xulrunner 6.79 +# binaries. Comment out this option if you require a11y support. 6.80 +ac_add_options --disable-accessibility 6.81 + 6.82 +# Uncomment this if you did not build curl. 6.83 +#ac_add_options --disable-crashreporter 6.84 + 6.85 +# Comment this if you have built dbus-glib. 6.86 +# ac_add_options --disable-dbus 6.87 + 6.88 +# Comment this if you have gnome-vfs and libgnomeui, and wish to 6.89 +# integrate thunderbird into your gnome desktop 6.90 +ac_add_options --disable-gnomevfs 6.91 + 6.92 +# This option is added so that the Mozilla Installer program is not 6.93 +# built or installed. The program is not required for a BLFS 6.94 +# installation of Xulrunner. 6.95 +ac_add_options --disable-installer 6.96 + 6.97 +# Enable the build of static internal libs (this is currently required, until 6.98 +# Thunderbird 3.1, DO NOT COMMENT, see note below about XulRunner). 6.99 +ac_add_options --enable-static 6.100 + 6.101 +# This option is added so that test libraries and programs are not 6.102 +# built. These would only be required for debugging purposes. 6.103 +ac_add_options --disable-tests 6.104 + 6.105 +# Disable the updater, which is not appropriate if you build from source 6.106 +ac_add_options --disable-updater 6.107 + 6.108 +# (options to add extra parts of the package) 6.109 +# This option causes the installed binaries to have the official 6.110 +# Thunderbird name embedded in them. Due to license restrictions, you 6.111 +# may not distribute binaries created using this option. It also 6.112 +# means you get a popup EULA when you first run thunderbird. 6.113 +ac_add_options --disable-official-branding 6.114 + 6.115 +# This option is used to enable source tree included LDAP support in 6.116 +# the Firefox binaries. This used to be required for mozab support in 6.117 +# OpenOffice, however, is now deprecated. 6.118 +ac_add_options --enable-ldap 6.119 + 6.120 +# This option is used so that the debugging symbols are removed from 6.121 +# the installed binaries during the installation process. Comment out 6.122 +# this option if you may have a need to retain the debugging symbols 6.123 +# in the installed binaries (the resulting binaries will be about 7MB 6.124 +# bigger). 6.125 +ac_add_options --enable-strip 6.126 + 6.127 +# Uncomment this option if you desire support for dual-monitor 6.128 +# display using the X-Window Xinerama libraries. 6.129 +#ac_add_options --enable-xinerama 6.130 + 6.131 +# Enable strong cryptography (This is explicitly required if you plan to use 6.132 +# the enigmail extension for Thunderbird). 6.133 +ac_add_options --enable-crypto 6.134 + 6.135 +# Point to the xulrunner libraries - comment these for a standalone client 6.136 +# DO NOT UNCOMMENT THESE - System XULRunner is broken until Thunderbird 6.137 +# development catches up with XULRunner-1.9.2 (TB-3.1, est. April 6, 2010). 6.138 +#ac_add_options --with-system-libxul 6.139 +#ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-devel-1.9.2.8 6.140 + 6.141 +# curl is required for the crash reporter. 6.142 +# Use --disable-crashreporter to disable the crash reporter. 6.143 +ac_add_options --disable-crashreporter 6.144 +