summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Daniel Mierswa <impulze@impulze.org> 2009-12-09 04:42:08 +0100
committerAvatar Kim Højgaard-Hansen <kimrhh@exherbo.org> 2010-02-14 21:50:00 +0100
commit6a1bc7a6dbefb59eec00a3dd2df6f8c8b9b2e083 (patch)
tree25d2b77f60feb6c02930c0108ab74351e314bbd5
parent7f852092a14a3815b9ae358eb4a6f0390db530d2 (diff)
downloadmozilla-6a1bc7a6dbefb59eec00a3dd2df6f8c8b9b2e083.tar.gz
mozilla-6a1bc7a6dbefb59eec00a3dd2df6f8c8b9b2e083.tar.xz
version bump thunderbird to 3.0.1
-rw-r--r--packages/mail-client/thunderbird/thunderbird-3.0.1.exheres-0147
1 files changed, 147 insertions, 0 deletions
diff --git a/packages/mail-client/thunderbird/thunderbird-3.0.1.exheres-0 b/packages/mail-client/thunderbird/thunderbird-3.0.1.exheres-0
new file mode 100644
index 0000000..a4699aa
--- /dev/null
+++ b/packages/mail-client/thunderbird/thunderbird-3.0.1.exheres-0
@@ -0,0 +1,147 @@
+# Copyright 2008 Bernd Steinhauser <berniyh@exherbo.org>
+# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require freedesktop-desktop
+require mozilla [ co_project=mail supported_nspr="[>=4.8]" supported_nss="[>=3.12.0]" ]
+
+SUMMARY="Mozilla's standalone mail and news client"
+HOMEPAGE="http://www.mozillamessaging.com/en-US/thunderbird/"
+DOWNLOADS="ftp://ftp.mozilla.org/pub/${PN}/releases/${PV}/source/${PNV}.source.tar.bz2"
+
+LICENCES="MPL-1.1"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS="
+ accessibility
+ alsa [[ description = [ Support for playing HTML5 Audio Tags ] ]]
+ bindist [[ description = [ Disable official branding, allowing binary redistribution ] ]]
+ dbus
+ ldap
+ necko-wifi [[ description = [ Scan WiFi with its internal network library ] ]]
+ startup-notification
+"
+
+# Note: configure checks for legacy XIE support (XIE == ancient deprecated
+# XFree86 lib). Modern Xorg-based systems don't have or need it.
+# https://bugzilla.mozilla.org/show_bug.cgi?id=83920
+#
+# AC_CHECK_LIB(XIE, XieFloGeometry, [MOZ_XIE_LIBS="-lXIE"],,
+# $XLIBS $XEXT_LIBS)
+# AC_CHECK_HEADER(X11/extensions/XIElib.h)
+
+# TODO:
+# fix automagic deps on libhildonmime, libosso
+
+DEPENDENCIES="
+ build:
+ app-arch/zip
+ dev-lang/python:*
+ dev-util/pkg-config
+
+ build+run:
+ dev-libs/libIDL:2[>=0.8.0]
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/jpeg
+ x11-libs/cairo[X][>=1.8.8]
+ x11-libs/gtk+:2
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXt
+ x11-libs/pango[X]
+
+ alsa? (
+ sys-sound/alsa-lib
+ )
+ dbus? (
+ dev-libs/dbus-glib
+ )
+ necko-wifi? (
+ net-wireless/wireless_tools
+ )
+ startup-notification? (
+ x11-libs/startup-notification
+ )
+"
+
+UPSTREAM_RELEASE_NOTES="${HOMEPAGE}${PV}/releasenotes/"
+
+ECONF_SOURCE="${WORKBASE}"/comm-1.9.1
+
+MOZILLA_SRC_CONFIGURE_OPTION_ENABLES=(
+ "accessibility"
+ "alsa ogg" "alsa wave"
+ "!bindist official-branding"
+ "dbus"
+ "ldap"
+ "ldap ldap-experimental"
+ "necko-wifi"
+ "startup-notification"
+)
+
+MOZILLA_SRC_CONFIGURE_PARAMS=(
+ --hates=docdir
+ #--enable-native-uconv # breaks attachments on my system
+ --enable-system-cairo
+ #--enable-system-hunspell # won't compile
+ #--enable-system-sqlite # won't link
+
+ --with-system-bz2
+ --with-system-jpeg
+ #--with-system-png # needs libpng with APNG
+ --with-system-zlib
+
+ # all of the gnome components are disabled with that switch,
+ # although it still checks for libgnome and gconf
+ --disable-gnomevfs
+
+ # this is something different, i just took it over from thunderbird-2
+ --disable-gnomeui
+
+ # seems like directory/c-sdk makes use of this (when ldap is enabled)
+ --enable-ipv6
+
+ # wait with --enable until java is done
+ --disable-javaxpcom
+
+ # optimizations
+ --disable-installer
+ --disable-crashreporter
+ --enable-static
+
+ # probably should enable those?
+ # --enable-calendar (lightning calendar)
+ # --enable-places (a new bookmark/history system used by firefox)
+ # --enable-help-viewer (see http://www-archive.mozilla.org/projects/help-viewer/)
+ # --enable-safe-browsing (anti-phising implementation)
+ # --enable-url-classifier (another security feature)
+ # --enable-js-ultrasparc (js optimization on SPARC machines)
+ # --enable-xterm-updates (title updates in x terminals)
+)
+
+src_prepare() {
+ mozilla_src_prepare
+
+ edo sed -e "/^mozappdir/ c mozappdir = /usr/$(get_libdir)/${PN}" \
+ -i "${ECONF_SOURCE}"/config/autoconf.mk.in
+}
+
+src_install() {
+ default
+
+ insinto /usr/share/applications
+ doins "${FILES}"/${PN}.desktop
+
+ insinto /usr/share/pixmaps
+ if option bindist ; then
+ edo sed -e "/^Name=/ c Name=Mail/News Client" \
+ -i "${IMAGE}"/usr/share/applications/${PN}.desktop
+ newins "${ECONF_SOURCE}"/mail/base/content/icon64.png ${PN}-icon.png
+ else
+ newins "${ECONF_SOURCE}"/other-licenses/branding/thunderbird/content/icon64.png ${PN}-icon.png
+ fi
+}
+