From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2FX+NwxvtGYDxwAA62LTzQ:P1 (envelope-from ) for ; Thu, 08 Aug 2024 07:09:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2FX+NwxvtGYDxwAA62LTzQ (envelope-from ) for ; Thu, 08 Aug 2024 09:09:01 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=gT3lyPFQ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723100940; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mSss4OixMbg49qsqPeb8+9afl1aRwgQEUQwURk13fxM=; b=trM8qIrnomu0Yu+y2lWnB6ve6a6d674CBTZMiX/k4S50aYAjkEqlBC5XqoXclLVT+vglbI G0vQfncezUdoyJbf91fxTz9Pccz54d2nek4/0NduLuOgwy/lCgZ9y3km3anOC+F9rJQhMX /24hUmIYP4SmbIyG1bk/n/STXFaVldnb4W9oNn0VL58iv+N6RgIC7nZmCJdSw4A/Srv/kS m27mAKiSVwK99Fh82/EDXrDp9Y23mk6cnb4y+W/PZqzqCDAlXnNBjnj79pKoQfCMT8hDnA JtStCQZenOkUv9djyYxC3G6nJORREs70fv2e5zdqiK4lfhvq4jNEfaJmgavWPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=gT3lyPFQ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723100940; a=rsa-sha256; cv=none; b=u5FabH/Wr1UsXcXiSl1yDR17x5JwwQOudHKd5PK8dP+xZlZ2LOUwD+PUFAfyzYVKKkgLZm YJyiLUeV8GL0HDJUJgv0stTwG+6CMMlTf06nC+NMD9+oKD5Nmg3qfKsPqZTJO2sjkGf4YZ aisG9YGD5TO0V2R5aWoIv6+M2HL4cpOQIIofU3BS4sawfqcD3avF9WcxcPOjdeEzWpT5aZ 4ZyvOxCBarF9csTVqDNwK1cNiY82Wrq1pt2SiLQJErzsfpG5RS6Z/6mvGRk/FPp3XKbpHb yipPj+b6HBMb5daIgiz6tctHYbGhQX5CFwn7IxvdtrWPbqKiZ57T6L9He+nkDg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 54E23B090 for ; Thu, 8 Aug 2024 09:09:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbxGN-0004JJ-Vv; Thu, 08 Aug 2024 03:08:44 -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 1sbxGI-0004Iz-Cl for guix-patches@gnu.org; Thu, 08 Aug 2024 03:08:38 -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 1sbxGG-00010A-JF for guix-patches@gnu.org; Thu, 08 Aug 2024 03:08:38 -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:In-Reply-To:References:Subject; bh=mSss4OixMbg49qsqPeb8+9afl1aRwgQEUQwURk13fxM=; b=gT3lyPFQ+raTc9RIXh5S3GfDrkRUSsksiFpEPH/0Ek8Hdk+j984273NJ0ylv5TUKRYfqX2fkReI/61ZP3AaDByS/+pp4ccdvsCBZYCE0cOgSuthy8UjCniNx/VDcQdCBpcaH6Bth4SnqrqBj1RoOSyoTOViTP7g2Lfi2wEGZQfbg00QWNz6ujkaaEA8yZrygK8pdPfAdf4jLQY1smw/m19AQQjS9M5rt56Cg5jz9a7VBJx/8IjujQVdfqJicOdxpgC5e1MI2E3RM406tublw/FHnUSnLgYIzRH1QocogK5GAMS32PhGZ+c/bzlHBCMNHuTGjjNPDNphepxZSxhXsLQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbxGg-0001Hk-Eb for guix-patches@gnu.org; Thu, 08 Aug 2024 03:09:02 -0400 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-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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -10.49 X-Migadu-Queue-Id: 54E23B090 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -10.49 X-TUID: 3dNqFRgFWf88 >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