1 |
commit: 9185c2e148162ad577137c08a98721aa4078e7d8 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 17 17:46:59 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 17 17:47:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9185c2e1 |
7 |
|
8 |
www-client/epiphany: bump to 3.32.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
www-client/epiphany/Manifest | 1 + |
14 |
www-client/epiphany/epiphany-3.32.4.ebuild | 84 +++++++++++++++++++++++++++ |
15 |
www-client/epiphany/files/var-tmp-tests.patch | 13 +++++ |
16 |
3 files changed, 98 insertions(+) |
17 |
|
18 |
diff --git a/www-client/epiphany/Manifest b/www-client/epiphany/Manifest |
19 |
index 4cbd9fc3fa2..cfbb3ae297b 100644 |
20 |
--- a/www-client/epiphany/Manifest |
21 |
+++ b/www-client/epiphany/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST epiphany-3.30.4.tar.xz 4531732 BLAKE2B a4741d353800517c0233456e513a974ecd7641799395df7cafe6940cbfa49402836484010634ef3c59e36bd3bb2ced331d19a4ed05d1630c00d7ee385961227b SHA512 8574a26a22a24db7e65254f65723f6e4405fccd783bb7e122f8a5f6aff62d3ef1dd0b3ce903eb1f750e7ae28c2f1154a2c1c15970892216211d51edee318bd47 |
24 |
+DIST epiphany-3.32.4.tar.xz 5468576 BLAKE2B 8d9ed9f522a7f18c1e9b0fa6aea043c11e69eda8ee779e8cb05cbef1920154ee7e307ea92eac713c74f7a81a08d9fc31dfd3ba8fad59d5697f4aa652e12a6e8e SHA512 34f9f4267862b494cbeb225ce63cd7767851f1cca16b4c8e03057b074999954477f2ed891c60f20910abcc7a553371f8f03e59fc9da4cf459dd5cbfde8a6d67c |
25 |
|
26 |
diff --git a/www-client/epiphany/epiphany-3.32.4.ebuild b/www-client/epiphany/epiphany-3.32.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c69aaaf7987 |
29 |
--- /dev/null |
30 |
+++ b/www-client/epiphany/epiphany-3.32.4.ebuild |
31 |
@@ -0,0 +1,84 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit gnome.org gnome2-utils meson xdg virtualx |
38 |
+ |
39 |
+DESCRIPTION="GNOME webbrowser based on Webkit" |
40 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Web" |
41 |
+ |
42 |
+LICENSE="GPL-3+" |
43 |
+SLOT="0" |
44 |
+IUSE="test" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ >=dev-libs/glib-2.56.0:2 |
49 |
+ >=x11-libs/gtk+-3.24.0:3 |
50 |
+ >=dev-libs/nettle-3.4:= |
51 |
+ >=net-libs/webkit-gtk-2.24.1:4= |
52 |
+ >=x11-libs/cairo-1.2 |
53 |
+ >=app-crypt/gcr-3.5.5:=[gtk] |
54 |
+ >=x11-libs/gdk-pixbuf-2.36.5:2 |
55 |
+ gnome-base/gsettings-desktop-schemas |
56 |
+ dev-libs/icu:= |
57 |
+ >=app-text/iso-codes-0.35 |
58 |
+ >=dev-libs/json-glib-1.2.4 |
59 |
+ >=dev-libs/libdazzle-3.31.90 |
60 |
+ >=gui-libs/libhandy-0.0.9:0.0= |
61 |
+ >=x11-libs/libnotify-0.5.1 |
62 |
+ >=app-crypt/libsecret-0.14 |
63 |
+ >=net-libs/libsoup-2.48.0:2.4 |
64 |
+ >=dev-libs/libxml2-2.6.12:2 |
65 |
+ dev-db/sqlite:3 |
66 |
+ dev-libs/gmp:0= |
67 |
+" |
68 |
+RDEPEND="${DEPEND} |
69 |
+ x11-themes/adwaita-icon-theme |
70 |
+" |
71 |
+# appstream-glib needed for appdata.xml gettext translation |
72 |
+BDEPEND=" |
73 |
+ dev-libs/appstream-glib |
74 |
+ dev-util/gdbus-codegen |
75 |
+ dev-util/glib-utils |
76 |
+ dev-util/itstool |
77 |
+ >=sys-devel/gettext-0.19.8 |
78 |
+ virtual/pkgconfig |
79 |
+" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ # Allow /var/tmp prefixed recursive delete (due to package manager setting TMPDIR) |
83 |
+ "${FILESDIR}"/var-tmp-tests.patch |
84 |
+) |
85 |
+ |
86 |
+src_configure() { |
87 |
+ local emesonargs=( |
88 |
+ -Ddeveloper_mode=false |
89 |
+ # maybe enable later if network-sandbox is off, but in 3.32.4 the network test |
90 |
+ # is commented out upstream anyway |
91 |
+ -Dnetwork_tests=disabled |
92 |
+ -Dtech_preview=false |
93 |
+ $(meson_feature test unit_tests) |
94 |
+ ) |
95 |
+ meson_src_configure |
96 |
+} |
97 |
+ |
98 |
+src_test() { |
99 |
+ virtx meson_src_test |
100 |
+} |
101 |
+ |
102 |
+pkg_postinst() { |
103 |
+ xdg_pkg_postinst |
104 |
+ gnome2_schemas_update |
105 |
+ |
106 |
+ if ! has_version net-libs/webkit-gtk[jpeg2k]; then |
107 |
+ ewarn "Your net-libs/webkit-gtk is built without USE=jpeg2k." |
108 |
+ ewarn "Various image galleries/managers may be broken." |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
+pkg_postrm() { |
113 |
+ xdg_pkg_postrm |
114 |
+ gnome2_schemas_update |
115 |
+} |
116 |
|
117 |
diff --git a/www-client/epiphany/files/var-tmp-tests.patch b/www-client/epiphany/files/var-tmp-tests.patch |
118 |
new file mode 100644 |
119 |
index 00000000000..f2a0d97aaf9 |
120 |
--- /dev/null |
121 |
+++ b/www-client/epiphany/files/var-tmp-tests.patch |
122 |
@@ -0,0 +1,13 @@ |
123 |
+diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c |
124 |
+index b3139b67e..10c884ea5 100644 |
125 |
+--- a/tests/ephy-file-helpers-test.c |
126 |
++++ b/tests/ephy-file-helpers-test.c |
127 |
+@@ -87,7 +87,7 @@ test_ephy_file_helpers_init (void) |
128 |
+ if (keep_dir) { |
129 |
+ /* As a safety measure, only try recursive delete on paths |
130 |
+ * prefixed with /tmp. */ |
131 |
+- if (g_str_has_prefix (tmp_dir, "/tmp")) |
132 |
++ if (g_str_has_prefix (tmp_dir, "/tmp") || g_str_has_prefix (tmp_dir, "/var/tmp")) |
133 |
+ g_assert_true (ephy_file_delete_dir_recursively (tmp_dir, NULL)); |
134 |
+ else |
135 |
+ g_warning ("INIT: dangerous path returned as tmp_dir: %s", tmp_dir); |