#!/bin/sh -e # part of the gn*nix conspiracy http://gnnix.org # Copyright (C) Linus Sphinx 2004 # gnx functions make the distro system #------------------------------------------- gnxfbird() { LIBIDL_CONFIG=/usr/bin/libIDL-config-2 PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig: MOZILLA_OFFICIAL="1" BUILD_OFFICIAL="1" MOZ_THUNDERBIRD="1" export PKG_CONFIG_PATH MOZ_THUNDERBIRD LIBIDL_CONFIG MOZILLA_OFFICIAL BUILD_OFFICIAL rm -rf /usr/src/thunderbird gnxunwrap ${1} mv -f mozilla thunderbird cd thunderbird gnxconfigure --prefix=${PREFIX} \ --with-default-mozilla-five-home=/usr/lib/thunderbird-1.0 \ --with-system-zlib \ --with-system-png \ --with-system-jpeg \ --enable-application=mail \ --enable-default-toolkit=gtk2 \ --enable-extensions=wallet,spellcheck,xmlextras,webservices \ --enable-crypto \ --enable-xft \ --enable-xinerama \ --enable-optimize \ --enable-reorder \ --enable-strip \ --enable-cpp-rtti \ --enable-single-profile \ --enable-necko-protocols=http,file,jar,viewsource,res,data \ --enable-image-decoders=default,-xbm \ --disable-freetype2 \ --disable-accessibility \ --disable-debug \ --disable-tests \ --disable-logging \ --disable-pedantic \ --disable-installer \ --disable-profilesharing \ --disable-mathml \ --disable-oji \ --disable-plugins \ --disable-necko-disk-cache gnxfilelist start ${1} gnxmake # finished product in dist/bin cp -Lpr dist/bin /usr/share/thunderbird find /usr/share/thunderbird -name '*' -print | while read i; do echo ${i}; done > /var/gnx/${1}.files echo $1 done gnxfilelist finish ${1} } #eof