[oe][meta-oe][PATCH 1/6] drm-info: upgrade 2.9.0 -> 2.10.0
[email protected] Mon, 3 Aug 2026 23:20:50 +1200
| Newsgroups | org.openembedded.lists.openembedded-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Ankur Tyagi <[email protected]> Changelog: https://gitlab.freedesktop.org/emersion/drm_info/-/tags/v2.10.0 Signed-off-by: Ankur Tyagi <[email protected]> --- ...Reapply-Find-drm_fourcc.h-in-sysroot.patch | 27 +++++++++++++++++++ .../{drm-info_2.9.0.bb => drm-info_2.10.0.bb} | 6 +++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-graphics/drm/drm-info/0001-Reapply-Find-drm_fourcc.h-in-sysroot.patch rename meta-oe/recipes-graphics/drm/{drm-info_2.9.0.bb => drm-info_2.10.0.bb} (66%) diff --git a/meta-oe/recipes-graphics/drm/drm-info/0001-Reapply-Find-drm_fourcc.h-in-sysroot.patch b/meta-oe/recipes-graphics/drm/drm-info/0001-Reapply-Find-drm_fourcc.h-in-sysroot.patch new file mode 100644 index 0000000000..0cd379e458 --- /dev/null +++ b/meta-oe/recipes-graphics/drm/drm-info/0001-Reapply-Find-drm_fourcc.h-in-sysroot.patch @@ -0,0 +1,27 @@ +From a0acb0561be3176e2a1d2fb9ca629ab9b25d0057 Mon Sep 17 00:00:00 2001 +From: Ankur Tyagi <[email protected]> +Date: Mon, 3 Aug 2026 20:59:24 +1200 +Subject: [PATCH] Reapply "Find drm_fourcc.h in sysroot" + +This reverts commit https://gitlab.freedesktop.org/emersion/drm_info/-/commit/154d17ec47baa9f66528d81d73788ddbde5000e1 + +Upstream-Status: Inappropriate [oe-specific] + +Signed-off-by: Ankur Tyagi <[email protected]> +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index aa9e951..21ab150 100644 +--- a/meson.build ++++ b/meson.build +@@ -68,7 +68,7 @@ if libdrm.version().version_compare('<2.4.134') + elif libdrm.type_name() == 'internal' + fourcc_h = meson.current_source_dir() / 'subprojects/libdrm/include/drm/drm_fourcc.h' + else +- fourcc_h = libdrm.get_variable(pkgconfig: 'includedir') / 'libdrm/drm_fourcc.h' ++ fourcc_h = libdrm.get_variable(pkgconfig: 'pc_sysrootdir') + libdrm.get_variable(pkgconfig: 'includedir') / 'libdrm/drm_fourcc.h' + endif + + # The DRM_BUS_FAUX bus and its information is included in libdrm v2.4.127 diff --git a/meta-oe/recipes-graphics/drm/drm-info_2.9.0.bb b/meta-oe/recipes-graphics/drm/drm-info_2.10.0.bb similarity index 66% rename from meta-oe/recipes-graphics/drm/drm-info_2.9.0.bb rename to meta-oe/recipes-graphics/drm/drm-info_2.10.0.bb index d309d71277..c2e8a7a696 100644 --- a/meta-oe/recipes-graphics/drm/drm-info_2.9.0.bb +++ b/meta-oe/recipes-graphics/drm/drm-info_2.10.0.bb @@ -3,8 +3,10 @@ HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" -SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https;tag=v${PV}" -SRCREV = "67a49ad122e8fa5c85430a8e22f20b7f56e750d5" +SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https;tag=v${PV} \ + file://0001-Reapply-Find-drm_fourcc.h-in-sysroot.patch \ +" +SRCREV = "462458e0f292145b2a9d5a8b65c392eaeef7362d" inherit meson pkgconfig