From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45907) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iy3i7-0005u8-VH for guix-patches@gnu.org; Sat, 01 Feb 2020 20:06:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iy3i6-0002mJ-KX for guix-patches@gnu.org; Sat, 01 Feb 2020 20:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33484) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iy3i6-0002mD-HT for guix-patches@gnu.org; Sat, 01 Feb 2020 20:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iy3i6-00065u-Dc for guix-patches@gnu.org; Sat, 01 Feb 2020 20:06:02 -0500 Subject: [bug#39386] [PATCH] gnu: Add xwrits. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:45639) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iy3gy-0003eK-Nv for guix-patches@gnu.org; Sat, 01 Feb 2020 20:04:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iy3gw-00023o-Vx for guix-patches@gnu.org; Sat, 01 Feb 2020 20:04:52 -0500 Received: from lev.selidor.net ([2600:3c03:e001:1100::1]:45782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iy3gw-00020h-Q3 for guix-patches@gnu.org; Sat, 01 Feb 2020 20:04:50 -0500 Date: Sat, 1 Feb 2020 20:04:45 -0500 From: Ivan Vilata i Balaguer Message-ID: <20200202010445.GI2935097@sax.terramar.selidor.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Swj79WlilW4BQYVz" 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: 39386@debbugs.gnu.org --Swj79WlilW4BQYVz Content-Type: multipart/mixed; boundary="GvuyDaC2GNSBQusT" Content-Disposition: inline --GvuyDaC2GNSBQusT Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! This adds a package definition for the very useful and health-conscious (if you type a lot) [Xwrits][1] program. The definition is the result from some newbie hacking in Guix Days 2020.=A0`:)` [1]: http://www.lcdf.org/~eddietwo/xwrits/ --=20 Ivan Vilata i Balaguer -- https://elvil.net/ --GvuyDaC2GNSBQusT Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="0001-gnu-Add-xwrits.patch" Content-Transfer-Encoding: quoted-printable =46rom c4ca25190858e790e0a29c8b17bef05273990cf7 Mon Sep 17 00:00:00 2001 =46rom: Ivan Vilata-i-Balaguer Date: Sat, 1 Feb 2020 19:46:44 -0500 Subject: [PATCH] gnu: Add xwrits. * gnu/packages/xdisorg.scm (xwrits): 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 ecefab1dbb..12f2cb2466 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -30,6 +30,7 @@ ;;; Copyright =A9 2019 Josh Holland ;;; Copyright =A9 2019 Tanguy Le Carrour ;;; Copyright =A9 2020 Guillaume Le Vaillant +;;; Copyright =A9 2020 Ivan Vilata i Balaguer ;;; ;;; This file is part of GNU Guix. ;;; @@ -2005,3 +2006,37 @@ The cutbuffer and clipboard selection are always syn= chronized.") can optionally use some appearance settings from XSettings, tint2 and GTK.= ") (home-page "https://jgmenu.github.io/") (license license:gpl2))) + +(define-public xwrits + (package + (name "xwrits") + (version "2.26") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.lcdf.org/~eddietwo/xwrits/" + "xwrits-" version ".tar.gz")) + (sha256 + (base32 "1n7y0fqpcvmzznvbsn14hzy5ddaa3lilm8aw6ckscqndnh4lijma")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-docs + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/xwrits"))) + (install-file "GESTURES" doc) + (install-file "README" doc) + #t)))))) + (inputs + `(("libx11" ,libx11))) + (home-page "https://www.lcdf.org/~eddietwo/xwrits/") + (synopsis "Reminds you to take wrist breaks") + (description "Xwrits reminds you to take wrist breaks for prevention or +management of repetitive stress injuries. When you should take a break, it +pops up an X window, the warning window. You click on the warning window, +then take a break. The window changes appearance while you take the break. +It changes again when your break is over. Then you just resume typing. +Xwrits hides itself until you should take another break.") + (license license:gpl2))) --=20 2.24.1 --GvuyDaC2GNSBQusT-- --Swj79WlilW4BQYVz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEHpvwBPZcchIQr6TuPezBBfXdI4IFAl42ICgACgkQPezBBfXd I4K7tRAAgO1ZYH46ivmR5MYY7A2BTiTRbq41UspmDu4/FFOE6XViLD8dnMTo3VOh i48C388Ud/0PPozJGtKDDEmCW/IfTZt58wzDHenMActUR7HDsPvYtN+Tgml7BKW+ Uhc/KuZPLXxhsUSYFp21QSqfF9bZUEhJOYPvugO/zpTnw8ofRwSJryAX4zZBjaSj iM5/RZX8WmO9HZA63zFVjDq162AYGcXIKw2PZravnQdq+CSJNiD7qh0x5ky6J8eA mYEJvWbjLM3od5MpG0WLj8LGtgzfbI3m58rG3IExuPoE+Bmm3t+KGI/eQruN23ic SoAkctJ9Da9cRHLZfI4XEpvLngKYDfZPlUxpb/iDN9zrJLpU1HP3jQCR0bN028zt OtxQaQ+6edPHEiScTiaNOE98VCwJdq+znbVQwxyzdR3L/HgQgzVyNlmPtASnugv6 VbQnYMEArpNFiEjDQqjsLBTtgUVVu4komJq53CYF/FqYVdJVFFUSYncglLfXlPpl NJOFt/IgBdMKETTmyHmIxqcvExqPqGT0Kl8BxrFOoFBesFDDkqzHQ7qkkeDanlud bpqg5uF51YfHIJd2Pzn2+bcT6a8ubRePiIM/dpHYl5KH5x/298w8hkseLpiPsbX+ r8FVx90BtSUkR46Qh2zkLYqIgHbkPXDp8HRVc2KdhplX4aoZ67Q= =MXaI -----END PGP SIGNATURE----- --Swj79WlilW4BQYVz--