diff options
| author | Adam Duskett <adam.duskett@amarulasolutions.com> | 2026-02-05 09:50:34 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-06 10:06:25 -0800 |
| commit | 800998234a3b3989b09714c5ad2474e2e3571e66 (patch) | |
| tree | f1771b4da9019b1576f409be8aa5230815de705f | |
| parent | 83bf29198b4852e4001d63705504f21d38fa1a99 (diff) | |
| download | meta-openembedded-800998234a3b3989b09714c5ad2474e2e3571e66.tar.gz | |
kmscon: bump version to 9.3.1
- Remove upstreamed patch (commit ID: a1fc510a)
- backspace_sends_delete is now a runtime option as
of commit 0d6d85a8b865cac17529d049ae9a561db782ac59
- The kmscon.conf file in the source is renamed to kms.conf.example
To keep the same behavior as the previous versions, kms.conf.example
is moved to ${sysconfdir}/kmscon/kmscon.conf before running sed.
- The render-engine config option has been removed as of commit
59eef2a154f78101195ad8ff08376e2418e773f0.
Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/kmscon/files/0001-kmscon_conf.c-Fix-llvm-compilation-failure.patch | 40 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb (renamed from meta-oe/recipes-graphics/kmscon/kmscon_9.2.1.bb) | 10 |
2 files changed, 3 insertions, 47 deletions
diff --git a/meta-oe/recipes-graphics/kmscon/files/0001-kmscon_conf.c-Fix-llvm-compilation-failure.patch b/meta-oe/recipes-graphics/kmscon/files/0001-kmscon_conf.c-Fix-llvm-compilation-failure.patch deleted file mode 100644 index 0806f9bb04..0000000000 --- a/meta-oe/recipes-graphics/kmscon/files/0001-kmscon_conf.c-Fix-llvm-compilation-failure.patch +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | From 03a330d486132e3798a125d26d4f10252ffd8e2d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Adam Duskett <adam.duskett@amarulasolutions.com> | ||
| 3 | Date: Fri, 16 Jan 2026 11:35:39 +0100 | ||
| 4 | Subject: [PATCH] kmscon_conf.c: Fix llvm compilation failure | ||
| 5 | |||
| 6 | When building with an LLVM toolchain, the follow error occurs: | ||
| 7 | |||
| 8 | ``` | ||
| 9 | kmscon_conf.c:757:72: | ||
| 10 | error: expression which evaluates to zero treated as a null pointer constant | ||
| 11 | of type 'void *' [-Werror,-Wnon-literal-null-conversion] | ||
| 12 | CONF_OPTION(0, 0, "gpus", &conf_gpus, NULL, NULL, NULL, &conf->gpus, KMSCON_GPU_ALL), | ||
| 13 | ^~~~~~~~~~~~~~ | ||
| 14 | 1 error generated. | ||
| 15 | ``` | ||
| 16 | |||
| 17 | Fix the error by adding a cast to (void *). | ||
| 18 | |||
| 19 | Upstream-Status: Submitted [https://github.com/kmscon/kmscon/pull/225] | ||
| 20 | Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> | ||
| 21 | --- | ||
| 22 | src/kmscon_conf.c | 2 +- | ||
| 23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 24 | |||
| 25 | diff --git a/src/kmscon_conf.c b/src/kmscon_conf.c | ||
| 26 | index df2e51d..9e9a839 100644 | ||
| 27 | --- a/src/kmscon_conf.c | ||
| 28 | +++ b/src/kmscon_conf.c | ||
| 29 | @@ -754,7 +754,7 @@ int kmscon_conf_new(struct conf_ctx **out) | ||
| 30 | /* Video Options */ | ||
| 31 | CONF_OPTION_BOOL_FULL(0, "drm", aftercheck_drm, NULL, NULL, &conf->drm, true), | ||
| 32 | CONF_OPTION_BOOL(0, "hwaccel", &conf->hwaccel, false), | ||
| 33 | - CONF_OPTION(0, 0, "gpus", &conf_gpus, NULL, NULL, NULL, &conf->gpus, KMSCON_GPU_ALL), | ||
| 34 | + CONF_OPTION(0, 0, "gpus", &conf_gpus, NULL, NULL, NULL, &conf->gpus, (void *)KMSCON_GPU_ALL), | ||
| 35 | CONF_OPTION_STRING(0, "render-engine", &conf->render_engine, NULL), | ||
| 36 | CONF_OPTION_BOOL(0, "use-original-mode", &conf->use_original_mode, true), | ||
| 37 | CONF_OPTION_STRING(0, "mode", &conf->mode, NULL), | ||
| 38 | -- | ||
| 39 | 2.52.0 | ||
| 40 | |||
diff --git a/meta-oe/recipes-graphics/kmscon/kmscon_9.2.1.bb b/meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb index 508f24c58e..4e27ba218a 100644 --- a/meta-oe/recipes-graphics/kmscon/kmscon_9.2.1.bb +++ b/meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb | |||
| @@ -19,17 +19,13 @@ DEPENDS = "\ | |||
| 19 | udev \ | 19 | udev \ |
| 20 | " | 20 | " |
| 21 | 21 | ||
| 22 | SRC_URI = "\ | 22 | SRC_URI = "git://github.com/kmscon/kmscon;protocol=https;branch=main;tag=v${PV}" |
| 23 | git://github.com/kmscon/kmscon;branch=main;protocol=https \ | 23 | SRCREV = "e44ff728e51c5a38b56392abe9bc3e8306db86cc" |
| 24 | file://0001-kmscon_conf.c-Fix-llvm-compilation-failure.patch \ | ||
| 25 | " | ||
| 26 | SRCREV = "7d46650dbb0826f9b89de42f879be879391c14fd" | ||
| 27 | 24 | ||
| 28 | inherit meson pkgconfig systemd | 25 | inherit meson pkgconfig systemd |
| 29 | 26 | ||
| 30 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" | 27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" |
| 31 | 28 | ||
| 32 | PACKAGECONFIG[backspace_sends_delete] = "-Dbackspace_sends_delete=true, -Dbackspace_sends_delete=false" | ||
| 33 | PACKAGECONFIG[font_pango] = "-Dfont_pango=enabled, -Dfont_pango=disabled, pango" | 29 | PACKAGECONFIG[font_pango] = "-Dfont_pango=enabled, -Dfont_pango=disabled, pango" |
| 34 | PACKAGECONFIG[multi_seat] = "-Dmulti_seat=enabled, -Dmulti_seat=disabled, systemd" | 30 | PACKAGECONFIG[multi_seat] = "-Dmulti_seat=enabled, -Dmulti_seat=disabled, systemd" |
| 35 | PACKAGECONFIG[opengl] = "-Drenderer_gltex=enabled -Dvideo_drm3d=enabled, -Drenderer_gltex=disabled -Dvideo_drm3d=disabled, libdrm virtual/egl virtual/libgles2 virtual/libgbm" | 31 | PACKAGECONFIG[opengl] = "-Drenderer_gltex=enabled -Dvideo_drm3d=enabled, -Drenderer_gltex=disabled -Dvideo_drm3d=disabled, libdrm virtual/egl virtual/libgles2 virtual/libgbm" |
| @@ -61,9 +57,9 @@ do_install:append() { | |||
| 61 | fi | 57 | fi |
| 62 | 58 | ||
| 63 | if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'true', 'false', d)}; then | 59 | if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'true', 'false', d)}; then |
| 60 | mv ${D}${sysconfdir}/kmscon/kmscon.conf.example ${D}${sysconfdir}/kmscon/kmscon.conf | ||
| 64 | sed -e "s@#drm@drm@g" \ | 61 | sed -e "s@#drm@drm@g" \ |
| 65 | -e "s@#hwaccel@hwaccel@g" \ | 62 | -e "s@#hwaccel@hwaccel@g" \ |
| 66 | -e "s@#render-engine=gltex@render-engine=gltex@g" \ | ||
| 67 | -i ${D}${sysconfdir}/kmscon/kmscon.conf | 63 | -i ${D}${sysconfdir}/kmscon/kmscon.conf |
| 68 | fi | 64 | fi |
| 69 | } | 65 | } |
