X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fx11%2Fthunderbird%2Fthunderbird;h=08478cb7ae60c0f779f227bb80d637da346ba040;hb=71e31896f00e99656357447f7170e2769d64c21b;hp=d930ac5f638e5b70ec390e0e2e8979dcffe4ba75;hpb=6ae193981fcc05dcc495b4bde92cb8fd290ee4dd;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/x11/thunderbird/thunderbird b/packages/x11/thunderbird/thunderbird index d930ac5..08478cb 100644 --- a/packages/x11/thunderbird/thunderbird +++ b/packages/x11/thunderbird/thunderbird @@ -2,33 +2,59 @@ # # author: hackbard@hackdaworld.dyndns.org # -# [V] 0.7 +# [V] 1.6a1 # [S] 3-8 -# [D] thunderbird-0.7-source.tar.bz2 http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/0.7/ +# [D] mozilla-cvs-20050905_1800.tar.bz2 http://hdwlinux.org/download/hdw-linux/hdw-linux-1.0/sources/x11/thunderbird/ srcdir=mozilla optimize="`echo $hdw_cflags | awk '{ print $1 }'`" -export PKG_CONFIG_PATH="/usr/X11R6/lib/pkgconfig" +extensions="wallet,spellcheck,xmlextras,webservices" +export PKG_CONFIG_PATH="$prefix/X11R6/lib/pkgconfig" +# firefox doesn't like optimization +unset CFLAGS CPPFLAGS CXXFLAGS pre_install() { export MOZILLA_OFFICIAL=1 BUILD_OFFICIAL=1 MOZ_THUNDERBIRD=1 - #sed "s,0000000000,hdw-linux -- ${hdw_version}," \ - # xpfe/global/build.dtd.in > xpfe/global/build.dtd.in.new - #mv xpfe/global/build.dtd.in.new xpfe/global/build.dtd.in + export MOZILLA_FIVE_HOME=$prefix/lib/thunderbird-$ver + sed "s,0000000000,hdw-linux -- ${hdw_version}," \ + xpfe/global/build.dtd.in > xpfe/global/build.dtd.in.new + mv xpfe/global/build.dtd.in.new xpfe/global/build.dtd.in + sed -i 's| dist_bin="$moz_libdir"|\ + &\n run_moz="$dist_bin/run-mozilla.sh"|' \ + browser/app/mozilla.in } confopt="$confopt --enable-default-toolkit=gtk2 --with-x --with-system-zlib" -confopt="$confopt --with-system-jpeg --with-system-png --with-extensions" +confopt="$confopt --with-system-jpeg --with-system-png" +confopt="$confopt --with-default-mozilla-five-home=$MOZILLA_FIVE_HOME" confopt="$confopt --enable-xft --enable-crypto --enable-xinerama" -confopt="$confopt --disable-tests --disable-debug --disable-dtd-debug" +confopt="$confopt --enable-application=mail --enable-strip --enable-strip-libs" +confopt="$confopt --enable-reorder --enable-cpp-rtti" +confopt="$confopt --enable-extensions=$extensions" 'all' or '$extensions' +confopt="$confopt --disable-tests --disable-debug" confopt="$confopt --disable-pedantic --disable-logging --disable-accessibility" -confopt="$confopt --enable-strip --enable-strip-libs --enable-extensions=all" +confopt="$confopt --disable-freetype2 --disable-installer --disable-mathml" +confopt="$confopt --disable-profilesharing --enable-single-profile" +confopt="$confopt --enable-necko-protocols=http,file,jar,viewsource,res,data" +confopt="$confopt --enable-image-decoders=default,-xbm" +confopt="$confopt --disable-oji --disable-plugins --disable-necko-disk-cache" confopt="$confopt --enable-optimize='$optimize'" post_install() { - cd $prefix/lib/mozilla-* - export MOZILLA_FIVE_HOME=$PWD - LD_LIBRARY_PATH=. ./regxpcom - LD_LIBRARY_PATH=. ./regchrome + install -d $prefix/include/thunderbird-$ver/nss + cp -vLf dist/private/nss/*.h dist/public/nss/*.h \ + $prefix/include/thunderbird-$ver/nss + install -d $prefix/lib/thunderbird-$ver/defaults/isp/US + install mailnews/base/ispdata/movemail.rdf \ + mail/extensions/newsblog/rss.rdf \ + $prefix/lib/thunderbird-$ver/defaults/isp && + ln -sfv ../{movemail,rss}.rdf \ + $prefix/lib/thunderbird-$ver/defaults/isp/US + ln -sfv thunderbird-$ver $prefix/lib/thunderbird + ln -sfv thunderbird-$ver $prefix/include/thunderbird + + cd $prefix/lib/thunderbird-$ver + [ -f ./regxpcom ] && LD_LIBRARY_PATH=. ./regxpcom + [ -f ./regchrome ] && LD_LIBRARY_PATH=. ./regchrome touch `find $PWD -name *.rdf` }