Skip to contentSkip to conversation

libtsm: upgrade 4.4.0 -> 4.4.2

PATCH Superseded Adam Duskett 2 participants 4 messages Feb 4

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 libtsm: upgrade 4.4.0 -> 4.4.2

---
 .../libtsm/{libtsm_4.4.0.bb => libtsm_4.4.2.bb}               | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-graphics/libtsm/{libtsm_4.4.0.bb => libtsm_4.4.2.bb} (92%)
meta-oe/recipes-graphics/libtsm/libtsm_4.4.2.bb renamed from meta-oe/recipes-graphics/libtsm/libtsm_4.4.0.bb +3 -1
similarity index 92%
rename from meta-oe/recipes-graphics/libtsm/libtsm_4.4.0.bb
rename to meta-oe/recipes-graphics/libtsm/libtsm_4.4.2.bb
index 074302bed7..8249826ce2 100644
@@ -22,7 +22,7 @@ LIC_FILES_CHKSUM = "\
 DEPENDS = "xkeyboard-config"
 
 SRC_URI = "git://github.com/kmscon/libtsm;protocol=https;branch=main;tag=v${PV}"
-SRCREV = "0d33498a6de3619628f7802a0c76fc98c8773d5b"
+SRCREV = "b052e48cc776be1cdb940be2dcc1603457c01c96"
 
 inherit meson pkgconfig
 
@@ -31,3 +31,5 @@ EXTRA_OEMESON:append = " \
     -Dtests=false \
     -Dgtktsm=false \
 "
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.52.0
#1 lore raw

PATCH v2 2/2 kmscon: bump version to 9.3.1

- Remove upstreamed patch (commit ID: a1fc510a)

- 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.

---
v1 -> v2:
- Add a line about the removed patch
- Fix the removal of an else statement

 .../kmscon/{kmscon_9.2.1.bb => kmscon_9.3.1.bb}        | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-graphics/kmscon/{kmscon_9.2.1.bb => kmscon_9.3.1.bb} (85%)
meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb renamed from meta-oe/recipes-graphics/kmscon/kmscon_9.2.1.bb +3 -7
similarity index 85%
rename from meta-oe/recipes-graphics/kmscon/kmscon_9.2.1.bb
rename to meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb
index 508f24c58e..4e27ba218a 100644
@@ -19,17 +19,13 @@ DEPENDS = "\
     udev \
 "
 
-SRC_URI = "\
-    git://github.com/kmscon/kmscon;branch=main;protocol=https \
-    file://0001-kmscon_conf.c-Fix-llvm-compilation-failure.patch \
-"
-SRCREV = "7d46650dbb0826f9b89de42f879be879391c14fd"
+SRC_URI = "git://github.com/kmscon/kmscon;protocol=https;branch=main;tag=v${PV}"
+SRCREV = "e44ff728e51c5a38b56392abe9bc3e8306db86cc"
 
 inherit meson pkgconfig systemd
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
 
-PACKAGECONFIG[backspace_sends_delete] = "-Dbackspace_sends_delete=true, -Dbackspace_sends_delete=false"
 PACKAGECONFIG[font_pango] = "-Dfont_pango=enabled, -Dfont_pango=disabled, pango"
 PACKAGECONFIG[multi_seat] = "-Dmulti_seat=enabled, -Dmulti_seat=disabled, systemd"
 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() {
     fi
 
     if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'true', 'false', d)}; then
+        mv ${D}${sysconfdir}/kmscon/kmscon.conf.example ${D}${sysconfdir}/kmscon/kmscon.conf
         sed -e "s@#drm@drm@g" \
             -e "s@#hwaccel@hwaccel@g" \
-            -e "s@#render-engine=gltex@render-engine=gltex@g" \
             -i ${D}${sysconfdir}/kmscon/kmscon.conf
     fi
 }
Signature · 1 line
2.52.0
#3 lore raw
In reply to Adam Duskett
Quoted 24 lines · Adam Duskett via lists.openembedded.org
---
 .../libtsm/{libtsm_4.4.0.bb => libtsm_4.4.2.bb}               | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-graphics/libtsm/{libtsm_4.4.0.bb => libtsm_4.4.2.bb} (92%)
meta-oe/recipes-graphics/libtsm/libtsm_4.4.2.bb renamed from meta-oe/recipes-graphics/libtsm/libtsm_4.4.0.bb +1 -1
similarity index 92%
rename from meta-oe/recipes-graphics/libtsm/libtsm_4.4.0.bb
rename to meta-oe/recipes-graphics/libtsm/libtsm_4.4.2.bb
index 074302bed7..8249826ce2 100644
@@ -22,7 +22,7 @@ LIC_FILES_CHKSUM = "\
 DEPENDS = "xkeyboard-config"
 
 SRC_URI = "git://github.com/kmscon/libtsm;protocol=https;branch=main;tag=v${PV}"
-SRCREV = "0d33498a6de3619628f7802a0c76fc98c8773d5b"
+SRCREV = "b052e48cc776be1cdb940be2dcc1603457c01c96"
 
 inherit meson pkgconfig
 

meta-oe/recipes-graphics/libtsm/libtsm_4.4.2.bb EXTRA_OEMESON:append = " \ · line 35

Quoted 5 lines
meta-oe/recipes-graphics/libtsm/libtsm_4.4.2.bb renamed from meta-oe/recipes-graphics/libtsm/libtsm_4.4.0.bb +2 -0
@@ -31,3 +31,5 @@ EXTRA_OEMESON:append = " \
     -Dtests=false \
     -Dgtktsm=false \
 "
+
+BBCLASSEXTEND = "native nativesdk"

This BBCLASSEXTEND was dropped[1] not so long ago... did it sneak back in accidentally? Or is it working now?

[1]: https://lists.openembedded.org/g/openembedded-devel/message/123782