Make libinput default X input driver + upgrades
cover Make libinput default X input driver + upgrades
The only interesting bit is in the last commit: it removes all legacy X input drivers from the machine configurations, and makes xserver-xorg RRECOMMEND the libinput driver instead -- better design ideas for this are welcome.
I wonder if VMware mouse device support is really needed? I have removed the vmmouse X driver from the configs but the corresponding kernel driver could be enabled instead if there is a need.
I've smoke tested this change on x86* and a few qemus.
Thanks,
Jussi
The following changes since commit ef627ab364d52fe19994c94c1a78fbe21620a32c:
local.conf.sample.extended: remove RM_OLD_IMAGE (2016-10-19 17:07:41 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib jku/xorg
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/xorg
Jussi Kukkonen (15):
libinput: Upgrade 1.4.1 -> 1.5.0
libevdev: Upgrade 1.5.2 -> 1.5.4
libdrm: Upgrade 2.4.70 -> 2.4.71
xf86-input-libinput: Upgrade 0.19.0 -> 0.22.0
xproto: Upgrade 7.0.29 -> 7.0.31
libxvmc: Upgrade 1.0.9 -> 1.0.10
libxv: Upgrade 1.0.10 -> 1.0.11
libxtst: Upgrade 1.2.2 -> 1.2.3
libxrender: Upgrade 0.9.9 -> 0.9.10
libxi: Upgrade 1.7.6 -> 1.7.7
libxfont: Upgrade 1.5.1 -> 1.5.2
libxfixes: Upgrade 5.0.2 -> 5.0.3
libx11: Upgrade 1.6.3 -> 1.6.4
libx11-diet: Upgrade 1.6.3 -> 1.6.4
conf: Use xf86-input-libinput by default
meta/conf/machine/include/qemu.inc | 4 +-
meta/conf/machine/include/x86-base.inc | 4 --
meta/conf/machine/qemux86-64.conf | 3 -
meta/conf/machine/qemux86.conf | 3 -
.../drm/{libdrm_2.4.70.bb => libdrm_2.4.71.bb} | 4 +-
.../packagegroups/packagegroup-core-x11-xserver.bb | 2 +-
.../{libinput_1.4.1.bb => libinput_1.5.0.bb} | 4 +-
...put_0.19.0.bb => xf86-input-libinput_0.22.0.bb} | 4 +-
.../{libx11-diet_1.6.3.bb => libx11-diet_1.6.4.bb} | 4 +-
.../libx11/libX11-Add-missing-NULL-check.patch | 72 ----------------------
meta/recipes-graphics/xorg-lib/libx11_1.6.3.bb | 11 ----
meta/recipes-graphics/xorg-lib/libx11_1.6.4.bb | 10 +++
.../{libxfixes_5.0.2.bb => libxfixes_5.0.3.bb} | 5 +-
.../{libxfont_1.5.1.bb => libxfont_1.5.2.bb} | 4 +-
.../xorg-lib/{libxi_1.7.6.bb => libxi_1.7.7.bb} | 5 +-
.../{libxrender_0.9.9.bb => libxrender_0.9.10.bb} | 5 +-
.../{libxtst_1.2.2.bb => libxtst_1.2.3.bb} | 5 +-
.../xorg-lib/{libxv_1.0.10.bb => libxv_1.0.11.bb} | 5 +-
.../{libxvmc_1.0.9.bb => libxvmc_1.0.10.bb} | 4 +-
.../{xproto_7.0.29.bb => xproto_7.0.31.bb} | 4 +-
.../recipes-graphics/xorg-xserver/xserver-xorg.inc | 2 +-
.../{libevdev_1.5.2.bb => libevdev_1.5.4.bb} | 4 +-
.../target/arch/arm/conf/machine/machine.conf | 4 +-
.../target/arch/mips/conf/machine/machine.conf | 1 -
.../target/arch/mips64/conf/machine/machine.conf | 1 -
.../target/arch/powerpc/conf/machine/machine.conf | 1 -
.../target/arch/qemu/conf/machine/machine.conf | 3 -
27 files changed, 45 insertions(+), 133 deletions(-)
rename meta/recipes-graphics/drm/{libdrm_2.4.70.bb => libdrm_2.4.71.bb} (93%)
rename meta/recipes-graphics/wayland/{libinput_1.4.1.bb => libinput_1.5.0.bb} (85%)
rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_0.19.0.bb => xf86-input-libinput_0.22.0.bb} (63%)
rename meta/recipes-graphics/xorg-lib/{libx11-diet_1.6.3.bb => libx11-diet_1.6.4.bb} (73%)
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11/libX11-Add-missing-NULL-check.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.6.3.bb
create mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.6.4.bb
rename meta/recipes-graphics/xorg-lib/{libxfixes_5.0.2.bb => libxfixes_5.0.3.bb} (79%)
rename meta/recipes-graphics/xorg-lib/{libxfont_1.5.1.bb => libxfont_1.5.2.bb} (81%)
rename meta/recipes-graphics/xorg-lib/{libxi_1.7.6.bb => libxi_1.7.7.bb} (81%)
rename meta/recipes-graphics/xorg-lib/{libxrender_0.9.9.bb => libxrender_0.9.10.bb} (82%)
rename meta/recipes-graphics/xorg-lib/{libxtst_1.2.2.bb => libxtst_1.2.3.bb} (78%)
rename meta/recipes-graphics/xorg-lib/{libxv_1.0.10.bb => libxv_1.0.11.bb} (78%)
rename meta/recipes-graphics/xorg-lib/{libxvmc_1.0.9.bb => libxvmc_1.0.10.bb} (76%)
rename meta/recipes-graphics/xorg-proto/{xproto_7.0.29.bb => xproto_7.0.31.bb} (74%)
rename meta/recipes-support/libevdev/{libevdev_1.5.2.bb => libevdev_1.5.4.bb} (74%)Signature · 1 line
2.1.4
PATCH 1/15 libinput: Upgrade 1.4.1 -> 1.5.0
A large part of this release cycle was internal cleanups and improvements to the test suite, only few new features were added.
---
.../recipes-graphics/wayland/{libinput_1.4.1.bb => libinput_1.5.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/wayland/{libinput_1.4.1.bb => libinput_1.5.0.bb} (85%)meta/recipes-graphics/wayland/libinput_1.5.0.bb renamed from meta/recipes-graphics/wayland/libinput_1.4.1.bb +2 -2
@@ -10,8 +10,8 @@ DEPENDS = "libevdev udev mtdev" SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \ file://touchpad-serial-synaptics-need-to-fake-new-touches-on-TRIPLETAP.patch \ " -SRC_URI[md5sum] = "2e7ba577ed74d8d1baeb07dbd4fb912a" -SRC_URI[sha256sum] = "26e7b3ab499358caba499705680ea7e5851af2bd37dc32f2be64181610d6392a" +SRC_URI[md5sum] = "26030dae25f1ac584b0e428c90473339" +SRC_URI[sha256sum] = "5a96559385ecfaa30f9e72ea89eb8ebbc97caf68e458f451f4ed62315311081c" inherit autotools pkgconfig
Signature · 1 line
2.1.4
PATCH 2/15 libevdev: Upgrade 1.5.2 -> 1.5.4
Tiny bug fix releases.
---
.../recipes-support/libevdev/{libevdev_1.5.2.bb => libevdev_1.5.4.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-support/libevdev/{libevdev_1.5.2.bb => libevdev_1.5.4.bb} (74%)meta/recipes-support/libevdev/libevdev_1.5.4.bb renamed from meta/recipes-support/libevdev/libevdev_1.5.2.bb +2 -2
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \ SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz" -SRC_URI[md5sum] = "96ad6edb5ce5c4428f1b183cc180ff8c" -SRC_URI[sha256sum] = "5ee2163656a61f5703cb5c08a05c9471ffb7b640bfbe2c55194ea50d908f629b" +SRC_URI[md5sum] = "8f22027bd7a7ba19e6f2695f78e672b6" +SRC_URI[sha256sum] = "11fe76d62cc76fbc9dbf8e94696a80eee63780139161e5cf54c55ec21a8173a4" inherit autotools pkgconfig
Signature · 1 line
2.1.4
PATCH 3/15 libdrm: Upgrade 2.4.70 -> 2.4.71
In reply to Jussi KukkonenMostly a bug fix release.
---
meta/recipes-graphics/drm/{libdrm_2.4.70.bb => libdrm_2.4.71.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/drm/{libdrm_2.4.70.bb => libdrm_2.4.71.bb} (93%)meta/recipes-graphics/drm/libdrm_2.4.71.bb renamed from meta/recipes-graphics/drm/libdrm_2.4.70.bb +2 -2
@@ -16,8 +16,8 @@ SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \ file://0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch \ " -SRC_URI[md5sum] = "920957cfe25a80efb02be9bd90bf3c1e" -SRC_URI[sha256sum] = "b17d4b39ed97ca0e4cffa0db06ff609e617bac94646ec38e8e0579d530540e7b" +SRC_URI[md5sum] = "776bccc84618b616fc57a7143836ae7a" +SRC_URI[sha256sum] = "c66287ddeee5f46ea8f8880b94b80acb3bbc33ba6321d17767eef145046df9b8" inherit autotools pkgconfig
Signature · 1 line
2.1.4
PATCH 4/15 xf86-input-libinput: Upgrade 0.19.0 -> 0.22.0
In reply to Jussi KukkonenBug fixes and some added configuration support.
---
.../{xf86-input-libinput_0.19.0.bb => xf86-input-libinput_0.22.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_0.19.0.bb => xf86-input-libinput_0.22.0.bb} (63%)meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.22.0.bb renamed from meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.19.0.bb +2 -2
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5e6b20ea2ef94a998145f0ea3f788ee0" DEPENDS += "libinput" -SRC_URI[md5sum] = "52c38b1369764243bfcf6ead1e4c6d32" -SRC_URI[sha256sum] = "6c5d30dc7c8b8ae34261340e1dc9cbb8ef435078e084b8ef507527a8a21af477" +SRC_URI[md5sum] = "e4364319f15f97dc2ef0ef62c8616826" +SRC_URI[sha256sum] = "c762b4072ed448e2ae9f35cebd7fec8df7fd42b3ae61462cc3b2f720a873eae2" FILES_${PN} += "${datadir}/X11/xorg.conf.d"
Signature · 1 line
2.1.4
PATCH 5/15 xproto: Upgrade 7.0.29 -> 7.0.31
In reply to Jussi KukkonenTiny bug fix releases.
---
.../xorg-proto/{xproto_7.0.29.bb => xproto_7.0.31.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-proto/{xproto_7.0.29.bb => xproto_7.0.31.bb} (74%)meta/recipes-graphics/xorg-proto/xproto_7.0.31.bb renamed from meta/recipes-graphics/xorg-proto/xproto_7.0.29.bb +2 -2
@@ -15,5 +15,5 @@ SRC_URI += "file://xproto_fix_for_x32.patch" EXTRA_OECONF_append = " --enable-specs=no" BBCLASSEXTEND = "native nativesdk" -SRC_URI[md5sum] = "eeeae1f47d43a33ef0d5c56727410326" -SRC_URI[sha256sum] = "6c1a477092ca73233902b8d5f33012635c4b0208f17e7833cc7efe5c93ba9f8a" +SRC_URI[md5sum] = "16791f7ca8c51a20608af11702e51083" +SRC_URI[sha256sum] = "c6f9747da0bd3a95f86b17fb8dd5e717c8f3ab7f0ece3ba1b247899ec1ef7747"
Signature · 1 line
2.1.4
PATCH 6/15 libxvmc: Upgrade 1.0.9 -> 1.0.10
In reply to Jussi KukkonenTiny bug fix release.
---
.../recipes-graphics/xorg-lib/{libxvmc_1.0.9.bb => libxvmc_1.0.10.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libxvmc_1.0.9.bb => libxvmc_1.0.10.bb} (76%)meta/recipes-graphics/xorg-lib/libxvmc_1.0.10.bb renamed from meta/recipes-graphics/xorg-lib/libxvmc_1.0.9.bb +2 -2
@@ -15,5 +15,5 @@ PE = "1" XORG_PN = "libXvMC" -SRC_URI[md5sum] = "eba6b738ed5fdcd8f4203d7c8a470c79" -SRC_URI[sha256sum] = "0703d7dff6ffc184f1735ca5d4eb9dbb402b522e08e008f2f96aee16c40a5756" +SRC_URI[md5sum] = "4cbe1c1def7a5e1b0ed5fce8e512f4c6" +SRC_URI[sha256sum] = "e501a079b5dfaef0897c56152770c77e05e362065cec58910289aa567277ee2e"
Signature · 1 line
2.1.4
PATCH 7/15 libxv: Upgrade 1.0.10 -> 1.0.11
In reply to Jussi KukkonenTiny bug fix release.
---
meta/recipes-graphics/xorg-lib/{libxv_1.0.10.bb => libxv_1.0.11.bb} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libxv_1.0.10.bb => libxv_1.0.11.bb} (78%)meta/recipes-graphics/xorg-lib/libxv_1.0.11.bb renamed from meta/recipes-graphics/xorg-lib/libxv_1.0.10.bb +3 -2
@@ -14,5 +14,6 @@ DEPENDS += "libxext videoproto" XORG_PN = "libXv" -SRC_URI[md5sum] = "e0af49d7d758b990e6fef629722d4aca" -SRC_URI[sha256sum] = "55fe92f8686ce8612e2c1bfaf58c057715534419da700bda8d517b1d97914525" +SRC_URI[md5sum] = "210b6ef30dda2256d54763136faa37b9" +SRC_URI[sha256sum] = "d26c13eac99ac4504c532e8e76a1c8e4bd526471eb8a0a4ff2a88db60cb0b088" +
Signature · 1 line
2.1.4
PATCH 8/15 libxtst: Upgrade 1.2.2 -> 1.2.3
In reply to Jussi KukkonenTiny bug fix release.
---
.../recipes-graphics/xorg-lib/{libxtst_1.2.2.bb => libxtst_1.2.3.bb} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libxtst_1.2.2.bb => libxtst_1.2.3.bb} (78%)meta/recipes-graphics/xorg-lib/libxtst_1.2.3.bb renamed from meta/recipes-graphics/xorg-lib/libxtst_1.2.2.bb +3 -2
@@ -16,5 +16,6 @@ PE = "1" XORG_PN = "libXtst" -SRC_URI[md5sum] = "25c6b366ac3dc7a12c5d79816ce96a59" -SRC_URI[sha256sum] = "ef0a7ffd577e5f1a25b1663b375679529663a1880151beaa73e9186c8309f6d9" +SRC_URI[md5sum] = "ef8c2c1d16a00bd95b9fdcef63b8a2ca" +SRC_URI[sha256sum] = "4655498a1b8e844e3d6f21f3b2c4e2b571effb5fd83199d428a6ba7ea4bf5204" +
Signature · 1 line
2.1.4
PATCH 9/15 libxrender: Upgrade 0.9.9 -> 0.9.10
In reply to Jussi KukkonenTiny bug fix release.
---
.../xorg-lib/{libxrender_0.9.9.bb => libxrender_0.9.10.bb} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libxrender_0.9.9.bb => libxrender_0.9.10.bb} (82%)meta/recipes-graphics/xorg-lib/libxrender_0.9.10.bb renamed from meta/recipes-graphics/xorg-lib/libxrender_0.9.9.bb +3 -2
@@ -19,5 +19,6 @@ XORG_PN = "libXrender" BBCLASSEXTEND = "native nativesdk" -SRC_URI[md5sum] = "5db92962b124ca3a8147daae4adbd622" -SRC_URI[sha256sum] = "fc2fe57980a14092426dffcd1f2d9de0987b9d40adea663bd70d6342c0e9be1a" +SRC_URI[md5sum] = "802179a76bded0b658f4e9ec5e1830a4" +SRC_URI[sha256sum] = "c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949" +
Signature · 1 line
2.1.4
PATCH 10/15 libxi: Upgrade 1.7.6 -> 1.7.7
In reply to Jussi KukkonenTiny bug fix release.
---
meta/recipes-graphics/xorg-lib/{libxi_1.7.6.bb => libxi_1.7.7.bb} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libxi_1.7.6.bb => libxi_1.7.7.bb} (81%)meta/recipes-graphics/xorg-lib/libxi_1.7.7.bb renamed from meta/recipes-graphics/xorg-lib/libxi_1.7.6.bb +3 -2
@@ -17,5 +17,6 @@ PE = "1" XORG_PN = "libXi" -SRC_URI[md5sum] = "510e555ecfffa8d2298a0f42b725e563" -SRC_URI[sha256sum] = "1f32a552cec0f056c0260bdb32e853cec0673d2f40646ce932ad5a9f0205b7ac" +SRC_URI[md5sum] = "cc0883a898222d50ff79af3f83595823" +SRC_URI[sha256sum] = "996f834fa57b9b33ba36690f6f5c6a29320bc8213022943912462d8015b1e030" +
Signature · 1 line
2.1.4
PATCH 11/15 libxfont: Upgrade 1.5.1 -> 1.5.2
In reply to Jussi KukkonenBug fix release.
---
.../xorg-lib/{libxfont_1.5.1.bb => libxfont_1.5.2.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libxfont_1.5.1.bb => libxfont_1.5.2.bb} (81%)meta/recipes-graphics/xorg-lib/libxfont_1.5.2.bb renamed from meta/recipes-graphics/xorg-lib/libxfont_1.5.1.bb +2 -2
@@ -18,8 +18,8 @@ XORG_PN = "libXfont" BBCLASSEXTEND = "native" -SRC_URI[md5sum] = "96f76ba94b4c909230bac1e2dcd551c4" -SRC_URI[sha256sum] = "b70898527c73f9758f551bbab612af611b8a0962202829568d94f3edf4d86098" +SRC_URI[md5sum] = "254ee42bd178d18ebc7a73aacfde7f79" +SRC_URI[sha256sum] = "02945ea68da447102f3e6c2b896c1d2061fd115de99404facc2aca3ad7010d71" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Signature · 1 line
2.1.4
PATCH 12/15 libxfixes: Upgrade 5.0.2 -> 5.0.3
In reply to Jussi KukkonenTiny bug fix release.
---
.../xorg-lib/{libxfixes_5.0.2.bb => libxfixes_5.0.3.bb} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libxfixes_5.0.2.bb => libxfixes_5.0.3.bb} (79%)meta/recipes-graphics/xorg-lib/libxfixes_5.0.3.bb renamed from meta/recipes-graphics/xorg-lib/libxfixes_5.0.2.bb +3 -2
@@ -18,5 +18,6 @@ XORG_PN = "libXfixes" BBCLASSEXTEND = "native nativesdk" -SRC_URI[md5sum] = "544d73df94e638ba7b64147be416e576" -SRC_URI[sha256sum] = "9bd20edfec084a1bed481d48dd4815dee88139fffad091418cdda081129a9aea" +SRC_URI[md5sum] = "07e01e046a0215574f36a3aacb148be0" +SRC_URI[sha256sum] = "de1cd33aff226e08cefd0e6759341c2c8e8c9faf8ce9ac6ec38d43e287b22ad6" +
Signature · 1 line
2.1.4
PATCH 13/15 libx11: Upgrade 1.6.3 -> 1.6.4
In reply to Jussi KukkonenMaintenance release. libx11-xcb no longer links against libx11.
Remove backported patch.
--- .../libx11/libX11-Add-missing-NULL-check.patch | 72 ---------------------- meta/recipes-graphics/xorg-lib/libx11_1.6.3.bb | 11 ---- meta/recipes-graphics/xorg-lib/libx11_1.6.4.bb | 10 +++ 3 files changed, 10 insertions(+), 83 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-lib/libx11/libX11-Add-missing-NULL-check.patch delete mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.6.3.bb create mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.6.4.bb
meta/recipes-graphics/xorg-lib/libx11/libX11-Add-missing-NULL-check.patch deleted +0 -72
@@ -1,72 +0,0 @@ -From 4d85d5f3bd8afac893738fd88e19d8cb5cf998ff Mon Sep 17 00:00:00 2001 -From: Drew Moseley <[email protected]> -Date: Sun, 27 Jul 2014 13:10:07 -0400 -Subject: [PATCH] libX11: Add missing NULL check on im and im->methods - -Upstream-Status: Backport (c827edcd1c4a7f920aa25208083b5b58d60d2b44) -Signed-off-by: Drew Moseley <[email protected]> - ---- - src/xlibi18n/ICWrap.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff -ru libX11-1.6.2-orig/src/xlibi18n/ICWrap.c libX11-1.6.2/src/xlibi18n/ICWrap.c ---- libX11-1.6.2-orig/src/xlibi18n/ICWrap.c 2014-07-27 13:38:29.586666449 -0400 -+++ libX11-1.6.2/src/xlibi18n/ICWrap.c 2014-07-27 13:41:39.671609030 -0400 -@@ -169,7 +169,7 @@ - va_list var; - int total_count; - XIMArg *args; -- char *ret; -+ char *ret = NULL; - - /* - * so count the stuff dangling here -@@ -185,7 +185,8 @@ - _XIMVaToNestedList(var, total_count, &args); - va_end(var); - -- ret = (*im->methods->set_values) (im, args); -+ if (im && im->methods) -+ ret = (*im->methods->set_values) (im, args); - Xfree(args); - return ret; - } -@@ -196,7 +197,7 @@ - va_list var; - int total_count; - XIMArg *args; -- char *ret; -+ char *ret = NULL; - - /* - * so count the stuff dangling here -@@ -212,7 +213,8 @@ - _XIMVaToNestedList(var, total_count, &args); - va_end(var); - -- ret = (*im->methods->get_values) (im, args); -+ if (im && im->methods) -+ ret = (*im->methods->get_values) (im, args); - Xfree(args); - return ret; - } -@@ -228,7 +230,7 @@ - va_list var; - int total_count; - XIMArg *args; -- XIC ic; -+ XIC ic = NULL; - - /* - * so count the stuff dangling here -@@ -244,7 +246,8 @@ - _XIMVaToNestedList(var, total_count, &args); - va_end(var); - -- ic = (XIC) (*im->methods->create_ic) (im, args); -+ if (im && im->methods) -+ ic = (XIC) (*im->methods->create_ic) (im, args); - Xfree(args); - if (ic) { - ic->core.next = im->core.ic_chain;
meta/recipes-graphics/xorg-lib/libx11_1.6.3.bb deleted +0 -11
@@ -1,11 +0,0 @@ -require libx11.inc -inherit gettext - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += "file://disable_tests.patch \ - file://libX11-Add-missing-NULL-check.patch \ - " - -SRC_URI[md5sum] = "2e36b73f8a42143142dda8129f02e4e0" -SRC_URI[sha256sum] = "cf31a7c39f2f52e8ebd0db95640384e63451f9b014eed2bb7f5de03e8adc8111"
meta/recipes-graphics/xorg-lib/libx11_1.6.4.bb new file +10 -0
@@ -0,0 +1,10 @@ +require libx11.inc +inherit gettext + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += "file://disable_tests.patch \ + " + +SRC_URI[md5sum] = "6d54227082f3aa2c596f0b3a3fbb9175" +SRC_URI[sha256sum] = "b7c748be3aa16ec2cbd81edc847e9b6ee03f88143ab270fb59f58a044d34e441"
Signature · 1 line
2.1.4
PATCH 14/15 libx11-diet: Upgrade 1.6.3 -> 1.6.4
In reply to Jussi KukkonenMaintenance release.
---
.../xorg-lib/{libx11-diet_1.6.3.bb => libx11-diet_1.6.4.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libx11-diet_1.6.3.bb => libx11-diet_1.6.4.bb} (73%)meta/recipes-graphics/xorg-lib/libx11-diet_1.6.4.bb renamed from meta/recipes-graphics/xorg-lib/libx11-diet_1.6.3.bb +2 -2
@@ -11,8 +11,8 @@ SRC_URI += "file://X18NCMSstubs.diff \ RPROVIDES_${PN}-dev = "libx11-dev" RPROVIDES_${PN}-locale = "libx11-locale" -SRC_URI[md5sum] = "2e36b73f8a42143142dda8129f02e4e0" -SRC_URI[sha256sum] = "cf31a7c39f2f52e8ebd0db95640384e63451f9b014eed2bb7f5de03e8adc8111" +SRC_URI[md5sum] = "6d54227082f3aa2c596f0b3a3fbb9175" +SRC_URI[sha256sum] = "b7c748be3aa16ec2cbd81edc847e9b6ee03f88143ab270fb59f58a044d34e441" EXTRA_OECONF += "--disable-xlocale"
Signature · 1 line
2.1.4
PATCH 15/15 conf: Use xf86-input-libinput by default
In reply to Jussi KukkonenDon't install legacy X input drivers for any machines by default, RRECOMMEND xf86-input-libinput instead.
This is the setup suggested by upstream: install only libinput by default, but let niche legacy drivers sort higher in configuration so they get chosen if installed. So the order is:
evdev < libinput < (synaptics|vmmouse|...)
This also removes vmmouse X driver from the qemu config. If a VMware virtual mouse device really needs to be supported, we should enable CONFIG_MOUSE_PS2_VMMOUSE in kernel instead: that is directly supported by the libinput X driver.
Fixes [YOCTO #10195].
--- meta/conf/machine/include/qemu.inc | 4 +--- meta/conf/machine/include/x86-base.inc | 4 ---- meta/conf/machine/qemux86-64.conf | 3 --- meta/conf/machine/qemux86.conf | 3 --- meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb | 2 +- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 2 +- scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf | 4 +--- scripts/lib/bsp/substrate/target/arch/mips/conf/machine/machine.conf | 1 - .../lib/bsp/substrate/target/arch/mips64/conf/machine/machine.conf | 1 - .../lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf | 1 - scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf | 3 --- 11 files changed, 4 insertions(+), 24 deletions(-)
meta/conf/machine/include/qemu.inc +1 -3
@@ -6,10 +6,8 @@ PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" XSERVER ?= "xserver-xorg \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \ - xf86-input-evdev \ - xf86-input-mouse \ xf86-video-fbdev \ - xf86-input-keyboard" + " MACHINE_FEATURES = "alsa bluetooth usbgadget screen"
meta/conf/machine/include/x86-base.inc +0 -4
@@ -26,10 +26,6 @@ PREFERRED_VERSION_linux-yocto ??= "4.8%" # XSERVER subcomponents, used to build the XSERVER variable # XSERVER_X86_BASE = "xserver-xorg \ - xf86-input-mouse \ - xf86-input-keyboard \ - xf86-input-evdev \ - xf86-input-synaptics \ " XSERVER_X86_EXT = " \
meta/conf/machine/qemux86-64.conf +0 -3
@@ -18,9 +18,6 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1" XSERVER = "xserver-xorg \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \ - xf86-input-vmmouse \ - xf86-input-keyboard \ - xf86-input-evdev \ xf86-video-cirrus \ xf86-video-fbdev \ xf86-video-vmware \
meta/conf/machine/qemux86.conf +0 -3
@@ -17,9 +17,6 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1" XSERVER = "xserver-xorg \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \ - xf86-input-vmmouse \ - xf86-input-keyboard \ - xf86-input-evdev \ xf86-video-cirrus \ xf86-video-fbdev \ xf86-video-vmware \
meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb +1 -1
@@ -11,7 +11,7 @@ inherit packagegroup distro_features_check # rdepends on XSERVER REQUIRED_DISTRO_FEATURES = "x11" -XSERVER ?= "xserver-xorg xf86-video-fbdev xf86-input-evdev" +XSERVER ?= "xserver-xorg xf86-video-fbdev" XSERVERCODECS ?= "" RDEPENDS_${PN} = "\
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +1 -1
@@ -71,7 +71,7 @@ PACKAGES =+ "${PN}-sdl \ SUMMARY_xf86-video-modesetting = "X.Org X server -- modesetting display driver" INSANE_SKIP_${MLPREFIX}xf86-video-modesetting = "xorg-driver-abi" -XSERVER_RRECOMMENDS = "xkeyboard-config rgb xserver-xf86-config xkbcomp" +XSERVER_RRECOMMENDS = "xkeyboard-config rgb xserver-xf86-config xkbcomp xf86-input-libinput" RRECOMMENDS_${PN} += "${XSERVER_RRECOMMENDS}" RRECOMMENDS_${PN}-xwayland += "${XSERVER_RRECOMMENDS}" RDEPENDS_${PN}-xvfb += "xkeyboard-config"
scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf +1 -3
@@ -8,10 +8,8 @@ {{ if xserver == "y": }} PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" XSERVER ?= "xserver-xorg \ - xf86-input-evdev \ - xf86-input-mouse \ xf86-video-fbdev \ - xf86-input-keyboard" + " MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
scripts/lib/bsp/substrate/target/arch/mips/conf/machine/machine.conf +0 -1
@@ -27,7 +27,6 @@ PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" {{ if xserver == "y": }} PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" XSERVER ?= "xserver-xorg \ - xf86-input-evdev \ xf86-video-fbdev" SERIAL_CONSOLE = "115200 ttyS0"
scripts/lib/bsp/substrate/target/arch/mips64/conf/machine/machine.conf +0 -1
@@ -27,7 +27,6 @@ PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" {{ if xserver == "y": }} PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" XSERVER ?= "xserver-xorg \ - xf86-input-evdev \ xf86-video-fbdev" SERIAL_CONSOLE = "115200 ttyS0"
scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf +0 -1
@@ -71,7 +71,6 @@ PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" {{ if xserver == "y": }} PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" XSERVER ?= "xserver-xorg \ - xf86-input-evdev \ xf86-video-fbdev" PREFERRED_VERSION_u-boot ?= "v2016.01%"
scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf +0 -3
@@ -54,9 +54,6 @@ KERNEL_IMAGETYPE = "bzImage" SERIAL_CONSOLE = "115200 ttyS0" XSERVER = "xserver-xorg \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)} \ - xf86-input-vmmouse \ - xf86-input-keyboard \ - xf86-input-evdev \ xf86-video-vmware" {{ if qemuarch == "arm": }}
Signature · 1 line
2.1.4