From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dni0g-0000ni-MP for guix-patches@gnu.org; Fri, 01 Sep 2017 05:13:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dni0b-0005sy-Ui for guix-patches@gnu.org; Fri, 01 Sep 2017 05:13:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dni0b-0005ss-R3 for guix-patches@gnu.org; Fri, 01 Sep 2017 05:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dni0b-00055d-Lg for guix-patches@gnu.org; Fri, 01 Sep 2017 05:13:01 -0400 Subject: [bug#28313] Xautomation Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnhzf-00008B-5H for guix-patches@gnu.org; Fri, 01 Sep 2017 05:12:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnhza-0005cJ-Ji for guix-patches@gnu.org; Fri, 01 Sep 2017 05:12:03 -0400 Received: from aibo.runbox.com ([91.220.196.211]:34748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnhza-0005bQ-AS for guix-patches@gnu.org; Fri, 01 Sep 2017 05:11:58 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dnhzV-0001QX-2A for guix-patches@gnu.org; Fri, 01 Sep 2017 11:11:53 +0200 Received: from tollana.enn.lu ([85.248.227.164] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dnhyu-0002oy-JR for guix-patches@gnu.org; Fri, 01 Sep 2017 11:11:17 +0200 Date: Fri, 1 Sep 2017 09:11:12 +0000 From: ng0 Message-ID: <20170901091112.2eii5fxrfoi6alff@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="atwo7qeavhiwlnn6" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28313@debbugs.gnu.org --atwo7qeavhiwlnn6 Content-Type: multipart/mixed; boundary="kbofuebr5xnwvhe7" Content-Disposition: inline --kbofuebr5xnwvhe7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I needed this for an very old script of mine. Can be tested with for example xte 'mousemove 1 1', every binary has included documentation exclusively in the --help switch. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --kbofuebr5xnwvhe7 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-xautomation.patch" Content-Transfer-Encoding: quoted-printable =46rom 0d10055f59c295c39164d94b991b69197f20a48f Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 1 Sep 2017 08:57:43 +0000 Subject: [PATCH] gnu: Add xautomation. * gnu/packages/xdisorg.scm (xautomation): New variable. --- gnu/packages/xdisorg.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index edb70a37a..7ca4986a0 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -560,6 +560,41 @@ xedit, for example. The human factors crowd would agr= ee it should make things less distracting.") (license license:public-domain))) =20 +(define-public xautomation + (package + (name "xautomation") + (version "1.09") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.hoopajoo.net/static/projects/" + "xautomation-" version ".tar.gz")) + + (sha256 + (base32 + "03azv5wpg65h40ip2kk1kdh58vix4vy1r9bihgsq59jx2rhjr3zf")))) + (build-system gnu-build-system) + (inputs + `(("libpng" ,libpng) + ("libx11" ,libx11) + ("libxi" ,libxi) + ("libxtst" ,libxtst))) + (native-inputs + `(("inputproto" ,inputproto) + ("xextproto" ,xextproto) + ("xproto" ,xproto))) + (synopsis "Tools to automate tasks in X such as detecting on screen im= ages") + (description + "Xautomation can control X from the command line for scripts, and +do visual scraping to find things on the screen. The control interface +allows mouse movement, clicking, button up/down, key up/down, etc, and +uses the XTest extension so you don't have the annoying problems that +xse has when apps ignore sent events. The visgrep program can find +images inside of images and reports the coordinates, allowing progams +to find buttons, etc, on the screen to click on.") + (home-page "https://www.hoopajoo.net/projects/xautomation.html") + (license license:gpl2+))) + (define-public xlockmore (package (name "xlockmore") --=20 2.14.1 --kbofuebr5xnwvhe7-- --atwo7qeavhiwlnn6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmpJDAACgkQ4i+bv+40 hYj3/BAAshwr3x8xt5gA9i682u2BNUklTNA8HyYkQgRI6FiTS9rCQwoHx3gLu5sl TJlGg9rIuIiv/Q+URjlqVBCIqYqzpIfzT4dEPsmu2DL37t90Nxgfs9HoQ/hO4Fy1 FqUmJtd8QpzWUH2Z9rn/EZE0k46X46LHzMBjtTk5Q4DNa4f1ovo0zyW21aebQlu6 Jo/9NdpM5a2ODhCI9rJ7wkZIlzEajjioIaS2XU9FudC+cUr13dvjH6PgHGuG4uWv MfLmQWX7CFhr++TKFsz9+iaivw+P0cbL1RauY/Ubhf9n7CEBKplZfgGan9eagD0P Gzn5mhBtizz14Q8xkzDRscvgE3MTOAIgHHIPzzg6EGnX8WICuz+rFsF5acP+Mw8F pT3NtzXbJvv1YDIUq5KcoSDU19gzUjyBZ7XP+jdt2LHoZRuGFdc29UqcGs+PSSgS wWKOvtbpI0oDuUBwPjfmsy+/9fMY5mvWjaDgWH/TxPxNXvQkQ44rfgA6S9jU9TwN Ie3T7D1WYqTgeth5TY9YZZZmYZefJIuVwiEQ0G3AC9+mtm3oESGxpZJfNaKVF0Mc 4m4swjFPbhXF/3RsKoPRQvv/duT/TKm9r8rlxRoRT9mc6K13hUQIsoz2iaT38hD5 lOoTTL4yMdCrfrqROMi3Ouuox0mrGBnTPYouEuvbw27XwnM7bIs= =2oDU -----END PGP SIGNATURE----- --atwo7qeavhiwlnn6--