unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37429] [PATCH] gnu: Add autocutsel.
@ 2019-09-16 16:15 Wiktor Żelazny
  2019-09-20 20:45 ` bug#37429: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Wiktor Żelazny @ 2019-09-16 16:15 UTC (permalink / raw)
  To: 37429

From: Wiktor Żelazny <wzelazny@vurv.cz>

* 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 <rhelling@mykolab.com>
 ;;; Copyright © 2018, 2019 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu>
+;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
 ;;;
 ;;; 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#37429: [PATCH] gnu: Add autocutsel.
  2019-09-16 16:15 [bug#37429] [PATCH] gnu: Add autocutsel Wiktor Żelazny
@ 2019-09-20 20:45 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-09-20 20:45 UTC (permalink / raw)
  To: Wiktor Żelazny; +Cc: 37429-done

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

Hi Wiktor,

Wiktor Żelazny <wz@freeshell.de> skribis:

> From: Wiktor Żelazny <wzelazny@vurv.cz>
>
> * 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’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1513 bytes --]

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+)))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-20 20:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 16:15 [bug#37429] [PATCH] gnu: Add autocutsel Wiktor Żelazny
2019-09-20 20:45 ` bug#37429: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).