From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9831A15808B for ; Mon, 21 Mar 2022 18:13:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2B58E0924; Mon, 21 Mar 2022 18:13:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 976A2E0924 for ; Mon, 21 Mar 2022 18:13:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88546342F18 for ; Mon, 21 Mar 2022 18:13:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C87BA2B0 for ; Mon, 21 Mar 2022 18:13:37 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1647886402.77873a347a4f9d40c94d7eb66d12709f92c33ba3.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/at-spi2-core/, app-accessibility/at-spi2-core/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch X-VCS-Directories: app-accessibility/at-spi2-core/files/ app-accessibility/at-spi2-core/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 77873a347a4f9d40c94d7eb66d12709f92c33ba3 X-VCS-Branch: master Date: Mon, 21 Mar 2022 18:13:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad5c58ba-dfdf-43a6-85d8-17d3fa104583 X-Archives-Hash: 24f03a091956a4bdc458085361f4fb62 commit: 77873a347a4f9d40c94d7eb66d12709f92c33ba3 Author: Matt Turner gentoo org> AuthorDate: Mon Mar 21 18:13:20 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Mar 21 18:13:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77873a34 app-accessibility/at-spi2-core: Fix build with USE=-X Closes: https://bugs.gentoo.org/835701 Signed-off-by: Matt Turner gentoo.org> .../at-spi2-core/at-spi2-core-2.44.0.ebuild | 1 + .../files/2.44.0-Fix-build-with-X11-disabled.patch | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild index 6d1568dc223b..ec6aee601bdb 100644 --- a/app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild +++ b/app-accessibility/at-spi2-core/at-spi2-core-2.44.0.ebuild @@ -38,6 +38,7 @@ BDEPEND=" PATCHES=( # disable teamspaces test since that requires Novell.ICEDesktop.Daemon "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch" + "${FILESDIR}/${PV}-Fix-build-with-X11-disabled.patch" ) multilib_src_configure() { 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 new file mode 100644 index 000000000000..bd6dfaaec885 --- /dev/null +++ b/app-accessibility/at-spi2-core/files/2.44.0-Fix-build-with-X11-disabled.patch @@ -0,0 +1,38 @@ +From 08036a4c4491eea57d7b713bb4440f541584204b Mon Sep 17 00:00:00 2001 +From: Mike Gorse +Date: Mon, 21 Mar 2022 10:19:03 -0500 +Subject: [PATCH] Fix build with X11 disabled + +Closes #51 +--- + 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; + } +-- +2.34.1 +