diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-08-17 14:04:12 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-08-17 14:09:17 +0100 |
commit | 4de47de2cf0b57f01df6d3bc2af091fa9b715826 (patch) | |
tree | 47aafa60143d4da4740f1b1f78f7313b32a0d551 /x11-misc | |
parent | app-eselect/eselect-php: Set TMPFILES_OPTIONAL (diff) | |
download | gentoo-4de47de2cf0b57f01df6d3bc2af091fa9b715826.tar.gz gentoo-4de47de2cf0b57f01df6d3bc2af091fa9b715826.tar.bz2 gentoo-4de47de2cf0b57f01df6d3bc2af091fa9b715826.zip |
x11-misc/xdotool: allow using 3.20210804.2 with XWayland
This will likely no longer be needed come next release - with users
generally reporting having been able to use xdotool on XWayland,
upstream has decided to change the behaviour of the newly added check
to "warn but allow". See
https://github.com/jordansissel/xdotool/issues/346
for details.
Suggested-by: Duncan <1i5t5.duncan@cox.net>
Closes: https://bugs.gentoo.org/807989
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch | 14 | ||||
-rw-r--r-- | x11-misc/xdotool/xdotool-3.20210804.2.ebuild | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch b/x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch new file mode 100644 index 000000000000..efb1ccf13410 --- /dev/null +++ b/x11-misc/xdotool/files/xdotool-3.20210804.2-allow_xwayland.patch @@ -0,0 +1,14 @@ +See +https://github.com/jordansissel/xdotool/issues/346 +for details. + +--- a/xdo.c ++++ b/xdo.c +@@ -121,7 +121,6 @@ + // Try to detect XWayland and warn the user about problems. + if (appears_to_be_wayland(xdpy)) { + fprintf(stderr, "The X server at %s appears to be XWayland. Unfortunately, XWayland does not correctly support the features used by libxdo and xdotool.\n", display); +- return NULL; + } + + diff --git a/x11-misc/xdotool/xdotool-3.20210804.2.ebuild b/x11-misc/xdotool/xdotool-3.20210804.2.ebuild index 63cc8018aa42..eb3af11dd2b9 100644 --- a/x11-misc/xdotool/xdotool-3.20210804.2.ebuild +++ b/x11-misc/xdotool/xdotool-3.20210804.2.ebuild @@ -31,6 +31,7 @@ BDEPEND="virtual/pkgconfig x11-base/xorg-proto" PATCHES=( + "${FILESDIR}"/${PN}-3.20210804.2-allow_xwayland.patch "${FILESDIR}"/${PN}-3.20210804.2-no_hardcoded_pkg-config.patch "${FILESDIR}"/${PN}-3.20210804.2-no_ldconfig.patch ) |