diff --git a/srcpkgs/thunderbird/patches/thunderbird-shared-error.patch b/srcpkgs/thunderbird/patches/thunderbird-shared-error.patch new file mode 100644 index 00000000000..cb41e9c772d --- /dev/null +++ b/srcpkgs/thunderbird/patches/thunderbird-shared-error.patch @@ -0,0 +1,14 @@ +--- mail/installer/Makefile.in 2009-12-01 06:47:04.000000000 +0300 ++++ ../comm-1.9.1-shared/mail/installer/Makefile.in 2009-12-22 16:09:43.000000000 +0300 +@@ -95,9 +95,11 @@ + # mozconfig instead. + ifndef MAIL_PKG_SHARED + ifndef BUILD_STATIC_LIBS ++ifeq (BUILD_STATIC_LIBS, 1) + $(error you need an "--enable-static" build to package a build) + endif + endif ++endif + + # On mozilla-central, packager.mk uses core_abspath to redefine DIST + # As the comm-central config.mk doesn't set it, do it ourselves instead diff --git a/srcpkgs/thunderbird/template b/srcpkgs/thunderbird/template new file mode 100644 index 00000000000..5b3971b8528 --- /dev/null +++ b/srcpkgs/thunderbird/template @@ -0,0 +1,25 @@ +# Template build file for 'thunderbird'. +pkgname=thunderbird +version=3.0rc2 +wrksrc=comm-1.9.1 +distfiles="ftp://ftp.mozilla.org/pub/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2" +build_style=gnu_configure +configure_args="--enable-application=mail --enable-default-toolkit=cairo-gtk2 +--disable-dbus --disable-crashreporter --disable-tests --disable-debug +--enable-optimize --disable-embedding-tests --disable-installer --disable-javaxpcom +--disable-embedding-tests --disable-necko-wifi --disable-libnotify --with-system-jpeg +--with-system-zlib --with-system-bz2 --enable-system-cairo --with-system-sqlite +--with-system-png --with-system-nspr --with-system-nss" +# --enable-libxul --with-libxul-sdk=/usr/lib/xulrunner-devel-1.9.1" +short_desc="Mozilla mail client" +maintainer="Juan RP " +checksum=2c18b692e2eb5bbb4a6207a249a7a478463f333bae50c3648568104eb3368481 +long_desc=" +Mozilla Thunderbird is a redesign of the Mozilla mail component. The +goal is to produce a cross platform stand alone mail application using +the XUL user interface language. This version uses the gtk2 toolkit." + +Add_dependency full zip +Add_dependency full gtk+ +Add_dependency full alsa-lib +Add_dependency full libIDL