Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/
Date: Fri, 16 Aug 2019 12:05:26
Message-Id: 1565957105.125dfa502a876811160290cb21348daa26f81ce3.whissi@gentoo
1 commit: 125dfa502a876811160290cb21348daa26f81ce3
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 16 12:05:05 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 16 12:05:05 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=125dfa50
7
8 www-client/firefox: re-enable USE=pgo for USE=wayland
9
10 Forcing GDK_BACKEND=x11 during build should be enough.
11
12 Package-Manager: Portage-2.3.71, Repoman-2.3.17
13 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
14
15 www-client/firefox/firefox-68.0.2.ebuild | 15 ++++++++-------
16 1 file changed, 8 insertions(+), 7 deletions(-)
17
18 diff --git a/www-client/firefox/firefox-68.0.2.ebuild b/www-client/firefox/firefox-68.0.2.ebuild
19 index 39bdfe00f4f..c3b6f387d56 100644
20 --- a/www-client/firefox/firefox-68.0.2.ebuild
21 +++ b/www-client/firefox/firefox-68.0.2.ebuild
22 @@ -169,10 +169,7 @@ DEPEND="${CDEPEND}
23
24 # We use virtx eclass which cannot handle wayland
25 REQUIRED_USE="wifi? ( dbus )
26 - pgo? (
27 - lto
28 - !wayland
29 - )"
30 + pgo? ( lto )"
31
32 S="${WORKDIR}/firefox-${PV%_*}"
33
34 @@ -259,7 +256,6 @@ src_unpack() {
35 }
36
37 src_prepare() {
38 - use !wayland && rm -f "${WORKDIR}/firefox/2019_mozilla-bug1539471.patch"
39 eapply "${WORKDIR}/firefox"
40
41 # Allow user to apply any additional patches without modifing ebuild
42 @@ -586,8 +582,13 @@ src_compile() {
43 addpredict /etc/gconf
44 fi
45
46 - MOZ_MAKE_FLAGS="${MAKEOPTS} -O" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ${_virtx} \
47 - ./mach build --verbose || die
48 + GDK_BACKEND=x11 \
49 + MOZ_MAKE_FLAGS="${MAKEOPTS} -O" \
50 + SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
51 + MOZ_NOSPAM=1 \
52 + ${_virtx} \
53 + ./mach build --verbose \
54 + || die
55 }
56
57 src_install() {