diff options
-rw-r--r-- | meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd-243/7c5fd25119a495009ea62f79e5daec34cc464628.patch | 53 | ||||
-rw-r--r-- | meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_243.bb | 7 |
2 files changed, 57 insertions, 3 deletions
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd-243/7c5fd25119a495009ea62f79e5daec34cc464628.patch b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd-243/7c5fd25119a495009ea62f79e5daec34cc464628.patch new file mode 100644 index 0000000000..ae449791f1 --- /dev/null +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd-243/7c5fd25119a495009ea62f79e5daec34cc464628.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | From 7c5fd25119a495009ea62f79e5daec34cc464628 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> | ||
3 | Date: Mon, 12 Apr 2021 14:03:32 +0200 | ||
4 | Subject: [PATCH] meson: do not fail if rsync is not installed with meson | ||
5 | 0.57.2 | ||
6 | |||
7 | https://github.com/mesonbuild/meson/issues/8641 | ||
8 | |||
9 | Our CI started to fail. Even if the change is reverted in meson, | ||
10 | we need a quick workaround here. | ||
11 | |||
12 | Upstream-Status: Backport | ||
13 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
14 | --- | ||
15 | man/meson.build | 25 ++++++++++++++----------- | ||
16 | 1 file changed, 14 insertions(+), 11 deletions(-) | ||
17 | |||
18 | diff --git a/man/meson.build b/man/meson.build | ||
19 | index 3cae8446cda..f9c4b83dc81 100644 | ||
20 | --- a/man/meson.build | ||
21 | +++ b/man/meson.build | ||
22 | @@ -184,17 +184,20 @@ html = custom_target( | ||
23 | depends : html_pages, | ||
24 | command : ['echo']) | ||
25 | |||
26 | -run_target( | ||
27 | - 'doc-sync', | ||
28 | - depends : man_pages + html_pages, | ||
29 | - command : ['rsync', '-rlv', | ||
30 | - '--delete-excluded', | ||
31 | - '--include=man', | ||
32 | - '--include=*.html', | ||
33 | - '--exclude=*', | ||
34 | - '--omit-dir-times', | ||
35 | - meson.current_build_dir(), | ||
36 | - get_option('www-target')]) | ||
37 | +rsync = find_program('rsync', required : false) | ||
38 | +if rsync.found() | ||
39 | + run_target( | ||
40 | + 'doc-sync', | ||
41 | + depends : man_pages + html_pages, | ||
42 | + command : [rsync, '-rlv', | ||
43 | + '--delete-excluded', | ||
44 | + '--include=man', | ||
45 | + '--include=*.html', | ||
46 | + '--exclude=*', | ||
47 | + '--omit-dir-times', | ||
48 | + meson.current_build_dir(), | ||
49 | + get_option('www-target')]) | ||
50 | +endif | ||
51 | |||
52 | ############################################################ | ||
53 | |||
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_243.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_243.bb index c52024130e..59d6f352c8 100644 --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_243.bb +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_243.bb | |||
@@ -12,9 +12,10 @@ DEPENDS += "gperf-native gettext-native util-linux libcap" | |||
12 | 12 | ||
13 | SRCREV = "efb536d0cbe2e58f80e501d19999928c75e08f6a" | 13 | SRCREV = "efb536d0cbe2e58f80e501d19999928c75e08f6a" |
14 | SRCBRANCH = "v243-stable" | 14 | SRCBRANCH = "v243-stable" |
15 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH}" | 15 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} \ |
16 | 16 | file://static-libsystemd-pkgconfig.patch \ | |
17 | SRC_URI += "file://static-libsystemd-pkgconfig.patch" | 17 | file://7c5fd25119a495009ea62f79e5daec34cc464628.patch \ |
18 | " | ||
18 | 19 | ||
19 | # patches needed by musl | 20 | # patches needed by musl |
20 | SRC_URI_append_libc-musl = " ${SRC_URI_MUSL}" | 21 | SRC_URI_append_libc-musl = " ${SRC_URI_MUSL}" |