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-r3.ebuild (-10 / +34 lines)
Lines 5-23 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
13
	http://dev.gentoo.org/~agriffis/dist/mozilla-1.7.10-nsplugins-v2.patch"
16
	http://dev.gentoo.org/~agriffis/dist/mozilla-1.7.10-nsplugins-v2.patch
17
	crypt? (  http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz
18
		  http://www.mozilla-enigmail.org/downloads/src/ipc-${IPCVER}.tar.gz )"
14
19
15
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
20
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
16
SLOT="0"
21
SLOT="0"
17
LICENSE="MPL-1.1 NPL-1.1"
22
LICENSE="MPL-1.1 NPL-1.1"
18
IUSE="mozcalendar ldap"
23
IUSE="crypt mozcalendar ldap"
19
24
20
RDEPEND=">=www-client/mozilla-launcher-1.39"
25
RDEPEND=">=www-client/mozilla-launcher-1.39
26
	crypt? ( >=app-crypt/gnupg-1.4 )"
21
27
22
S=${WORKDIR}/mozilla
28
S=${WORKDIR}/mozilla
23
29
Lines 37-42 Link Here
37
	done
43
	done
38
	cd ${S} || die "cd failed"
44
	cd ${S} || die "cd failed"
39
45
46
40
	####################################
47
	####################################
41
	#
48
	#
42
	# architecture patches
49
	# architecture patches
Lines 44-57 Link Here
44
	####################################
51
	####################################
45
52
46
	if [[ $(gcc-major-version) -eq 3 ]]; then
53
	if [[ $(gcc-major-version) -eq 3 ]]; then
47
		# ABI Patch for alpha/xpcom for gcc-3.x
48
		if [[ ${ARCH} == alpha ]]; then
54
		if [[ ${ARCH} == alpha ]]; then
55
			# ABI Patch for alpha/xpcom for gcc-3.x
49
			epatch ${FILESDIR}/mozilla-alpha-xpcom-subs-fix.patch
56
			epatch ${FILESDIR}/mozilla-alpha-xpcom-subs-fix.patch
57
			# patch to fix math operations on alpha, makes maps.google.com work!
58
			epatch ${DISTDIR}/mozilla-jslibmath-alpha.patch
50
		fi
59
		fi
51
	fi
60
	fi
52
61
53
	# patch to fix math operations on alpha, makes maps.google.com work!
54
	epatch ${DISTDIR}/mozilla-jslibmath-alpha.patch
55
62
56
	####################################
63
	####################################
57
	#
64
	#
Lines 82-87 Link Here
82
		sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \
89
		sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \
83
			${S}/security/coreconf/arch.mk
90
			${S}/security/coreconf/arch.mk
84
	fi
91
	fi
92
93
94
	# Unpack the enigmail plugin
95
	if use crypt; then
96
		for x in ipc enigmail; do
97
			mv ${WORKDIR}/${x} ${S}/extensions || die "mv failed"
98
			cd ${S}/extensions/${x} || die "cd failed"
99
			makemake	# from mozilla.eclass
100
		done
101
	fi
85
}
102
}
86
103
87
src_compile() {
104
src_compile() {
Lines 141-146 Link Here
141
	edit_makefiles
158
	edit_makefiles
142
159
143
	emake || die
160
	emake || die
161
162
	# Build the enigmail plugin
163
	if use crypt; then
164
		einfo "Building Enigmail plugin..."
165
		cd ${S}/extensions/ipc || die "cd ipc failed"
166
		make || die "make ipc failed"
167
168
		cd ${S}/extensions/enigmail || die "cd enigmail failed"
169
		make || die "make enigmail failed"
170
	fi
171
144
}
172
}
145
173
146
src_install() {
174
src_install() {
Lines 182-191 Link Here
182
	# thunderbird-bin ebuilds.
210
	# thunderbird-bin ebuilds.
183
	update_mozilla_launcher_symlinks
211
	update_mozilla_launcher_symlinks
184
212
185
	ewarn "Enigmail Support has been dropped since it doesn't work on fresh install."
186
	ewarn "The Gentoo Mozilla team is working on making enigmail its own build,"
187
	ewarn "sorry for the inconvenience.  For now, you can download enigmail from"
188
	ewarn "http://enigmail.mozdev.org"
189
}
213
}
190
214
191
pkg_postrm() {
215
pkg_postrm() {

Return to bug 99182