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 ms1.migadu.com with LMTPS id WMqENTrvF2b3fwAA62LTzQ:P1 (envelope-from ) for ; Thu, 11 Apr 2024 16:10:03 +0200 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 WMqENTrvF2b3fwAA62LTzQ (envelope-from ) for ; Thu, 11 Apr 2024 16:10:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712844602; a=rsa-sha256; cv=none; b=eOSToLoegpb5iHKhJ5a+QXt9VxG7pq7RyhFpk45jxgpCGtPQL+SKlOhnsjN1RlnhlmbO4a ANjiHVwXHFqMxlD2irpteL/gRdhXNLXklSbQFhaFZgO1hN4UlT5pBkEFOy2p0gkAWLs/QG xgp4BdkTRssqzPuDNdmicQd5AMiTA+fPZhdDPHNpaQ6M+ioZ8XdlElvAJW7UN9kqHVJ81s 4rUDd1ksOPmrn7rJwd27RAKAhr5Jq7D+QsOPB+sloFtMwkofyN/yNOoku17X3bJtHy21Zs ZNRGLoK8kjuiQ+UREJdrnpeTnIepEusZqM3d0lv+6Hqt/TKeXXO5Pqr7Jp1P+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712844602; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=/8+1MokXhyNi7CKr0ux9KyRf6n8aMuJA0JB6/3RFwZ8=; b=LJYNBAuuEED4bHq164ZUCJ+h+PiQlDy+spjU6qECttt48OWOGqISWF4HoAsEJCWYskk/el Y2FCEWuP5cMwrkl0jVL9LHhCxxhWvNGjti0mdUVhIs39Z3TbWA5+TD5TUQ160wBhKQhZh1 VBi3X7L45oMrTffUqvuUhigQd7FKoK944IXPDt9D4Ch1RZAKfWVvGVHvJEowHDwjcKup4a ThHtBjKXEgCm4yQFlHVfjo/tJv6MqyvVnuj+Hhh0ec3bg6ZZC+HRMmBtOm7rq/wTHUHErV SAMu4Jo2wII5zIbbvgdFTJpuxgsy+Ss3fqaLxKoutj2OZGM9JofjPX7f4k8vSg== 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 957B126B66 for ; Thu, 11 Apr 2024 16:10:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruv7j-0003EF-Nb; Thu, 11 Apr 2024 10:09:55 -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 1ruv7i-0003E1-Cx for guix-patches@gnu.org; Thu, 11 Apr 2024 10:09:54 -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 1ruv7i-0005in-3e for guix-patches@gnu.org; Thu, 11 Apr 2024 10:09:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ruv7q-0002UR-Hq; Thu, 11 Apr 2024 10:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70340] [PATCH] gnu: Add restool. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, me@tobias.gr, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Thu, 11 Apr 2024 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70340 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70340@debbugs.gnu.org Cc: Leo Famulari , Tobias Geerinckx-Rice , Wilko Meyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Leo Famulari , Tobias Geerinckx-Rice , Wilko Meyer Received: via spool by submit@debbugs.gnu.org id=B.17128445859478 (code B ref -1); Thu, 11 Apr 2024 14:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Apr 2024 14:09:45 +0000 Received: from localhost ([127.0.0.1]:57044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruv7X-0002Se-Py for submit@debbugs.gnu.org; Thu, 11 Apr 2024 10:09:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruv7Q-0002Qv-Re for submit@debbugs.gnu.org; Thu, 11 Apr 2024 10:09:41 -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 1ruv7C-00033P-4B for guix-patches@gnu.org; Thu, 11 Apr 2024 10:09:22 -0400 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruv7A-0005cA-4I for guix-patches@gnu.org; Thu, 11 Apr 2024 10:09:21 -0400 Received: from localhost (unknown [212.132.255.10]) by mira.cbaines.net (Postfix) with ESMTPSA id 9870327BBE2 for ; Thu, 11 Apr 2024 15:09:18 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 95c7b83d for ; Thu, 11 Apr 2024 14:09:18 +0000 (UTC) From: Christopher Baines Date: Thu, 11 Apr 2024 15:09:17 +0100 Message-ID: <77ec7b6dd38115f0c533a9162ecbe59ec367f957.1712844557.git.mail@cbaines.net> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; 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, UNPARSEABLE_RELAY=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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -4.87 X-Migadu-Queue-Id: 957B126B66 X-Migadu-Spam-Score: -4.87 X-Migadu-Scanner: mx10.migadu.com X-TUID: +8BLXUjPtuDz * gnu/packages/linux.scm (restool): New variable. Change-Id: I40fae10c96460a8e7cc86419ed7bb9633aca66e6 --- gnu/packages/linux.scm | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c66fd80d38..743b98018e 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -10228,6 +10228,60 @@ (define-public renameat2 calls the Linux-specific @code{renameat2} system call.") (license license:expat)))) +(define-public restool + (let ((revision "0") + (commit "46604e41f4c7e54efa62503c6b4629321b21e056")) + (package + (name "restool") + (version (git-version "2.4" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nxp-qoriq/restool.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1vp86iprdla7fc95lfvjq8wfzwbm2mdy0dil04jvvdz6kq6yyn4j")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no tests + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "prefix=" #$output) + (string-append "bindir_completion=" #$output + "/share/bash-completion/completions")) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'install 'wrap-scripts + (lambda _ + (for-each + (lambda (file) + (wrap-program (string-append #$output "/bin/" file) + `("PATH" prefix + (,(string-append #$output "/bin"))))) + '("ls-append-dpl" "ls-debug" "ls-main")))) + #$@(if (not (or (target-x86-64?) (target-x86-32?))) + #~((add-after 'unpack 'remove-manpage + (lambda _ + (substitute* "Makefile" + (("scripts/restool_completion.sh \\$\\(MANPAGE\\)") + "") + (("install -m 0644 -D \\$\\(MANPAGE\\) .*") ""))))) + #~())))) + (native-inputs + (if (or (target-x86-64?) (target-x86-32?)) + (list pandoc) + '())) + (synopsis "Manage DPAA2 containers and objects") + (description "This package provides restool, a user space application to +dynamically create and manage DPAA2 containers and objects.") + (supported-systems (delete "i586-gnu" %supported-systems)) + (home-page "https://github.com/nxp-qoriq/restool") + (license license:bsd-3)))) + (define-public libgpiod (package (name "libgpiod") base-commit: 4e7337536ba41e888a601c92fada8a4adca9d2c6 -- 2.41.0