diff options
author | Wang Mingyu <wangmy@cn.fujitsu.com> | 2021-02-08 22:34:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-09 08:56:10 +0000 |
commit | 11d23de58425ab23bc37c9ea160284a00ec9f89d (patch) | |
tree | bdc94d7d374f7d5450d8e97532bf66282ae716ad /meta | |
parent | 485af44c1459c1c24e35d7709f91fdd2bfbf1bc4 (diff) | |
download | poky-11d23de58425ab23bc37c9ea160284a00ec9f89d.tar.gz |
libdrm: upgrade 2.4.103 -> 2.4.104
Add 0001-meson-Also-search-for-rst2man.py.patch to fix bug of program rst2man cannot be found.
Add dependency python3-docutils-native to manpages.
(From OE-Core rev: 600b75cef2807ccb3f89f24c77d02cd6e0a99e1f)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/drm/libdrm/0001-meson-Also-search-for-rst2man.py.patch | 30 | ||||
-rw-r--r-- | meta/recipes-graphics/drm/libdrm_2.4.104.bb (renamed from meta/recipes-graphics/drm/libdrm_2.4.103.bb) | 8 |
2 files changed, 35 insertions, 3 deletions
diff --git a/meta/recipes-graphics/drm/libdrm/0001-meson-Also-search-for-rst2man.py.patch b/meta/recipes-graphics/drm/libdrm/0001-meson-Also-search-for-rst2man.py.patch new file mode 100644 index 0000000000..67fafd40c3 --- /dev/null +++ b/meta/recipes-graphics/drm/libdrm/0001-meson-Also-search-for-rst2man.py.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 4129a8c6911b6b0ef3665cb167da6b635c29614d Mon Sep 17 00:00:00 2001 | ||
2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> | ||
3 | Date: Mon, 8 Feb 2021 17:30:52 +0900 | ||
4 | Subject: [PATCH] meson: Also search for rst2man.py | ||
5 | |||
6 | That's what upstream docutils installs by default. | ||
7 | |||
8 | Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/drm/-/commit/62b9a3eee9bdaafa766e92d5bebeb4e59845c45a] | ||
9 | |||
10 | Signed-off-by: Heiko Becker's avatarHeiko Becker <heirecka@exherbo.org> | ||
11 | --- | ||
12 | meson.build | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/meson.build b/meson.build | ||
16 | index a4d8d70..07d2e08 100644 | ||
17 | --- a/meson.build | ||
18 | +++ b/meson.build | ||
19 | @@ -261,7 +261,7 @@ else | ||
20 | endif | ||
21 | |||
22 | with_man_pages = get_option('man-pages') | ||
23 | -prog_rst2man = find_program('rst2man', required: with_man_pages == 'true') | ||
24 | +prog_rst2man = find_program('rst2man', 'rst2man.py', required: with_man_pages == 'true') | ||
25 | with_man_pages = with_man_pages != 'false' and prog_rst2man.found() | ||
26 | |||
27 | config.set10('HAVE_VISIBILITY', | ||
28 | -- | ||
29 | 2.25.1 | ||
30 | |||
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.103.bb b/meta/recipes-graphics/drm/libdrm_2.4.104.bb index 1028d618ae..ff869d6db9 100644 --- a/meta/recipes-graphics/drm/libdrm_2.4.103.bb +++ b/meta/recipes-graphics/drm/libdrm_2.4.104.bb | |||
@@ -10,9 +10,11 @@ LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c5 | |||
10 | PROVIDES = "drm" | 10 | PROVIDES = "drm" |
11 | DEPENDS = "libpthread-stubs" | 11 | DEPENDS = "libpthread-stubs" |
12 | 12 | ||
13 | SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.xz" | 13 | SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.xz \ |
14 | file://0001-meson-Also-search-for-rst2man.py.patch \ | ||
15 | " | ||
14 | 16 | ||
15 | SRC_URI[sha256sum] = "3fe0affdba6460166a7323290c18cf68e9b59edcb520722826cb244e9cb50222" | 17 | SRC_URI[sha256sum] = "d66ad8b5c2441015ac1333e40137bb803c3bde3612ff040286fcc12158ea1bcb" |
16 | 18 | ||
17 | inherit meson pkgconfig manpages | 19 | inherit meson pkgconfig manpages |
18 | 20 | ||
@@ -34,7 +36,7 @@ PACKAGECONFIG[valgrind] = "-Dvalgrind=true,-Dvalgrind=false,valgrind" | |||
34 | PACKAGECONFIG[install-test-programs] = "-Dinstall-test-programs=true,-Dinstall-test-programs=false" | 36 | PACKAGECONFIG[install-test-programs] = "-Dinstall-test-programs=true,-Dinstall-test-programs=false" |
35 | PACKAGECONFIG[cairo-tests] = "-Dcairo-tests=true,-Dcairo-tests=false" | 37 | PACKAGECONFIG[cairo-tests] = "-Dcairo-tests=true,-Dcairo-tests=false" |
36 | PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev" | 38 | PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev" |
37 | PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native" | 39 | PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native python3-docutils-native" |
38 | 40 | ||
39 | ALLOW_EMPTY_${PN}-drivers = "1" | 41 | ALLOW_EMPTY_${PN}-drivers = "1" |
40 | PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ | 42 | PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ |