libei 1.2.1
This commit is contained in:
parent
02b45df903
commit
1ecab58aa8
@ -1,36 +0,0 @@
|
|||||||
From 5812782885624648d3d198edab5af314abadfee4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
|
||||||
Date: Wed, 13 Dec 2023 13:31:00 +1000
|
|
||||||
Subject: [PATCH] oeffis: OEFFIS_DEVICE_ALL_DEVICES should translate to "all"
|
|
||||||
|
|
||||||
As the portal documentation [1] says:
|
|
||||||
Bitmask of what device types to request remote controlling of. Default is all.
|
|
||||||
|
|
||||||
The default is only triggered if we do not submit the types at all, the
|
|
||||||
current behavior of sending a value of 0 means "none". Fix this by
|
|
||||||
skipping the "types" key if we try to select for all devices.
|
|
||||||
|
|
||||||
[1] https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.impl.portal.RemoteDesktop.html
|
|
||||||
|
|
||||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
||||||
---
|
|
||||||
src/liboeffis.c | 2 +-
|
|
||||||
test/test_oeffis.py | 24 ++++++++++++++++++++++++
|
|
||||||
2 files changed, 25 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/liboeffis.c b/src/liboeffis.c
|
|
||||||
index 93b83176..7d2ec353 100644
|
|
||||||
--- a/src/liboeffis.c
|
|
||||||
+++ b/src/liboeffis.c
|
|
||||||
@@ -560,7 +560,7 @@ portal_select_devices(struct oeffis *oeffis)
|
|
||||||
&response,
|
|
||||||
"oa{sv}",
|
|
||||||
oeffis->session_path,
|
|
||||||
- 2,
|
|
||||||
+ oeffis->devices == OEFFIS_DEVICE_ALL_DEVICES ? 1 : 2,
|
|
||||||
"handle_token", /* string key */
|
|
||||||
"s", token, /* variant string */
|
|
||||||
"types", /* string key */
|
|
||||||
--
|
|
||||||
2.43.0
|
|
||||||
|
|
||||||
@ -4,8 +4,8 @@
|
|||||||
# Here there are packaged as libei, libeis and liboeffis plus respective subpackages.
|
# Here there are packaged as libei, libeis and liboeffis plus respective subpackages.
|
||||||
|
|
||||||
Name: libei
|
Name: libei
|
||||||
Version: 1.2.0
|
Version: 1.2.1
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Library for Emulated Input
|
Summary: Library for Emulated Input
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -23,8 +23,6 @@ BuildRequires: python3-jinja2
|
|||||||
BuildRequires: python3-rpm-macros
|
BuildRequires: python3-rpm-macros
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
|
||||||
Patch01: 0001-oeffis-OEFFIS_DEVICE_ALL_DEVICES-should-translate-to.patch
|
|
||||||
|
|
||||||
# libei packages
|
# libei packages
|
||||||
%description
|
%description
|
||||||
libei is a library to Emulate Input. It allows clients to talk to
|
libei is a library to Emulate Input. It allows clients to talk to
|
||||||
@ -123,6 +121,9 @@ Library for XDG RemoteDesktop Portal Setup Development Package
|
|||||||
%{_bindir}/ei-debug-events
|
%{_bindir}/ei-debug-events
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 05 2024 Peter Hutterer <peter.hutterer@redhat.com> - 1.2.1-1
|
||||||
|
- libei 1.2.1
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libei-1.2.0.tar.bz2) = c1d39c2c830df373ff5d7cc3eca330c2d771a26df6f2902d62f639a8a4db9af5370db4b9defe605721dd1f429eae68cbc4249792b3ae26b4c82d269f07a36732
|
SHA512 (libei-1.2.1.tar.bz2) = ac8e32a381b9555a6b9becab9217a323d79aeba4b3f11e1dbba9f876d566f232f41d0f299f8cb8e5de6707d0dd91e93872edd81532c971e35d1cf33f9f9063b4
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user