Subject: bug#37429: closed (Re: [bug#37429] [PATCH] gnu: Add autocutsel.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 20 Sep 2019 20:46:02 +0000

Your bug report

#37429: [PATCH] gnu: Add autocutsel.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37429: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37429
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#37429] [PATCH] gnu: Add autocutsel.
From: Ludovic Courtès <[email-masked]>
To: Wiktor Żelazny <[email-masked]>
Cc: [email-masked]
Date: Fri, 20 Sep 2019 22:45:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Wiktor,

Wiktor Żelazny <[email-masked]> skribis:

> From: Wiktor Żelazny <[email-masked]>
>
> * gnu/packages/xdisorg.scm (autocutsel): New variable.

I took the liberty to adjust as show below: the license is ‘gpl2+’
because headers carry the “or any later version” wording.  The other
changes are just purely cosmetic, for the sake of consistency.

Thank you!

Ludo’.

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 4d7119a693..10ffa6f695 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1716,21 +1716,21 @@ Wayland.")
     (version "0.10.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://github.com/sigmike/" name
+              (uri (string-append "https://github.com/sigmike/autocutsel"
                                   "/releases/download/" version "/"
-                                  name "-" version ".tar.gz"))
+                                  "autocutsel-" version ".tar.gz"))
               (sha256
                (base32
                 "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2"))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f)) ; no "check" target
-    (native-inputs `(("libx11"            ,libx11)
-                     ("libxaw"            ,libxaw)))
+    (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)))
+    (license license:gpl2+)))

Subject: [PATCH] gnu: Add autocutsel.
From: Wiktor Żelazny <[email-masked]>
To: [email-masked]
Date: Mon, 16 Sep 2019 18:15:49 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Wiktor Żelazny <[email-masked]>

* 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 <[email-masked]>
 ;;; Copyright © 2018, 2019 Pierre Neidhardt <[email-masked]>
 ;;; Copyright © 2018 Nam Nguyen <[email-masked]>
+;;; Copyright © 2019 Wiktor Żelazny <[email-masked]>
 ;;;
 ;;; 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)))
-- 
2.23.0