CVS: crater/web/MozillaFirebird 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
Thu Oct 16 23:10:04 GMT 2003


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

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL POST_REMOVE 
Log Message:

Adding MozillaFirebird to crater for testing to new version 0.7.0 


--- NEW FILE: BUILD ---

( 
  MOZILLA_HOME=/opt/lunar/firebird/lib/mozilla 
  
  OPTS="$OPTS --enable-strip --enable-strip-libs"
  OPTS="$OPTS --disable-toolkit-gtk --enable-default-toolkit=gtk2 --enable-toolkit=gtk2 --with-gtk2"
  OPTS="$OPTS --disable-mathml"
  OPTS="$OPTS --disable-accessibility"
  OPTS="$OPTS --disable-jsd"
  OPTS="$OPTS --enable-xft"
  OPTS="$OPTS --disable-ldap"
  OPTS="$OPTS --enable-svg --enable-svg-renderer-libart"

  export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig:/opt/lunar/gnome/2.4/lib/pkgconfig:/opt/lunar/gnome/2/lib/pkgconfig
  export MOZ_NSS_AUTOCONF=1
  export NATIVE_THEME_SUPPORT=1
  export MOZ_PHOENIX=1
  export MOZ_INTERNAL_LIBART_LGPL=1

  echo "$OPTS" > /tmp/mozz

  unpack $SOURCE2 &&
  cd other-licenses &&
  unpack $SOURCE3   &&
  cd $SOURCE_DIRECTORY &&

    ./configure \
    --prefix=/opt/lunar/firebird    \
    --with-x            \
    --with-pthreads     \
    --enable-reorder    \
    --enable-cpp-rtti   \
    --enable-optimize="$CFLAGS"   \
    --with-default-mozilla-five-home=$MOZILLA_HOME \
    --disable-debug     \
    --disable-tests     \
    --disable-installer \
    --disable-pedantic  \
    --disable-mailnews  \
    --disable-composer  \
    --enable-crypto     \
    $OPTS               &&
              
    make &&
    make_crypto &&
    make install &&
    make_crypto install


) > $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=MozillaFirebird
         VERSION=0.7.0
          SOURCE=$MODULE-source-$VERSION.tar.gz
         SOURCE2=firebird-$VERSION-lunar.tar.bz2
         SOURCE3=mozilla-libart.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]=$PATCH_URL/$SOURCE2
     SOURCE2_VFY=md5:01d6b1010471717a8ef63d13e8cb82bc
  SOURCE3_URL[0]=http://dbguin.lunar-linux.org/~nhudson/mozilla/$SOURCE3
     SOURCE3_VFY=md5:119f20f0c50b8554a1794ffdb6706c8d
        WEB_SITE=http://www.mozilla.org/projects/firebird
         ENTERED=20030810
         UPDATED=20031017
      MAINTAINER="tchan at lunar-linux.org"
           FUZZY="off"
           SHORT="Mozilla Firebird is a speedy, full-featured web browser."
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 ---
FIREBIRD_HOME=/opt/lunar/firebird
VERSION=1.5a
if [ "-d $FIREBIRD_HOME/lib/mozilla-$VERSION/plugins" ] ; then
  mv $FIREBIRD_HOME/lib/mozilla-$VERSION/plugins/libnullplugin.so $FIREBIRD_HOME/mozilla-$VERSION
  rm -Rf $FIREBIRD_HOME/lib/mozilla-$VERSION/plugins
fi
 
# Symlink
cd $FIREBIRD_HOME/lib
rm -Rf $FIREBIRD_HOME/mozilla
ln -sf "mozilla-$VERSION" mozilla

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

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

export LD_LIBRARY_PATH="$FIREBIRD_HOME/lib/mozilla-$VERSION:$FIREBIRD_HOME/lib/mozilla-$VERSION/plugins:$FIREBIRD_HOME/lib/mozilla-$VERSION/components"
export MOZILLA_FIVE_HOME="$FIREBIRD_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/firebird/lib/mozilla*
rm -fr /opt/lunar/firebird/include/mozilla*




More information about the Lunar-commits mailing list