Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 99182 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.7-r2.ebuild (-7 / +28 lines)
Lines 5-22 Link Here
5
unset ALLOWED_FLAGS  # stupid extra-functions.sh ... bug 49179
5
unset ALLOWED_FLAGS  # stupid extra-functions.sh ... bug 49179
6
inherit flag-o-matic toolchain-funcs eutils mozconfig mozilla-launcher makeedit multilib
6
inherit flag-o-matic toolchain-funcs eutils mozconfig mozilla-launcher makeedit multilib
7
7
8
EMVER="0.93.0"
9
IPCVER="1.1.3"
10
8
DESCRIPTION="Thunderbird Mail Client"
11
DESCRIPTION="Thunderbird Mail Client"
9
HOMEPAGE="http://www.mozilla.org/projects/thunderbird/"
12
HOMEPAGE="http://www.mozilla.org/projects/thunderbird/"
10
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/source/thunderbird-${PV}-source.tar.bz2
13
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/source/thunderbird-${PV}-source.tar.bz2
11
	mirror://gentoo/mozilla-firefox-1.0-4ft2.patch.bz2
14
	mirror://gentoo/mozilla-firefox-1.0-4ft2.patch.bz2
12
	mirror://gentoo/mozilla-jslibmath-alpha.patch"
15
	mirror://gentoo/mozilla-jslibmath-alpha.patch
16
	crypt? (  http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz
17
		  http://www.mozilla-enigmail.org/downloads/src/ipc-${IPCVER}.tar.gz )"
13
18
14
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
19
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
15
SLOT="0"
20
SLOT="0"
16
LICENSE="MPL-1.1 NPL-1.1"
21
LICENSE="MPL-1.1 NPL-1.1"
17
IUSE="mozcalendar ldap"
22
IUSE="crypt mozcalendar ldap"
18
23
19
RDEPEND=">=www-client/mozilla-launcher-1.39"
24
RDEPEND=">=www-client/mozilla-launcher-1.39
25
	crypt? ( >=app-crypt/gnupg-1.4 )"
20
26
21
S=${WORKDIR}/mozilla
27
S=${WORKDIR}/mozilla
22
28
Lines 65-70 Link Here
65
	# freetype; this enables freetype-2.1.8+ compat.
71
	# freetype; this enables freetype-2.1.8+ compat.
66
	# https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
72
	# https://bugzilla.mozilla.org/show_bug.cgi?id=234035#c65
67
	epatch ${DISTDIR}/mozilla-firefox-1.0-4ft2.patch.bz2
73
	epatch ${DISTDIR}/mozilla-firefox-1.0-4ft2.patch.bz2
74
75
	# Unpack the enigmail plugin
76
	if use crypt; then
77
		for x in ipc enigmail; do
78
			mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed"
79
			cd ${S}/extensions/${x} || die "cd failed"
80
			makemake	# from mozilla.eclass
81
		done
82
	fi
68
}
83
}
69
84
70
src_compile() {
85
src_compile() {
Lines 124-129 Link Here
124
	edit_makefiles
139
	edit_makefiles
125
140
126
	emake || die
141
	emake || die
142
143
	# Build the enigmail plugin
144
	if use crypt; then
145
		einfo "Building Enigmail plugin..."
146
		cd ${S}/extensions/ipc || die "cd ipc failed"
147
		make || die "make ipc failed"
148
149
		cd ${S}/extensions/enigmail || die "cd enigmail failed"
150
		make || die "make enigmail failed"
151
	fi
127
}
152
}
128
153
129
src_install() {
154
src_install() {
Lines 165-174 Link Here
165
	# thunderbird-bin ebuilds.
190
	# thunderbird-bin ebuilds.
166
	update_mozilla_launcher_symlinks
191
	update_mozilla_launcher_symlinks
167
192
168
	ewarn "Enigmail Support has been dropped since it doesn't work on fresh install."
169
	ewarn "The Gentoo Mozilla team is working on making enigmail its own build,"
170
	ewarn "sorry for the inconvenience.  For now, you can download enigmail from"
171
	ewarn "http://enigmail.mozdev.org"
172
}
193
}
173
194
174
pkg_postrm() {
195
pkg_postrm() {

Return to bug 99182