Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: www-client/firefox/files/, mail-client/thunderbird/, www-client/firefox/, ...
Date: Fri, 28 Sep 2018 21:20:28
Message-Id: 1538169601.aa0146434e5cb397038fc3f0e4ff0d02673b77de.whissi@gentoo
1 commit: aa0146434e5cb397038fc3f0e4ff0d02673b77de
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 28 21:20:01 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 28 21:20:01 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=aa014643
7
8 synchronize with Gentoo repository
9
10 eclass/mozcoreconf-v6.eclass | 6 ----
11 .../files/thunderbird-60.0-rust-1.29-comp.patch | 37 ++++++++++++++++++++++
12 mail-client/thunderbird/thunderbird-60.0-r3.ebuild | 4 +++
13 ...missing-errno_h-in-SandboxOpenedFiles_cpp.patch | 27 ++++++++++++++++
14 .../files/firefox-60.0-rust-1.29-comp.patch | 37 ++++++++++++++++++++++
15 www-client/firefox/firefox-60.2.1-r1.ebuild | 5 +++
16 www-client/firefox/firefox-62.0.2.ebuild | 1 +
17 7 files changed, 111 insertions(+), 6 deletions(-)
18
19 diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
20 index 930122f..571f195 100644
21 --- a/eclass/mozcoreconf-v6.eclass
22 +++ b/eclass/mozcoreconf-v6.eclass
23 @@ -16,12 +16,6 @@
24
25 if [[ ! ${_MOZCORECONF} ]]; then
26
27 -# for compatibility with packages prior to v1
28 -if [[ -z ${PYTHON_COMPAT[@]} ]]; then
29 -PYTHON_COMPAT=( python2_7 )
30 -PYTHON_REQ_USE='ncurses,sqlite,ssl,threads'
31 -fi
32 -
33 inherit multilib toolchain-funcs flag-o-matic python-any-r1 versionator
34
35 IUSE="${IUSE} custom-cflags custom-optimization"
36
37 diff --git a/mail-client/thunderbird/files/thunderbird-60.0-rust-1.29-comp.patch b/mail-client/thunderbird/files/thunderbird-60.0-rust-1.29-comp.patch
38 new file mode 100644
39 index 0000000..6fbd13f
40 --- /dev/null
41 +++ b/mail-client/thunderbird/files/thunderbird-60.0-rust-1.29-comp.patch
42 @@ -0,0 +1,37 @@
43 +https://bugs.gentoo.org/666898
44 +
45 +https://bugzilla.mozilla.org/show_bug.cgi?id=1479540
46 +--- a/build/moz.configure/init.configure
47 ++++ b/build/moz.configure/init.configure
48 +@@ -572,17 +572,26 @@ option('--target', nargs=1,
49 + @imports(_from='__builtin__', _import='KeyError')
50 + @imports(_from='__builtin__', _import='ValueError')
51 + def split_triplet(triplet, allow_unknown=False):
52 + # The standard triplet is defined as
53 + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
54 + # There is also a quartet form:
55 + # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
56 + # But we can consider the "KERNEL-OPERATING_SYSTEM" as one.
57 +- cpu, manufacturer, os = triplet.split('-', 2)
58 ++ # Additionally, some may omit "unknown" when the manufacturer
59 ++ # is not specified and emit
60 ++ # CPU_TYPE-OPERATING_SYSTEM
61 ++ parts = triplet.split('-', 2)
62 ++ if len(parts) == 3:
63 ++ cpu, _, os = parts
64 ++ elif len(parts) == 2:
65 ++ cpu, os = parts
66 ++ else:
67 ++ die("Unexpected triplet string: %s" % triplet)
68 +
69 + # Autoconf uses config.sub to validate and canonicalize those triplets,
70 + # but the granularity of its results has never been satisfying to our
71 + # use, so we've had our own, different, canonicalization. We've also
72 + # historically not been very consistent with how we use the canonicalized
73 + # values. Hopefully, this will help us make things better.
74 + # The tests are inherited from our decades-old autoconf-based configure,
75 + # which can probably be improved/cleaned up because they are based on a
76 +
77 +
78 +
79 +
80
81 diff --git a/mail-client/thunderbird/thunderbird-60.0-r3.ebuild b/mail-client/thunderbird/thunderbird-60.0-r3.ebuild
82 index f9ecfc8..246f6b1 100644
83 --- a/mail-client/thunderbird/thunderbird-60.0-r3.ebuild
84 +++ b/mail-client/thunderbird/thunderbird-60.0-r3.ebuild
85 @@ -8,6 +8,9 @@ MOZ_ESR=""
86 MOZ_LIGHTNING_VER="6.2"
87 MOZ_LIGHTNING_GDATA_VER="4.4.1"
88
89 +PYTHON_COMPAT=( python3_{5,6,7} )
90 +PYTHON_REQ_USE='ncurses,sqlite,ssl,threads'
91 +
92 # This list can be updated using scripts/get_langs.sh from the mozilla overlay
93 MOZ_LANGS=(ar ast be bg br ca cs cy da de el en en-GB en-US es-AR
94 es-ES et eu fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM id is it ja ko lt
95 @@ -195,6 +198,7 @@ src_prepare() {
96 || die
97 eapply "${WORKDIR}/firefox"
98 eapply "${FILESDIR}"/${PN}-60.0-blessings-TERM.patch # 654316
99 + eapply "${FILESDIR}"/${PN}-60.0-rust-1.29-comp.patch
100
101 # Ensure that are plugins dir is enabled as default
102 sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
103
104 diff --git a/www-client/firefox/files/firefox-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch b/www-client/firefox/files/firefox-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
105 new file mode 100644
106 index 0000000..c746c73
107 --- /dev/null
108 +++ b/www-client/firefox/files/firefox-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
109 @@ -0,0 +1,27 @@
110 +https://bugs.gentoo.org/667096
111 +
112 +https://bugzilla.mozilla.org/show_bug.cgi?id=1480554
113 +--- a/security/sandbox/linux/SandboxOpenedFiles.cpp
114 ++++ b/security/sandbox/linux/SandboxOpenedFiles.cpp
115 +@@ -4,16 +4,17 @@
116 + * License, v. 2.0. If a copy of the MPL was not distributed with this file,
117 + * You can obtain one at http://mozilla.org/MPL/2.0/. */
118 +
119 + #include "SandboxOpenedFiles.h"
120 +
121 + #include "mozilla/Move.h"
122 + #include "SandboxLogging.h"
123 +
124 ++#include <errno.h>
125 + #include <fcntl.h>
126 + #include <unistd.h>
127 +
128 + namespace mozilla {
129 +
130 + // The default move constructor almost works, but Atomic isn't
131 + // move-constructable and the fd needs some special handling.
132 + SandboxOpenedFile::SandboxOpenedFile(SandboxOpenedFile&& aMoved)
133 +
134 +
135 +
136 +
137
138 diff --git a/www-client/firefox/files/firefox-60.0-rust-1.29-comp.patch b/www-client/firefox/files/firefox-60.0-rust-1.29-comp.patch
139 new file mode 100644
140 index 0000000..6fbd13f
141 --- /dev/null
142 +++ b/www-client/firefox/files/firefox-60.0-rust-1.29-comp.patch
143 @@ -0,0 +1,37 @@
144 +https://bugs.gentoo.org/666898
145 +
146 +https://bugzilla.mozilla.org/show_bug.cgi?id=1479540
147 +--- a/build/moz.configure/init.configure
148 ++++ b/build/moz.configure/init.configure
149 +@@ -572,17 +572,26 @@ option('--target', nargs=1,
150 + @imports(_from='__builtin__', _import='KeyError')
151 + @imports(_from='__builtin__', _import='ValueError')
152 + def split_triplet(triplet, allow_unknown=False):
153 + # The standard triplet is defined as
154 + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
155 + # There is also a quartet form:
156 + # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
157 + # But we can consider the "KERNEL-OPERATING_SYSTEM" as one.
158 +- cpu, manufacturer, os = triplet.split('-', 2)
159 ++ # Additionally, some may omit "unknown" when the manufacturer
160 ++ # is not specified and emit
161 ++ # CPU_TYPE-OPERATING_SYSTEM
162 ++ parts = triplet.split('-', 2)
163 ++ if len(parts) == 3:
164 ++ cpu, _, os = parts
165 ++ elif len(parts) == 2:
166 ++ cpu, os = parts
167 ++ else:
168 ++ die("Unexpected triplet string: %s" % triplet)
169 +
170 + # Autoconf uses config.sub to validate and canonicalize those triplets,
171 + # but the granularity of its results has never been satisfying to our
172 + # use, so we've had our own, different, canonicalization. We've also
173 + # historically not been very consistent with how we use the canonicalized
174 + # values. Hopefully, this will help us make things better.
175 + # The tests are inherited from our decades-old autoconf-based configure,
176 + # which can probably be improved/cleaned up because they are based on a
177 +
178 +
179 +
180 +
181
182 diff --git a/www-client/firefox/firefox-60.2.1-r1.ebuild b/www-client/firefox/firefox-60.2.1-r1.ebuild
183 index 03ffedb..ac27525 100644
184 --- a/www-client/firefox/firefox-60.2.1-r1.ebuild
185 +++ b/www-client/firefox/firefox-60.2.1-r1.ebuild
186 @@ -6,6 +6,9 @@ VIRTUALX_REQUIRED="pgo"
187 WANT_AUTOCONF="2.1"
188 MOZ_ESR="1"
189
190 +PYTHON_COMPAT=( python3_{5,6,7} )
191 +PYTHON_REQ_USE='ncurses,sqlite,ssl,threads'
192 +
193 # This list can be updated with scripts/get_langs.sh from the mozilla overlay
194 MOZ_LANGS=( ach af an ar as ast az bg bn-BD bn-IN br bs ca cak cs cy da de dsb
195 el en en-GB en-US en-ZA eo es-AR es-CL es-ES es-MX et eu fa ff fi fr fy-NL ga-IE
196 @@ -126,6 +129,8 @@ src_prepare() {
197
198 eapply "${FILESDIR}"/bug_1461221.patch
199 eapply "${FILESDIR}"/${PN}-60.0-blessings-TERM.patch # 654316
200 + eapply "${FILESDIR}"/${PN}-60.0-rust-1.29-comp.patch
201 + eapply "${FILESDIR}"/${PN}-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
202
203 # Enable gnomebreakpad
204 if use debug ; then
205
206 diff --git a/www-client/firefox/firefox-62.0.2.ebuild b/www-client/firefox/firefox-62.0.2.ebuild
207 index 426d2ba..bee2af6 100644
208 --- a/www-client/firefox/firefox-62.0.2.ebuild
209 +++ b/www-client/firefox/firefox-62.0.2.ebuild
210 @@ -187,6 +187,7 @@ src_prepare() {
211 eapply "${FILESDIR}"/${PN}-60.0-blessings-TERM.patch # 654316
212 eapply "${FILESDIR}"/${PN}-60.0-do-not-force-lld.patch
213 eapply "${FILESDIR}"/${PN}-60.0-sandbox-lto.patch # 666580
214 + eapply "${FILESDIR}"/${PN}-60.0-missing-errno_h-in-SandboxOpenedFiles_cpp.patch
215
216 # Enable gnomebreakpad
217 if use debug ; then