1 |
commit: 1cf8135184eba1106aecd5c0636f9733333f1b70 |
2 |
Author: Christophe Lermytte <gentoo <AT> lermytte <DOT> be> |
3 |
AuthorDate: Sun Feb 20 19:55:13 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 21:12:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf81351 |
7 |
|
8 |
gnome-extra/gnome-user-share: fix build with meson 0.61 |
9 |
|
10 |
Issue was logged upstream, but I don't expect things to move |
11 |
quickly or at all, so adding this patch. |
12 |
|
13 |
Also, scrubbed the existing patch |
14 |
|
15 |
Signed-off-by: Christophe Lermytte <gentoo <AT> lermytte.be> |
16 |
Closes: https://bugs.gentoo.org/831939 |
17 |
Closes: https://github.com/gentoo/gentoo/pull/24291 |
18 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
19 |
|
20 |
.../files/fix-build-with-meson-0.61.patch | 11 +++++++++++ |
21 |
.../files/gnome-user-share-3.18.1-no-prefork.patch | 21 +++++++++++---------- |
22 |
.../gnome-user-share/gnome-user-share-3.34.0.ebuild | 1 + |
23 |
3 files changed, 23 insertions(+), 10 deletions(-) |
24 |
|
25 |
diff --git a/gnome-extra/gnome-user-share/files/fix-build-with-meson-0.61.patch b/gnome-extra/gnome-user-share/files/fix-build-with-meson-0.61.patch |
26 |
new file mode 100644 |
27 |
index 000000000000..2721f2ac876f |
28 |
--- /dev/null |
29 |
+++ b/gnome-extra/gnome-user-share/files/fix-build-with-meson-0.61.patch |
30 |
@@ -0,0 +1,11 @@ |
31 |
+https://bugs.gentoo.org/831939 |
32 |
+--- a/data/meson.build |
33 |
++++ b/data/meson.build |
34 |
+@@ -7,7 +7,6 @@ desktop_in = configure_file( |
35 |
+ ) |
36 |
+ |
37 |
+ i18n.merge_file( |
38 |
+- desktop, |
39 |
+ type: 'desktop', |
40 |
+ input: desktop_in, |
41 |
+ output: '@BASENAME@', |
42 |
|
43 |
diff --git a/gnome-extra/gnome-user-share/files/gnome-user-share-3.18.1-no-prefork.patch b/gnome-extra/gnome-user-share/files/gnome-user-share-3.18.1-no-prefork.patch |
44 |
index 156721d286cf..ca5eff008aa0 100644 |
45 |
--- a/gnome-extra/gnome-user-share/files/gnome-user-share-3.18.1-no-prefork.patch |
46 |
+++ b/gnome-extra/gnome-user-share/files/gnome-user-share-3.18.1-no-prefork.patch |
47 |
@@ -1,10 +1,11 @@ |
48 |
---- gnome-user-share-3.14.2/data/dav_user_2.4.conf.orig 2015-06-03 20:21:27.512774376 -0600 |
49 |
-+++ gnome-user-share-3.14.2/data/dav_user_2.4.conf 2015-06-03 20:21:33.588774303 -0600 |
50 |
-@@ -9,7 +9,6 @@ |
51 |
- LimitXMLRequestBody 100000 |
52 |
- |
53 |
- LoadModule unixd_module ${HTTP_MODULES_PATH}/mod_unixd.so |
54 |
--LoadModule mpm_prefork_module ${HTTP_MODULES_PATH}/mod_mpm_prefork.so |
55 |
- LoadModule dav_module ${HTTP_MODULES_PATH}/mod_dav.so |
56 |
- LoadModule dav_fs_module ${HTTP_MODULES_PATH}/mod_dav_fs.so |
57 |
- LoadModule authn_core_module ${HTTP_MODULES_PATH}/mod_authn_core.so |
58 |
\ No newline at end of file |
59 |
+https://bugs.gentoo.org/551012 |
60 |
+--- a/data/dav_user_2.4.conf |
61 |
++++ b/data/dav_user_2.4.conf |
62 |
+@@ -9,7 +9,6 @@ |
63 |
+ LimitXMLRequestBody 100000 |
64 |
+ |
65 |
+ LoadModule unixd_module ${HTTP_MODULES_PATH}/mod_unixd.so |
66 |
+-LoadModule mpm_prefork_module ${HTTP_MODULES_PATH}/mod_mpm_prefork.so |
67 |
+ LoadModule dav_module ${HTTP_MODULES_PATH}/mod_dav.so |
68 |
+ LoadModule dav_fs_module ${HTTP_MODULES_PATH}/mod_dav_fs.so |
69 |
+ LoadModule authn_core_module ${HTTP_MODULES_PATH}/mod_authn_core.so |
70 |
|
71 |
diff --git a/gnome-extra/gnome-user-share/gnome-user-share-3.34.0.ebuild b/gnome-extra/gnome-user-share/gnome-user-share-3.34.0.ebuild |
72 |
index 21db81dec889..d18fc0340e76 100644 |
73 |
--- a/gnome-extra/gnome-user-share/gnome-user-share-3.34.0.ebuild |
74 |
+++ b/gnome-extra/gnome-user-share/gnome-user-share-3.34.0.ebuild |
75 |
@@ -33,6 +33,7 @@ PATCHES=( |
76 |
# that is problematic for us (bug #551012) |
77 |
# https://bugzilla.gnome.org/show_bug.cgi?id=750525#c2 |
78 |
"${FILESDIR}"/${PN}-3.18.1-no-prefork.patch |
79 |
+ "${FILESDIR}"/fix-build-with-meson-0.61.patch |
80 |
) |
81 |
|
82 |
src_configure() { |