From patchwork Mon Sep 16 16:15:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 15397 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 51FCB173E7; Mon, 16 Sep 2019 17:55:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EAA67173E5 for ; Mon, 16 Sep 2019 17:55:35 +0100 (BST) Received: from localhost ([::1]:37442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9uHn-00057y-Ej for patchwork@mira.cbaines.net; Mon, 16 Sep 2019 12:55:35 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#37429] [PATCH] gnu: Add autocutsel. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Sep 2019 16:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37429 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37429@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156865174224890 (code B ref -1); Mon, 16 Sep 2019 16:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2019 16:35:42 +0000 Received: from localhost ([127.0.0.1]:50942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9tyW-0006TM-RR for submit@debbugs.gnu.org; Mon, 16 Sep 2019 12:35:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:47077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9tg1-0005Dk-26 for submit@debbugs.gnu.org; Mon, 16 Sep 2019 12:16:33 -0400 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?= DKIM-Filter: OpenDKIM Filter v2.9.2 freeshell.de 5146935CC2BC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1568650579; bh=cGer6k0j0vxAwT8DjhumjpaXehfDIxC2LHzglh7yayU=; h=From:To:Subject:Date; b=XEL6DNMKLQ14zgpxtfmFcy6vCwrHsxf81XHH8g0CvEzYBJoxiIAM/LcMH+5Bp9Ssf gE74JqISfiK+UIy/hybXl1fY94IaySC5yhQci4tgklKh1MQyzSJJy6WgOB/H1AXg3r LI1XXBYVAqjI5yVVLzt75HbvJWJ+0wxPywQk8BpE= Date: Mon, 16 Sep 2019 18:15:49 +0200 Message-Id: <20190916161549.21294-1-wz@freeshell.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Mon, 16 Sep 2019 12:35:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Wiktor Żelazny * 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 © 2018, 2019 Rutger Helling ;;; Copyright © 2018, 2019 Pierre Neidhardt ;;; Copyright © 2018 Nam Nguyen +;;; Copyright © 2019 Wiktor Żelazny ;;; ;;; 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 utilities 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 cutbuffer +and clipboard selection. When the clipboard is changed, it updates the +cutbuffer. When the cutbuffer is changed, it owns the clipboard selection. +The cutbuffer and clipboard selection are always synchronized.") + (license license:gpl2)))