Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 70820
Collapse All | Expand All

(-)/usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.0.6-r6.ebuild.orig (-1 / +27 lines)
Lines 17-23 Link Here
17
SLOT="0"
17
SLOT="0"
18
LICENSE="MPL-1.1 NPL-1.1"
18
LICENSE="MPL-1.1 NPL-1.1"
19
IUSE="gnome java mozdevelop mozsvg ssl"
19
IUSE="gnome java mozdevelop mozsvg ssl"
20
21
if [ "x${LINGUAS}" == "x" ]; then
22
	LINGUAS="en-US"
23
fi
20
24
21
# xrender.pc appeared for the first time in xorg-x11-6.7.0-r2
25
# xrender.pc appeared for the first time in xorg-x11-6.7.0-r2
22
# and is required to build with support for cairo.  #71504
26
# and is required to build with support for cairo.  #71504
Lines 27-33 Link Here
27
		!<x11-base/xorg-x11-6.7.0-r2
31
		!<x11-base/xorg-x11-6.7.0-r2
28
		x11-libs/cairo
32
		x11-libs/cairo
29
	)
33
	)
30
	>=www-client/mozilla-launcher-1.39"
34
	>=www-client/mozilla-launcher-1.39
35
	dev-util/cvs
36
	linguas_ja? ( >=media-fonts/kochi-substitute-20030809-r3 )
37
	linguas_zh_CN? ( >=media-fonts/arphicfonts-0.1-r2 )
38
	linguas_zh_TW? ( >=media-fonts/arphicfonts-0.1-r2 )"
31
39
32
DEPEND="${RDEPEND}
40
DEPEND="${RDEPEND}
33
	java? ( >=dev-java/java-config-0.2.0 )"
41
	java? ( >=dev-java/java-config-0.2.0 )"
Lines 42-47 Link Here
42
export MOZ_PHOENIX=1
50
export MOZ_PHOENIX=1
43
51
44
src_unpack() {
52
src_unpack() {
53
	einfo "Building Firefox in language (l10n code): ${LINGUAS}"
54
55
	if [ "${LINGUAS}" != "en-US" ]; then
56
		#cvs -q -f -z4 -d:pserver:anonymous@cvs-mirror.mozilla.org:/l10n co -rFIREFOX_${PV//./_}_RELEASE mozilla/browser/locales/${LINGUAS}
57
		#cvs -q -f -z4 -d:pserver:anonymous@cvs-mirror.mozilla.org:/l10n co -rFIREFOX_${PV//./_}_RELEASE mozilla/toolkit/locales/${LINGUAS}
58
		cvs -q -f -z4 -d:pserver:anonymous@cvs-mirror.mozilla.org:/l10n co -rFIREFOX_1_0_3_RELEASE mozilla/browser/locales/${LINGUAS}
59
		cvs -q -f -z4 -d:pserver:anonymous@cvs-mirror.mozilla.org:/l10n co -rFIREFOX_1_0_3_RELEASE mozilla/toolkit/locales/${LINGUAS}
60
	fi
61
45
	declare x
62
	declare x
46
63
47
	for x in ${A}; do
64
	for x in ${A}; do
Lines 90-95 Link Here
90
		epatch ${FILESDIR}/svg-cairo-0.3.0-fix.patch
107
		epatch ${FILESDIR}/svg-cairo-0.3.0-fix.patch
91
	fi
108
	fi
92
109
110
	# Patch for newer versions of cairo #98828
111
	if has_version '>=x11-libs/cairo-0.5.0'; then
112
		epatch ${FILESDIR}/moz-svg-renderer_newer_cairo.diff
113
	fi
114
93
	####################################
115
	####################################
94
	#
116
	#
95
	# behavioral fixes
117
	# behavioral fixes
Lines 140-145 Link Here
140
162
141
	mozconfig_init
163
	mozconfig_init
142
164
165
	# localization
166
	mozconfig_annotate '' --enable-ui-locale=${LINGUAS}
167
143
	# Bug 60668: Galeon doesn't build without oji enabled, so enable it
168
	# Bug 60668: Galeon doesn't build without oji enabled, so enable it
144
	# regardless of java setting.
169
	# regardless of java setting.
145
	mozconfig_annotate '' --enable-oji --enable-mathml --enable-extensions=typeaheadfind
170
	mozconfig_annotate '' --enable-oji --enable-mathml --enable-extensions=typeaheadfind
Lines 153-158 Link Here
153
	mozconfig_use_enable mozcalendar calendar
178
	mozconfig_use_enable mozcalendar calendar
154
	mozconfig_use_enable mozsvg svg
179
	mozconfig_use_enable mozsvg svg
155
	mozconfig_use_enable mozsvg svg-renderer-cairo
180
	mozconfig_use_enable mozsvg svg-renderer-cairo
181
	mozconfig_use_enable mozsvg system-cairo
156
	mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
182
	mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
157
	#mozconfig_annotate '' --with-user-appdir=.firefox
183
	#mozconfig_annotate '' --with-user-appdir=.firefox
158
184

Return to bug 70820