CVS: moonbase/mail/MozillaThunderbird BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1 POST_REMOVE, NONE, 1.1

nhudson at lunar-linux.org nhudson at lunar-linux.org
Tue Oct 21 03:14:17 GMT 2003


Update of /var/cvs/lunar/moonbase/mail/MozillaThunderbird
In directory dbguin.lunar-linux.org:/tmp/cvs-serv24030/MozillaThunderbird

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL POST_REMOVE 
Log Message:

Adding MozillaThunderbird to moonbase.  This serves as a mail MUA for those who dont want to install the Mozilla Environment. 


--- NEW FILE: BUILD ---

( 
  patchdir=$SOURCE_DIRECTORY/thunderbird-0.3-lunar-1 
  unpack $SOURCE2 &&
  
  MOZILLA_HOME=/opt/lunar/thunderbird/lib/mozilla 
  
  OPTS="$OPTS --disable-mathml"
  OPTS="$OPTS --disable-installer"
  OPTS="$OPTS --disable-activex"
  OPTS="$OPTS --disable-activex-scripting"
  OPTS="$OPTS --enable-xft"
  OPTS="$OPTS --disable-tests"
  OPTS="$OPTS --disable-oji"
  OPTS="$OPTS --disable-necko-disk-cache"
  OPTS="$OPTS --disable-profilesharing"
  OPTS="$OPTS --enable-extensions=wallet,spellcheck"
  OPTS="$OPTS --enable-necko-protocols=http,file,jar,viewsource,res,data"
  OPTS="$OPTS --enable-image-decoders=png,gif,jpeg"
  
  export MOZ_THUNDERBIRD=1

  echo "$OPTS" > /tmp/mozz

    ./configure \
    --prefix=/opt/lunar/thunderbird    \
    --with-x             \
    --with-pthreads      \
    --enable-reorder     \
    --enable-cpp-rtti    \
    --enable-optimize="$CFLAGS"   \
    --with-default-mozilla-five-home=$MOZILLA_HOME \
    --disable-debug      \
    --disable-tests      \
    --disable-pedantic   \
    --disable-toolkit-gtk  \
    --enable-default-toolkit=gtk2  \
    --with-gtk2          \
    --enable-crypto      \
    $OPTS               &&
              
    default_make        &&

    cp $patchdir/thunderbird.desktop /usr/share/applications/ &&
    cp $patchdir/thunderbird.png /usr/share/pixmaps/

) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends zlib &&
depends jpeg &&
depends libpng &&
depends libmng &&
depends ORBit2 &&
depends	zip &&
depends	unzip &&
depends libIDL &&
depends freetype2 &&
depends gtk+-2 &&

optional_depends "gnupg" "" "" "for encrypted email"

--- NEW FILE: DETAILS ---
          MODULE=MozillaThunderbird
         VERSION=0.3
          SOURCE=thunderbird-source-$VERSION.tar.bz2
         SOURCE2=thunderbird-0.3-lunar-1.1.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
   SOURCE_URL[0]=http://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/$SOURCE
      SOURCE_VFY=md5:63bfc18db94e605a25a222e417d3a69d
  SOURCE2_URL[0]=$PATCH_URL/$SOURCE2
     SOURCE2_VFY=md5:459d187bb9ab9dfb2aa8a17dd3970823
        WEB_SITE=http://www.mozilla.org/projects/thunderbird
         ENTERED=20031021
         UPDATED=20031021
      MAINTAINER="nhudson at lunar-linux.org"
           FUZZY="off"
           SHORT="Mozilla Thunderbird is a speedy, full-featured mail client"
cat << EOF
Thunderbird includes:

* The ability to customize your toolbars the way you want them. Choose View / Toolbars / Customize inside any window.
* UI extensions can be added to Mozilla Thunderbird to customize your experience with specific features and enhancements that you need. Support for extensions. Extensions allow you to add features particular to your needs such as offline mail support. A full list of available extensions can be found here.
* A new look and feel. Thunderbird also supports a large number of downloadable themes which alter the appearance of the client.
* An addressing sidebar for mail compose which makes it easy and convenient to add address book contacts to emails.
* Online help includes a FAQ, tips and tricks and other useful information.
* Simplified preferences UI and menus.
* Footprint and performance improvements.
* Better Junk Mail Filtering Support

EOF

--- NEW FILE: POST_INSTALL ---
TBIRD_HOME=/opt/lunar/thunderbird
VERSION=1.5b
if [ "-d $TBIRD_HOME/lib/mozilla-$VERSION/plugins" ] ; then
  mv $TBIRD_HOME/lib/mozilla-$VERSION/plugins/libnullplugin.so $TBIRD_HOME/mozilla-$VERSION
  rm -Rf $TBIRD_HOME/lib/mozilla-$VERSION/plugins
fi
 
# Symlink
cd $TBIRD_HOME/lib
rm -Rf $TBIRD_HOME/lib/mozilla
ln -sf "mozilla-$VERSION" mozilla

cd $TBIRD_HOME/include
rm -Rf $TBIRD_HOME/include/mozilla
ln -sf "mozilla-$VERSION" mozilla

export LD_LIBRARY_PATH="$TBIRD_HOME/lib/mozilla-$VERSION:$TBIRD_HOME/lib/mozilla-$VERSION/plugins:$TBIRD_HOME/lib/mozilla-$VERSION/components"
export MOZILLA_FIVE_HOME="$TBIRD_HOME/lib/mozilla-$VERSION"
ldconfig

echo "skin,install,select,classic/1.0" >> $TBIRD_HOME/lib/mozilla-$VERSION/chrome/installed-chrome.txt
echo "locale,install,select,en-US" >> $TBIRD_HOME/lib/mozilla-$VERSION/chrome/installed-chrome.txt

cd $TBIRD_HOME/lib/mozilla-$VERSION
./regxpcom
./regchrome



--- NEW FILE: POST_REMOVE ---
rm -fr /opt/lunar/thunderbird/lib/mozilla*
rm -fr /opt/lunar/thunderbird/include/mozilla*




More information about the Lunar-commits mailing list