From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44327) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9tyy-0002eU-HL for guix-patches@gnu.org; Mon, 16 Sep 2019 12:36:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9tys-0005cA-Gx for guix-patches@gnu.org; Mon, 16 Sep 2019 12:36:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42125) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i9tys-0005bx-0P for guix-patches@gnu.org; Mon, 16 Sep 2019 12:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i9tyr-0006UH-Qb for guix-patches@gnu.org; Mon, 16 Sep 2019 12:36:01 -0400 Subject: [bug#37429] [PATCH] gnu: Add autocutsel. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:39878) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9tfv-0001yq-V7 for guix-patches@gnu.org; Mon, 16 Sep 2019 12:16:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9tft-0004rE-Rm for guix-patches@gnu.org; Mon, 16 Sep 2019 12:16:27 -0400 Received: from freeshell.de ([2a01:360:106::2]:54081) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i9tft-0004qX-Au for guix-patches@gnu.org; Mon, 16 Sep 2019 12:16:25 -0400 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Date: Mon, 16 Sep 2019 18:15:49 +0200 Message-Id: <20190916161549.21294-1-wz@freeshell.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 37429@debbugs.gnu.org From: Wiktor =C5=BBelazny * gnu/packages/xdisorg.scm (autocutsel): New variable. --- gnu/packages/xdisorg.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index bcc61f59af..4d7119a693 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -25,6 +25,7 @@ ;;; Copyright =C2=A9 2018, 2019 Rutger Helling ;;; Copyright =C2=A9 2018, 2019 Pierre Neidhardt ;;; Copyright =C2=A9 2018 Nam Nguyen +;;; Copyright =C2=A9 2019 Wiktor =C5=BBelazny ;;; ;;; This file is part of GNU Guix. ;;; @@ -1708,3 +1709,28 @@ temperature of the screen.") (description "Wl-clipboard is a set of command-line copy/paste utili= ties for Wayland.") (license license:gpl3+))) + +(define-public autocutsel + (package + (name "autocutsel") + (version "0.10.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/sigmike/" name + "/releases/download/" version "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2"))= )) + (build-system gnu-build-system) + (arguments + '(#:tests? #f)) ; no "check" target + (native-inputs `(("libx11" ,libx11) + ("libxaw" ,libxaw))) + (home-page "https://www.nongnu.org/autocutsel/") + (synopsis "Automated X11 clipboard and cutbuffer synchronization") + (description "@code{autocutsel} tracks changes in the server's cutbu= ffer +and clipboard selection. When the clipboard is changed, it updates the +cutbuffer. When the cutbuffer is changed, it owns the clipboard selecti= on. +The cutbuffer and clipboard selection are always synchronized.") + (license license:gpl2))) --=20 2.23.0