]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
at-spi2-core: update 2.42.0 -> 2.44.0
authorAlexander Kanavin <alex.kanavin@gmail.com>
Thu, 7 Apr 2022 17:00:22 +0000 (19:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Apr 2022 13:04:55 +0000 (14:04 +0100)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/atk/at-spi2-core/0001-Ensure-x11_dep-is-defined.patch [deleted file]
meta/recipes-support/atk/at-spi2-core_2.44.0.bb [moved from meta/recipes-support/atk/at-spi2-core_2.42.0.bb with 89% similarity]
meta/recipes-support/atk/files/08036a4c4491eea57d7b713bb4440f541584204b.patch [new file with mode: 0644]

diff --git a/meta/recipes-support/atk/at-spi2-core/0001-Ensure-x11_dep-is-defined.patch b/meta/recipes-support/atk/at-spi2-core/0001-Ensure-x11_dep-is-defined.patch
deleted file mode 100644 (file)
index 4a9bbbc..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-From 9e726133319298a835f724904c80e5adf78f475f Mon Sep 17 00:00:00 2001
-From: Tim Orling <timothy.t.orling@intel.com>
-Date: Fri, 15 Oct 2021 18:00:04 +0000
-Subject: [PATCH] Ensure x11_dep is defined
-
-bus/meson.build checks if x11_dep.found(), but this fails when
--Dx11=no
-
-Upstream-Status: Submitted
-[https://gitlab.gnome.org/GNOME/at-spi2-core/-/merge_requests/60]
-
-References:
-  https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/42
-  https://mesonbuild.com/howtox.html#get-a-default-notfound-dependency
-
-Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
----
- meson.build | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/meson.build b/meson.build
-index b5104c8..85d7a0e 100644
---- a/meson.build
-+++ b/meson.build
-@@ -62,6 +62,8 @@ endif
- x11_deps = []
- x11_option = get_option('x11')
-+# ensure x11_dep is defined for use in bus/meson.build
-+x11_dep = dependency('', required: false)
- if x11_option != 'no'
-   x11_dep = dependency('x11', required: false)
similarity index 89%
rename from meta/recipes-support/atk/at-spi2-core_2.42.0.bb
rename to meta/recipes-support/atk/at-spi2-core_2.44.0.bb
index 9ca969cbb8b4eff21b8e358c1ebac685d55d0b25..e276eb7b8e41be00d732b50302d702d72772fb72 100644 (file)
@@ -10,10 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
-           file://0001-Ensure-x11_dep-is-defined.patch \
-           "
+           file://08036a4c4491eea57d7b713bb4440f541584204b.patch \
+          "
 
-SRC_URI[sha256sum] = "4b5da10e94fa3c6195f95222438f63a0234b99ef9df772c7640e82baeaa6e386"
+SRC_URI[sha256sum] = "7eee3cf285b089060fd6b6e51b3eb2cacf752cca3a082c7f4c2c5ab841e51353"
 
 X11DEPENDS = "virtual/libx11 libxi libxtst"
 
diff --git a/meta/recipes-support/atk/files/08036a4c4491eea57d7b713bb4440f541584204b.patch b/meta/recipes-support/atk/files/08036a4c4491eea57d7b713bb4440f541584204b.patch
new file mode 100644 (file)
index 0000000..0f00225
--- /dev/null
@@ -0,0 +1,40 @@
+From 08036a4c4491eea57d7b713bb4440f541584204b Mon Sep 17 00:00:00 2001
+From: Mike Gorse <mgorse@suse.com>
+Date: Mon, 21 Mar 2022 10:19:03 -0500
+Subject: [PATCH] Fix build with X11 disabled
+
+Closes #51
+Upstream-Status: Backport
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ registryd/deviceeventcontroller.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
+index 8a321adc..3068ec4b 100644
+--- a/registryd/deviceeventcontroller.c
++++ b/registryd/deviceeventcontroller.c
+@@ -1720,16 +1720,16 @@ spi_dec_synth_keysym (SpiDEController *controller, long keysym)
+       if (synth_mods != modifiers) {
+               lock_mods = synth_mods & ~modifiers;
+               spi_dec_plat_lock_modifiers (controller, lock_mods);
+-              if (modifiers & LockMask)
+-                      spi_dec_plat_unlock_modifiers (controller, LockMask);
++              if (modifiers & SPI_KEYMASK_SHIFTLOCK)
++                      spi_dec_plat_unlock_modifiers (controller, SPI_KEYMASK_SHIFTLOCK);
+       }
+       spi_dec_plat_synth_keycode_press (controller, key_synth_code);
+       spi_dec_plat_synth_keycode_release (controller, key_synth_code);
+       if (synth_mods != modifiers) {
+               spi_dec_plat_unlock_modifiers (controller, lock_mods);
+-              if (modifiers & LockMask)
+-                      spi_dec_plat_lock_modifiers (controller, LockMask);
++              if (modifiers & SPI_KEYMASK_SHIFTLOCK)
++                      spi_dec_plat_lock_modifiers (controller, SPI_KEYMASK_SHIFTLOCK);
+       }
+       return TRUE;
+ }
+-- 
+GitLab
+