From unknown Mon Aug 18 11:27:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72416] [PATCH] gnu: usbrelay: Update to 1.2.1. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Aug 2024 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72416@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17225874722912 (code B ref -1); Fri, 02 Aug 2024 08:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2024 08:31:12 +0000 Received: from localhost ([127.0.0.1]:52435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZngu-0000ku-0K for submit@debbugs.gnu.org; Fri, 02 Aug 2024 04:31:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:52646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZngr-0000kl-FX for submit@debbugs.gnu.org; Fri, 02 Aug 2024 04:31:10 -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 ) id 1sZngZ-0001x1-21 for guix-patches@gnu.org; Fri, 02 Aug 2024 04:30:51 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160] helo=roxy.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZngX-0005x4-3o for guix-patches@gnu.org; Fri, 02 Aug 2024 04:30:50 -0400 Received: from [45.137.112.91] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sZngH-000000002Az-1WVN for guix-patches@gnu.org; Fri, 02 Aug 2024 11:30:33 +0300 From: Evgeny Pisemsky Date: Fri, 02 Aug 2024 11:30:29 +0300 Message-ID: <87v80jjpi2.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-usbrelay-Update-to-1.2.1.patch Received-SPF: pass client-ip=137.74.182.160; envelope-from=mail@pisemsky.site; helo=roxy.hosting.energy 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) >From 523d0096745e8e649b966101f528b402ec06fc48 Mon Sep 17 00:00:00 2001 Message-ID: <523d0096745e8e649b966101f528b402ec06fc48.1722586951.git.mail@pisemsky.site> From: Evgeny Pisemsky Date: Fri, 2 Aug 2024 11:00:11 +0300 Subject: [PATCH] gnu: usbrelay: Update to 1.2.1. * gnu/packages/hardware.scm (usbrelay): Update to 1.2.1. Change-Id: I5b889889c528d5526c8cfcc66d56b2b9d8d60437 --- gnu/packages/hardware.scm | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 468e2adc3b..349b928713 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1580,28 +1580,36 @@ (define-public lxi-tools (define-public usbrelay (package (name "usbrelay") - (version "1.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/darrylb123/usbrelay") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0fr3wglr2c6myg4k6ai2p5z38prclcnk2ngik15sq16fnp6qg750")))) + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/darrylb123/usbrelay") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xw2fqx4drmkvv587vkz3aicp6pw1mzxr8bjz8wad9j4c0r24cgn")))) (build-system gnu-build-system) (arguments (list #:phases #~(modify-phases %standard-phases - (delete 'configure)) ;no configure script - #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) - (string-append "PREFIX=" #$output) + ;; No configure script. + (delete 'configure) + (add-after 'install 'install-manpage + (lambda _ + (install-file "usbrelay.1" + (string-append #$output "/share/man/man1"))))) + #:make-flags #~(list (string-append "PREFIX=" #$output) + (string-append "CC=" #$(cc-for-target)) (string-append "LDFLAGS=-Wl,-rpath=" (string-append #$output "/lib")) "LDCONFIG=true" - "USBMAJOR=$(USBLIBVER)") - #:tests? #f)) ;no test suite + (string-append "USBMAJOR=" #$version) + (string-append "USBLIBVER=" #$version) + (string-append "VERSION=" #$version)) + ;; No test suite. + #:tests? #f)) (inputs (list hidapi)) (home-page "https://github.com/darrylb123/usbrelay") (synopsis "Control USB relay modules") base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 -- 2.45.2 From unknown Mon Aug 18 11:27:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72416] Improved patch with udev rules and described changes References: <87v80jjpi2.fsf@pisemsky.site> In-Reply-To: <87v80jjpi2.fsf@pisemsky.site> Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Aug 2024 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72416@debbugs.gnu.org Received: via spool by 72416-submit@debbugs.gnu.org id=B72416.17231009334925 (code B ref 72416); Thu, 08 Aug 2024 07:09:02 +0000 Received: (at 72416) by debbugs.gnu.org; 8 Aug 2024 07:08:53 +0000 Received: from localhost ([127.0.0.1]:35398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbxGW-0001HM-Ss for submit@debbugs.gnu.org; Thu, 08 Aug 2024 03:08:53 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160]:58373 helo=roxy.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbxGU-0001H4-Fq for 72416@debbugs.gnu.org; Thu, 08 Aug 2024 03:08:52 -0400 Received: from [185.211.158.6] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sbxFy-000000004zN-1zf8 for 72416@debbugs.gnu.org; Thu, 08 Aug 2024 10:08:18 +0300 From: Evgeny Pisemsky Date: Thu, 08 Aug 2024 10:08:15 +0300 Message-ID: <87sevf4hls.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-usbrelay-Update-to-1.2.1.patch Content-Transfer-Encoding: quoted-printable X-Scanned-By: ClamAV 0.101.4; Thu, 08 Aug 2024 10:08:18 +0300 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >From 32639b4f86ffd3b9120bd0882ca4532280e6579e Mon Sep 17 00:00:00 2001 Message-ID: <32639b4f86ffd3b9120bd0882ca4532280e6579e.1723021106.git.mail@p= isemsky.site> From: Evgeny Pisemsky Date: Wed, 7 Aug 2024 11:55:11 +0300 Subject: [PATCH] gnu: usbrelay: Update to 1.2.1. * gnu/packages/hardware.scm (usbrelay): Update to 1.2.1. [arguments]: Install manpage and udev rules, specify actual version. Change-Id: I5b889889c528d5526c8cfcc66d56b2b9d8d60437 --- gnu/packages/hardware.scm | 40 +++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 9db7de848e..08cf424e48 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -2,7 +2,7 @@ ;;; Copyright =C2=A9 2018=E2=80=932022 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright =C2=A9 2020 Brice Waegeneire -;;; Copyright =C2=A9 2021, 2023 Evgeny Pisemsky +;;; Copyright =C2=A9 2021, 2023, 2024 Evgeny Pisemsky ;;; Copyright =C2=A9 2021 L=C3=A9o Le Bouter ;;; Copyright =C2=A9 2021 Denis Carikli ;;; Copyright =C2=A9 2021, 2022 Petr Hodina @@ -1580,28 +1580,40 @@ (define-public lxi-tools (define-public usbrelay (package (name "usbrelay") - (version "1.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/darrylb123/usbrelay") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0fr3wglr2c6myg4k6ai2p5z38prclcnk2ngik15sq16fnp6qg750")))) + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/darrylb123/usbrelay") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xw2fqx4drmkvv587vkz3aicp6pw1mzxr8bjz8wad9j4c0r24cgn")))) (build-system gnu-build-system) (arguments (list #:phases #~(modify-phases %standard-phases - (delete 'configure)) ;no configure script + ;; No configure script. + (delete 'configure) + (add-after 'install 'install-manpage + (lambda _ + (install-file "usbrelay.1" + (string-append #$output "/share/man/m= an1")))) + (add-after 'install-manpage 'install-udev-rules + (lambda _ + (install-file "50-usbrelay.rules" + (string-append #$output "/lib/udev/ru= les.d"))))) #:make-flags #~(list (string-append "CC=3D" #$(cc-for-target)) (string-append "PREFIX=3D" #$output) (string-append "LDFLAGS=3D-Wl,-rpath=3D" (string-append #$output "/lib")) "LDCONFIG=3Dtrue" - "USBMAJOR=3D$(USBLIBVER)") - #:tests? #f)) ;no test suite + (string-append "USBMAJOR=3D" #$version) + (string-append "USBLIBVER=3D" #$version) + (string-append "VERSION=3D" #$version)) + ;; No test suite. + #:tests? #f)) (inputs (list hidapi)) (home-page "https://github.com/darrylb123/usbrelay") (synopsis "Control USB relay modules") base-commit: 5e567587dd4abf51f9a6fa44f5a852dde1115ce9 --=20 2.45.2 From unknown Mon Aug 18 11:27:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72416] [PATCH] gnu: usbrelay: Update to 1.2.1. References: <87v80jjpi2.fsf@pisemsky.site> In-Reply-To: <87v80jjpi2.fsf@pisemsky.site> Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Aug 2024 10:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72416@debbugs.gnu.org Received: via spool by 72416-submit@debbugs.gnu.org id=B72416.172320088213865 (code B ref 72416); Fri, 09 Aug 2024 10:55:02 +0000 Received: (at 72416) by debbugs.gnu.org; 9 Aug 2024 10:54:42 +0000 Received: from localhost ([127.0.0.1]:37738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scNGc-0003bZ-Bu for submit@debbugs.gnu.org; Fri, 09 Aug 2024 06:54:42 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160]:43015 helo=roxy.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1scNGa-0003bL-IK for 72416@debbugs.gnu.org; Fri, 09 Aug 2024 06:54:41 -0400 Received: from [185.211.158.13] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1scNG3-000000008W7-0QDp for 72416@debbugs.gnu.org; Fri, 09 Aug 2024 13:54:07 +0300 From: Evgeny Pisemsky Date: Fri, 09 Aug 2024 13:54:03 +0300 Message-ID: <8734neotkk.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: ClamAV 0.101.4; Fri, 09 Aug 2024 13:54:07 +0300 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I successfully tested the patch with a real relay, including udev rules. From unknown Mon Aug 18 11:27:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Evgeny Pisemsky Subject: bug#72416: closed (Re: [bug#72416] Improved patch with udev rules and described changes) Message-ID: References: <87mslfwh2v.fsf@cbaines.net> <87v80jjpi2.fsf@pisemsky.site> X-Gnu-PR-Message: they-closed 72416 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 72416@debbugs.gnu.org Date: Wed, 14 Aug 2024 10:11:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1723630262-27366-1" This is a multi-part message in MIME format... ------------=_1723630262-27366-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72416: [PATCH] gnu: usbrelay: Update to 1.2.1. 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 72416@debbugs.gnu.org. --=20 72416: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72416 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1723630262-27366-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72416-done) by debbugs.gnu.org; 14 Aug 2024 10:11:00 +0000 Received: from localhost ([127.0.0.1]:46169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seAy3-000777-VA for submit@debbugs.gnu.org; Wed, 14 Aug 2024 06:11:00 -0400 Received: from mira.cbaines.net ([212.71.252.8]:44036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seAy2-00076t-BX for 72416-done@debbugs.gnu.org; Wed, 14 Aug 2024 06:10:59 -0400 Received: from localhost (unknown [212.132.255.81]) by mira.cbaines.net (Postfix) with ESMTPSA id 06E6627BBE2; Wed, 14 Aug 2024 11:10:20 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 4a9fab19; Wed, 14 Aug 2024 10:10:19 +0000 (UTC) From: Christopher Baines To: Evgeny Pisemsky Subject: Re: [bug#72416] Improved patch with udev rules and described changes In-Reply-To: <87sevf4hls.fsf@pisemsky.site> (Evgeny Pisemsky's message of "Thu, 08 Aug 2024 10:08:15 +0300") References: <87v80jjpi2.fsf@pisemsky.site> <87sevf4hls.fsf@pisemsky.site> User-Agent: mu4e 1.12.4; emacs 29.3 Date: Wed, 14 Aug 2024 11:10:16 +0100 Message-ID: <87mslfwh2v.fsf@cbaines.net> 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: 72416-done Cc: 72416-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Evgeny Pisemsky writes: > From 32639b4f86ffd3b9120bd0882ca4532280e6579e Mon Sep 17 00:00:00 2001 > Message-ID: <32639b4f86ffd3b9120bd0882ca4532280e6579e.1723021106.git.mail@pisemsky.site> > From: Evgeny Pisemsky > Date: Wed, 7 Aug 2024 11:55:11 +0300 > Subject: [PATCH] gnu: usbrelay: Update to 1.2.1. > > * gnu/packages/hardware.scm (usbrelay): Update to 1.2.1. > [arguments]: Install manpage and udev rules, specify actual version. > > Change-Id: I5b889889c528d5526c8cfcc66d56b2b9d8d60437 > --- > gnu/packages/hardware.scm | 40 +++++++++++++++++++++++++-------------- > 1 file changed, 26 insertions(+), 14 deletions(-) Thanks for the patch, I tweaked the indentation to make the diff clearer and pushed this to master as ff185dc00319af1dede83df465288e73dc0e5ff5. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAma8gohfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfmyQ/8DsHOYkJlWACr9Mgdfnt1raS5DXCniERh XndrKS5XpKx5VaWIUyY8jc56iAle4GmflorhO1oxLiSvyHPRWOcVHPOh+jZWVSw2 A8oS0G3KQjErYLDzJoeVcT0LBj++hdmOq00rwfxfNo7uBmP4U+l3Kmb+yi8vQeCc SUnG+WTqD3sMkFP+Vyy+966dDgZ7yr7xAJPT0uMTl+GH3o4dJYbODMVHcyUyS44A wDLtQyBk759BTtOe3wwDDlIenex4CjbU4zPlrrwimzEeX+xuHtz08iqMwAX7VVxc /7vvPyqZtvuIPB3mojn6PrvybDV6S/VKUvy68kIwxg6rva6mM7ILLH2bloXauLGP Z787Xd0BzzrV/g/gl6L4+GtgTdgBdRM16doKcpvAjAqxjHE3vebh05f97EMIRC3H aSAd94rr7OvLlMDGgSat2MFKphZlmAfCdfZ82cwZrRi+ckjjCifCBMa9tNjHPczi Ojux0dF8+mxSvKWykjSgeA6LPGneRLT9YNOlPkTfo39FIjZ18hE8IR+oDEeXdUz+ xSu+2a43yXBVn9abVH4p4JBFLkskklYaje/w6SpD3nBrYAqO0qAcwoHnjmI6aGgO 4gXLhJZh05ECOBkh7HvsiThJIDKP1LUHGVAQrKBjqLTbeW49+XaZwqzlPaMCfhfe PUfaRFUCVpA= =OTXD -----END PGP SIGNATURE----- --=-=-=-- ------------=_1723630262-27366-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Aug 2024 08:31:12 +0000 Received: from localhost ([127.0.0.1]:52435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZngu-0000ku-0K for submit@debbugs.gnu.org; Fri, 02 Aug 2024 04:31:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:52646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZngr-0000kl-FX for submit@debbugs.gnu.org; Fri, 02 Aug 2024 04:31:10 -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 ) id 1sZngZ-0001x1-21 for guix-patches@gnu.org; Fri, 02 Aug 2024 04:30:51 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160] helo=roxy.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZngX-0005x4-3o for guix-patches@gnu.org; Fri, 02 Aug 2024 04:30:50 -0400 Received: from [45.137.112.91] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sZngH-000000002Az-1WVN for guix-patches@gnu.org; Fri, 02 Aug 2024 11:30:33 +0300 From: Evgeny Pisemsky To: guix-patches@gnu.org Subject: [PATCH] gnu: usbrelay: Update to 1.2.1. Date: Fri, 02 Aug 2024 11:30:29 +0300 Message-ID: <87v80jjpi2.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-usbrelay-Update-to-1.2.1.patch Received-SPF: pass client-ip=137.74.182.160; envelope-from=mail@pisemsky.site; helo=roxy.hosting.energy 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) >From 523d0096745e8e649b966101f528b402ec06fc48 Mon Sep 17 00:00:00 2001 Message-ID: <523d0096745e8e649b966101f528b402ec06fc48.1722586951.git.mail@pisemsky.site> From: Evgeny Pisemsky Date: Fri, 2 Aug 2024 11:00:11 +0300 Subject: [PATCH] gnu: usbrelay: Update to 1.2.1. * gnu/packages/hardware.scm (usbrelay): Update to 1.2.1. Change-Id: I5b889889c528d5526c8cfcc66d56b2b9d8d60437 --- gnu/packages/hardware.scm | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 468e2adc3b..349b928713 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1580,28 +1580,36 @@ (define-public lxi-tools (define-public usbrelay (package (name "usbrelay") - (version "1.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/darrylb123/usbrelay") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0fr3wglr2c6myg4k6ai2p5z38prclcnk2ngik15sq16fnp6qg750")))) + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/darrylb123/usbrelay") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xw2fqx4drmkvv587vkz3aicp6pw1mzxr8bjz8wad9j4c0r24cgn")))) (build-system gnu-build-system) (arguments (list #:phases #~(modify-phases %standard-phases - (delete 'configure)) ;no configure script - #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) - (string-append "PREFIX=" #$output) + ;; No configure script. + (delete 'configure) + (add-after 'install 'install-manpage + (lambda _ + (install-file "usbrelay.1" + (string-append #$output "/share/man/man1"))))) + #:make-flags #~(list (string-append "PREFIX=" #$output) + (string-append "CC=" #$(cc-for-target)) (string-append "LDFLAGS=-Wl,-rpath=" (string-append #$output "/lib")) "LDCONFIG=true" - "USBMAJOR=$(USBLIBVER)") - #:tests? #f)) ;no test suite + (string-append "USBMAJOR=" #$version) + (string-append "USBLIBVER=" #$version) + (string-append "VERSION=" #$version)) + ;; No test suite. + #:tests? #f)) (inputs (list hidapi)) (home-page "https://github.com/darrylb123/usbrelay") (synopsis "Control USB relay modules") base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 -- 2.45.2 ------------=_1723630262-27366-1--