diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
commit | d162ba1860a88062f4cd61f8b52fc303ba0b2991 (patch) | |
tree | 24cd2cf57f3932a24b96e4a0f6666489447e43ba /x11-misc/xdotool | |
parent | 590b9b7b03bf4651e099949e318755af7cfa81b8 (diff) |
gentoo resync : 07.08.2021
Diffstat (limited to 'x11-misc/xdotool')
4 files changed, 82 insertions, 0 deletions
diff --git a/x11-misc/xdotool/Manifest b/x11-misc/xdotool/Manifest index 3736b2a03c6c..7592a9534f99 100644 --- a/x11-misc/xdotool/Manifest +++ b/x11-misc/xdotool/Manifest @@ -1,3 +1,7 @@ +AUX xdotool-3.20210804.2-no_hardcoded_pkg-config.patch 1073 BLAKE2B 570221beabbad51f324bded0398afd68e9d3d4f30216b7a643dc9f8c76163721bd32778137fd322faffc2edafbc63d10cc036ec5311496b24410c737735f6482 SHA512 cb206c2b708835d8f3c656778edb07f08faafe3f9c1b407526e45321dc44b59981617b0c7b96865d6c1b968c855d40c0302ce888e8a1f57719b87ee9e774449e +AUX xdotool-3.20210804.2-no_ldconfig.patch 493 BLAKE2B 044f6896b2f1279795a4263107309886518698125a818522a771374f3a1f2242f00446e87eaaff3b5eead3840459fc249405d49d47e7cd6568f5c923e096fb34 SHA512 7b3d4fe4a532e81358d81ebe9fd6e212bcceb08700df37d7d4c7fc16d95177c8f39ec8ef5a986eb6a08e7c6d209efaa8426483732dcedec39617b203de2faac5 DIST xdotool-3.20160805.1.tar.gz 105388 BLAKE2B b836bd9c408bc4f7de562a1dd1fe18142155dc486b01912462b6d1cebc5f3f4094a407556c9f50cafb4ca3a17149e6f69303706730aabdaf94abc6d4b817d351 SHA512 e27b1029ee954ea17643ed489a00a1856e5687b03772c0f10a8e50cde3c3c957b57a3ba9890005474a744a228ef4827a83770d6890479c37a1f98f4fd7b1ff6c +DIST xdotool-3.20210804.2.tar.gz 114644 BLAKE2B 7002f87061bae21968ba5bd37e0974ca0f2000d6d54c400da491ecdf37110e0990fc7eb6d2500a3838b5bb969c7ea2394b2f65194bc64ece32f8fb65feead257 SHA512 45eaa0a2bdff0bdbd8bbe1374e72d58beccdc908581d40867dbacb4209a6273b040b332a6b95ddc8e7fa8d018734c016c1687f1d6963395da3f100799ffa079d EBUILD xdotool-3.20160805.1.ebuild 1329 BLAKE2B 53992c6c31b1ee1c710b53e4a0119e47c3ffed95621ad6fe68073321ad880ee5f3d190c33825b27d8422ea096d8c1ad67eb3ad63a85861554041e5eac5d83126 SHA512 ce2fe778428e897074ed7cf69d3fe68d08492fc67224c1a8e88ed3365adefe87ce037ed732c30256dd516976a660012f62b090d2a30685cfe6eea8620cfe0e6d +EBUILD xdotool-3.20210804.2.ebuild 1413 BLAKE2B 2bbdba603db2fad15f8357c8ed6f12b8d6db37059e0880c707a4cfb75801b566f20da0c1adbd9306c3a2f66a50972df8ebb6f5faab5488a67c46b208f779b8bb SHA512 68e60ae90b640a7446632a0deb04773aa3ad4dafa05bd39f499373e1d7bf8d4792eeab9cd9fc9048e17455d3808182329ebb6c04a5c55726c3a8c7ce29340b3e MISC metadata.xml 559 BLAKE2B 799ca899f19315166729afb319949ac00dc89ffa5e71b1180a762f0f584f0c5369279c22f4df59cd8e034ceba100d19d4addc0f3f08a3879ec991d2e9c775559 SHA512 c3868963a90c77f0df833cafb4a9adfbe16a7a161f89863874f76b2c1e0a31652256a252acee1580135ecf48d431253f853512afe778b89e400b7c1a14a0f44e diff --git a/x11-misc/xdotool/files/xdotool-3.20210804.2-no_hardcoded_pkg-config.patch b/x11-misc/xdotool/files/xdotool-3.20210804.2-no_hardcoded_pkg-config.patch new file mode 100644 index 000000000000..d43784deaa3d --- /dev/null +++ b/x11-misc/xdotool/files/xdotool-3.20210804.2-no_hardcoded_pkg-config.patch @@ -0,0 +1,16 @@ +diff -ur a/Makefile b/Makefile +--- a/Makefile 2021-08-04 17:14:19.000000000 +0100 ++++ b/Makefile 2021-08-05 22:13:20.509655072 +0100 +@@ -35,9 +35,9 @@ + DEFAULT_LIBS=-L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXtst -lXinerama -lxkbcommon + DEFAULT_INC=-I/usr/X11R6/include -I/usr/local/include + +-XDOTOOL_LIBS=$(shell pkg-config --libs x11 2> /dev/null || echo "$(DEFAULT_LIBS)") $(shell sh platform.sh extralibs) +-LIBXDO_LIBS=$(shell pkg-config --libs xi x11 xtst xinerama xkbcommon 2> /dev/null || echo "$(DEFAULT_LIBS)") +-INC=$(shell pkg-config --cflags xi x11 xtst xinerama xkbcommon 2> /dev/null || echo "$(DEFAULT_INC)") ++XDOTOOL_LIBS=$(shell $(PKG_CONFIG) --libs x11 2> /dev/null || echo "$(DEFAULT_LIBS)") $(shell sh platform.sh extralibs) ++LIBXDO_LIBS=$(shell $(PKG_CONFIG) --libs xi x11 xtst xinerama xkbcommon 2> /dev/null || echo "$(DEFAULT_LIBS)") ++INC=$(shell $(PKG_CONFIG) --cflags xi x11 xtst xinerama xkbcommon 2> /dev/null || echo "$(DEFAULT_INC)") + CFLAGS+=-std=c99 $(INC) + + CMDOBJS= cmd_click.o cmd_mousemove.o cmd_mousemove_relative.o cmd_mousedown.o \ diff --git a/x11-misc/xdotool/files/xdotool-3.20210804.2-no_ldconfig.patch b/x11-misc/xdotool/files/xdotool-3.20210804.2-no_ldconfig.patch new file mode 100644 index 000000000000..42051da88a38 --- /dev/null +++ b/x11-misc/xdotool/files/xdotool-3.20210804.2-no_ldconfig.patch @@ -0,0 +1,12 @@ +diff -ur a/Makefile b/Makefile +--- a/Makefile 2021-08-04 17:14:19.000000000 +0100 ++++ b/Makefile 2021-08-05 22:10:47.713611624 +0100 +@@ -71,7 +71,7 @@ + $(CC) -o xdotool.static xdotool.o xdo.o xdo_search.o $(CMDOBJS) $(LDFLAGS) -lm $(XDOTOOL_LIBS) $(LIBXDO_LIBS) + + .PHONY: install +-install: pre-install installlib installprog installman installheader installpc post-install ++install: pre-install installlib installprog installman installheader installpc + + .PHONY: pre-install + pre-install: diff --git a/x11-misc/xdotool/xdotool-3.20210804.2.ebuild b/x11-misc/xdotool/xdotool-3.20210804.2.ebuild new file mode 100644 index 000000000000..63cc8018aa42 --- /dev/null +++ b/x11-misc/xdotool/xdotool-3.20210804.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Simulate keyboard input and mouse activity, move and resize windows" +HOMEPAGE="https://www.semicomplete.com/projects/xdotool/" +SRC_URI="https://github.com/jordansissel/xdotool/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="examples" + +# Many the tests want to manually start Xvfb regardless of whether there +# is an X server running or not (i.e. does not play nicely with virtualx), +# some tests require x11-wm/openbox, some try to run a complete Gnome +# session. All of them require a Ruby interpreter with dev-ruby/minitest +# installed. In short, supporting tests here will need MUCH work. +RESTRICT="test" + +RDEPEND="x11-libs/libX11 + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXtst + x11-libs/libxkbcommon" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${PN}-3.20210804.2-no_hardcoded_pkg-config.patch + "${FILESDIR}"/${PN}-3.20210804.2-no_ldconfig.patch +) + +DOCS=( CHANGELIST README.md ) + +src_compile() { + tc-export CC LD PKG_CONFIG + emake PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake PREFIX="${ED}/usr" INSTALLMAN="${ED}/usr/share/man" INSTALLLIB="${ED}/usr/$(get_libdir)" install + + use examples && DOCS+=( examples ) + einstalldocs +} |