From patchwork Fri Aug 2 08:30:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Pisemsky X-Patchwork-Id: 29649 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E194427BBEA; Fri, 2 Aug 2024 09:32:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A30E627BBE2 for ; Fri, 2 Aug 2024 09:32:07 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZnhV-00027q-34; Fri, 02 Aug 2024 04:31:49 -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 1sZnhR-00027X-8Z for guix-patches@gnu.org; Fri, 02 Aug 2024 04:31:46 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sZnhQ-00062k-Vp for guix-patches@gnu.org; Fri, 02 Aug 2024 04:31:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=9jf0yFuygrxkl32U4Sk9X4WHJ+ywFRj0gDY9HnWq0Ok=; b=Lrky6sVpojcNrtPgL/nd4ZjM3KLU5RvQDn5a7tHJ6YelpX8Y+Fkj7/48H4L4PEYHxCOX7e+MOiJ/ZNBzfWQpuVu/2KKi1xTblj0RyLDtt64zzfOVRzFHpTmMKdwER9ZU36h/uMPkAJ2u/5eRtRRAVfxxoCAifeBXdHbTbqJ9SjP/teKAGuIBtPKYjyZ/pKayuuM3Wm3znzZTlVEqSl+pOQDb24par5PRL9xzNB4qII5xEgLCV4VUBoInSfxVHF4ar6yCy2WiaY7o8ohL+xzBKLoZz5nihO1X6fPkMy+Na8t7KQvOXp02JjDNmLwyrjim/8dOzOvujttePzHkBCaZ3A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZnhi-0000m3-Cx for guix-patches@gnu.org; Fri, 02 Aug 2024 04:32:02 -0400 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-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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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