GNU bug report logs - #58931
[PATCH 0/2] Update clipmenu and improve it

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: EuAndreh <eu@HIDDEN>; Keywords: patch moreinfo; dated Mon, 31 Oct 2022 20:10:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added tag(s) moreinfo. Request was from Christopher Baines <mail@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 58931 <at> debbugs.gnu.org:


Received: (at 58931) by debbugs.gnu.org; 3 Nov 2022 17:16:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 03 13:16:35 2022
Received: from localhost ([127.0.0.1]:50306 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oqdpT-0000kN-3Y
	for submit <at> debbugs.gnu.org; Thu, 03 Nov 2022 13:16:35 -0400
Received: from mira.cbaines.net ([212.71.252.8]:41702)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1oqdpR-0000k7-Em
 for 58931 <at> debbugs.gnu.org; Thu, 03 Nov 2022 13:16:33 -0400
Received: from localhost (93-63-133-243.ip27.fastwebnet.it [93.63.133.243])
 by mira.cbaines.net (Postfix) with ESMTPSA id 6863E27BBE9;
 Thu,  3 Nov 2022 17:16:30 +0000 (GMT)
Received: from felis (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id f4f7b3b8;
 Thu, 3 Nov 2022 17:16:29 +0000 (UTC)
References: <20221031201741.29100-1-eu@HIDDEN>
 <20221031201741.29100-2-eu@HIDDEN>
User-agent: mu4e 1.8.9; emacs 28.1
From: Christopher Baines <mail@HIDDEN>
To: EuAndreh <eu@HIDDEN>
Subject: Re: [bug#58931] [PATCH 2/2] gnu: clipmenu: Improve package style.
Date: Thu, 03 Nov 2022 18:15:47 +0100
In-reply-to: <20221031201741.29100-2-eu@HIDDEN>
Message-ID: <877d0cm00k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 58931
Cc: 58931 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


EuAndreh via Guix-patches via <guix-patches@HIDDEN> writes:

> * gnu/packages/xdisorg.scm (clipmenu)[arguments]: Use g-expressions;
>   remove trailing #t from phases.
>   [source]: Use url-fetch over ad-hoc git-fetch.

The linter points out:

  the source URI should not be an autogenerated tarball

Given that, we probably want to stick with fetching via Git?

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNj92tfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XckZA//QWkz8aHo8Kn4jLCdNGppSvb8LtPJxktz
UAelmN7vgZeq5CV5EuLtlgjAE+O6cDhaGm8BI0I1xrBCkTs56VqmJ5xEHsQLB+J8
Z5AEVa7h03oo8jtVS+k3gFmtA8X8HqxgiV6WsZG96rIRpTjvj96CqBFsOvZxU7OA
HQACmrBvBULRnYApBPHrvm63H53UclsN9C2HYIve/rLfW8Zwcd4hSvT3KH09ZwJC
frXulvwo60+8/p2jyNc2ZlP6MEUmcx+6Q49lB84C8r8seH/Q09VrjJSg+0CvEX2t
4JESG+HXWDoDHdbVOk3V4YX/8fxeaQdCVyFxCcVnBjjafHiSV7xtsWiC36C2jDxm
7PgGvzkete2PZuKSUW6n1d6sfW/BGAbXCLcuX5uDXvSdtjmTBcy1dDW5l7TLGOKs
FPgrLtjxaL/1eOdJyR0xaAF1zLsOKqQ+hJK7UMVv+ZjsupGnrXFG/ad8Qcoei9mK
3lIgIRt7W0EGlRVcxQLXu8TSdiRxNbsvG9M8r8h59Ka6MHBbaJpTg+w9BD2pr6jn
9cnLjfHZsrrLpZZKY3GhURbku5wYkYuFsLSjAJAFNwxbmcZAVAvwDCw5+6kWRDuW
uShVdBqH9yaoFm7pWTiL10PejsV6/S7f4DRD8VyUqozI3NJJ2OGKi64COAlVh5xw
5kuFLDhLv4Y=
=bn9r
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#58931; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Nov 2022 17:16:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 03 13:16:35 2022
Received: from localhost ([127.0.0.1]:50308 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oqdpT-0000kQ-KI
	for submit <at> debbugs.gnu.org; Thu, 03 Nov 2022 13:16:35 -0400
Received: from lists.gnu.org ([209.51.188.17]:46412)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1oqdpS-0000kH-NL
 for submit <at> debbugs.gnu.org; Thu, 03 Nov 2022 13:16:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1oqdpS-0007bB-HL
 for guix-patches@HIDDEN; Thu, 03 Nov 2022 13:16:34 -0400
Received: from mira.cbaines.net ([212.71.252.8])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mail@HIDDEN>) id 1oqdpQ-0001Hy-Ts
 for guix-patches@HIDDEN; Thu, 03 Nov 2022 13:16:34 -0400
Received: from localhost (93-63-133-243.ip27.fastwebnet.it [93.63.133.243])
 by mira.cbaines.net (Postfix) with ESMTPSA id 6863E27BBE9;
 Thu,  3 Nov 2022 17:16:30 +0000 (GMT)
Received: from felis (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id f4f7b3b8;
 Thu, 3 Nov 2022 17:16:29 +0000 (UTC)
References: <20221031201741.29100-1-eu@HIDDEN>
 <20221031201741.29100-2-eu@HIDDEN>
User-agent: mu4e 1.8.9; emacs 28.1
From: Christopher Baines <mail@HIDDEN>
To: EuAndreh <eu@HIDDEN>
Subject: Re: [bug#58931] [PATCH 2/2] gnu: clipmenu: Improve package style.
Date: Thu, 03 Nov 2022 18:15:47 +0100
In-reply-to: <20221031201741.29100-2-eu@HIDDEN>
Message-ID: <877d0cm00k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@HIDDEN;
 helo=mira.cbaines.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: 58931 <at> debbugs.gnu.org, guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain


EuAndreh via Guix-patches via <guix-patches@HIDDEN> writes:

> * gnu/packages/xdisorg.scm (clipmenu)[arguments]: Use g-expressions;
>   remove trailing #t from phases.
>   [source]: Use url-fetch over ad-hoc git-fetch.

The linter points out:

  the source URI should not be an autogenerated tarball

Given that, we probably want to stick with fetching via Git?

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNj92tfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XckZA//QWkz8aHo8Kn4jLCdNGppSvb8LtPJxktz
UAelmN7vgZeq5CV5EuLtlgjAE+O6cDhaGm8BI0I1xrBCkTs56VqmJ5xEHsQLB+J8
Z5AEVa7h03oo8jtVS+k3gFmtA8X8HqxgiV6WsZG96rIRpTjvj96CqBFsOvZxU7OA
HQACmrBvBULRnYApBPHrvm63H53UclsN9C2HYIve/rLfW8Zwcd4hSvT3KH09ZwJC
frXulvwo60+8/p2jyNc2ZlP6MEUmcx+6Q49lB84C8r8seH/Q09VrjJSg+0CvEX2t
4JESG+HXWDoDHdbVOk3V4YX/8fxeaQdCVyFxCcVnBjjafHiSV7xtsWiC36C2jDxm
7PgGvzkete2PZuKSUW6n1d6sfW/BGAbXCLcuX5uDXvSdtjmTBcy1dDW5l7TLGOKs
FPgrLtjxaL/1eOdJyR0xaAF1zLsOKqQ+hJK7UMVv+ZjsupGnrXFG/ad8Qcoei9mK
3lIgIRt7W0EGlRVcxQLXu8TSdiRxNbsvG9M8r8h59Ka6MHBbaJpTg+w9BD2pr6jn
9cnLjfHZsrrLpZZKY3GhURbku5wYkYuFsLSjAJAFNwxbmcZAVAvwDCw5+6kWRDuW
uShVdBqH9yaoFm7pWTiL10PejsV6/S7f4DRD8VyUqozI3NJJ2OGKi64COAlVh5xw
5kuFLDhLv4Y=
=bn9r
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#58931; Package guix-patches. Full text available.

Message received at 58931 <at> debbugs.gnu.org:


Received: (at 58931) by debbugs.gnu.org; 31 Oct 2022 20:18:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 31 16:18:00 2022
Received: from localhost ([127.0.0.1]:41888 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1opbEN-0000tN-SK
	for submit <at> debbugs.gnu.org; Mon, 31 Oct 2022 16:18:00 -0400
Received: from box.euandre.org ([46.101.160.115]:60047)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1opbEM-0000sw-4b
 for 58931 <at> debbugs.gnu.org; Mon, 31 Oct 2022 16:17:58 -0400
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id DA505FCD21;
 Mon, 31 Oct 2022 17:17:51 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1667247472; bh=ce1bvcfGXYszkxi0ydR45YYwf3TFkHK6SXfZ5y4WAeQ=;
 h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
 b=ZV8zkkUDHACCEclHxtG2z+IZS49nHhLv44hxNLGjoFB6F3GIc6/hfgQTnoXxQ9mEy
 ZopM4EgZEe+bOIaU2Ja6g/8Kv8UbyUdIFmrryQrW6CGr0dHu2TjnzE9xAdD5zLQUP8
 5Om87UTtUkQfmxehOCbItBeqLgugt8VbftYHk3R8cyWFrZefSVoj2cexH0AaPJkjqc
 YFOjJkMO+L2Yk7q7tXTdw/RiwwNADprVhNwCUPKmn6Gy6HRZBtUDclrMs1UBLDZpJV
 mnW+kSmc9AWwlJmNCQ0uh8MbtwFV/tlauQGTpte0Z5Piddwpf6a2/qKIw5DDKnDSLi
 xcQe3coOrbhZw==
From: EuAndreh <eu@HIDDEN>
To: 58931 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: clipmenu: Improve package style.
Date: Mon, 31 Oct 2022 17:17:41 -0300
Message-Id: <20221031201741.29100-2-eu@HIDDEN>
In-Reply-To: <20221031201741.29100-1-eu@HIDDEN>
References: <20221031201741.29100-1-eu@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 58931
Cc: EuAndreh <eu@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/xdisorg.scm (clipmenu)[arguments]: Use g-expressions;
  remove trailing #t from phases.
  [source]: Use url-fetch over ad-hoc git-fetch.
---
 gnu/packages/xdisorg.scm | 148 +++++++++++++++++++--------------------
 1 file changed, 71 insertions(+), 77 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index a0f0f54773..288a01129f 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2768,82 +2768,76 @@ (define-public clipnotify
     (license license:public-domain)))
 
 (define-public clipmenu
-  (let ((commit "7c34ace1fbab76eb1c1dc9b30dd4ac1a7fe4b90b")
-        (revision "1"))
-    (package
-      (name "clipmenu")
-      (version (string-append "6.2.0-"
-                              revision "." (string-take commit 7)))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/cdown/clipmenu")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "1403sw49ccb8xsd8v611fzp0csaglfz8nmz3wcjsk8x11h9jvxwy"))))
-      (build-system gnu-build-system)
-      (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (delete 'configure)
-           (delete 'build)
-           (replace 'install
-             (lambda* (#:key inputs outputs #:allow-other-keys)
-               (let* ((out  (assoc-ref outputs "out"))
-                      (bin  (string-append out "/bin"))
-                      (doc  (string-append %output "/share/doc/"
-                                           ,name "-" ,version)))
-                 (install-file "clipdel" bin)
-                 (install-file "clipmenu" bin)
-                 (install-file "clipmenud" bin)
-                 (install-file "clipfsck" bin)
-                 (install-file "clipctl" bin)
-                 (install-file "README.md" doc)
-                 #t)))
-           (add-after 'install 'wrap-script
-             (lambda* (#:key inputs outputs #:allow-other-keys)
-               (let* ((out               (assoc-ref outputs "out"))
-                      (clipnotify        (assoc-ref inputs "clipnotify"))
-                      (coreutils-minimal (assoc-ref inputs "coreutils-minimal"))
-                      (gawk              (assoc-ref inputs "gawk"))
-                      (util-linux        (assoc-ref inputs "util-linux"))
-                      (xdotool           (assoc-ref inputs "xdotool"))
-                      (xsel              (assoc-ref inputs "xsel"))
-                      (guile             (search-input-file inputs "bin/guile")))
-                 (for-each
-                  (lambda (prog)
-                    (wrap-script (string-append out "/bin/" prog)
-                      #:guile guile
-                      `("PATH" ":" prefix
-                        ,(map (lambda (dir)
-                                (string-append dir "/bin"))
-                              (list clipnotify coreutils-minimal
-                                    gawk util-linux xdotool xsel)))))
-                  '("clipmenu" "clipmenud" "clipdel" "clipfsck" "clipctl")))
-               #t))
-           (replace 'check
-             (lambda* (#:key inputs outputs #:allow-other-keys)
-               ;; substitute a shebang appearing inside a string (the test
-               ;; file writes this string to a temporary file):
-               (substitute* "tests/test-clipmenu"
-                 (("#!/usr/bin/env bash")
-                  (string-append "#!" (which "bash"))))
-               (invoke "tests/test-clipmenu")
-               #t)))))
-      (inputs
-       (list clipnotify
-             coreutils-minimal
-             gawk
-             guile-3.0 ; for wrap-script
-             util-linux
-             xdotool
-             xsel))
-      (home-page "https://github.com/cdown/clipmenu")
-      (synopsis "Simple clipboard manager using dmenu or rofi and xsel")
-      (description "Start @command{clipmenud}, then run @command{clipmenu} to
+  (package
+    (name "clipmenu")
+    (version "6.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/cdown/clipmenu/archive/refs/tags/"
+             version
+             "/clipmenu-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1f5vmncamnx5n3pwrs5s7v8c9xfckz6f3ikiiqbai3g7vclh90qm"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure)
+          (delete 'build)
+          (replace 'install
+            (lambda _
+              (let ((bin (string-append #$output "/bin"))
+                    (doc (string-append #$output "/share/doc/"
+                                        #$name "-" #$version)))
+                (install-file "clipdel" bin)
+                (install-file "clipmenu" bin)
+                (install-file "clipmenud" bin)
+                (install-file "clipfsck" bin)
+                (install-file "clipctl" bin)
+                (install-file "README.md" doc))))
+          (add-after 'install 'wrap-script
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (let* ((out               (assoc-ref outputs "out"))
+                     (clipnotify        (assoc-ref inputs "clipnotify"))
+                     (coreutils-minimal (assoc-ref inputs "coreutils-minimal"))
+                     (gawk              (assoc-ref inputs "gawk"))
+                     (util-linux        (assoc-ref inputs "util-linux"))
+                     (xdotool           (assoc-ref inputs "xdotool"))
+                     (xsel              (assoc-ref inputs "xsel"))
+                     (guile             (search-input-file inputs "bin/guile")))
+                (for-each
+                 (lambda (prog)
+                   (wrap-script (string-append out "/bin/" prog)
+                     #:guile guile
+                     `("PATH" ":" prefix
+                       ,(map (lambda (dir)
+                               (string-append dir "/bin"))
+                             (list clipnotify coreutils-minimal
+                                   gawk util-linux xdotool xsel)))))
+                 '("clipmenu" "clipmenud" "clipdel" "clipfsck" "clipctl")))))
+          (replace 'check
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              ;; substitute a shebang appearing inside a string (the test
+              ;; file writes this string to a temporary file):
+              (substitute* "tests/test-clipmenu"
+                (("#!/usr/bin/env bash")
+                 (string-append "#!" (which "bash"))))
+              (invoke "tests/test-clipmenu"))))))
+    (inputs
+     (list clipnotify
+           coreutils-minimal
+           gawk
+           guile-3.0 ; for wrap-script
+           util-linux
+           xdotool
+           xsel))
+    (home-page "https://github.com/cdown/clipmenu")
+    (synopsis "Simple clipboard manager using dmenu or rofi and xsel")
+    (description "Start @command{clipmenud}, then run @command{clipmenu} to
 select something to put on the clipboard.
 
 When @command{clipmenud} detects changes to the clipboard contents, it writes
@@ -2851,7 +2845,7 @@ (define-public clipmenu
 to find all available clips and launches @command{dmenu} (or @command{rofi},
 depending on the value of @code{CM_LAUNCHER}) to let the user select a clip.
 After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
-      (license license:public-domain))))
+    (license license:public-domain)))
 
 (define-public kbdd
   (package
-- 
2.38.0





Information forwarded to guix-patches@HIDDEN:
bug#58931; Package guix-patches. Full text available.

Message received at 58931 <at> debbugs.gnu.org:


Received: (at 58931) by debbugs.gnu.org; 31 Oct 2022 20:17:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 31 16:17:55 2022
Received: from localhost ([127.0.0.1]:41884 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1opbEJ-0000t7-HI
	for submit <at> debbugs.gnu.org; Mon, 31 Oct 2022 16:17:55 -0400
Received: from box.euandre.org ([46.101.160.115]:41413)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1opbEH-0000sq-Bl
 for 58931 <at> debbugs.gnu.org; Mon, 31 Oct 2022 16:17:54 -0400
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id 05F49FC4C9;
 Mon, 31 Oct 2022 17:17:45 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1667247466; bh=J/fpUrdNH5aKotNznVDhmho7y1A3f0awQ5RK+oCqBoY=;
 h=From:To:Cc:Subject:Date:From;
 b=RqYj0P/BHYs5gTxexHqXEmF10gzpRbVu+YWdWoLJGMeJXL3+oJjIgT+BkMbm/SWwK
 ytaKcaTnXCN7lD3eQBxxHAzNlkCtS/AzXKrHTjljdqh1wCXBD0gxF8Wc8CA0WSyP97
 sYAi6QebUE3QTqmR4w7CNLlzjWjB6p71SvF6aHDupSPHBQjw94AGaHQL1rr9HAdrd1
 9tYpeCrinLZ+Y3sSQamLEFvQUnkipWfx4NGMVKv5ideTS8xRO3TKP5plyVHq9K25Ud
 OQ18B8CiIZPpUcCca1CpAFspNLHgG0w4OKiOVMjDvbR8WsMeMruBG92z3L5DrGC6j+
 kD3orezQg3hxA==
From: EuAndreh <eu@HIDDEN>
To: 58931 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: clipmenu: Update to 6.2.0.
Date: Mon, 31 Oct 2022 17:17:40 -0300
Message-Id: <20221031201741.29100-1-eu@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 58931
Cc: EuAndreh <eu@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/xdisorg.scm (clipmenu): Update to 6.2.0.
---
 gnu/packages/xdisorg.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 1a868146a0..a0f0f54773 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2768,11 +2768,11 @@ (define-public clipnotify
     (license license:public-domain)))
 
 (define-public clipmenu
-  (let ((commit "bcbe7b144598db4a103f14e8408c4b7327d6d5e1")
+  (let ((commit "7c34ace1fbab76eb1c1dc9b30dd4ac1a7fe4b90b")
         (revision "1"))
     (package
       (name "clipmenu")
-      (version (string-append "6.0.1-"
+      (version (string-append "6.2.0-"
                               revision "." (string-take commit 7)))
       (source
        (origin
@@ -2783,7 +2783,7 @@ (define-public clipmenu
          (file-name (git-file-name name version))
          (sha256
           (base32
-           "0053j4i14lz5m2bzc5sch5id5ilr1bl196mp8fp0q8x74w3vavs9"))))
+           "1403sw49ccb8xsd8v611fzp0csaglfz8nmz3wcjsk8x11h9jvxwy"))))
       (build-system gnu-build-system)
       (arguments
        `(#:phases
@@ -2799,6 +2799,8 @@ (define-public clipmenu
                  (install-file "clipdel" bin)
                  (install-file "clipmenu" bin)
                  (install-file "clipmenud" bin)
+                 (install-file "clipfsck" bin)
+                 (install-file "clipctl" bin)
                  (install-file "README.md" doc)
                  #t)))
            (add-after 'install 'wrap-script
@@ -2820,7 +2822,7 @@ (define-public clipmenu
                                 (string-append dir "/bin"))
                               (list clipnotify coreutils-minimal
                                     gawk util-linux xdotool xsel)))))
-                  '("clipmenu" "clipmenud" "clipdel")))
+                  '("clipmenu" "clipmenud" "clipdel" "clipfsck" "clipctl")))
                #t))
            (replace 'check
              (lambda* (#:key inputs outputs #:allow-other-keys)
-- 
2.38.0





Information forwarded to guix-patches@HIDDEN:
bug#58931; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Oct 2022 20:09:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 31 16:09:06 2022
Received: from localhost ([127.0.0.1]:41877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1opb5m-0000fx-IS
	for submit <at> debbugs.gnu.org; Mon, 31 Oct 2022 16:09:06 -0400
Received: from lists.gnu.org ([209.51.188.17]:47786)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eu@HIDDEN>) id 1opb5k-0000fp-IM
 for submit <at> debbugs.gnu.org; Mon, 31 Oct 2022 16:09:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eu@HIDDEN>) id 1opb5g-00065y-UJ
 for guix-patches@HIDDEN; Mon, 31 Oct 2022 16:09:02 -0400
Received: from box.euandre.org ([46.101.160.115])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <eu@HIDDEN>) id 1opb5e-0006Gj-HE
 for guix-patches@HIDDEN; Mon, 31 Oct 2022 16:09:00 -0400
Received: from authenticated-user (box.euandre.org [46.101.160.115])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
 (No client certificate requested)
 by box.euandre.org (Postfix) with ESMTPSA id 61A89FC4C9;
 Mon, 31 Oct 2022 17:08:51 -0300 (-03)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail;
 t=1667246932; bh=vEtUbcIDXeRQR7d6Ah5AdarmsxGnR7WV7nZNLBhpVWw=;
 h=From:To:Cc:Subject:Date:From;
 b=AAQ6v97f/L3w37Yc0yqAJn3Tlzj2Vv2tCJqI2r5q98XKEXSb7N9aptXjvz6X9LVk7
 mG/ivH+GvbbovxL3XdOC51ScBBWcWnoIdevFK3/E1MMaY1NzLMyTzl3HkrKNAvLUU9
 NCHhHeoTCwmZ/GKoI+NlcwlBSGWnZ4uH+FWiekfxFcdLdgKS6PGsbNWmrWxVf3Dxaa
 ATTutDAPYY5M9nbY+AE/zc65ayC1blGCDaAkH9SHwyLXXDgpmgRpfAK8JCRULZuuCs
 VRUAHVMglSB8zjOAtuZxqbj7Cq97Kj+yXvYfsekm7XjRel9ER+BL41jG1MK6Ve/Z57
 4NajWyzyrLPnQ==
From: EuAndreh <eu@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Update clipmenu and improve it
Date: Mon, 31 Oct 2022 17:08:39 -0300
Message-Id: <20221031200839.10945-1-eu@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=46.101.160.115; envelope-from=eu@HIDDEN;
 helo=box.euandre.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: EuAndreh <eu@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Refactor build code, using g-expressions.  A `git diff -w` (-w for
"whitespace") makes it clearer that those are the changes.

EuAndreh (2):
  gnu: clipmenu: Update to 6.2.0.
  gnu: clipmenu: Improve package style.

 gnu/packages/xdisorg.scm | 146 +++++++++++++++++++--------------------
 1 file changed, 71 insertions(+), 75 deletions(-)

-- 
2.38.0





Acknowledgement sent to EuAndreh <eu@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#58931; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 3 Nov 2022 18:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.