diff options
author | Aron Griffis <agriffis@gentoo.org> | 2005-05-12 14:21:12 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2005-05-12 14:21:12 +0000 |
commit | b06df26393f0eee8ee63701f09feda662857e262 (patch) | |
tree | f9070d08f9b39cba17ff712a6c41e5653fb316b3 /mail-client | |
parent | add ~ia64 (diff) | |
download | gentoo-2-b06df26393f0eee8ee63701f09feda662857e262.tar.gz gentoo-2-b06df26393f0eee8ee63701f09feda662857e262.tar.bz2 gentoo-2-b06df26393f0eee8ee63701f09feda662857e262.zip |
trim old versions
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'mail-client')
18 files changed, 10 insertions, 1198 deletions
diff --git a/mail-client/mozilla-thunderbird/ChangeLog b/mail-client/mozilla-thunderbird/ChangeLog index 51a73d16ada7..1988816b7282 100644 --- a/mail-client/mozilla-thunderbird/ChangeLog +++ b/mail-client/mozilla-thunderbird/ChangeLog @@ -1,6 +1,15 @@ # 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.55 2005/04/15 19:44:24 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/ChangeLog,v 1.56 2005/05/12 14:21:12 agriffis Exp $ + + 12 May 2005; Aron Griffis <agriffis@gentoo.org> + -files/ipc-1.0.6-nsPipeChannel.patch, -files/MozillaThunderbird, + -files/enigmail/Makefile-enigmail, -files/enigmail/Makefile-ipc, + -files/thunderbird, -mozilla-thunderbird-0.7.3-r1.ebuild, + -mozilla-thunderbird-0.8.ebuild, -mozilla-thunderbird-0.9.ebuild, + -mozilla-thunderbird-0.9-r2.ebuild, -mozilla-thunderbird-0.9-r3.ebuild, + -mozilla-thunderbird-1.0.ebuild: + trim old versions 15 Apr 2005; Simon Stelling <blubb@gentoo.org> mozilla-thunderbird-1.0.2.ebuild: diff --git a/mail-client/mozilla-thunderbird/files/MozillaThunderbird b/mail-client/mozilla-thunderbird/files/MozillaThunderbird deleted file mode 100644 index fe77f36ced8d..000000000000 --- a/mail-client/mozilla-thunderbird/files/MozillaThunderbird +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# This is the Gentoo Thunderbird startup script -# Additions, suggestions? -# contact astralstorm <astralstorm@gorzow.mm.pl> - -export MOZILLA_FIVE_HOME="/usr/lib/MozillaThunderbird" -THUNDERBIRD_PATH="/usr/lib/MozillaThunderbird" - -# No MozillaFirebird running -${THUNDERBIRD_PATH}/thunderbird $@ diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.7.3-r1 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.7.3-r1 deleted file mode 100644 index c82aa550039c..000000000000 --- a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.7.3-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0a8f9384baecd42ad5c95fa2f2dfd660 thunderbird-0.7.3-source.tar.bz2 33936627 -MD5 7ad587bba6bdb002be2670ac94b09139 enigmail-0.85.0.tar.gz 326337 -MD5 f605ba029ff4c71dcc10c29635c1c79e ipc-1.0.7.tar.gz 104193 diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.8 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.8 deleted file mode 100644 index ae9ba66d5b00..000000000000 --- a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 76de1827d66ac482cfc4dd32e7b1e257 thunderbird-source-0.8.tar.bz2 32880592 -MD5 52bf78d1976478fb7bb485b7754d13ff enigmail-0.86.0.tar.gz 327816 -MD5 0109af0c56b20f8dfd7f3bb080b4a148 ipc-1.0.8.tar.gz 102374 diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9 deleted file mode 100644 index 629865f5c723..000000000000 --- a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 38735d351e44d08dd4376d349a7d3992 thunderbird-0.9-source.tar.bz2 33197138 -MD5 52bf78d1976478fb7bb485b7754d13ff enigmail-0.86.0.tar.gz 327816 -MD5 0109af0c56b20f8dfd7f3bb080b4a148 ipc-1.0.8.tar.gz 102374 diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9-r2 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9-r2 deleted file mode 100644 index 629865f5c723..000000000000 --- a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 38735d351e44d08dd4376d349a7d3992 thunderbird-0.9-source.tar.bz2 33197138 -MD5 52bf78d1976478fb7bb485b7754d13ff enigmail-0.86.0.tar.gz 327816 -MD5 0109af0c56b20f8dfd7f3bb080b4a148 ipc-1.0.8.tar.gz 102374 diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9-r3 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9-r3 deleted file mode 100644 index 0ced5df9d2e0..000000000000 --- a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-0.9-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 38735d351e44d08dd4376d349a7d3992 thunderbird-0.9-source.tar.bz2 33197138 -MD5 a377f8296aa5013350a05085faa336b1 enigmail-0.89.0.tar.gz 332923 -MD5 5e8ced79811ce4986fc840de8d9fc938 ipc-1.1.1.tar.gz 102900 diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.0 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.0 deleted file mode 100644 index 19af71711e8b..000000000000 --- a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 232ffe434fd65f5f0284a760d6e4ba2a thunderbird-1.0-source.tar.bz2 33255315 -MD5 abbe1ae46b92941f40d9a3a1f7c509ca enigmail-0.89.5-r1.tar.gz 358828 -MD5 4aa272b46c8cbf167dcd49a6d74cf526 ipc-1.1.2.tar.gz 102663 diff --git a/mail-client/mozilla-thunderbird/files/enigmail/Makefile-enigmail b/mail-client/mozilla-thunderbird/files/enigmail/Makefile-enigmail deleted file mode 100644 index c6a95caba45d..000000000000 --- a/mail-client/mozilla-thunderbird/files/enigmail/Makefile-enigmail +++ /dev/null @@ -1,45 +0,0 @@ -#!gmake -# -# The contents of this file are subject to the Mozilla Public -# License Version 1.1 (the "MPL"); you may not use this file -# except in compliance with the MPL. You may obtain a copy of -# the MPL at http://www.mozilla.org/MPL/ -# -# Software distributed under the MPL is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the MPL for the specific language governing -# rights and limitations under the MPL. -# -# The Original Code is Enigmail. -# -# The Initial Developer of the Original Code is Ramalingam Saravanan. -# Portions created by Ramalingam Saravanan <svn@xmlterm.org> are -# Copyright (C) 2001 Ramalingam Saravanan. All Rights Reserved. -# -# Contributor(s): -# -# Alternatively, the contents of this file may be used under the -# terms of the GNU General Public License (the "GPL"), in which case -# the provisions of the GPL are applicable instead of -# those above. If you wish to allow use of your version of this -# file only under the terms of the GPL and not to allow -# others to use your version of this file under the MPL, indicate -# your decision by deleting the provisions above and replace them -# with the notice and other provisions required by the GPL. -# If you do not delete the provisions above, a recipient -# may use your version of this file under either the MPL or the -# GPL. -# - -DEPTH = ../.. -topsrcdir = ../.. -srcdir = . -VPATH = . - -include $(DEPTH)/config/autoconf.mk - -DIRS = public src build ui package - -include $(topsrcdir)/config/config.mk - -include $(topsrcdir)/config/rules.mk diff --git a/mail-client/mozilla-thunderbird/files/enigmail/Makefile-ipc b/mail-client/mozilla-thunderbird/files/enigmail/Makefile-ipc deleted file mode 100644 index 99c2231f3d0c..000000000000 --- a/mail-client/mozilla-thunderbird/files/enigmail/Makefile-ipc +++ /dev/null @@ -1,51 +0,0 @@ -#!gmake -# -# The contents of this file are subject to the Mozilla Public -# License Version 1.1 (the "MPL"); you may not use this file -# except in compliance with the MPL. You may obtain a copy of -# the MPL at http://www.mozilla.org/MPL/ -# -# Software distributed under the MPL is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the MPL for the specific language governing -# rights and limitations under the MPL. -# -# The Original Code is protoZilla. -# -# The Initial Developer of the Original Code is Ramalingam Saravanan. -# Portions created by Ramalingam Saravanan <svn@xmlterm.org> are -# Copyright (C) 2001 Ramalingam Saravanan. All Rights Reserved. -# -# Contributor(s): -# -# Alternatively, the contents of this file may be used under the -# terms of the GNU General Public License (the "GPL"), in which case -# the provisions of the GPL are applicable instead of -# those above. If you wish to allow use of your version of this -# file only under the terms of the GPL and not to allow -# others to use your version of this file under the MPL, indicate -# your decision by deleting the provisions above and replace them -# with the notice and other provisions required by the GPL. -# If you do not delete the provisions above, a recipient -# may use your version of this file under either the MPL or the -# GPL. -# - -DEPTH = ../.. -topsrcdir = ../.. -srcdir = . -VPATH = . - -include $(DEPTH)/config/autoconf.mk - -DIRS = public src - -ifdef BUILD_IPC -DIRS += build -endif - -ifdef ENABLE_TESTS -DIRS += tests -endif - -include $(topsrcdir)/config/rules.mk diff --git a/mail-client/mozilla-thunderbird/files/ipc-1.0.6-nsPipeChannel.patch b/mail-client/mozilla-thunderbird/files/ipc-1.0.6-nsPipeChannel.patch deleted file mode 100644 index 989ad6dae422..000000000000 --- a/mail-client/mozilla-thunderbird/files/ipc-1.0.6-nsPipeChannel.patch +++ /dev/null @@ -1,16 +0,0 @@ -This patch brings a critical line up to date from cvs so that -ipc-1.0.6 will compile (09 Jun 2004 agriffis) - -http://www.mozdev.org/source/browse/protozilla/ipc/ - ---- ipc/src/nsPipeChannel.cpp.agriffis 2004-05-17 02:44:43.000000000 -0400 -+++ ipc/src/nsPipeChannel.cpp 2004-06-09 13:48:51.146277360 -0400 -@@ -210,7 +210,7 @@ - if (NS_FAILED(rv)) return rv; - - nsXPIDLCString contentType; -- rv = MIMEService->GetTypeFromURI(url, contentType); -+ rv = MIMEService->GetTypeFromURI(url, getter_Copies(contentType)); - if (NS_SUCCEEDED(rv) && contentType) { - mContentType.Assign(contentType); - } diff --git a/mail-client/mozilla-thunderbird/files/thunderbird b/mail-client/mozilla-thunderbird/files/thunderbird deleted file mode 100644 index fe77f36ced8d..000000000000 --- a/mail-client/mozilla-thunderbird/files/thunderbird +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# This is the Gentoo Thunderbird startup script -# Additions, suggestions? -# contact astralstorm <astralstorm@gorzow.mm.pl> - -export MOZILLA_FIVE_HOME="/usr/lib/MozillaThunderbird" -THUNDERBIRD_PATH="/usr/lib/MozillaThunderbird" - -# No MozillaFirebird running -${THUNDERBIRD_PATH}/thunderbird $@ diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.7.3-r1.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.7.3-r1.ebuild deleted file mode 100644 index da666fb3d880..000000000000 --- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.7.3-r1.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# 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-0.7.3-r1.ebuild,v 1.2 2005/03/23 15:40:55 brad Exp $ - -IUSE="crypt gtk2" - -unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 -inherit flag-o-matic gcc eutils nsplugins mozilla mozilla-launcher makeedit - -EMVER="0.85.0" -IPCVER="1.0.7" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="http://www.mozilla.org/projects/thunderbird/" -SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/thunderbird-${PV}-source.tar.bz2 - crypt? ( http://downloads.mozdev.org/enigmail/src/enigmail-${EMVER}.tar.gz - http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz )" - -KEYWORDS="x86 ~ppc sparc alpha amd64 ia64" -SLOT="0" -LICENSE="MPL-1.1 NPL-1.1" - -RDEPEND="crypt? ( >=app-crypt/gnupg-1.2.1 )" - -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 MOZ_THUNDERBIRD=1 - -src_unpack() { - unpack ${A} || die "unpack failed" - cd ${S} || die - - 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 - - # Unpack the enigmail plugin - if use crypt; then - for x in ipc enigmail; do - mv ${WORKDIR}/${x} ${S}/extensions || die - cd ${S}/extensions/${x} || die - makemake # from mozilla.eclass - done - fi -} - -src_compile() { - local myconf - - #################################### - # - # myconf, CFLAGS and CXXFLAGS setup - # - #################################### - - # mozilla_conf comes from mozilla.eclass - # It sets up CFLAGS, CXXFLAGS and myconf - mozilla_conf - - myconf="${myconf} \ - --with-default-mozilla-five-home=/usr/lib/MozillaThunderbird" - - #################################### - # - # Configure and build Thunderbird - # - #################################### - - econf ${myconf} || die - - # This removes extraneous CFLAGS from the Makefiles to reduce RAM - # requirements while compiling - edit_makefiles - - emake MOZ_THUNDERBIRD=1 || die - - # Build the enigmail plugin - if use crypt; then - einfo "Building Enigmail plugin..." - cd ${S}/extensions/ipc || die "cd ipc failed" - make || die "make ipc failed" - - cd ${S}/extensions/enigmail || die "cd enigmail failed" - make || die "make enigmail failed" - fi -} - -src_install() { - dodir /usr/lib - dodir /usr/lib/MozillaThunderbird - cp -RL --no-preserve=links ${S}/dist/bin/* ${D}/usr/lib/MozillaThunderbird - - # fix permissions - chown -R root:root ${D}/usr/lib/MozillaThunderbird - - # use mozilla-launcher which supports thunderbird as of version 1.6. - # version 1.7-r1 moved the script to /usr/libexec - dodir /usr/bin - dosym /usr/libexec/mozilla-launcher /usr/bin/thunderbird - - # 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 - - # Normally thunderbird-0.7.1 must be run as root once before it can - # be run as a normal user. Drop in some initialized files to - # avoid this. - einfo "Extracting thunderbird-${PV} initialization files" - tar xjpf ${FILESDIR}/thunderbird-0.7-init.tar.bz2 \ - -C ${D}/usr/lib/MozillaThunderbird -} - -pkg_preinst() { - # Remove entire installed instance to solve various - # problems, for example see bug 27719 - rm -rf ${ROOT}/usr/lib/MozillaThunderbird -} - -pkg_postinst() { - export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaThunderbird" - - # Fix permissions on misc files - find ${MOZILLA_FIVE_HOME}/ -perm 0700 -exec chmod 0755 {} \; || : - - # Needed to update the run time bindings for REGXPCOM - # (do not remove next line!) - env-update - - # Register Components and Chrome - einfo "Registering Components and Chrome..." - LD_LIBRARY_PATH=${ROOT}/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regxpcom - LD_LIBRARY_PATH=${ROOT}/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regchrome - - # Fix permissions of component registry - chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat - - # Fix directory permissions - find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : - - # Fix permissions on chrome files - find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : - - # 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 - - einfo - einfo "Please note that the binary name has changed from MozillaThunderbird" - einfo "to simply thunderbird" - einfo -} - -pkg_postrm() { - update_mozilla_launcher_symlinks -} diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.8.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.8.ebuild deleted file mode 100644 index 25e42f2b5b70..000000000000 --- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.8.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# 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-0.8.ebuild,v 1.3 2005/03/23 15:40:55 brad Exp $ - -IUSE="crypt gtk2" - -unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 -inherit flag-o-matic gcc eutils nsplugins mozilla mozilla-launcher makeedit - -EMVER="0.86.0" -IPCVER="1.0.8" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="http://www.mozilla.org/projects/thunderbird/" -SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/thunderbird-source-${PV}.tar.bz2 - crypt? ( http://downloads.mozdev.org/enigmail/src/enigmail-${EMVER}.tar.gz - http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz )" - -KEYWORDS="x86 ppc sparc alpha amd64 ia64" -SLOT="0" -LICENSE="MPL-1.1 NPL-1.1" - -RDEPEND="crypt? ( >=app-crypt/gnupg-1.2.1 )" - -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 MOZ_THUNDERBIRD=1 - -src_unpack() { - unpack ${A} || die "unpack failed" - cd ${S} || die - - 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 - - # Unpack the enigmail plugin - if use crypt; then - for x in ipc enigmail; do - mv ${WORKDIR}/${x} ${S}/extensions || die - cd ${S}/extensions/${x} || die - makemake # from mozilla.eclass - done - fi -} - -src_compile() { - local myconf - - #################################### - # - # myconf, CFLAGS and CXXFLAGS setup - # - #################################### - - # mozilla_conf comes from mozilla.eclass - # It sets up CFLAGS, CXXFLAGS and myconf - mozilla_conf - - # --enable-single-profile is necessary for thunderbird-0.8 - # http://bugzilla.mozilla.org/show_bug.cgi?id=258831 - myconf="${myconf} \ - --with-default-mozilla-five-home=/usr/lib/MozillaThunderbird \ - --enable-single-profile" - - #################################### - # - # Configure and build Thunderbird - # - #################################### - - econf ${myconf} || die - - # This removes extraneous CFLAGS from the Makefiles to reduce RAM - # requirements while compiling - edit_makefiles - - emake MOZ_THUNDERBIRD=1 || die - - # Build the enigmail plugin - if use crypt; then - einfo "Building Enigmail plugin..." - cd ${S}/extensions/ipc || die "cd ipc failed" - make || die "make ipc failed" - - cd ${S}/extensions/enigmail || die "cd enigmail failed" - make || die "make enigmail failed" - fi -} - -src_install() { - dodir /usr/lib - dodir /usr/lib/MozillaThunderbird - cp -RL --no-preserve=links ${S}/dist/bin/* ${D}/usr/lib/MozillaThunderbird - - # fix permissions - chown -R root:root ${D}/usr/lib/MozillaThunderbird - - # use mozilla-launcher which supports thunderbird as of version 1.6. - # version 1.7-r1 moved the script to /usr/libexec - dodir /usr/bin - dosym /usr/libexec/mozilla-launcher /usr/bin/thunderbird - - # 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 - - # Normally thunderbird-0.7.1 must be run as root once before it can - # be run as a normal user. Drop in some initialized files to - # avoid this. - einfo "Extracting thunderbird-${PV} initialization files" - tar xjpf ${FILESDIR}/thunderbird-0.7-init.tar.bz2 \ - -C ${D}/usr/lib/MozillaThunderbird -} - -pkg_preinst() { - # Remove entire installed instance to solve various - # problems, for example see bug 27719 - rm -rf ${ROOT}/usr/lib/MozillaThunderbird -} - -pkg_postinst() { - export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaThunderbird" - - # Fix permissions on misc files - find ${MOZILLA_FIVE_HOME}/ -perm 0700 -exec chmod 0755 {} \; || : - - # Needed to update the run time bindings for REGXPCOM - # (do not remove next line!) - env-update - - # Register Components and Chrome - einfo "Registering Components and Chrome..." - LD_LIBRARY_PATH=${ROOT}/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regxpcom - LD_LIBRARY_PATH=${ROOT}/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regchrome - - # Fix permissions of component registry - chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat - - # Fix directory permissions - find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : - - # Fix permissions on chrome files - find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : - - # 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 - - einfo - einfo "Please note that the binary name has changed from MozillaThunderbird" - einfo "to simply thunderbird" - einfo -} - -pkg_postrm() { - update_mozilla_launcher_symlinks -} diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild deleted file mode 100644 index aa12d69307f4..000000000000 --- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# 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-0.9-r2.ebuild,v 1.4 2005/03/23 15:40:55 brad Exp $ - -IUSE="crypt" - -unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 -inherit flag-o-matic gcc eutils nsplugins mozconfig mozilla-launcher makeedit - -EMVER="0.86.0" -IPCVER="1.0.8" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="http://www.mozilla.org/projects/thunderbird/" -SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/thunderbird-${PV}-source.tar.bz2 - crypt? ( http://downloads.mozdev.org/enigmail/src/enigmail-${EMVER}.tar.gz - http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz )" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64" -SLOT="0" -LICENSE="MPL-1.1 NPL-1.1" - -RDEPEND="crypt? ( >=app-crypt/gnupg-1.2.1 )" - -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 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 - - # Unpack the enigmail plugin - if use crypt; then - for x in ipc enigmail; do - mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed" - cd ${S}/extensions/${x} || die "cd failed" - makemake # from mozilla.eclass - done - fi -} - -src_compile() { - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - - # tb-specific settings - mozconfig_use_enable ldap - mozconfig_use_enable ldap ldap-experimental - mozconfig_annotate '' --with-default-mozilla-five-home=/usr/lib/MozillaThunderbird - - # Finalize and report settings - mozconfig_final - - # hardened GCC uses -fstack-protector-all by default, and this breaks - # firefox. - 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 MOZ_THUNDERBIRD=1 || die "emake failed" - - # Build the enigmail plugin - if use crypt; then - einfo "Building Enigmail plugin..." - cd ${S}/extensions/ipc || die "cd ipc failed" - make || die "make ipc failed" - - cd ${S}/extensions/enigmail || die "cd enigmail failed" - make || die "make enigmail failed" - fi -} - -src_install() { - dodir /usr/lib - dodir /usr/lib/MozillaThunderbird - cp -RL --no-preserve=links ${S}/dist/bin/* ${D}/usr/lib/MozillaThunderbird - - # fix permissions - chown -R root:root ${D}/usr/lib/MozillaThunderbird - - # use mozilla-launcher which supports thunderbird as of version 1.6. - # version 1.7-r1 moved the script to /usr/libexec - dodir /usr/bin - dosym /usr/libexec/mozilla-launcher /usr/bin/thunderbird - - # 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 - - # Normally thunderbird-0.7.1 must be run as root once before it can - # be run as a normal user. Drop in some initialized files to - # avoid this. - einfo "Extracting thunderbird-${PV} initialization files" - tar xjpf ${FILESDIR}/thunderbird-0.7-init.tar.bz2 \ - -C ${D}/usr/lib/MozillaThunderbird -} - -pkg_preinst() { - # Remove entire installed instance to solve various - # problems, for example see bug 27719 - rm -rf ${ROOT}/usr/lib/MozillaThunderbird -} - -pkg_postinst() { - export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaThunderbird" - - # Fix permissions on misc files - find ${MOZILLA_FIVE_HOME}/ -perm 0700 -exec chmod 0755 {} \; || : - - # Needed to update the run time bindings for REGXPCOM - # (do not remove next line!) - env-update - - # Register Components and Chrome - # - # Bug 67031: Set HOME=~root in case this is being emerged via sudo. - # Otherwise the following commands will create ~/.mozilla owned by root - # and 700 perms, which makes subsequent execution of firefox by user - # impossible. - einfo "Registering Components and Chrome..." - HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regxpcom - HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regchrome - - # Fix permissions of component registry - chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat - - # Fix directory permissions - find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : - - # Fix permissions on chrome files - find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : - - # 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 - - einfo - einfo "Please note that the binary name has changed from MozillaThunderbird" - einfo "to simply thunderbird" - einfo -} - -pkg_postrm() { - update_mozilla_launcher_symlinks -} diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r3.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r3.ebuild deleted file mode 100644 index 1dbe3a06c68c..000000000000 --- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r3.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# 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-0.9-r3.ebuild,v 1.2 2005/03/23 15:40:55 brad Exp $ - -IUSE="crypt" - -unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 -inherit flag-o-matic gcc eutils nsplugins mozconfig mozilla-launcher makeedit - -EMVER="0.89.0" -IPCVER="1.1.1" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="http://www.mozilla.org/projects/thunderbird/" -SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/thunderbird-${PV}-source.tar.bz2 - crypt? ( http://downloads.mozdev.org/enigmail/src/enigmail-${EMVER}.tar.gz - http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz )" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64" -SLOT="0" -LICENSE="MPL-1.1 NPL-1.1" - -RDEPEND="crypt? ( >=app-crypt/gnupg-1.2.1 )" - -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 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 - - # Unpack the enigmail plugin - if use crypt; then - for x in ipc enigmail; do - mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed" - cd ${S}/extensions/${x} || die "cd failed" - makemake # from mozilla.eclass - done - fi -} - -src_compile() { - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - - # tb-specific settings - mozconfig_use_enable ldap - mozconfig_use_enable ldap ldap-experimental - mozconfig_annotate '' --with-default-mozilla-five-home=/usr/lib/MozillaThunderbird - - # Finalize and report settings - mozconfig_final - - # hardened GCC uses -fstack-protector-all by default, and this breaks - # firefox. - 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 MOZ_THUNDERBIRD=1 || die "emake failed" - - # Build the enigmail plugin - if use crypt; then - einfo "Building Enigmail plugin..." - cd ${S}/extensions/ipc || die "cd ipc failed" - make || die "make ipc failed" - - cd ${S}/extensions/enigmail || die "cd enigmail failed" - make || die "make enigmail failed" - fi -} - -src_install() { - dodir /usr/lib - dodir /usr/lib/MozillaThunderbird - cp -RL --no-preserve=links ${S}/dist/bin/* ${D}/usr/lib/MozillaThunderbird - - # fix permissions - chown -R root:root ${D}/usr/lib/MozillaThunderbird - - # use mozilla-launcher which supports thunderbird as of version 1.6. - # version 1.7-r1 moved the script to /usr/libexec - dodir /usr/bin - dosym /usr/libexec/mozilla-launcher /usr/bin/thunderbird - - # 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 - - # Normally thunderbird-0.7.1 must be run as root once before it can - # be run as a normal user. Drop in some initialized files to - # avoid this. - einfo "Extracting thunderbird-${PV} initialization files" - tar xjpf ${FILESDIR}/thunderbird-0.7-init.tar.bz2 \ - -C ${D}/usr/lib/MozillaThunderbird -} - -pkg_preinst() { - # Remove entire installed instance to solve various - # problems, for example see bug 27719 - rm -rf ${ROOT}/usr/lib/MozillaThunderbird -} - -pkg_postinst() { - export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaThunderbird" - - # Fix permissions on misc files - find ${MOZILLA_FIVE_HOME}/ -perm 0700 -exec chmod 0755 {} \; || : - - # Needed to update the run time bindings for REGXPCOM - # (do not remove next line!) - env-update - - # Register Components and Chrome - # - # Bug 67031: Set HOME=~root in case this is being emerged via sudo. - # Otherwise the following commands will create ~/.mozilla owned by root - # and 700 perms, which makes subsequent execution of firefox by user - # impossible. - einfo "Registering Components and Chrome..." - HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regxpcom - HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regchrome - - # Fix permissions of component registry - chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat - - # Fix directory permissions - find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : - - # Fix permissions on chrome files - find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : - - # 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 - - einfo - einfo "Please note that the binary name has changed from MozillaThunderbird" - einfo "to simply thunderbird" - einfo -} - -pkg_postrm() { - update_mozilla_launcher_symlinks -} diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9.ebuild deleted file mode 100644 index 600b40e6f35a..000000000000 --- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# 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-0.9.ebuild,v 1.3 2005/03/23 15:40:55 brad Exp $ - -IUSE="crypt gtk2" - -unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 -inherit flag-o-matic gcc eutils nsplugins mozilla mozilla-launcher makeedit - -EMVER="0.86.0" -IPCVER="1.0.8" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="http://www.mozilla.org/projects/thunderbird/" -SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/thunderbird-${PV}-source.tar.bz2 - crypt? ( http://downloads.mozdev.org/enigmail/src/enigmail-${EMVER}.tar.gz - http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz )" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64" -SLOT="0" -LICENSE="MPL-1.1 NPL-1.1" - -RDEPEND="crypt? ( >=app-crypt/gnupg-1.2.1 )" - -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 MOZ_THUNDERBIRD=1 - -src_unpack() { - unpack ${A} || die "unpack failed" - cd ${S} || die - - 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 - - # Unpack the enigmail plugin - if use crypt; then - for x in ipc enigmail; do - mv ${WORKDIR}/${x} ${S}/extensions || die - cd ${S}/extensions/${x} || die - makemake # from mozilla.eclass - done - fi -} - -src_compile() { - local myconf - - #################################### - # - # myconf, CFLAGS and CXXFLAGS setup - # - #################################### - - # mozilla_conf comes from mozilla.eclass - # It sets up CFLAGS, CXXFLAGS and myconf - mozilla_conf - - # --enable-single-profile is necessary for thunderbird-0.8 - # http://bugzilla.mozilla.org/show_bug.cgi?id=258831 - myconf="${myconf} \ - --with-default-mozilla-five-home=/usr/lib/MozillaThunderbird \ - --enable-single-profile" - - #################################### - # - # Configure and build Thunderbird - # - #################################### - - econf ${myconf} || die - - # This removes extraneous CFLAGS from the Makefiles to reduce RAM - # requirements while compiling - edit_makefiles - - emake MOZ_THUNDERBIRD=1 || die - - # Build the enigmail plugin - if use crypt; then - einfo "Building Enigmail plugin..." - cd ${S}/extensions/ipc || die "cd ipc failed" - make || die "make ipc failed" - - cd ${S}/extensions/enigmail || die "cd enigmail failed" - make || die "make enigmail failed" - fi -} - -src_install() { - dodir /usr/lib - dodir /usr/lib/MozillaThunderbird - cp -RL --no-preserve=links ${S}/dist/bin/* ${D}/usr/lib/MozillaThunderbird - - # fix permissions - chown -R root:root ${D}/usr/lib/MozillaThunderbird - - # use mozilla-launcher which supports thunderbird as of version 1.6. - # version 1.7-r1 moved the script to /usr/libexec - dodir /usr/bin - dosym /usr/libexec/mozilla-launcher /usr/bin/thunderbird - - # 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 - - # Normally thunderbird-0.7.1 must be run as root once before it can - # be run as a normal user. Drop in some initialized files to - # avoid this. - einfo "Extracting thunderbird-${PV} initialization files" - tar xjpf ${FILESDIR}/thunderbird-0.7-init.tar.bz2 \ - -C ${D}/usr/lib/MozillaThunderbird -} - -pkg_preinst() { - # Remove entire installed instance to solve various - # problems, for example see bug 27719 - rm -rf ${ROOT}/usr/lib/MozillaThunderbird -} - -pkg_postinst() { - export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaThunderbird" - - # Fix permissions on misc files - find ${MOZILLA_FIVE_HOME}/ -perm 0700 -exec chmod 0755 {} \; || : - - # Needed to update the run time bindings for REGXPCOM - # (do not remove next line!) - env-update - - # Register Components and Chrome - einfo "Registering Components and Chrome..." - LD_LIBRARY_PATH=${ROOT}/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regxpcom - LD_LIBRARY_PATH=${ROOT}/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regchrome - - # Fix permissions of component registry - chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat - - # Fix directory permissions - find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : - - # Fix permissions on chrome files - find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : - - # 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 - - einfo - einfo "Please note that the binary name has changed from MozillaThunderbird" - einfo "to simply thunderbird" - einfo -} - -pkg_postrm() { - update_mozilla_launcher_symlinks -} diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.ebuild deleted file mode 100644 index 36b6d29fa46b..000000000000 --- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# 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.ebuild,v 1.8 2005/03/23 19:47:31 agriffis Exp $ - -IUSE="crypt" - -unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 -inherit flag-o-matic gcc eutils nsplugins mozconfig mozilla-launcher makeedit - -EMVER="0.89.5" -IPCVER="1.1.2" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="http://www.mozilla.org/projects/thunderbird/" -SRC_URI="http://ftp24moz.newaol.com/pub/mozilla.org/thunderbird/releases/${PV}/source/thunderbird-${PV}-source.tar.bz2 - crypt? ( mirror://gentoo/enigmail-${EMVER}-r1.tar.gz - http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz )" - -KEYWORDS="x86 ppc sparc alpha amd64 ~ia64" -SLOT="0" -LICENSE="MPL-1.1 NPL-1.1" - -RDEPEND="crypt? ( >=app-crypt/gnupg-1.2.1 )" - -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 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 - - # Unpack the enigmail plugin - if use crypt; then - for x in ipc enigmail; do - mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed" - cd ${S}/extensions/${x} || die "cd failed" - makemake # from mozilla.eclass - done - fi -} - -src_compile() { - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - - # tb-specific settings - mozconfig_use_enable ldap - mozconfig_use_enable ldap ldap-experimental - mozconfig_annotate '' --with-default-mozilla-five-home=/usr/lib/MozillaThunderbird - - # Finalize and report settings - mozconfig_final - - # hardened GCC uses -fstack-protector-all by default, and this breaks - # firefox. - 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 MOZ_THUNDERBIRD=1 || die "emake failed" - - # Build the enigmail plugin - if use crypt; then - einfo "Building Enigmail plugin..." - cd ${S}/extensions/ipc || die "cd ipc failed" - make || die "make ipc failed" - - cd ${S}/extensions/enigmail || die "cd enigmail failed" - make || die "make enigmail failed" - fi -} - -src_install() { - dodir /usr/lib - dodir /usr/lib/MozillaThunderbird - cp -RL --no-preserve=links ${S}/dist/bin/* ${D}/usr/lib/MozillaThunderbird - - # fix permissions - chown -R root:root ${D}/usr/lib/MozillaThunderbird - - # use mozilla-launcher which supports thunderbird as of version 1.6. - # version 1.7-r1 moved the script to /usr/libexec - dodir /usr/bin - dosym /usr/libexec/mozilla-launcher /usr/bin/thunderbird - - # 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 - - # Normally thunderbird-0.7.1 must be run as root once before it can - # be run as a normal user. Drop in some initialized files to - # avoid this. - einfo "Extracting thunderbird-${PV} initialization files" - tar xjpf ${FILESDIR}/thunderbird-0.7-init.tar.bz2 \ - -C ${D}/usr/lib/MozillaThunderbird -} - -pkg_preinst() { - # Remove entire installed instance to solve various - # problems, for example see bug 27719 - rm -rf ${ROOT}/usr/lib/MozillaThunderbird -} - -pkg_postinst() { - export MOZILLA_FIVE_HOME="${ROOT}/usr/lib/MozillaThunderbird" - - # Fix permissions on misc files - find ${MOZILLA_FIVE_HOME}/ -perm 0700 -exec chmod 0755 {} \; || : - - # Needed to update the run time bindings for REGXPCOM - # (do not remove next line!) - env-update - - # Register Components and Chrome - # - # Bug 67031: Set HOME=~root in case this is being emerged via sudo. - # Otherwise the following commands will create ~/.mozilla owned by root - # and 700 perms, which makes subsequent execution of firefox by user - # impossible. - einfo "Registering Components and Chrome..." - HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regxpcom - HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regchrome - - # Fix permissions of component registry - chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat - - # Fix directory permissions - find ${MOZILLA_FIVE_HOME}/ -type d -perm 0700 -exec chmod 0755 {} \; || : - - # Fix permissions on chrome files - find ${MOZILLA_FIVE_HOME}/chrome/ -name '*.rdf' -exec chmod 0644 {} \; || : - - # 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 - - einfo - einfo "Please note that the binary name has changed from MozillaThunderbird" - einfo "to simply thunderbird" - einfo -} - -pkg_postrm() { - update_mozilla_launcher_symlinks -} |