CVS: crater/web/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
Fri Oct 17 00:18:12 GMT 2003


Update of /var/cvs/lunar/crater/web/MozillaThunderbird
In directory dbguin.lunar-linux.org:/tmp/cvs-serv20355/MozillaThunderbird

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL POST_REMOVE 
Log Message:

Adding MozillaThunderbird to crater.  I have no idea if this works yet, I havent tested ot tried it, just hacked it up a minute ago and will test it a bit later 


--- NEW FILE: BUILD ---

( 
  MOZILLA_HOME=/opt/lunar/thunderbird/lib/mozilla 
  
  OPTS="$OPTS --enable-crypto"
  OPTS="$OPTS --disable-mathml"
  OPTS="$OPTS --disable-installer"
  OPTS="$OPTS --disable-activex"
  OPTS="$OPTS --disable-activex-scripting"
  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=icon,png,gif,jpeg
  
  export MOZ_THUNDERBIRD=1

  echo "$OPTS" > /tmp/mozz

  cd $BUILD_DIRECTORY &&
  unpack $SOURCE2   &&
  unpack $SOURCE3   &&
  cd $SOURCE_DIRECTORY &&

    ./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-composer  \
    $OPTS               &&
              
    default_make 

) > $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 "flash-plugin" "" "" "to enable shockwave flash"

--- NEW FILE: DETAILS ---
          MODULE=MozillaThunderbird
         VERSION=0.3
          SOURCE=MozillaFirebird-source-0.7.0.tar.gz
         SOURCE2=tbird-toolkit.tar.bz2
         SOURCE3=tbird-mail.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla
   SOURCE_URL[0]=http://ftp.mozilla.org/pub/firebird/releases/$VERSION/$SOURCE
      SOURCE_VFY=md5:35112566a3dca5bdf363972056afc462
  SOURCE2_URL[0]=cvs://:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot:mozilla/toolkit
  SOURCE3_URL[0]=cvs://:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot:mozilla/mail
        WEB_SITE=http://www.mozilla.org/projects/thunderbird
         ENTERED=20031017
         UPDATED=20031017
      MAINTAINER="nhudson at lunar-linux.org"
           FUZZY="off"
           SHORT="Mozilla Thunderbird is a speedy, full-featured mail client"
cat << EOF
Firebird includes
  comprehensive popup controls to keep unwanted advertising off your desktop;
  a tab browsing mode that lets you open several pages in a single window,
    allowing you to load links in the background without leaving the page you're on;
  integrated Google search ;
  industry leading accessibility with Find As You Type - find links and pagei
    text by simply typing;
  simplified privacy controls that let you cover your tracks more effectively;
  a streamlined browser window that lets you see more of the page than any
    other browser while at the same time being more configurable;
  a large variety of free downloadable extensions and themes that add specific
    functionality and visual changes to the browser;

NOTE: This Lunar version of Firebird has crypto enabled and is gtk+-2.  NOTHING
ELSE IS CONFIGURED IN !!! (i.e NO mail, irc, composer, gpg, calendar, MathML,
SVG, Javascript debugger, html code inspector, XFT, LDAP, help support.  If you
want any of that use the regular mozilla module.
EOF

--- NEW FILE: POST_INSTALL ---
TBIRD_HOME=/opt/lunar/thunderbird
VERSION=1.5
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/mozilla
ln -sf "mozilla-$VERSION" mozilla

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

cd $TBIRD_HOME/lib/mozilla-$VERSION
mkdir -p /opt/lunar/plugins
ln -sf /opt/lunar/plugins plugins

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" >> chrome/installed-chrome.txt
echo "locale,install,select,en-US" >> chrome/installed-chrome.txt

./regxpcom
./regchrome

ln -sf /usr/lib/j2sdk1.4.1/jre/plugin/i386/mozilla/javaplugin_oji.so $FIREBIRD_HOME/lib/mozilla/plugins/javaplugin_oji.so 

#cp $SOURCE_DIRECTORY/firebird-$VERSION-lunar/firebird.desktop /usr/share/applications/firebird.desktop &&
#cp $SOURCE_DIRECTORY/firebird-$VERSION-lunar/firebird.xpm /usr/share/pixmaps/firebird.xpm 

--- 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