public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xdotool] f45: Update to v4.20260303.1
@ 2026-09-26 16:07 Artur Frenszek-Iwicki
0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-09-26 16:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/xdotool
Branch : f45
Commit : 9dba08bbe3a24a801ed0c7e3c35afe2d07872f20
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date : 2026-08-30T17:43:33+02:00
Stats : +10/-61 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/xdotool/c/9dba08bbe3a24a801ed0c7e3c35afe2d07872f20?branch=f45
Log:
Update to v4.20260303.1
---
diff --git a/.gitignore b/.gitignore
index a777108..5ebd875 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ xdotool-2.20100623.2949.tar.gz
/xdotool-3.20150503.1.tar.gz
/xdotool-3.20160805.1.tar.gz
/xdotool-3.20211022.1.tar.gz
+/xdotool-4.20260303.1.tar.gz
diff --git a/0001-Use-XTEST-instead-of-XWarpPointer-with-a-single-scre.patch b/0001-Use-XTEST-instead-of-XWarpPointer-with-a-single-scre.patch
deleted file mode 100644
index f20a1b6..0000000
--- a/0001-Use-XTEST-instead-of-XWarpPointer-with-a-single-scre.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 89731d7eeb1515ebb217a59b8ca1c271e29ea0c5 Mon Sep 17 00:00:00 2001
-From: Olivier Fourdan <ofourdan@redhat.com>
-Date: Mon, 7 Aug 2023 10:20:08 +0200
-Subject: [PATCH] Use XTEST instead of XWarpPointer with a single screen
-
-xdotool uses the XTEST extension for pretty much all input events
-emulation except for mousemove.
-
-For mousemove, it uses XWarpPointer() instead, to work around an old bug
-from 2009 that would ignore the screen number in Zaphod mode.
-
-Unfortunately, that prevents mousemove to work in Xwayland with libEI
-because Xwayland wires XTEST to libEI, whereas xdotool uses the core
-protocol for that command alone.
-
-Zaphod mode is nowadays somehow deprecated, GNOME and GTK have dropped
-support for it and Xwayland supports only one X11 screen (not to be
-confused with multi-monitors), so this workaround in xdotool actually
-causes more harm that good in most current cases nowadays.
-
-So, to preserve compatibility with Zaphod mode while being compatible
-with modern windowing systems, this fix limits the workaround that uses
-XWarpPointer() for when there is more than one screen, and uses the
-XTEST extension otherwise.
----
- xdo.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/xdo.c b/xdo.c
-index ffb0333..8cda05c 100644
---- a/xdo.c
-+++ b/xdo.c
-@@ -804,8 +804,12 @@ int xdo_move_mouse(const xdo_t *xdo, int x, int y, int screen) {
- * seem to recommend XWarpPointer instead, ie;
- * https://bugzilla.redhat.com/show_bug.cgi?id=518803
- */
-- Window screen_root = RootWindow(xdo->xdpy, screen);
-- ret = XWarpPointer(xdo->xdpy, None, screen_root, 0, 0, 0, 0, x, y);
-+ if (screen > 0) {
-+ Window screen_root = RootWindow(xdo->xdpy, screen);
-+ ret = XWarpPointer(xdo->xdpy, None, screen_root, 0, 0, 0, 0, x, y);
-+ } else {
-+ ret = XTestFakeMotionEvent(xdo->xdpy, 0, x, y, CurrentTime);
-+ }
- XFlush(xdo->xdpy);
- return _is_success("XWarpPointer", ret == 0, xdo);
- }
---
-2.41.0
-
diff --git a/sources b/sources
index 24a0104..13afd09 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xdotool-3.20211022.1.tar.gz) = f11d7b079f19d1650adfb549ecc96e840805935bf4925beefc3238154ad0afbff36b134c78bfc73a9dc07fc869ab75676575d6de50cfd54484d2c35d6913ea27
+SHA512 (xdotool-4.20260303.1.tar.gz) = 2ec84a0856797d24c3fe7aa75cb643e37d1b2a2ff7dc332a11f9e88321592c4f0e2aa7a7e981ca98ca624fc120d1abb0021d97537555c43be77afc1b9a72803c
diff --git a/xdotool.spec b/xdotool.spec
index e9f2f0b..cd29fdf 100644
--- a/xdotool.spec
+++ b/xdotool.spec
@@ -1,14 +1,11 @@
Name: xdotool
-Version: 3.20211022.1
+Version: 4.20260303.1
Epoch: 1
-Release: 11%{?dist}
+Release: 1%{?dist}
Summary: Fake keyboard/mouse input
-# Automatically converted from old format: BSD - review is highly recommended.
-License: LicenseRef-Callaway-BSD
+License: BSD-3-Clause
URL: https://github.com/jordansissel/xdotool
-Source0: https://github.com/jordansissel/xdotool/releases/download/v%{version}/xdotool-%{version}.tar.gz
-
-Patch0: 0001-Use-XTEST-instead-of-XWarpPointer-with-a-single-scre.patch
+Source0: https://github.com/jordansissel/xdotool/archive/v%{version}/xdotool-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc
@@ -34,10 +31,8 @@ developing applications that use libxdo
%prep
%setup -q
-%patch 0 -p1
%build
-%set_build_flags
%make_build WITHOUT_RPATH_FIX=1
%install
@@ -50,7 +45,7 @@ chmod 0644 examples/ffsp.sh
%files -n libxdo
%doc CHANGELIST COPYRIGHT README.md
-%{_libdir}/*.so.3*
+%{_libdir}/*.so.4*
%files -n libxdo-devel
%{_includedir}/*
@@ -63,6 +58,9 @@ chmod 0644 examples/ffsp.sh
%doc examples
%changelog
+* Sun Aug 30 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 1:4.20260303.1-1
+- Update to v4.20260303.1
+
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.20211022.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-26 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 16:07 [rpms/xdotool] f45: Update to v4.20260303.1 Artur Frenszek-Iwicki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox