1 |
commit: 82da5bb43dbd26d97f71a8dd57320e49a5834b67 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 30 00:12:46 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 30 11:45:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82da5bb4 |
7 |
|
8 |
www-client/firefox: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/15152 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
www-client/firefox/Manifest | 1 - |
15 |
www-client/firefox/firefox-74.0-r1.ebuild | 817 ------------------------------ |
16 |
2 files changed, 818 deletions(-) |
17 |
|
18 |
diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest |
19 |
index 0f5ee53ec76..317b484918c 100644 |
20 |
--- a/www-client/firefox/Manifest |
21 |
+++ b/www-client/firefox/Manifest |
22 |
@@ -251,7 +251,6 @@ DIST firefox-74.0-nl.xpi 540834 BLAKE2B 715ec022352d749cc169cf42e45119f1bc015a6a |
23 |
DIST firefox-74.0-nn-NO.xpi 540254 BLAKE2B ec7b5b70205d9b6f8d080d268b8577c6f75b5e1ced141e130a399770102c169cac8cd74b588b51c0afd308e39283e45a812fe6955ff52e96803efedfd8165643 SHA512 c512e98314e9bdccee1e53d6d4568b4a14ce67f5a7de973622cdc8f97767cdeb767428d716bee1e04c2fe65c71a8264b72fa45e2f3a4fe3ac56f7c9b8cd89ce2 |
24 |
DIST firefox-74.0-oc.xpi 542799 BLAKE2B 3537b122de23cb24a223bd2b75d02f4a79af24148fce2d67da9effa3320ccc97618559bba349d310336c254431682deb97a318ad670e07c055417d7a19fbb0ef SHA512 475ef3e7b6de869e7b0b71e1085fc52187f22abd0da3281da795fc93d4864c9ab8a49788340c31b8d962016734cec91b759f7c038ab904d77950d80af5acf7dc |
25 |
DIST firefox-74.0-pa-IN.xpi 591780 BLAKE2B 780868806bc5400419e3b2ebcb5cbc4cb6bb080a345cec7bd29c223bd33b5a8b9c92fd35bc010d4bc0bdf19162ed1616c1f6ad663ee1e824eee709a450839990 SHA512 0dd55a2e53c77c3c88a2c4c8f0a61e790fe98db7063e1e22b0db18c07108a15ff4efce3f0cf3aad87fadb337ad775a6ef548d30cc53bd6459ae981a8bfaf0d64 |
26 |
-DIST firefox-74.0-patches-04.tar.xz 3217212 BLAKE2B c82a787c87241f04c4f423462a6b72aa7aa6893318657f2df62bb0dc672d85daa44e5f937c7b39cfd14ab3d9e8354e32815e8808f83682c81fc61b773de89a43 SHA512 112badf1c21db0e73fbf175d4f1d3d0e5af6c181430c6a02cef537e4e1af2882d97f6a472975dd3141f9e9a3671a862d93e5ccaeae7873ec625cdfca99ac0bf4 |
27 |
DIST firefox-74.0-patches-05.tar.xz 3222064 BLAKE2B 7ce235bce6a4bef1fe13f7b1a0eee9cce94fc0bec3d7f9efd19840bc31f2716d6ebac276036de59d499a5dcd512185f38fd7b9dc176f770ba90e255dfd6b1cd8 SHA512 3c1b502ea5eeba874a3006212f354ff3dcdf95f3e2a546a0f0e976f7fd2b119ca7635b6994aded2b8b42be2f3607f6094d50da81ce16bd45cd2036879650c93b |
28 |
DIST firefox-74.0-pl.xpi 554259 BLAKE2B 7210ea9a372416516e9237f73b5d3831c2cc3669cd79abf4393f61936b8e08fcc65275bc3ef68e0211b1aa09235b53b4e954c20de8ae602ec0601454e0969ff7 SHA512 42ec0636c47162fa418a1fc5c1022bd7635b7d253e2d055357e9bdb7becce54f3815eebc670adb0f002690136ba8b6cc54462285e574d4f5362dd5477027a760 |
29 |
DIST firefox-74.0-pt-BR.xpi 542179 BLAKE2B e44d282d6755147451466c1728c0555876da08fa2ade4ef179004db0f659533103f65cf9ad7f4b0d2597e9d414d153ef6684cab4a36c26a300024f6ce84d9d4e SHA512 14ac9a0694e557e682e8c12bb8b64fecf9da7b4e826dcc0565bc8e88710910b9128aaecb602d40e0d86fb07751929466e329cdd660af0372ddb341ef5928944b |
30 |
|
31 |
diff --git a/www-client/firefox/firefox-74.0-r1.ebuild b/www-client/firefox/firefox-74.0-r1.ebuild |
32 |
deleted file mode 100644 |
33 |
index 0e6d6565e55..00000000000 |
34 |
--- a/www-client/firefox/firefox-74.0-r1.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,817 +0,0 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI="6" |
41 |
-VIRTUALX_REQUIRED="pgo" |
42 |
-WANT_AUTOCONF="2.1" |
43 |
-MOZ_ESR="" |
44 |
- |
45 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
46 |
-PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)' |
47 |
- |
48 |
-# This list can be updated with scripts/get_langs.sh from the mozilla overlay |
49 |
-MOZ_LANGS=(ach af an ar ast az be bg bn br bs ca cak cs cy da de dsb el en en-CA |
50 |
-en-GB en-US eo es-AR es-CL es-ES es-MX et eu fa ff fi fr fy-NL ga-IE gd gl gn gu-IN |
51 |
-he hi-IN hr hsb hu hy-AM ia id is it ja ka kab kk km kn ko lij lt lv mk mr ms my |
52 |
-nb-NO nl nn-NO oc pa-IN pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta te |
53 |
-th tr uk ur uz vi xh zh-CN zh-TW ) |
54 |
- |
55 |
-# Convert the ebuild version to the upstream mozilla version, used by mozlinguas |
56 |
-MOZ_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI |
57 |
-MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI |
58 |
-MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI |
59 |
- |
60 |
-if [[ ${MOZ_ESR} == 1 ]] ; then |
61 |
- # ESR releases have slightly different version numbers |
62 |
- MOZ_PV="${MOZ_PV}esr" |
63 |
-fi |
64 |
- |
65 |
-# Patch version |
66 |
-PATCH="${PN}-74.0-patches-04" |
67 |
- |
68 |
-MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases" |
69 |
-MOZ_SRC_URI="${MOZ_HTTP_URI}/${MOZ_PV}/source/firefox-${MOZ_PV}.source.tar.xz" |
70 |
- |
71 |
-if [[ "${PV}" == *_rc* ]]; then |
72 |
- MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}" |
73 |
- MOZ_LANGPACK_PREFIX="linux-i686/xpi/" |
74 |
- MOZ_SRC_URI="${MOZ_HTTP_URI}/source/${PN}-${MOZ_PV}.source.tar.xz -> $P.tar.xz" |
75 |
-fi |
76 |
- |
77 |
-LLVM_MAX_SLOT=10 |
78 |
- |
79 |
-inherit check-reqs eapi7-ver flag-o-matic toolchain-funcs eutils \ |
80 |
- gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils \ |
81 |
- autotools mozlinguas-v2 virtualx eapi7-ver |
82 |
- |
83 |
-DESCRIPTION="Firefox Web Browser" |
84 |
-HOMEPAGE="https://www.mozilla.com/firefox" |
85 |
- |
86 |
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
87 |
- |
88 |
-SLOT="0" |
89 |
-LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
90 |
-IUSE="bindist clang cpu_flags_x86_avx2 debug eme-free geckodriver |
91 |
- +gmp-autoupdate hardened hwaccel jack lto cpu_flags_arm_neon pgo |
92 |
- pulseaudio +screenshot selinux startup-notification +system-av1 |
93 |
- +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-sqlite |
94 |
- +system-libvpx +system-webp test wayland wifi" |
95 |
- |
96 |
-REQUIRED_USE="pgo? ( lto )" |
97 |
- |
98 |
-RESTRICT="!bindist? ( bindist ) |
99 |
- !test? ( test )" |
100 |
- |
101 |
-PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c,whissi}/mozilla/patchsets/${PATCH}.tar.xz ) |
102 |
-SRC_URI="${SRC_URI} |
103 |
- ${MOZ_SRC_URI} |
104 |
- ${PATCH_URIS[@]}" |
105 |
- |
106 |
-CDEPEND=" |
107 |
- >=dev-libs/nss-3.50 |
108 |
- >=dev-libs/nspr-4.25 |
109 |
- dev-libs/atk |
110 |
- dev-libs/expat |
111 |
- >=x11-libs/cairo-1.10[X] |
112 |
- >=x11-libs/gtk+-2.18:2 |
113 |
- >=x11-libs/gtk+-3.4.0:3[X] |
114 |
- x11-libs/gdk-pixbuf |
115 |
- >=x11-libs/pango-1.22.0 |
116 |
- >=media-libs/libpng-1.6.35:0=[apng] |
117 |
- >=media-libs/mesa-10.2:* |
118 |
- media-libs/fontconfig |
119 |
- >=media-libs/freetype-2.4.10 |
120 |
- kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) ) |
121 |
- virtual/freedesktop-icon-theme |
122 |
- sys-apps/dbus |
123 |
- dev-libs/dbus-glib |
124 |
- startup-notification? ( >=x11-libs/startup-notification-0.8 ) |
125 |
- >=x11-libs/pixman-0.19.2 |
126 |
- >=dev-libs/glib-2.26:2 |
127 |
- >=sys-libs/zlib-1.2.3 |
128 |
- >=dev-libs/libffi-3.0.10:= |
129 |
- virtual/ffmpeg |
130 |
- x11-libs/libX11 |
131 |
- x11-libs/libXcomposite |
132 |
- x11-libs/libXdamage |
133 |
- x11-libs/libXext |
134 |
- x11-libs/libXfixes |
135 |
- x11-libs/libXrender |
136 |
- x11-libs/libXt |
137 |
- system-av1? ( |
138 |
- >=media-libs/dav1d-0.3.0:= |
139 |
- >=media-libs/libaom-1.0.0:= |
140 |
- ) |
141 |
- system-harfbuzz? ( >=media-libs/harfbuzz-2.6.4:0= >=media-gfx/graphite2-1.3.13 ) |
142 |
- system-icu? ( >=dev-libs/icu-64.1:= ) |
143 |
- system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) |
144 |
- system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] ) |
145 |
- system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] ) |
146 |
- system-sqlite? ( >=dev-db/sqlite-3.31.1:3[secure-delete,debug=] ) |
147 |
- system-webp? ( >=media-libs/libwebp-1.1.0:0= ) |
148 |
- wifi? ( |
149 |
- kernel_linux? ( |
150 |
- net-misc/networkmanager |
151 |
- ) |
152 |
- ) |
153 |
- jack? ( virtual/jack ) |
154 |
- selinux? ( sec-policy/selinux-mozilla )" |
155 |
- |
156 |
-RDEPEND="${CDEPEND} |
157 |
- jack? ( virtual/jack ) |
158 |
- pulseaudio? ( || ( media-sound/pulseaudio |
159 |
- >=media-sound/apulse-0.1.9 ) ) |
160 |
- selinux? ( sec-policy/selinux-mozilla )" |
161 |
- |
162 |
-DEPEND="${CDEPEND} |
163 |
- app-arch/zip |
164 |
- app-arch/unzip |
165 |
- >=dev-util/cbindgen-0.13.0 |
166 |
- >=net-libs/nodejs-8.11.0 |
167 |
- >=sys-devel/binutils-2.30 |
168 |
- sys-apps/findutils |
169 |
- || ( |
170 |
- ( |
171 |
- sys-devel/clang:10 |
172 |
- !clang? ( sys-devel/llvm:10 ) |
173 |
- clang? ( |
174 |
- =sys-devel/lld-10* |
175 |
- sys-devel/llvm:10[gold] |
176 |
- pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] ) |
177 |
- ) |
178 |
- ) |
179 |
- ( |
180 |
- sys-devel/clang:9 |
181 |
- !clang? ( sys-devel/llvm:9 ) |
182 |
- clang? ( |
183 |
- =sys-devel/lld-9* |
184 |
- sys-devel/llvm:9[gold] |
185 |
- pgo? ( =sys-libs/compiler-rt-sanitizers-9*[profile] ) |
186 |
- ) |
187 |
- ) |
188 |
- ( |
189 |
- sys-devel/clang:8 |
190 |
- !clang? ( sys-devel/llvm:8 ) |
191 |
- clang? ( |
192 |
- =sys-devel/lld-8* |
193 |
- sys-devel/llvm:8[gold] |
194 |
- pgo? ( =sys-libs/compiler-rt-sanitizers-8*[profile] ) |
195 |
- ) |
196 |
- ) |
197 |
- ( |
198 |
- sys-devel/clang:7 |
199 |
- !clang? ( sys-devel/llvm:7 ) |
200 |
- clang? ( |
201 |
- =sys-devel/lld-7* |
202 |
- sys-devel/llvm:7[gold] |
203 |
- pgo? ( =sys-libs/compiler-rt-sanitizers-7*[profile] ) |
204 |
- ) |
205 |
- ) |
206 |
- ) |
207 |
- pulseaudio? ( media-sound/pulseaudio ) |
208 |
- >=virtual/rust-1.39.0 |
209 |
- wayland? ( >=x11-libs/gtk+-3.11:3[wayland] ) |
210 |
- amd64? ( >=dev-lang/yasm-1.1 virtual/opengl ) |
211 |
- x86? ( >=dev-lang/yasm-1.1 virtual/opengl ) |
212 |
- !system-av1? ( |
213 |
- amd64? ( >=dev-lang/nasm-2.13 ) |
214 |
- x86? ( >=dev-lang/nasm-2.13 ) |
215 |
- )" |
216 |
- |
217 |
-S="${WORKDIR}/firefox-${PV%_*}" |
218 |
- |
219 |
-QA_PRESTRIPPED="usr/lib*/${PN}/firefox" |
220 |
- |
221 |
-BUILD_OBJ_DIR="${S}/ff" |
222 |
- |
223 |
-# allow GMP_PLUGIN_LIST to be set in an eclass or |
224 |
-# overridden in the enviromnent (advanced hackers only) |
225 |
-if [[ -z $GMP_PLUGIN_LIST ]] ; then |
226 |
- GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm ) |
227 |
-fi |
228 |
- |
229 |
-llvm_check_deps() { |
230 |
- if ! has_version --host-root "sys-devel/clang:${LLVM_SLOT}" ; then |
231 |
- ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
232 |
- return 1 |
233 |
- fi |
234 |
- |
235 |
- if use clang ; then |
236 |
- if ! has_version --host-root "=sys-devel/lld-${LLVM_SLOT}*" ; then |
237 |
- ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
238 |
- return 1 |
239 |
- fi |
240 |
- |
241 |
- if use pgo ; then |
242 |
- if ! has_version --host-root "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then |
243 |
- ewarn "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 |
244 |
- return 1 |
245 |
- fi |
246 |
- fi |
247 |
- fi |
248 |
- |
249 |
- einfo "Will use LLVM slot ${LLVM_SLOT}!" >&2 |
250 |
-} |
251 |
- |
252 |
-pkg_pretend() { |
253 |
- if use pgo ; then |
254 |
- if ! has usersandbox $FEATURES ; then |
255 |
- die "You must enable usersandbox as X server can not run as root!" |
256 |
- fi |
257 |
- |
258 |
- if ! use clang ; then |
259 |
- # Force user decision so they don't find out firefox was build |
260 |
- # without pgo after spending some hours |
261 |
- eerror "USE=pgo when using GCC is currently known to be broken." |
262 |
- eerror "Either switch to USE=clang or temporarily set USE=-pgo." |
263 |
- die "USE=pgo without USE=clang is currently known to be broken." |
264 |
- fi |
265 |
- fi |
266 |
- |
267 |
- # Ensure we have enough disk space to compile |
268 |
- if use pgo || use lto || use debug || use test ; then |
269 |
- CHECKREQS_DISK_BUILD="8G" |
270 |
- else |
271 |
- CHECKREQS_DISK_BUILD="4G" |
272 |
- fi |
273 |
- |
274 |
- check-reqs_pkg_pretend |
275 |
-} |
276 |
- |
277 |
-pkg_setup() { |
278 |
- moz_pkgsetup |
279 |
- |
280 |
- # Ensure we have enough disk space to compile |
281 |
- if use pgo || use lto || use debug || use test ; then |
282 |
- CHECKREQS_DISK_BUILD="8G" |
283 |
- else |
284 |
- CHECKREQS_DISK_BUILD="4G" |
285 |
- fi |
286 |
- |
287 |
- check-reqs_pkg_setup |
288 |
- |
289 |
- # Avoid PGO profiling problems due to enviroment leakage |
290 |
- # These should *always* be cleaned up anyway |
291 |
- unset DBUS_SESSION_BUS_ADDRESS \ |
292 |
- DISPLAY \ |
293 |
- ORBIT_SOCKETDIR \ |
294 |
- SESSION_MANAGER \ |
295 |
- XDG_CACHE_HOME \ |
296 |
- XDG_SESSION_COOKIE \ |
297 |
- XAUTHORITY |
298 |
- |
299 |
- if ! use bindist ; then |
300 |
- einfo |
301 |
- elog "You are enabling official branding. You may not redistribute this build" |
302 |
- elog "to any users on your network or the internet. Doing so puts yourself into" |
303 |
- elog "a legal problem with Mozilla Foundation." |
304 |
- elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag." |
305 |
- fi |
306 |
- |
307 |
- addpredict /proc/self/oom_score_adj |
308 |
- |
309 |
- llvm_pkg_setup |
310 |
-} |
311 |
- |
312 |
-src_unpack() { |
313 |
- default |
314 |
- |
315 |
- # Unpack language packs |
316 |
- mozlinguas_src_unpack |
317 |
-} |
318 |
- |
319 |
-src_prepare() { |
320 |
- use !wayland && rm -f "${WORKDIR}/firefox/2019_mozilla-bug1539471.patch" |
321 |
- eapply "${WORKDIR}/firefox" |
322 |
- |
323 |
- eapply "${FILESDIR}/${PN}-73.0_fix_lto_pgo_builds.patch" |
324 |
- eapply "${FILESDIR}/${PN}-73.0_fix_llvm9.patch" |
325 |
- eapply "${FILESDIR}/${PN}-74.0-bug1607052-font-selection-regression.patch" |
326 |
- |
327 |
- # Allow user to apply any additional patches without modifing ebuild |
328 |
- eapply_user |
329 |
- |
330 |
- # Enable gnomebreakpad |
331 |
- if use debug ; then |
332 |
- sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ |
333 |
- "${S}"/build/unix/run-mozilla.sh || die "sed failed!" |
334 |
- fi |
335 |
- |
336 |
- # Drop -Wl,--as-needed related manipulation for ia64 as it causes ld sefgaults, bug #582432 |
337 |
- if use ia64 ; then |
338 |
- sed -i \ |
339 |
- -e '/^OS_LIBS += no_as_needed/d' \ |
340 |
- -e '/^OS_LIBS += as_needed/d' \ |
341 |
- "${S}"/widget/gtk/mozgtk/gtk2/moz.build \ |
342 |
- "${S}"/widget/gtk/mozgtk/gtk3/moz.build \ |
343 |
- || die "sed failed to drop --as-needed for ia64" |
344 |
- fi |
345 |
- |
346 |
- # Fix sandbox violations during make clean, bug 372817 |
347 |
- sed -e "s:\(/no-such-file\):${T}\1:g" \ |
348 |
- -i "${S}"/config/rules.mk \ |
349 |
- -i "${S}"/nsprpub/configure{.in,} \ |
350 |
- || die |
351 |
- |
352 |
- # Don't exit with error when some libs are missing which we have in |
353 |
- # system. |
354 |
- sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \ |
355 |
- -i "${S}"/browser/installer/Makefile.in || die |
356 |
- |
357 |
- # Don't error out when there's no files to be removed: |
358 |
- sed 's@\(xargs rm\)$@\1 -f@' \ |
359 |
- -i "${S}"/toolkit/mozapps/installer/packager.mk || die |
360 |
- |
361 |
- # Keep codebase the same even if not using official branding |
362 |
- sed '/^MOZ_DEV_EDITION=1/d' \ |
363 |
- -i "${S}"/browser/branding/aurora/configure.sh || die |
364 |
- |
365 |
- # rustfmt, a tool to format Rust code, is optional and not required to build Firefox. |
366 |
- # However, when available, an unsupported version can cause problems, bug #669548 |
367 |
- sed -i -e "s@check_prog('RUSTFMT', add_rustup_path('rustfmt')@check_prog('RUSTFMT', add_rustup_path('rustfmt_do_not_use')@" \ |
368 |
- "${S}"/build/moz.configure/rust.configure || die |
369 |
- |
370 |
- # Autotools configure is now called old-configure.in |
371 |
- # This works because there is still a configure.in that happens to be for the |
372 |
- # shell wrapper configure script |
373 |
- eautoreconf old-configure.in |
374 |
- |
375 |
- # Must run autoconf in js/src |
376 |
- cd "${S}"/js/src || die |
377 |
- eautoconf old-configure.in |
378 |
- |
379 |
- # Clear checksums that present a problem |
380 |
- sed -i 's/\("files":{\)[^}]*/\1/' "${S}"/third_party/rust/target-lexicon-0.9.0/.cargo-checksum.json || die |
381 |
-} |
382 |
- |
383 |
-src_configure() { |
384 |
- MEXTENSIONS="default" |
385 |
- # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) |
386 |
- # Note: These are for Gentoo Linux use ONLY. For your own distribution, please |
387 |
- # get your own set of keys. |
388 |
- _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc |
389 |
- |
390 |
- # Add information about TERM to output (build.log) to aid debugging |
391 |
- # blessings problems |
392 |
- if [[ -n "${TERM}" ]] ; then |
393 |
- einfo "TERM is set to: \"${TERM}\"" |
394 |
- else |
395 |
- einfo "TERM is unset." |
396 |
- fi |
397 |
- |
398 |
- if use clang && ! tc-is-clang ; then |
399 |
- # Force clang |
400 |
- einfo "Enforcing the use of clang due to USE=clang ..." |
401 |
- CC=${CHOST}-clang |
402 |
- CXX=${CHOST}-clang++ |
403 |
- strip-unsupported-flags |
404 |
- elif ! use clang && ! tc-is-gcc ; then |
405 |
- # Force gcc |
406 |
- einfo "Enforcing the use of gcc due to USE=-clang ..." |
407 |
- CC=${CHOST}-gcc |
408 |
- CXX=${CHOST}-g++ |
409 |
- strip-unsupported-flags |
410 |
- fi |
411 |
- |
412 |
- #################################### |
413 |
- # |
414 |
- # mozconfig, CFLAGS and CXXFLAGS setup |
415 |
- # |
416 |
- #################################### |
417 |
- |
418 |
- mozconfig_init |
419 |
- # common config components |
420 |
- mozconfig_annotate 'system_libs' \ |
421 |
- --with-system-zlib \ |
422 |
- --with-system-bz2 |
423 |
- |
424 |
- # Must pass release in order to properly select linker |
425 |
- mozconfig_annotate 'Enable by Gentoo' --enable-release |
426 |
- |
427 |
- # libclang.so is not properly detected work around issue |
428 |
- mozconfig_annotate '' --with-libclang-path="$(llvm-config --libdir)" |
429 |
- |
430 |
- if use pgo ; then |
431 |
- if ! has userpriv $FEATURES ; then |
432 |
- eerror "Building firefox with USE=pgo and FEATURES=-userpriv is not supported!" |
433 |
- fi |
434 |
- fi |
435 |
- |
436 |
- # Don't let user's LTO flags clash with upstream's flags |
437 |
- filter-flags -flto* |
438 |
- |
439 |
- if use lto ; then |
440 |
- local show_old_compiler_warning= |
441 |
- |
442 |
- if use clang ; then |
443 |
- # At this stage CC is adjusted and the following check will |
444 |
- # will work |
445 |
- if [[ $(clang-major-version) -lt 7 ]] ; then |
446 |
- show_old_compiler_warning=1 |
447 |
- fi |
448 |
- |
449 |
- # Upstream only supports lld when using clang |
450 |
- mozconfig_annotate "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld |
451 |
- else |
452 |
- if [[ $(gcc-major-version) -lt 8 ]] ; then |
453 |
- show_old_compiler_warning=1 |
454 |
- fi |
455 |
- |
456 |
- if ! use cpu_flags_x86_avx2 ; then |
457 |
- local _gcc_version_with_ipa_cdtor_fix="8.3" |
458 |
- local _current_gcc_version="$(gcc-major-version).$(gcc-minor-version)" |
459 |
- |
460 |
- if ver_test "${_current_gcc_version}" -lt "${_gcc_version_with_ipa_cdtor_fix}" ; then |
461 |
- # due to a GCC bug, GCC will produce AVX2 instructions |
462 |
- # even if the CPU doesn't support AVX2, https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01142.html |
463 |
- einfo "Disable IPA cdtor due to bug in GCC and missing AVX2 support -- triggered by USE=lto" |
464 |
- append-ldflags -fdisable-ipa-cdtor |
465 |
- else |
466 |
- einfo "No GCC workaround required, GCC version is already patched!" |
467 |
- fi |
468 |
- else |
469 |
- einfo "No GCC workaround required, system supports AVX2" |
470 |
- fi |
471 |
- |
472 |
- # Linking only works when using ld.gold when LTO is enabled |
473 |
- mozconfig_annotate "forcing ld=gold due to USE=lto" --enable-linker=gold |
474 |
- fi |
475 |
- |
476 |
- if [[ -n "${show_old_compiler_warning}" ]] ; then |
477 |
- # Checking compiler's major version uses CC variable. Because we allow |
478 |
- # user to control used compiler via USE=clang flag, we cannot use |
479 |
- # initial value. So this is the earliest stage where we can do this check |
480 |
- # because pkg_pretend is not called in the main phase function sequence |
481 |
- # environment saving is not guaranteed so we don't know if we will have |
482 |
- # correct compiler until now. |
483 |
- ewarn "" |
484 |
- ewarn "USE=lto requires up-to-date compiler (>=gcc-8 or >=clang-7)." |
485 |
- ewarn "You are on your own -- expect build failures. Don't file bugs using that unsupported configuration!" |
486 |
- ewarn "" |
487 |
- sleep 5 |
488 |
- fi |
489 |
- |
490 |
- mozconfig_annotate '+lto' --enable-lto=thin |
491 |
- |
492 |
- if use pgo ; then |
493 |
- mozconfig_annotate '+pgo' MOZ_PGO=1 |
494 |
- fi |
495 |
- else |
496 |
- # Avoid auto-magic on linker |
497 |
- if use clang ; then |
498 |
- # This is upstream's default |
499 |
- mozconfig_annotate "forcing ld=lld due to USE=clang" --enable-linker=lld |
500 |
- elif tc-ld-is-gold ; then |
501 |
- mozconfig_annotate "linker is set to gold" --enable-linker=gold |
502 |
- else |
503 |
- mozconfig_annotate "linker is set to bfd" --enable-linker=bfd |
504 |
- fi |
505 |
- fi |
506 |
- |
507 |
- # It doesn't compile on alpha without this LDFLAGS |
508 |
- use alpha && append-ldflags "-Wl,--no-relax" |
509 |
- |
510 |
- # Add full relro support for hardened |
511 |
- use hardened && append-ldflags "-Wl,-z,now" |
512 |
- |
513 |
- # Modifications to better support ARM, bug 553364 |
514 |
- if use cpu_flags_arm_neon ; then |
515 |
- mozconfig_annotate '' --with-fpu=neon |
516 |
- |
517 |
- if ! tc-is-clang ; then |
518 |
- # thumb options aren't supported when using clang, bug 666966 |
519 |
- mozconfig_annotate '' --with-thumb=yes |
520 |
- mozconfig_annotate '' --with-thumb-interwork=no |
521 |
- fi |
522 |
- fi |
523 |
- |
524 |
- if [[ ${CHOST} == armv*h* ]] ; then |
525 |
- mozconfig_annotate '' --with-float-abi=hard |
526 |
- if ! use system-libvpx ; then |
527 |
- sed -i -e "s|softfp|hard|" \ |
528 |
- "${S}"/media/libvpx/moz.build |
529 |
- fi |
530 |
- fi |
531 |
- |
532 |
- mozconfig_use_enable !bindist official-branding |
533 |
- |
534 |
- mozconfig_use_enable debug |
535 |
- mozconfig_use_enable debug tests |
536 |
- if ! use debug ; then |
537 |
- mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
538 |
- else |
539 |
- mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols |
540 |
- fi |
541 |
- # These are enabled by default in all mozilla applications |
542 |
- mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${SYSROOT}${EPREFIX}"/usr |
543 |
- mozconfig_annotate '' --with-system-nss --with-nss-prefix="${SYSROOT}${EPREFIX}"/usr |
544 |
- mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include \ |
545 |
- --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir) |
546 |
- mozconfig_annotate '' --prefix="${EPREFIX}"/usr |
547 |
- mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir) |
548 |
- mozconfig_annotate '' --disable-crashreporter |
549 |
- mozconfig_annotate 'Gentoo default' --with-system-png |
550 |
- mozconfig_annotate '' --enable-system-ffi |
551 |
- mozconfig_annotate '' --disable-gconf |
552 |
- mozconfig_annotate '' --with-intl-api |
553 |
- mozconfig_annotate '' --enable-system-pixman |
554 |
- # Instead of the standard --build= and --host=, mozilla uses --host instead |
555 |
- # of --build, and --target intstead of --host. |
556 |
- # Note, mozilla also has --build but it does not do what you think it does. |
557 |
- # Set both --target and --host as mozilla uses python to guess values otherwise |
558 |
- mozconfig_annotate '' --target="${CHOST}" |
559 |
- mozconfig_annotate '' --host="${CBUILD:-${CHOST}}" |
560 |
- if use system-libevent ; then |
561 |
- mozconfig_annotate '' --with-system-libevent="${SYSROOT}${EPREFIX}"/usr |
562 |
- fi |
563 |
- |
564 |
- if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then |
565 |
- mozconfig_annotate '' --enable-rust-simd |
566 |
- fi |
567 |
- |
568 |
- # use the gtk3 toolkit (the only one supported at this point) |
569 |
- # TODO: Will this result in automagic dependency on x11-libs/gtk+[wayland]? |
570 |
- if use wayland ; then |
571 |
- mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3-wayland |
572 |
- else |
573 |
- mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3 |
574 |
- fi |
575 |
- |
576 |
- mozconfig_use_enable startup-notification |
577 |
- mozconfig_use_enable system-sqlite |
578 |
- mozconfig_use_with system-av1 |
579 |
- mozconfig_use_with system-harfbuzz |
580 |
- mozconfig_use_with system-harfbuzz system-graphite2 |
581 |
- mozconfig_use_with system-icu |
582 |
- mozconfig_use_with system-jpeg |
583 |
- mozconfig_use_with system-libvpx |
584 |
- mozconfig_use_with system-webp |
585 |
- mozconfig_use_enable pulseaudio |
586 |
- # force the deprecated alsa sound code if pulseaudio is disabled |
587 |
- if use kernel_linux && ! use pulseaudio ; then |
588 |
- mozconfig_annotate '-pulseaudio' --enable-alsa |
589 |
- fi |
590 |
- |
591 |
- # Disable built-in ccache support to avoid sandbox violation, #665420 |
592 |
- # Use FEATURES=ccache instead! |
593 |
- mozconfig_annotate '' --without-ccache |
594 |
- sed -i -e 's/ccache_stats = None/return None/' \ |
595 |
- python/mozbuild/mozbuild/controller/building.py || \ |
596 |
- die "Failed to disable ccache stats call" |
597 |
- |
598 |
- mozconfig_use_enable wifi necko-wifi |
599 |
- |
600 |
- mozconfig_use_enable geckodriver |
601 |
- |
602 |
- # enable JACK, bug 600002 |
603 |
- mozconfig_use_enable jack |
604 |
- |
605 |
- # Enable/Disable eme support |
606 |
- use eme-free && mozconfig_annotate '+eme-free' --disable-eme |
607 |
- |
608 |
- # Setup api key for location services and safebrowsing, https://bugzilla.mozilla.org/show_bug.cgi?id=1531176#c34 |
609 |
- echo -n "${_google_api_key}" > "${S}"/google-api-key |
610 |
- mozconfig_annotate '' --with-google-location-service-api-keyfile="${S}/google-api-key" |
611 |
- mozconfig_annotate '' --with-google-safebrowsing-api-keyfile="${S}/google-api-key" |
612 |
- |
613 |
- mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" |
614 |
- |
615 |
- # allow elfhack to work in combination with unstripped binaries |
616 |
- # when they would normally be larger than 2GiB. |
617 |
- append-ldflags "-Wl,--compress-debug-sections=zlib" |
618 |
- |
619 |
- if use clang && ! use arm64; then |
620 |
- # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 |
621 |
- # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 |
622 |
- mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack |
623 |
- fi |
624 |
- |
625 |
- echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig |
626 |
- echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig |
627 |
- |
628 |
- # Finalize and report settings |
629 |
- mozconfig_final |
630 |
- |
631 |
- mkdir -p "${S}"/third_party/rust/libloading/.deps |
632 |
- |
633 |
- # workaround for funky/broken upstream configure... |
634 |
- SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \ |
635 |
- ./mach configure || die |
636 |
-} |
637 |
- |
638 |
-src_compile() { |
639 |
- local _virtx= |
640 |
- if use pgo ; then |
641 |
- _virtx=virtx |
642 |
- |
643 |
- # Reset and cleanup environment variables used by GNOME/XDG |
644 |
- gnome2_environment_reset |
645 |
- |
646 |
- addpredict /root |
647 |
- addpredict /etc/gconf |
648 |
- fi |
649 |
- |
650 |
- GDK_BACKEND=x11 \ |
651 |
- MOZ_MAKE_FLAGS="${MAKEOPTS} -O" \ |
652 |
- SHELL="${SHELL:-${EPREFIX}/bin/bash}" \ |
653 |
- MOZ_NOSPAM=1 \ |
654 |
- ${_virtx} \ |
655 |
- ./mach build --verbose \ |
656 |
- || die |
657 |
-} |
658 |
- |
659 |
-src_install() { |
660 |
- cd "${BUILD_OBJ_DIR}" || die |
661 |
- |
662 |
- # Pax mark xpcshell for hardened support, only used for startupcache creation. |
663 |
- pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell |
664 |
- |
665 |
- # Add our default prefs for firefox |
666 |
- cp "${FILESDIR}"/gentoo-default-prefs.js-3 \ |
667 |
- "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ |
668 |
- || die |
669 |
- |
670 |
- # set dictionary path, to use system hunspell |
671 |
- echo "pref(\"spellchecker.dictionary_path\", \"${EPREFIX}/usr/share/myspell\");" \ |
672 |
- >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die |
673 |
- |
674 |
- # force the graphite pref if system-harfbuzz is enabled, since the pref cant disable it |
675 |
- if use system-harfbuzz ; then |
676 |
- echo "sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \ |
677 |
- >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die |
678 |
- fi |
679 |
- |
680 |
- # force cairo as the canvas renderer on platforms without skia support |
681 |
- if [[ $(tc-endian) == "big" ]] ; then |
682 |
- echo "sticky_pref(\"gfx.canvas.azure.backends\",\"cairo\");" \ |
683 |
- >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die |
684 |
- echo "sticky_pref(\"gfx.content.azure.backends\",\"cairo\");" \ |
685 |
- >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" || die |
686 |
- fi |
687 |
- |
688 |
- # Augment this with hwaccel prefs |
689 |
- if use hwaccel ; then |
690 |
- cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-1 >> \ |
691 |
- "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ |
692 |
- || die |
693 |
- fi |
694 |
- |
695 |
- if ! use screenshot ; then |
696 |
- echo "pref(\"extensions.screenshots.disabled\", true);" >> \ |
697 |
- "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ |
698 |
- || die |
699 |
- fi |
700 |
- |
701 |
- echo "pref(\"extensions.autoDisableScopes\", 3);" >> \ |
702 |
- "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ |
703 |
- || die |
704 |
- |
705 |
- local plugin |
706 |
- use gmp-autoupdate || use eme-free || for plugin in "${GMP_PLUGIN_LIST[@]}" ; do |
707 |
- echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ |
708 |
- "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \ |
709 |
- || die |
710 |
- done |
711 |
- |
712 |
- cd "${S}" |
713 |
- MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \ |
714 |
- DESTDIR="${D}" ./mach install || die |
715 |
- |
716 |
- if use geckodriver ; then |
717 |
- cp "${BUILD_OBJ_DIR}"/dist/bin/geckodriver "${ED%/}"${MOZILLA_FIVE_HOME} || die |
718 |
- pax-mark m "${ED%/}"${MOZILLA_FIVE_HOME}/geckodriver |
719 |
- |
720 |
- dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver |
721 |
- fi |
722 |
- |
723 |
- # Install language packs |
724 |
- MOZEXTENSION_TARGET="distribution/extensions" MOZ_INSTALL_L10N_XPIFILE="1" mozlinguas_src_install |
725 |
- |
726 |
- local size sizes icon_path icon name |
727 |
- if use bindist ; then |
728 |
- sizes="16 32 48" |
729 |
- icon_path="${S}/browser/branding/aurora" |
730 |
- # Firefox's new rapid release cycle means no more codenames |
731 |
- # Let's just stick with this one... |
732 |
- icon="aurora" |
733 |
- name="Aurora" |
734 |
- |
735 |
- # Override preferences to set the MOZ_DEV_EDITION defaults, since we |
736 |
- # don't define MOZ_DEV_EDITION to avoid profile debaucles. |
737 |
- # (source: browser/app/profile/firefox.js) |
738 |
- cat >>"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" <<PROFILE_EOF |
739 |
-pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/firefoxdev/%VERSION%/"); |
740 |
-sticky_pref("lightweightThemes.selectedThemeID", "firefox-devedition@×××××××.org"); |
741 |
-sticky_pref("browser.devedition.theme.enabled", true); |
742 |
-sticky_pref("devtools.theme", "dark"); |
743 |
-PROFILE_EOF |
744 |
- |
745 |
- else |
746 |
- sizes="16 22 24 32 48 64 128 256" |
747 |
- icon_path="${S}/browser/branding/official" |
748 |
- icon="${PN}" |
749 |
- name="Mozilla Firefox" |
750 |
- fi |
751 |
- |
752 |
- # Disable built-in auto-update because we update firefox through package manager |
753 |
- insinto ${MOZILLA_FIVE_HOME}/distribution/ |
754 |
- newins "${FILESDIR}"/disable-auto-update.policy.json policies.json |
755 |
- |
756 |
- # Install icons and .desktop for menu entry |
757 |
- for size in ${sizes}; do |
758 |
- insinto "/usr/share/icons/hicolor/${size}x${size}/apps" |
759 |
- newins "${icon_path}/default${size}.png" "${icon}.png" |
760 |
- done |
761 |
- # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs |
762 |
- newicon "${icon_path}/default48.png" "${icon}.png" |
763 |
- newmenu "${FILESDIR}/icon/${PN}.desktop" "${PN}.desktop" |
764 |
- sed -i -e "s:@NAME@:${name}:" -e "s:@ICON@:${icon}:" \ |
765 |
- "${ED}/usr/share/applications/${PN}.desktop" || die |
766 |
- |
767 |
- # Add StartupNotify=true bug 237317 |
768 |
- if use startup-notification ; then |
769 |
- echo "StartupNotify=true"\ |
770 |
- >> "${ED}/usr/share/applications/${PN}.desktop" \ |
771 |
- || die |
772 |
- fi |
773 |
- |
774 |
- # Don't install llvm-symbolizer from sys-devel/llvm package |
775 |
- [[ -f "${ED%/}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] && \ |
776 |
- rm "${ED%/}${MOZILLA_FIVE_HOME}/llvm-symbolizer" |
777 |
- |
778 |
- # firefox and firefox-bin are identical |
779 |
- rm "${ED%/}"${MOZILLA_FIVE_HOME}/firefox-bin || die |
780 |
- dosym firefox ${MOZILLA_FIVE_HOME}/firefox-bin |
781 |
- |
782 |
- # Required in order to use plugins and even run firefox on hardened. |
783 |
- pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{firefox,plugin-container} |
784 |
-} |
785 |
- |
786 |
-pkg_preinst() { |
787 |
- # if the apulse libs are available in MOZILLA_FIVE_HOME then apulse |
788 |
- # doesn't need to be forced into the LD_LIBRARY_PATH |
789 |
- if use pulseaudio && has_version ">=media-sound/apulse-0.1.9" ; then |
790 |
- einfo "APULSE found - Generating library symlinks for sound support" |
791 |
- local lib |
792 |
- pushd "${ED}"${MOZILLA_FIVE_HOME} &>/dev/null || die |
793 |
- for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do |
794 |
- # a quickpkg rolled by hand will grab symlinks as part of the package, |
795 |
- # so we need to avoid creating them if they already exist. |
796 |
- if [[ ! -L ${lib##*/} ]] ; then |
797 |
- ln -s "${lib}" ${lib##*/} || die |
798 |
- fi |
799 |
- done |
800 |
- popd &>/dev/null || die |
801 |
- fi |
802 |
-} |
803 |
- |
804 |
-pkg_postinst() { |
805 |
- xdg_desktop_database_update |
806 |
- xdg_icon_cache_update |
807 |
- |
808 |
- if ! use gmp-autoupdate && ! use eme-free ; then |
809 |
- elog "USE='-gmp-autoupdate' has disabled the following plugins from updating or" |
810 |
- elog "installing into new profiles:" |
811 |
- local plugin |
812 |
- for plugin in "${GMP_PLUGIN_LIST[@]}"; do elog "\t ${plugin}" ; done |
813 |
- elog |
814 |
- fi |
815 |
- |
816 |
- if use pulseaudio && has_version ">=media-sound/apulse-0.1.9" ; then |
817 |
- elog "Apulse was detected at merge time on this system and so it will always be" |
818 |
- elog "used for sound. If you wish to use pulseaudio instead please unmerge" |
819 |
- elog "media-sound/apulse." |
820 |
- elog |
821 |
- fi |
822 |
- |
823 |
- local show_doh_information |
824 |
- |
825 |
- if [[ -z "${REPLACING_VERSIONS}" ]] ; then |
826 |
- # New install; Tell user that DoH is disabled by default |
827 |
- show_doh_information=yes |
828 |
- else |
829 |
- local replacing_version |
830 |
- for replacing_version in ${REPLACING_VERSIONS} ; do |
831 |
- if ver_test "${replacing_version}" -lt 70 ; then |
832 |
- # Tell user only once about our DoH default |
833 |
- show_doh_information=yes |
834 |
- break |
835 |
- fi |
836 |
- done |
837 |
- fi |
838 |
- |
839 |
- if [[ -n "${show_doh_information}" ]] ; then |
840 |
- elog |
841 |
- elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):" |
842 |
- elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all" |
843 |
- elog "DNS traffic to Cloudflare by default is not a good idea and applications" |
844 |
- elog "should respect OS configured settings), \"network.trr.mode\" was set to 5" |
845 |
- elog "(\"Off by choice\") by default." |
846 |
- elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences." |
847 |
- fi |
848 |
-} |
849 |
- |
850 |
-pkg_postrm() { |
851 |
- xdg_desktop_database_update |
852 |
- xdg_icon_cache_update |
853 |
-} |