1 |
commit: 323f418adc807e12d3fd5a8b10c2983f2f3c4bc1 |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 30 01:41:11 2019 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 30 01:41:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=323f418a |
7 |
|
8 |
mail-client/thunderbird: more code fixes in 68.0-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
11 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
12 |
|
13 |
.../thunderbird/files/disable-auto-update.policy.json | 5 +++++ |
14 |
mail-client/thunderbird/metadata.xml | 1 - |
15 |
mail-client/thunderbird/thunderbird-68.0-r1.ebuild | 13 +++++++------ |
16 |
3 files changed, 12 insertions(+), 7 deletions(-) |
17 |
|
18 |
diff --git a/mail-client/thunderbird/files/disable-auto-update.policy.json b/mail-client/thunderbird/files/disable-auto-update.policy.json |
19 |
new file mode 100644 |
20 |
index 0000000..f366220 |
21 |
--- /dev/null |
22 |
+++ b/mail-client/thunderbird/files/disable-auto-update.policy.json |
23 |
@@ -0,0 +1,5 @@ |
24 |
+{ |
25 |
+ "policies": { |
26 |
+ "DisableAppUpdate": true |
27 |
+ } |
28 |
+} |
29 |
|
30 |
diff --git a/mail-client/thunderbird/metadata.xml b/mail-client/thunderbird/metadata.xml |
31 |
index 4a67d29..dd47259 100644 |
32 |
--- a/mail-client/thunderbird/metadata.xml |
33 |
+++ b/mail-client/thunderbird/metadata.xml |
34 |
@@ -21,7 +21,6 @@ |
35 |
or LDD linker when using Clang</flag> |
36 |
<flag name="pgo">Add support for profile-guided optimization using gcc-4.5, |
37 |
for faster binaries. This option will double the compile time.</flag> |
38 |
- <flag name="screenshot">Allow to disable screenshot extension in global profile</flag> |
39 |
<flag name="system-av1">Use the system-wide <pkg>media-libs/dav1d</pkg> |
40 |
and <pkg>media-libs/libaom</pkg> library instead of bundled.</flag> |
41 |
<flag name="system-harfbuzz">Use the system-wide <pkg>media-libs/harfbuzz</pkg> |
42 |
|
43 |
diff --git a/mail-client/thunderbird/thunderbird-68.0-r1.ebuild b/mail-client/thunderbird/thunderbird-68.0-r1.ebuild |
44 |
index 51e3175..10755b9 100644 |
45 |
--- a/mail-client/thunderbird/thunderbird-68.0-r1.ebuild |
46 |
+++ b/mail-client/thunderbird/thunderbird-68.0-r1.ebuild |
47 |
@@ -41,8 +41,8 @@ SLOT="0" |
48 |
LICENSE="MPL-2.0 GPL-2 LGPL-2.1" |
49 |
IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free geckodriver |
50 |
+gmp-autoupdate hardened jack lightning lto neon pgo pulseaudio |
51 |
- +screenshot selinux startup-notification +system-av1 +system-harfbuzz |
52 |
- +system-icu +system-jpeg +system-libevent +system-sqlite +system-libvpx |
53 |
+ selinux startup-notification +system-av1 +system-harfbuzz +system-icu |
54 |
+ +system-jpeg +system-libevent +system-sqlite +system-libvpx |
55 |
+system-webp test wayland wifi" |
56 |
RESTRICT="!bindist? ( bindist ) |
57 |
!test? ( test )" |
58 |
@@ -595,6 +595,7 @@ src_compile() { |
59 |
} |
60 |
|
61 |
src_install() { |
62 |
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" |
63 |
cd "${BUILD_OBJ_DIR}" || die |
64 |
|
65 |
# Pax mark xpcshell for hardened support, only used for startupcache creation. |
66 |
@@ -618,19 +619,19 @@ src_install() { |
67 |
# force cairo as the canvas renderer on platforms without skia support |
68 |
if [[ $(tc-endian) == "big" ]] ; then |
69 |
echo "sticky_pref(\"gfx.canvas.azure.backends\",\"cairo\");" \ |
70 |
- >>"{BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die |
71 |
+ >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die |
72 |
echo "sticky_pref(\"gfx.content.azure.backends\",\"cairo\");" \ |
73 |
- >>"{BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die |
74 |
+ >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die |
75 |
fi |
76 |
|
77 |
echo "pref(\"extensions.autoDisableScopes\", 3);" >> \ |
78 |
- "{BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ |
79 |
+ "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ |
80 |
|| die |
81 |
|
82 |
local plugin |
83 |
use gmp-autoupdate || use eme-free || for plugin in "${GMP_PLUGIN_LIST[@]}" ; do |
84 |
echo "pref(\"media.${plugin}.autoupdate\", false);" >> \ |
85 |
- "{BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ |
86 |
+ "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \ |
87 |
|| die |
88 |
done |