unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "André A. Gomes" <andremegafone@gmail.com>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: 65334@debbugs.gnu.org
Subject: [bug#65334] [PATCH]: Update sbcl-trivial-clipboard to 0.0.0-6.6ddf8d5
Date: Mon, 21 Aug 2023 22:01:14 +0300	[thread overview]
Message-ID: <87il9843ut.fsf@gmail.com> (raw)
In-Reply-To: <87lee87lvt.fsf@kitej> (Guillaume Le Vaillant's message of "Fri,  18 Aug 2023 09:11:19 +0000")

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

Guillaume Le Vaillant <glv@posteo.net> writes:

> Hi.
> Shouldn't the 'fix-paths' phase be updated for the wl-copy and wl-paste
> commands from the new wl-clipboard input?

Ups, my mistake!  Please find a new patch attached.  Thanks.


-- 
André A. Gomes
"You cannot even find the ruins..."

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-sbcl-trivial-clipboard-Update-to-0.0.0-6.6ddf8d5.patch --]
[-- Type: text/x-patch, Size: 2573 bytes --]

From 773edba506e21a678514d2b671c7574defb3b268 Mon Sep 17 00:00:00 2001
From: "Andre A. Gomes" <andremegafone@gmail.com>
Date: Mon, 21 Aug 2023 21:57:32 +0300
Subject: [PATCH] gnu: sbcl-trivial-clipboard: Update to 0.0.0-6.6ddf8d5.

* gnu/packages/lisp-xyz.scm (sbcl-trivial-clipboard): Update to 0.0.0-6.6ddf8d5.
---
 gnu/packages/lisp-xyz.scm | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e1428d8131..13c40c03f4 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -5486,10 +5486,11 @@ (define-public cl-trivial-arguments
   (sbcl-package->cl-source-package sbcl-trivial-arguments))
 
 (define-public sbcl-trivial-clipboard
-  (let ((commit "13b53720306c0e6a13eccf4674d28ee5361127ae"))
+  (let ((commit "6ddf8d5dff8f5c2102af7cd1a1751cbe6408377b")
+        (revision "6"))
     (package
       (name "sbcl-trivial-clipboard")
-      (version (git-version "0.0.0.0" "5" commit))
+      (version (git-version "0.0.0" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -5499,12 +5500,12 @@ (define-public sbcl-trivial-clipboard
          (file-name (git-file-name "trivial-clipboard" version))
          (sha256
           (base32
-           "0l198m1gg2ixc43lqjq1ffd80s1sjxhqf1w83qqa1cn51rra2jp8"))))
+           "04qmm69zyx8rs23pfhgzgxn0j108byv3b7skfdv0h01a76wlhplz"))))
       (build-system asdf-build-system/sbcl)
       (inputs
        ;; Pick xsel instead of xclip because its closure size is slightly
        ;; smaller.
-       (list xsel))
+       (list xsel wl-clipboard))
       (native-inputs
        (list sbcl-fiveam))
       (arguments
@@ -5514,7 +5515,13 @@ (define-public sbcl-trivial-clipboard
              (lambda* (#:key inputs #:allow-other-keys)
                (substitute* "src/text.lisp"
                  (("\"xsel\"")
-                  (string-append "\"" (assoc-ref inputs "xsel") "/bin/xsel\""))))))))
+                  (string-append "\"" (assoc-ref inputs "xsel") "/bin/xsel\"")))
+               (substitute* "src/text.lisp"
+                 (("\"wl-copy\"")
+                  (string-append "\"" (assoc-ref inputs "wl-clipboard") "/bin/wl-copy\"")))
+               (substitute* "src/text.lisp"
+                 (("\"wl-paste\"")
+                  (string-append "\"" (assoc-ref inputs "wl-clipboard") "/bin/wl-paste\""))))))))
       (home-page "https://github.com/snmsts/trivial-clipboard")
       (synopsis "Access system clipboard in Common Lisp")
       (description
-- 
2.41.0


  reply	other threads:[~2023-08-21 19:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-16  7:28 [bug#65334] [PATCH]: Update sbcl-trivial-clipboard to 0.0.0-6.6ddf8d5 André A. Gomes
2023-08-18  9:11 ` Guillaume Le Vaillant
2023-08-21 19:01   ` André A. Gomes [this message]
2023-08-22  9:15     ` bug#65334: " Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87il9843ut.fsf@gmail.com \
    --to=andremegafone@gmail.com \
    --cc=65334@debbugs.gnu.org \
    --cc=glv@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).