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

(-)mozilla-thunderbird-1.0.7-r2.ebuild.orig (-7 / +29 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 78-83 Link Here
78
		sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \
84
		sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \
79
			${S}/security/coreconf/arch.mk
85
			${S}/security/coreconf/arch.mk
80
	fi
86
	fi
87
88
	# Unpack the enigmail plugin
89
	if use crypt; then
90
		for x in ipc enigmail; do
91
			mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed"
92
			cd ${S}/extensions/${x} || die "cd failed"
93
			makemake        # from mozilla.eclass
94
		done
95
	fi
96
81
}
97
}
82
98
83
src_compile() {
99
src_compile() {
Lines 137-142 Link Here
137
	edit_makefiles
153
	edit_makefiles
138
154
139
	emake || die
155
	emake || die
156
157
	# Build the enigmail plugin
158
	if use crypt; then
159
		einfo "Building Enigmail plugin..."
160
		cd ${S}/extensions/ipc || die "cd ipc failed"
161
		make || die "make ipc failed"
162
163
		cd ${S}/extensions/enigmail || die "cd enigmail failed"
164
		make || die "make enigmail failed"
165
	fi
140
}
166
}
141
167
142
src_install() {
168
src_install() {
Lines 178-187 Link Here
178
	# thunderbird-bin ebuilds.
204
	# thunderbird-bin ebuilds.
179
	update_mozilla_launcher_symlinks
205
	update_mozilla_launcher_symlinks
180
206
181
	ewarn "Enigmail Support has been dropped since it doesn't work on fresh install."
182
	ewarn "The Gentoo Mozilla team is working on making enigmail its own build,"
183
	ewarn "sorry for the inconvenience.  For now, you can download enigmail from"
184
	ewarn "http://enigmail.mozdev.org"
185
}
207
}
186
208
187
pkg_postrm() {
209
pkg_postrm() {

Return to bug 99182