summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2005-07-18 23:56:39 +0000
committerJory Pratt <anarchy@gentoo.org>2005-07-18 23:56:39 +0000
commit02f1bc5d4d3987a4f146049558fca09195aab763 (patch)
tree5e0c811ec5d85ccae33ceeb7a0161cf826e2c6ae /mail-client
parentthe -A option cannot have a space #99425 (diff)
downloadgentoo-2-02f1bc5d4d3987a4f146049558fca09195aab763.tar.gz
gentoo-2-02f1bc5d4d3987a4f146049558fca09195aab763.tar.bz2
gentoo-2-02f1bc5d4d3987a4f146049558fca09195aab763.zip
add mozcalendar support
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/mozilla-thunderbird/ChangeLog8
-rw-r--r--mail-client/mozilla-thunderbird/Manifest22
-rw-r--r--mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.0.5-r11
-rw-r--r--mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.5-r1.ebuild139
4 files changed, 154 insertions, 16 deletions
diff --git a/mail-client/mozilla-thunderbird/ChangeLog b/mail-client/mozilla-thunderbird/ChangeLog
index 02a6f2e45162..f4af80dc052e 100644
--- a/mail-client/mozilla-thunderbird/ChangeLog
+++ b/mail-client/mozilla-thunderbird/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-client/mozilla-thunderbird
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/ChangeLog,v 1.71 2005/07/18 15:21:31 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/ChangeLog,v 1.72 2005/07/18 23:56:38 anarchy Exp $
+
+*mozilla-thunderbird-1.0.5-r1 (18 Jul 2005)
+
+ 18 Jul 2005; Jory A. Pratt <anarchy@gentoo.org>
+ +mozilla-thunderbird-1.0.5-r1.ebuild:
+ Add mozcalendar support
18 Jul 2005; Aron Griffis <agriffis@gentoo.org>
-mozilla-thunderbird-1.0.2.ebuild, -mozilla-thunderbird-1.0.2-r1.ebuild,
diff --git a/mail-client/mozilla-thunderbird/Manifest b/mail-client/mozilla-thunderbird/Manifest
index d582e7df7b27..aae0dd7a2cf1 100644
--- a/mail-client/mozilla-thunderbird/Manifest
+++ b/mail-client/mozilla-thunderbird/Manifest
@@ -1,22 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 55fe17b3d10b4bc6d9d15af9124ee1a3 ChangeLog 8998
MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
-MD5 05942deec09f7e996eb687855b05c760 ChangeLog 8836
-MD5 ea0f38433a6bf55556b77e719de82178 mozilla-thunderbird-1.0.5.ebuild 4208
MD5 988cdabe4b288a0ace4b12d1815b667e mozilla-thunderbird-1.0.2-r10.ebuild 3964
-MD5 f014f20584305e86670ed50e990745db files/thunderbird-0.7-init.tar.bz2 3345
+MD5 ea0f38433a6bf55556b77e719de82178 mozilla-thunderbird-1.0.5.ebuild 4208
+MD5 caa2677b9a9730c1a2414e9cda1f5141 mozilla-thunderbird-1.0.5-r1.ebuild 4269
MD5 99df508a69b6283098fcf48cc2dd2456 files/digest-mozilla-thunderbird-1.0.2-r10 79
-MD5 23d6b685fd5e49a07cc4a1786871bf47 files/mozilla-alpha-xpcom-subs-fix.patch 4953
MD5 a7504ac2a67cca6f3732cdaa3fd17711 files/digest-mozilla-thunderbird-1.0.5 79
-MD5 a3ab6ae2213780c0e20c5b9aa8f018e9 files/mozilla-thunderbird-1.0.2-gcc4.patch 1818
+MD5 23d6b685fd5e49a07cc4a1786871bf47 files/mozilla-alpha-xpcom-subs-fix.patch 4953
MD5 e79634ee1e611182b6c227daa362b20d files/mozilla-thunderbird-0.9-4ft2.patch 22360
+MD5 a3ab6ae2213780c0e20c5b9aa8f018e9 files/mozilla-thunderbird-1.0.2-gcc4.patch 1818
+MD5 f014f20584305e86670ed50e990745db files/thunderbird-0.7-init.tar.bz2 3345
+MD5 a7504ac2a67cca6f3732cdaa3fd17711 files/digest-mozilla-thunderbird-1.0.5-r1 79
MD5 1c810870d0c92c730341e491c310e2d4 files/icon/mozillathunderbird.desktop 184
MD5 04115f0e204444eac76a092a63c89027 files/icon/thunderbird-icon.png 6499
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC28kRBXaUFmZvwyMRAvOAAJ90B+Jb+4dnwPBVNU7hhb5hvkwYDQCfYHKC
-2CrfrsYl/JEBhzZS5J8kPj8=
-=lDIW
------END PGP SIGNATURE-----
diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.0.5-r1 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.0.5-r1
new file mode 100644
index 000000000000..12c355989b83
--- /dev/null
+++ b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.0.5-r1
@@ -0,0 +1 @@
+MD5 e69e5ae8c8cc163ddc073061ad0c3cfa thunderbird-1.0.5-source.tar.bz2 33366136
diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.5-r1.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.5-r1.ebuild
new file mode 100644
index 000000000000..a9eb03dea2d0
--- /dev/null
+++ b/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.5-r1.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.5-r1.ebuild,v 1.1 2005/07/18 23:56:38 anarchy Exp $
+
+unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
+inherit flag-o-matic toolchain-funcs eutils nsplugins mozconfig mozilla-launcher makeedit multilib
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="http://www.mozilla.org/projects/thunderbird/"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/source/thunderbird-${PV}-source.tar.bz2"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+SLOT="0"
+LICENSE="MPL-1.1 NPL-1.1"
+IUSE="ldap"
+
+RDEPEND=">=www-client/mozilla-launcher-1.35"
+
+S=${WORKDIR}/mozilla
+
+# Needed by src_compile() and src_install().
+# Would do in pkg_setup but that loses the export attribute, they
+# become pure shell variables.
+export BUILD_OFFICIAL=1
+export MOZILLA_OFFICIAL=1
+export MOZ_THUNDERBIRD=1
+
+src_unpack() {
+ unpack ${A} || die "unpack failed"
+ cd ${S} || die "cd failed"
+
+ if [[ $(gcc-major-version) -eq 3 ]]; then
+ # ABI Patch for alpha/xpcom for gcc-3.x
+ if [[ ${ARCH} == alpha ]]; then
+ epatch ${FILESDIR}/mozilla-alpha-xpcom-subs-fix.patch
+ fi
+ fi
+
+ # patch out ft caching code since the API changed between releases of
+ # freetype; this enables freetype-2.1.8+ compat.
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
+ epatch ${FILESDIR}/mozilla-thunderbird-0.9-4ft2.patch
+
+ # GCC 4 compile patch ; bug #87800
+ epatch ${FILESDIR}/${PN}-1.0.2-gcc4.patch
+}
+
+src_compile() {
+ declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/thunderbird
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ mozconfig_init
+
+ # tb-specific settings
+ mozconfig_use_enable ldap
+ mozconfig_use_enable ldap ldap-experimental
+ mozconfig_use_enable mozcalendar calendar
+ mozconfig_annotate '' \
+ --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} \
+ --with-user-appdir=.thunderbird
+
+ # Finalize and report settings
+ mozconfig_final
+
+ # hardened GCC uses -fstack-protector-all by default, and this breaks
+ # thunderbird
+ has_hardened && append-flags -fno-stack-protector-all
+ replace-flags -fstack-protector-all -fstack-protector
+
+ ####################################
+ #
+ # Configure and build Thunderbird
+ #
+ ####################################
+
+ econf || die "econf failed"
+
+ # This removes extraneous CFLAGS from the Makefiles to reduce RAM
+ # requirements while compiling
+ edit_makefiles
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/thunderbird
+
+ # Most of the installation happens here
+ dodir ${MOZILLA_FIVE_HOME}
+ cp -RL --no-preserve=links ${S}/dist/bin/* ${D}${MOZILLA_FIVE_HOME}
+
+ # Chromes will live in /var, registered in pkg_postinst
+ keepdir ${MOZILLA_FIVE_HOME/usr/var}
+
+ # Create /usr/bin/thunderbird
+ install_mozilla_launcher_stub thunderbird $MOZILLA_FIVE_HOME
+
+ # Install icon and .desktop for menu entry
+ insinto /usr/share/pixmaps
+ doins ${FILESDIR}/icon/thunderbird-icon.png
+
+ # Fix bug 54179: Install .desktop file into /usr/share/applications
+ # instead of /usr/share/gnome/apps/Internet (18 Jun 2004 agriffis)
+ insinto /usr/share/applications
+ doins ${FILESDIR}/icon/mozillathunderbird.desktop
+}
+
+pkg_preinst() {
+ # Remove entire installed instance to solve various
+ # problems, for example see bug 27719
+ rm -rf ${ROOT}/usr/$(get_libdir)/thunderbird
+}
+
+pkg_postinst() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/thunderbird"
+
+ # Update the component registry
+ MOZILLA_LIBDIR=${ROOT}${MOZILLA_FIVE_HOME} MOZILLA_LAUNCHER=thunderbird \
+ /usr/libexec/mozilla-launcher -register
+
+ # This should be called in the postinst and postrm of all the
+ # mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and
+ # thunderbird-bin ebuilds.
+ update_mozilla_launcher_symlinks
+
+ ewarn "Enigmail Support has been dropped since it doesn't work on fresh install."
+ ewarn "The Gentoo Mozilla team is working on making enigmail its own build,"
+ ewarn "sorry for the inconvenience. For now, you can download enigmail from"
+ ewarn "http://enigmail.mozdev.org"
+}
+
+pkg_postrm() {
+ update_mozilla_launcher_symlinks
+}