Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/at-spi2-core/files/
Date: Wed, 01 Jun 2022 13:57:02
Message-Id: 1654091770.9d520de306930c415150ff00441ec3614119e268.mattst88@gentoo
1 commit: 9d520de306930c415150ff00441ec3614119e268
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Wed Jun 1 06:54:09 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 13:56:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d520de3
7
8 app-accessibility/at-spi2-core: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/25717
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 .../files/2.44.0-Fix-build-with-X11-disabled.patch | 38 ----------------------
15 .../at-spi2-core-2.42.0-fix-disabling-x11.patch | 36 --------------------
16 2 files changed, 74 deletions(-)
17
18 diff --git a/app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch b/app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch
19 deleted file mode 100644
20 index bd6dfaaec885..000000000000
21 --- a/app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch
22 +++ /dev/null
23 @@ -1,38 +0,0 @@
24 -From 08036a4c4491eea57d7b713bb4440f541584204b Mon Sep 17 00:00:00 2001
25 -From: Mike Gorse <mgorse@××××.com>
26 -Date: Mon, 21 Mar 2022 10:19:03 -0500
27 -Subject: [PATCH] Fix build with X11 disabled
28 -
29 -Closes #51
30 ----
31 - registryd/deviceeventcontroller.c | 8 ++++----
32 - 1 file changed, 4 insertions(+), 4 deletions(-)
33 -
34 -diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
35 -index 8a321adc..3068ec4b 100644
36 ---- a/registryd/deviceeventcontroller.c
37 -+++ b/registryd/deviceeventcontroller.c
38 -@@ -1720,16 +1720,16 @@ spi_dec_synth_keysym (SpiDEController *controller, long keysym)
39 - if (synth_mods != modifiers) {
40 - lock_mods = synth_mods & ~modifiers;
41 - spi_dec_plat_lock_modifiers (controller, lock_mods);
42 -- if (modifiers & LockMask)
43 -- spi_dec_plat_unlock_modifiers (controller, LockMask);
44 -+ if (modifiers & SPI_KEYMASK_SHIFTLOCK)
45 -+ spi_dec_plat_unlock_modifiers (controller, SPI_KEYMASK_SHIFTLOCK);
46 - }
47 - spi_dec_plat_synth_keycode_press (controller, key_synth_code);
48 - spi_dec_plat_synth_keycode_release (controller, key_synth_code);
49 -
50 - if (synth_mods != modifiers) {
51 - spi_dec_plat_unlock_modifiers (controller, lock_mods);
52 -- if (modifiers & LockMask)
53 -- spi_dec_plat_lock_modifiers (controller, LockMask);
54 -+ if (modifiers & SPI_KEYMASK_SHIFTLOCK)
55 -+ spi_dec_plat_lock_modifiers (controller, SPI_KEYMASK_SHIFTLOCK);
56 - }
57 - return TRUE;
58 - }
59 ---
60 -2.34.1
61 -
62
63 diff --git a/app-accessibility/at-spi2-core/files/at-spi2-core-2.42.0-fix-disabling-x11.patch b/app-accessibility/at-spi2-core/files/at-spi2-core-2.42.0-fix-disabling-x11.patch
64 deleted file mode 100644
65 index 3bf32724e691..000000000000
66 --- a/app-accessibility/at-spi2-core/files/at-spi2-core-2.42.0-fix-disabling-x11.patch
67 +++ /dev/null
68 @@ -1,36 +0,0 @@
69 -https://bugs.gentoo.org/829591
70 -https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/2175d89198440d948075f3268aec5f45430afb3d
71 -
72 -From 2175d89198440d948075f3268aec5f45430afb3d Mon Sep 17 00:00:00 2001
73 -From: Tim Orling <ticotimo@×××××.com>
74 -Date: Fri, 15 Oct 2021 12:44:39 -0700
75 -Subject: [PATCH] Ensure x11_dep is defined
76 -
77 -bus/meson.build checks if x11_dep.found(), but this fails when
78 --Dx11=no
79 -
80 -References:
81 - https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/42
82 - https://mesonbuild.com/howtox.html#get-a-default-notfound-dependency
83 -
84 -Signed-off-by: Tim Orling <ticotimo@×××××.com>
85 ----
86 - meson.build | 2 ++
87 - 1 file changed, 2 insertions(+)
88 -
89 -diff --git a/meson.build b/meson.build
90 -index b5104c8c..cfd2e091 100644
91 ---- a/meson.build
92 -+++ b/meson.build
93 -@@ -62,6 +62,8 @@ endif
94 -
95 - x11_deps = []
96 - x11_option = get_option('x11')
97 -+# ensure x11_dep is defined for use elsewhere, such as bus/meson.build
98 -+x11_dep = dependency('', required: false)
99 - if x11_option != 'no'
100 - x11_dep = dependency('x11', required: false)
101 -
102 ---
103 -GitLab
104 -