GNU logs - #50283, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] HwInfo
Resent-From: Raghav Gururajan <rg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 19:32:01 +0000
Resent-Message-ID: <handler.50283.B.163035188431477 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 50283 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.163035188431477
          (code B ref -1); Mon, 30 Aug 2021 19:32:01 +0000
Received: (at submit) by debbugs.gnu.org; 30 Aug 2021 19:31:24 +0000
Received: from localhost ([127.0.0.1]:60329 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKn07-0008BQ-HG
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 15:31:23 -0400
Received: from lists.gnu.org ([209.51.188.17]:45484)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKn02-00087Y-RY
 for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 15:31:22 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55354)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rg@HIDDEN>)
 id 1mKn02-0001qy-K0
 for guix-patches@HIDDEN; Mon, 30 Aug 2021 15:31:18 -0400
Received: from out2.migadu.com ([188.165.223.204]:44410)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rg@HIDDEN>)
 id 1mKmzz-0007Ms-8a
 for guix-patches@HIDDEN; Mon, 30 Aug 2021 15:31:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630351870;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=rCkuhaovJCKs8dLa+o+rdY+pI6tvarqGl0wA1j+IQVY=;
 b=GYGhDUlAMDIX+f/Hu8cF21QT1bsYduRCspB53ChYLQbyabIxtfkHl9I48xeL9SZg12mrr+
 TES8jqqGuFAuLaLA4qguNv1Xt0BEZqyZkATOaZ+TdQi3B7u5hXFwjd/T0iOfK4aPVsrwAJ
 5uFIaaGF2qPMRcDyl9pJUfBtezkwVHVibQi3VzocdHcpHjdCxxpXNHH7y1tLP33YnA/SlB
 3WxxFbLYxm/35zv3mHSPd4v5P8WbtIel+uGV1zqozM3O/aoMHMGrhh4EsFnKVqO9c+5tf1
 T+wXm0RFXcUGCOoce3FQQ0HCP8xnSLBW7ZxmZ0QfTU4pc9DtaU4DcM6EEzpFaQ==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Raghav Gururajan <rg@HIDDEN>
Message-ID: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
Date: Mon, 30 Aug 2021 15:31:06 -0400
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="tMUh6J7s6NeK8UD35caGuvyZQspJxkdhZ"
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
Received-SPF: pass client-ip=188.165.223.204;
 envelope-from=rg@HIDDEN; helo=out2.migadu.com
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,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 TVD_SPACE_RATIO=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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 (--)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--tMUh6J7s6NeK8UD35caGuvyZQspJxkdhZ
Content-Type: multipart/mixed; boundary="iZR6ZqsmCoqnV4shTf5zzlDZxPFya9NJa";
 protected-headers="v1"
From: Raghav Gururajan <rg@HIDDEN>
To: guix-patches@HIDDEN
Message-ID: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
Subject: HwInfo

--iZR6ZqsmCoqnV4shTf5zzlDZxPFya9NJa
Content-Type: multipart/mixed;
 boundary="------------92BA84E90F1063E8F08DE839"
Content-Language: en-CA

This is a multi-part message in MIME format.
--------------92BA84E90F1063E8F08DE839
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable


--------------92BA84E90F1063E8F08DE839
Content-Type: application/pgp-keys;
 name="OpenPGP_0x5F5816647F8BE551.asc"
Content-Transfer-Encoding: quoted-printable
Content-Description: OpenPGP public key
Content-Disposition: attachment;
 filename="OpenPGP_0x5F5816647F8BE551.asc"

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX2ZCJBYJKwYBBAHaRw8BAQdAdiUK33kml2dYjrWidlr4/v0pmjpUv7hOsBN/oSl5wx7NL=
1Jh
Z2hhdiBHdXJ1cmFqYW4gKFJHKSA8cmdAcmFnaGF2Z3VydXJhamFuLm5hbWU+wpMEExYIADsFC=
wkI
BwIGFQoJCAsCBBYCAwECHgECF4ACGQEWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYRS1pwIbI=
wAK
CRBfWBZkf4vlUbYYAQCe+UaQKTg+iaEL0XAuhyZgiMNpjoqrvlZCAb8ahNLe3AEA1/v+k2EjE=
ap/
lfeUSxuzy4MvYXxRRJMZ1C+qJs7MIgPNPVJhZ2hhdiBHdXJ1cmFqYW4gKEVkdWNhdGlvbikgP=
GVk
dWNhdGlvbkByYWdoYXZndXJ1cmFqYW4ubmFtZT7CkAQTFggAOBYhBM0tXqqpjMs32pHWsF9YF=
mR/
i+VRBQJgE0xGAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEF9YFmR/i+VRQcQBALNRe=
1V/
5DKN8ZxyVQlzt4TdGUyNom7xJ6r23ANtcygxAQDBjw6NLXV3aYGDMVVmQPbdAnFiB/x1rpJsA=
wB/
1BSBDc05UmFnaGF2IEd1cnVyYWphbiAoRmluYW5jZSkgPGZpbmFuY2VAcmFnaGF2Z3VydXJha=
mFu
Lm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYBNMbwIbAwULCQgHAgYVC=
gkI
CwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUWnLAP914hb0IzSCiaj+XrcEBaIt/Q+KjRn2fj5A7=
V6Z
ucJJqwEA64eks7xjLBS3mpTpaGwdDtluJcR7G8XZJJdbdK2YyQ/NN1JhZ2hhdiBHdXJ1cmFqY=
W4g
KEhlYWx0aCkgPGhlYWx0aEByYWdoYXZndXJ1cmFqYW4ubmFtZT7CkAQTFggAOBYhBM0tXqqpj=
Ms3
2pHWsF9YFmR/i+VRBQJgE0yhAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEF9YFmR/i=
+VR
xdcA/3YxFzlKKHrTguDxE1tBWD31BUYlXWl351j6MB/U+tWdAPwJB8QD8janaddv3U5ZGzswf=
hQv
GGzx6SLcX0E253uNC80/UmFnaGF2IEd1cnVyYWphbiAoT2NjdXBhdGlvbikgPG9jY3VwYXRpb=
25A
cmFnaGF2Z3VydXJhamFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCY=
BNM
ugIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUSrlAP0VJw8frvWHAGd6l=
Zdy
x1v+relUGB4DToqDgIMBQyG58gD+NU5t4h0IY6YaiQ+FPyJzdV62k15d9IDvTMYPvcWIpQPNP=
1Jh
Z2hhdiBHdXJ1cmFqYW4gKFJlY3JlYXRpb24pIDxyZWNyZWF0aW9uQHJhZ2hhdmd1cnVyYWphb=
i5u
YW1lPsKQBBMWCAA4FiEEzS1eqqmMyzfakdawX1gWZH+L5VEFAmATTNkCGwMFCwkIBwIGFQoJC=
AsC
BBYCAwECHgECF4AACgkQX1gWZH+L5VHhbQD/b6jXWdQfxi+xzrs1+A0lvnihfUgQ0H/r5U2bO=
w9d
FIkA/0nCh0VJKX+YrySJhWugL7e8ItqwKADh0v05vO6qtlkAzTdSYWdoYXYgR3VydXJhamFuI=
ChT
b2NpYWwpIDxzb2NpYWxAcmFnaGF2Z3VydXJhamFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN=
9qR
1rBfWBZkf4vlUQUCYBNM8AIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlU=
dtv
AQCKMxBdxwMUJdyigGWqrTuJUaLVL2dgvqGa0k39nsQA8gD+PH3LsQAaJ98xREKxYXMAszNnJ=
RJR
xYa9trfixyQbrw7NNVJhZ2hhdiBHdXJ1cmFqYW4gKFRyYWRlKSA8dHJhZGVAcmFnaGF2Z3Vyd=
XJh
amFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYBNNHQIbAwULCQgHA=
gYV
CgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUQ+9AP0S/6S5PLshS/vz7ezRO2HokruaRiDhg=
w0t
yRM3LAefSQEA7rEBw9sSUsDgRILGKUi1ZzQq5AJ0F77KOXyurVqnywXOOARfZkIkEgorBgEEA=
ZdV
AQUBAQdAZgiqc2NhH/myrCCan9x7gKI6QBPZ/1b+Bz/f3n95ozkDAQgHwngEGBYIACAWIQTNL=
V6q
qYzLN9qR1rBfWBZkf4vlUQUCX2ZCJAIbDAAKCRBfWBZkf4vlUV/OAQD+tMNgmddPSchLpaDPp=
sdD
hpvra2uTonNUmnfbTvPgpQD/dG72NCT8hBUVqtzxwQmBrXY/nPEUxctYuvu3unUmzQU=3D
=3DooAX
-----END PGP PUBLIC KEY BLOCK-----

--------------92BA84E90F1063E8F08DE839--

--iZR6ZqsmCoqnV4shTf5zzlDZxPFya9NJa--

--tMUh6J7s6NeK8UD35caGuvyZQspJxkdhZ
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

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

wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYS0x+wUDAAAAAAAKCRBfWBZkf4vlUZeO
AQDqSRLgRzv300xLoEq/B9/URkpzyftACpJxV4T0rXXwnQD/Qz91sQPlRyPIkLOy5stYC9NXDSvd
12JOaIyirWNEUgU=
=TPGL
-----END PGP SIGNATURE-----

--tMUh6J7s6NeK8UD35caGuvyZQspJxkdhZ--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Raghav Gururajan <rg@HIDDEN>
Subject: bug#50283: Acknowledgement (HwInfo)
Message-ID: <handler.50283.B.163035188431477.ack <at> debbugs.gnu.org>
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
X-Gnu-PR-Message: ack 50283
X-Gnu-PR-Package: guix-patches
Reply-To: 50283 <at> debbugs.gnu.org
Date: Mon, 30 Aug 2021 19:32:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 50283 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
50283: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D50283
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] [PATCH v1 1/2] gnu: Add libx86emu.
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
In-Reply-To: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
Resent-From: Raghav Gururajan <rg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 19:36:02 +0000
Resent-Message-ID: <handler.50283.B50283.16303521573066 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 50283 <at> debbugs.gnu.org
Cc: Raghav Gururajan <rg@HIDDEN>
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.16303521573066
          (code B ref 50283); Mon, 30 Aug 2021 19:36:02 +0000
Received: (at 50283) by debbugs.gnu.org; 30 Aug 2021 19:35:57 +0000
Received: from localhost ([127.0.0.1]:60338 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKn4T-0000nE-5K
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 15:35:57 -0400
Received: from out2.migadu.com ([188.165.223.204]:45581)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKn4N-0000mu-2q
 for 50283 <at> debbugs.gnu.org; Mon, 30 Aug 2021 15:35:51 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630352145;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=vGVwNgdaBrK0LltdUDyY/MIdRwKQgMnNlgncaYv6xmk=;
 b=hkbiy26KdhGNPGvjAZz8SbH5OR6hNjeKJyk96tG4oEM862GuDuvgXTbDMcegBxrcRbAHXg
 dzYyfKVk4DUzuEwAIuAbFrP2VdLjpCSO1HhUKGApjZ5ilyLoMiwpwPPMgVHRmYGg5V2SOd
 jZ21svFkY11z6rg1s3PeIOz47y/VB+w7NaF600fBt3Vh9PRSal+BeMV4tefbUNxW++qBkD
 Jltia6vxsdIiCYSiF7SgeyH27X/bNv0XEC45HsmO8Ce/ElZdGACTC4goyr73CR9FlVF86A
 wHsQ2OmD1rB8KTrUg6OsssnZe8gZns0NIQIiFQ0nocJXsuytNkP5wkRbpBj3gA==
From: Raghav Gururajan <rg@HIDDEN>
Date: Mon, 30 Aug 2021 15:35:24 -0400
Message-Id: <20210830193525.2288-1-rg@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.0 (/)
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/virtualization.scm (libx86emu): New variable.
---
 gnu/packages/virtualization.scm | 52 +++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index e952c009b5..6dd5127bc6 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -130,6 +130,58 @@
   #:use-module (srfi srfi-26)
   #:use-module (ice-9 match))
 
+(define-public libx86emu
+  (package
+    (name "libx86emu")
+    (version "3.1")
+    (home-page "https://github.com/wfeldt/libx86emu")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url home-page)
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "104xqc6nj9rpi7knl3dfqvasf087hlz2n5yndb1iycw35a6j509b"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:test-target "test"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (include (string-append out "/include"))
+                    (lib (string-append out "/lib")))
+               ;; Remove unnecessary variables and
+               ;; correct the values of version and prefix.
+               (substitute* (find-files "." "Makefile")
+                 (("GIT2LOG.*=.*$") "")
+                 (("GITDEPS.*=.*$") "")
+                 (("VERSION.*=.*$")
+                  (string-append "VERSION := "
+                                 ,version "\n"))
+                 (("BRANCH.*=.*$") "")
+                 (("PREFIX.*=.*$")
+                  (string-append "PREFIX := " out "\n"))
+                 (("MAJOR_VERSION.*=.*$")
+                  (string-append "MAJOR_VERSION := "
+                                 ,(version-major version) "\n"))
+                 (("LIBDIR.*=.*$")
+                  (string-append "LIBDIR = " lib "\n"))
+                 (("/usr/include") include)))))
+         (delete 'configure))))         ; no configure script
+    (native-inputs
+     `(("nasm" ,nasm)
+       ("perl" ,perl)))
+    (synopsis "ISA x86 emulation library")
+    (description "Libx86emu is a small library to emulate x86 instructions.  The
+focus here is not a complete emulation but to cover enough for typical
+firmware blobs.")
+    (license license:isc)))
+
 (define (qemu-patch commit file-name sha256-bv)
   "Return an origin for COMMIT."
   (origin
-- 
2.33.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] [PATCH v1 2/2] gnu: Add hwinfo.
Resent-From: Raghav Gururajan <rg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 19:37:02 +0000
Resent-Message-ID: <handler.50283.B50283.16303521663147 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: 
To: 50283 <at> debbugs.gnu.org
Cc: Raghav Gururajan <rg@HIDDEN>
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.16303521663147
          (code B ref 50283); Mon, 30 Aug 2021 19:37:02 +0000
Received: (at 50283) by debbugs.gnu.org; 30 Aug 2021 19:36:06 +0000
Received: from localhost ([127.0.0.1]:60342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKn4b-0000nk-TU
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 15:36:06 -0400
Received: from out2.migadu.com ([188.165.223.204]:45587)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKn4N-0000mv-3Q
 for 50283 <at> debbugs.gnu.org; Mon, 30 Aug 2021 15:35:56 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630352146;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=mHVNG6nDysNDF+tKHkvkO6nLx4kr9IsIQQVQQBXe99A=;
 b=DwPqtmIDTNDQsWoA9ZWp1uGqjm267b06J+5SgxUNw2XK4Of6Xx6eDrrRwaQS8R8z0SSckg
 xHDI1M1uPgBHwklZ3ZMNxB0TCYu95/tMEaFtE8lTNmMLfIm5csdRD3ufF4x0a2UZs6Cxhx
 /q9GxBwrzmZI2fZjYvtaiwGoIckZZYgZQk42pdhKMcHidSfucRnExsfOP40mMbjgLG6gf1
 8pgyld/RkiTmosGgAnRAIgB6MkN0qcw4Y27svLcdN++XR8blz1sG8gi5LHCoPjCCrTMse7
 TT56rIS466JXZFtw5tdhbSBTDnZUcOumt7wEure8w4L+q8EwN0hS1jO6QqYS8Q==
From: Raghav Gururajan <rg@HIDDEN>
Date: Mon, 30 Aug 2021 15:35:25 -0400
Message-Id: <20210830193525.2288-2-rg@HIDDEN>
In-Reply-To: <20210830193525.2288-1-rg@HIDDEN>
References: <20210830193525.2288-1-rg@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.0 (/)
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/hardware.scm (hwinfo): New variable.
---
 gnu/packages/hardware.scm | 85 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)

diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index ff21c9c724..d7be7bf3cb 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -31,6 +31,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
@@ -49,6 +50,7 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages virtualization)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
@@ -66,6 +68,89 @@
 ;; This is a module for packages related to physical hardware that don't (yet)
 ;; have a more specific home like gps.scm, security-token.scm, &c.
 
+(define-public hwinfo
+  (package
+    (name "hwinfo")
+    (version "21.76")
+    (home-page "https://github.com/openSUSE/hwinfo")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url home-page)
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1910wzpdyp1ma1z2v0dripaljgrpl7vjq0f6b7qq9y220899hihb"))
+       (modules
+        '((guix build utils)))
+       (snippet
+        `(begin
+           ;; Create version file.
+           (call-with-output-file "VERSION"
+             (lambda (port)
+               (format port ,version)))
+           #t))))
+    (build-system gnu-build-system)
+    (outputs '("out" "dev"))
+    (arguments
+     `(#:tests? #f                      ; no test-suite available
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (dev (assoc-ref outputs "dev"))
+                    (include (string-append dev "/include"))
+                    (lib (string-append dev "/lib"))
+                    (sbin (string-append out "/sbin"))
+                    (share (string-append out "/share")))
+               ;; Remove unnecessary variables and
+               ;; correct values for version and prefix.
+               (substitute* "Makefile"
+                 (("GIT2LOG.*\\:=.*$") "")
+                 (("GITDEPS.*\\:=.*$") "")
+                 (("BRANCH.*\\:=.*$") "")
+                 (("VERSION.*\\:=.*$")
+                  (string-append "VERSION := " ,version "\n"))
+                 (("LIBDIR.*\\?=.*$")
+                  (string-append "LIBDIR ?= " lib "\n"))
+                 (("/usr/include") include)
+                 (("/(usr|var)/(lib|lib64)") lib)
+                 (("/usr/sbin") sbin)
+                 (("/usr/share") share)
+                 (("\\$\\(DESTDIR\\)/sbin ") ""))
+               ;; Add output "dev" to the run-path.
+               (substitute* "Makefile.common"
+                 (("-Lsrc")
+                  (string-append "-Lsrc " "-Wl,-rpath=" lib)))
+               ;; Correct program name of the lexical analyzer.
+               (substitute* "src/isdn/cdb/Makefile"
+                 (("lex isdn_cdb.lex") "flex isdn_cdb.lex"))
+               ;; Patch pkgconfig file to point to output "dev".
+               (substitute* "hwinfo.pc.in"
+                 (("/usr") dev)))))
+         (delete 'configure)
+         (add-before 'build 'set-env
+           (lambda _
+             (setenv "CC" ,(cc-for-target))))
+         (replace 'build
+           (lambda _
+             (invoke "make" "shared"))))))
+    (native-inputs
+     `(("flex" ,flex)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libx86emu" ,libx86emu)
+       ("util-linux:lib" ,util-linux "lib")))
+    (synopsis "Hardware information tool")
+    (description "HwInfo is used to probe for the hardware present in the system.
+It can be used to generate a system overview log which can be later used for
+support.")
+    (license license:gpl2+)))
+
 (define-public ddcutil
   (package
     (name "ddcutil")
-- 
2.33.0





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


Received: (at control) by debbugs.gnu.org; 30 Aug 2021 20:34:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 30 16:34:07 2021
Received: from localhost ([127.0.0.1]:60442 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKnyl-0002ZM-E8
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 16:34:07 -0400
Received: from out0.migadu.com ([94.23.1.103]:22132)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKnyg-0002Yt-4I
 for control <at> debbugs.gnu.org; Mon, 30 Aug 2021 16:34:02 -0400
To: control <at> debbugs.gnu.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630355637;
 h=from:from:reply-to:subject:date:date:message-id:message-id:to:to:cc:
 mime-version:mime-version:content-type:content-type;
 bh=smjGtWXDEK7mCprmJwNfGWTYGFXhY36SGbjjowutI6I=;
 b=tKx7q0//sWWstSiDKy2cP/fVgGhObXVuM4K5a4H7WGCkW+taP7a7atw8I9wvkZNNVfSLga
 cO2lQnj/AsOGETi1Q7o63Czc1j1KV0fz/052/nAIQiV1TycasI2WkYhx6n2zi19feVY3Jp
 KuyI70RTHUQRZPTLrlkHykOJ/QBloEDAPgC6kB8n4XKrOIS23TnGhTSjMXHivyeA82bVwE
 jK/HoJBhtMaBCF3rglPPxNARQp5pntLk9M1laqUo4BUSVRaR57nfoEJ1FpfrTT8/eSTSNj
 xuQ9niEJjRvpRtaE+T4SgMybcF8K4pHqKUO6fpcwF3h07gDDsxgaTX4Hh+bocQ==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Raghav Gururajan <rg@HIDDEN>
Message-ID: <f35fbbbb-e552-4e27-0a5f-501c85bed433@HIDDEN>
Date: Mon, 30 Aug 2021 16:33:55 -0400
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="vl2bbd6MIStXXW9ImadGi6QjgOQzHPKcU"
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  merge 49934 50283 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [94.23.1.103 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [94.23.1.103 listed in wl.mailspike.net]
 1.8 MISSING_SUBJECT        Missing Subject: header
 0.2 NO_SUBJECT             Extra score for no subject
X-Debbugs-Envelope-To: control
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: 0.3 (/)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--vl2bbd6MIStXXW9ImadGi6QjgOQzHPKcU
Content-Type: multipart/mixed; boundary="KkPuhVrmdXGSXQFLJ9zQFPAyalvP5VnVt";
 protected-headers="v1"
From: Raghav Gururajan <rg@HIDDEN>
To: control <at> debbugs.gnu.org
Message-ID: <f35fbbbb-e552-4e27-0a5f-501c85bed433@HIDDEN>

--KkPuhVrmdXGSXQFLJ9zQFPAyalvP5VnVt
Content-Type: multipart/mixed;
 boundary="------------5D3CD5609094973C1578C7D6"
Content-Language: en-CA

This is a multi-part message in MIME format.
--------------5D3CD5609094973C1578C7D6
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

merge 49934 50283

--------------5D3CD5609094973C1578C7D6
Content-Type: application/pgp-keys;
 name="OpenPGP_0x5F5816647F8BE551.asc"
Content-Transfer-Encoding: quoted-printable
Content-Description: OpenPGP public key
Content-Disposition: attachment;
 filename="OpenPGP_0x5F5816647F8BE551.asc"

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX2ZCJBYJKwYBBAHaRw8BAQdAdiUK33kml2dYjrWidlr4/v0pmjpUv7hOsBN/oSl5wx7NL=
1Jh
Z2hhdiBHdXJ1cmFqYW4gKFJHKSA8cmdAcmFnaGF2Z3VydXJhamFuLm5hbWU+wpMEExYIADsFC=
wkI
BwIGFQoJCAsCBBYCAwECHgECF4ACGQEWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYRS1pwIbI=
wAK
CRBfWBZkf4vlUbYYAQCe+UaQKTg+iaEL0XAuhyZgiMNpjoqrvlZCAb8ahNLe3AEA1/v+k2EjE=
ap/
lfeUSxuzy4MvYXxRRJMZ1C+qJs7MIgPNPVJhZ2hhdiBHdXJ1cmFqYW4gKEVkdWNhdGlvbikgP=
GVk
dWNhdGlvbkByYWdoYXZndXJ1cmFqYW4ubmFtZT7CkAQTFggAOBYhBM0tXqqpjMs32pHWsF9YF=
mR/
i+VRBQJgE0xGAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEF9YFmR/i+VRQcQBALNRe=
1V/
5DKN8ZxyVQlzt4TdGUyNom7xJ6r23ANtcygxAQDBjw6NLXV3aYGDMVVmQPbdAnFiB/x1rpJsA=
wB/
1BSBDc05UmFnaGF2IEd1cnVyYWphbiAoRmluYW5jZSkgPGZpbmFuY2VAcmFnaGF2Z3VydXJha=
mFu
Lm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYBNMbwIbAwULCQgHAgYVC=
gkI
CwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUWnLAP914hb0IzSCiaj+XrcEBaIt/Q+KjRn2fj5A7=
V6Z
ucJJqwEA64eks7xjLBS3mpTpaGwdDtluJcR7G8XZJJdbdK2YyQ/NN1JhZ2hhdiBHdXJ1cmFqY=
W4g
KEhlYWx0aCkgPGhlYWx0aEByYWdoYXZndXJ1cmFqYW4ubmFtZT7CkAQTFggAOBYhBM0tXqqpj=
Ms3
2pHWsF9YFmR/i+VRBQJgE0yhAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEF9YFmR/i=
+VR
xdcA/3YxFzlKKHrTguDxE1tBWD31BUYlXWl351j6MB/U+tWdAPwJB8QD8janaddv3U5ZGzswf=
hQv
GGzx6SLcX0E253uNC80/UmFnaGF2IEd1cnVyYWphbiAoT2NjdXBhdGlvbikgPG9jY3VwYXRpb=
25A
cmFnaGF2Z3VydXJhamFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCY=
BNM
ugIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUSrlAP0VJw8frvWHAGd6l=
Zdy
x1v+relUGB4DToqDgIMBQyG58gD+NU5t4h0IY6YaiQ+FPyJzdV62k15d9IDvTMYPvcWIpQPNP=
1Jh
Z2hhdiBHdXJ1cmFqYW4gKFJlY3JlYXRpb24pIDxyZWNyZWF0aW9uQHJhZ2hhdmd1cnVyYWphb=
i5u
YW1lPsKQBBMWCAA4FiEEzS1eqqmMyzfakdawX1gWZH+L5VEFAmATTNkCGwMFCwkIBwIGFQoJC=
AsC
BBYCAwECHgECF4AACgkQX1gWZH+L5VHhbQD/b6jXWdQfxi+xzrs1+A0lvnihfUgQ0H/r5U2bO=
w9d
FIkA/0nCh0VJKX+YrySJhWugL7e8ItqwKADh0v05vO6qtlkAzTdSYWdoYXYgR3VydXJhamFuI=
ChT
b2NpYWwpIDxzb2NpYWxAcmFnaGF2Z3VydXJhamFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN=
9qR
1rBfWBZkf4vlUQUCYBNM8AIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlU=
dtv
AQCKMxBdxwMUJdyigGWqrTuJUaLVL2dgvqGa0k39nsQA8gD+PH3LsQAaJ98xREKxYXMAszNnJ=
RJR
xYa9trfixyQbrw7NNVJhZ2hhdiBHdXJ1cmFqYW4gKFRyYWRlKSA8dHJhZGVAcmFnaGF2Z3Vyd=
XJh
amFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYBNNHQIbAwULCQgHA=
gYV
CgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUQ+9AP0S/6S5PLshS/vz7ezRO2HokruaRiDhg=
w0t
yRM3LAefSQEA7rEBw9sSUsDgRILGKUi1ZzQq5AJ0F77KOXyurVqnywXOOARfZkIkEgorBgEEA=
ZdV
AQUBAQdAZgiqc2NhH/myrCCan9x7gKI6QBPZ/1b+Bz/f3n95ozkDAQgHwngEGBYIACAWIQTNL=
V6q
qYzLN9qR1rBfWBZkf4vlUQUCX2ZCJAIbDAAKCRBfWBZkf4vlUV/OAQD+tMNgmddPSchLpaDPp=
sdD
hpvra2uTonNUmnfbTvPgpQD/dG72NCT8hBUVqtzxwQmBrXY/nPEUxctYuvu3unUmzQU=3D
=3DooAX
-----END PGP PUBLIC KEY BLOCK-----

--------------5D3CD5609094973C1578C7D6--

--KkPuhVrmdXGSXQFLJ9zQFPAyalvP5VnVt--

--vl2bbd6MIStXXW9ImadGi6QjgOQzHPKcU
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

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

wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYS1AswUDAAAAAAAKCRBfWBZkf4vlUYCC
AQCYzaw9w7tp/mgxB9bblo9PR42mZK9cOsU855L8APIzZAEA5mpxcObmMqNJ+HT/u3J3s+Krzl3K
GREn+MjwVPySAgM=
=agSa
-----END PGP SIGNATURE-----

--vl2bbd6MIStXXW9ImadGi6QjgOQzHPKcU--




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] [PATCH v2 1/2] gnu: Add libx86emu.
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
In-Reply-To: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
Resent-From: Raghav Gururajan <rg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 22:28:02 +0000
Resent-Message-ID: <handler.50283.B50283.163036245114334 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 50283 <at> debbugs.gnu.org
Cc: Raghav Gururajan <rg@HIDDEN>, phodina@HIDDEN, Vincent Legoll <vincent.legoll@HIDDEN>
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.163036245114334
          (code B ref 50283); Mon, 30 Aug 2021 22:28:02 +0000
Received: (at 50283) by debbugs.gnu.org; 30 Aug 2021 22:27:31 +0000
Received: from localhost ([127.0.0.1]:60563 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKpkZ-0003j8-4r
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 18:27:31 -0400
Received: from out1.migadu.com ([91.121.223.63]:20517)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKpkV-0003im-Gh
 for 50283 <at> debbugs.gnu.org; Mon, 30 Aug 2021 18:27:30 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630362445;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=ww2H86yAMDtA+Y4dmcJ8MusUvLt4QHbgQSw7ms8B6oo=;
 b=gudKEA14WC5ZT3ycPMYddAqHozF/a2PcQ0+5fdXZ2QhE49OsIUMqgGfOSpl3BH61oSdtDR
 YlJ/9Az0XroxKx3tWS5iC5HzWg50PvJoPFuqkr6nP7fBYmpTW8SQb5fUhs1aGPrPwehTpJ
 hgV9gIbCA4Xqmly1fMgdBl4zduwyeXkHd+oYaZfjzQlL8m6agyQQqiCwjIgmdY8IAMpR8F
 kq+knxH43c1umCEo2GgiDTr1T2F9xqgkPGtpjzYz1411rdvXvPBTHmoelSxprNw+RLxTDL
 Ff9YdeZ+MPa2p9lDOKesr+xpQbuIi8bR3Drx4dEKc9+sAxtwPyJz056DHfR41A==
From: Raghav Gururajan <rg@HIDDEN>
Date: Mon, 30 Aug 2021 18:27:11 -0400
Message-Id: <20210830222712.14136-1-rg@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

* gnu/packages/virtualization.scm (libx86emu): New variable.

Co-authored-by: Petr Hodina <phodina@HIDDEN>
Co-authored-by: Vincent Legoll <vincent.legoll@HIDDEN>
---
 gnu/packages/virtualization.scm | 71 +++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index e952c009b5..e1954ceb71 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -20,6 +20,9 @@
 ;;; Copyright © 2021 Leo Famulari <leo@HIDDEN>
 ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@HIDDEN>
 ;;; Copyright © 2021 Dion Mendel <guix@HIDDEN>
+;;; Copyright © 2021 Vincent Legoll <vincent.legoll@HIDDEN>
+;;; Copyright © 2021 Petr Hodina <phodina@HIDDEN>
+;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -130,6 +133,74 @@
   #:use-module (srfi srfi-26)
   #:use-module (ice-9 match))
 
+(define-public libx86emu
+  (package
+    (name "libx86emu")
+    (version "3.1")
+    (home-page "https://github.com/wfeldt/libx86emu")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url home-page)
+         (commit version)))
+       (file-name (git-file-name name version))
+       (modules
+        '((guix build utils)))
+       (snippet
+        `(begin
+           ;; Remove git2log program file.
+           (delete-file "git2log")
+           ;; Remove variables that depends on git2log.
+           (substitute* "Makefile"
+             (("GIT2LOG.*=.*$") "")
+             (("GITDEPS.*=.*$") "")
+             (("BRANCH.*=.*$") ""))
+           #t))
+       (sha256
+        (base32 "104xqc6nj9rpi7knl3dfqvasf087hlz2n5yndb1iycw35a6j509b"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:test-target "test"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (include (string-append out "/include"))
+                    (lib (string-append out "/lib")))
+               ;; Correct the values of version and install directories.
+               (substitute* "Makefile"
+                 (("VERSION.*=.*$")
+                  (string-append "VERSION := "
+                                 ,version "\n"))
+                 (("PREFIX.*=.*$")
+                  (string-append "PREFIX := " out "\n"))
+                 (("MAJOR_VERSION.*=.*$")
+                  (string-append "MAJOR_VERSION := "
+                                 ,(version-major version) "\n"))
+                 (("LIBDIR.*=.*$")
+                  (string-append "LIBDIR = " lib "\n"))
+                 (("/usr/include") include)))))
+         (delete 'configure))))         ; no configure script
+    (native-inputs
+     `(("nasm" ,nasm)
+       ("perl" ,perl)))
+    (synopsis "Library for x86 emulation")
+    (description "Libx86emu is a small library to emulate x86 instructions.  The
+focus here is not a complete emulation but to cover enough for typical
+firmware blobs.  You can,
+@enumerate
+@item intercept any memory access or directly map real memory ranges
+@item intercept any i/o access, map real i/o ports, or block any real i/o
+@item intercept any interrupt
+@item provides a hook to run after each instruction
+@item recognize a special x86 instruction that can trigger logging
+@item use integrated logging
+@end enumerate")
+    (license license:isc)))
+
 (define (qemu-patch commit file-name sha256-bv)
   "Return an origin for COMMIT."
   (origin
-- 
2.33.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] [PATCH v2 2/2] gnu: Add hwinfo.
Resent-From: Raghav Gururajan <rg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 22:28:02 +0000
Resent-Message-ID: <handler.50283.B50283.163036245614353 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 50283 <at> debbugs.gnu.org
Cc: Raghav Gururajan <rg@HIDDEN>, phodina@HIDDEN
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.163036245614353
          (code B ref 50283); Mon, 30 Aug 2021 22:28:02 +0000
Received: (at 50283) by debbugs.gnu.org; 30 Aug 2021 22:27:36 +0000
Received: from localhost ([127.0.0.1]:60565 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKpkd-0003jQ-Hm
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 18:27:36 -0400
Received: from out1.migadu.com ([91.121.223.63]:20529)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKpkX-0003it-N4
 for 50283 <at> debbugs.gnu.org; Mon, 30 Aug 2021 18:27:30 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630362448;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=MwMKmbainskvFWUQJ6bqul0B+jOfF5n6jQznzrBV6Zs=;
 b=SahmCUC99nOWIR4ZssF7rvbvVa3sAzde7oUPso8/0fmxjpx8uho2wackwiDgpOaM4WP/u7
 WWt1/RbtDJZSqmRK1dhX6wQ3NMdNXJXtnNV9D0jH1cLXORb1x/7lqCs67lpPlZs3uhnNRS
 +aiS3iPDSXftVprwA8EPGQdGHYYFLkDWIqK4kZG15U1pbkTpvlcY/397NiF9tFCTf/Ehjz
 tKsGrYnK1AvcuX8hwY5YMFLzrtYspAY2TqlvfX2UImlyU8FHqZO8EkdoVhSPTH5roEiF0Z
 X1sgctg/HkdVL43smUqZElmZiVRHB7uVzNcEdE4ozA7BpARLoX+OYPbxS2pXPQ==
From: Raghav Gururajan <rg@HIDDEN>
Date: Mon, 30 Aug 2021 18:27:12 -0400
Message-Id: <20210830222712.14136-2-rg@HIDDEN>
In-Reply-To: <20210830222712.14136-1-rg@HIDDEN>
References: <20210830222712.14136-1-rg@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

* gnu/packages/hardware.scm (hwinfo): New variable.

Co-authored-by: Petr Hodina <phodina@HIDDEN>
---
 gnu/packages/hardware.scm | 109 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 109 insertions(+)

diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index ff21c9c724..d000ab8ce6 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -5,6 +5,8 @@
 ;;; Copyright © 2021 Evgeny Pisemsky <evgeny@HIDDEN>
 ;;; Copyright © 2021 Léo Le Bouter <lle-bout@HIDDEN>
 ;;; Copyright © 2021 Denis Carikli <GNUtoo@HIDDEN>
+;;; Copyright © 2021 Petr Hodina <phodina@HIDDEN>
+;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,6 +33,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
@@ -49,6 +52,7 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages virtualization)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
@@ -66,6 +70,111 @@
 ;; This is a module for packages related to physical hardware that don't (yet)
 ;; have a more specific home like gps.scm, security-token.scm, &c.
 
+(define-public hwinfo
+  (package
+    (name "hwinfo")
+    (version "21.76")
+    (home-page "https://github.com/openSUSE/hwinfo")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url home-page)
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1910wzpdyp1ma1z2v0dripaljgrpl7vjq0f6b7qq9y220899hihb"))
+       (modules
+        '((guix build utils)))
+       (snippet
+        `(begin
+           ;; Remove git2log program file.
+           (delete-file "git2log")
+           ;; Remove variables that depends on git2log.
+           (substitute* "Makefile"
+             (("GIT2LOG.*\\:=.*$") "")
+             (("GITDEPS.*\\:=.*$") "")
+             (("BRANCH.*\\:=.*$") ""))
+           ;; Create version file.
+           (call-with-output-file "VERSION"
+             (lambda (port)
+               (format port ,version)))
+           #t))))
+    (build-system gnu-build-system)
+    (outputs '("out" "dev" "doc"))
+    (arguments
+     `(#:tests? #f                      ; no test-suite available
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (dev (assoc-ref outputs "dev"))
+                    (doc (assoc-ref outputs "doc"))
+                    (incl-dir (string-append dev "/include"))
+                    (lib-dir (string-append dev "/lib"))
+                    (sbin-dir (string-append out "/sbin"))
+                    (share-dir (string-append out "/share"))
+                    (doc-dir (string-append doc "/share/doc")))
+               ;; Generate HTML documentation in the output "doc".
+               (mkdir-p doc-dir)
+               (substitute* "doc/libhd.doxy"
+                 (("OUTPUT_DIRECTORY.*=.*libhd")
+                  (string-append "OUTPUT_DIRECTORY = " doc-dir "/libhd")))
+               ;; Correct values of the version and install directories.
+               (substitute* "Makefile"
+                 (("VERSION.*\\:=.*$")
+                  (string-append "VERSION := " ,version "\n"))
+                 (("LIBDIR.*\\?=.*$")
+                  (string-append "LIBDIR ?= " lib-dir "\n"))
+                 (("/usr/include") incl-dir)
+                 (("/(usr|var)/(lib|lib64)") lib-dir)
+                 (("/usr/sbin") sbin-dir)
+                 (("/usr/share") share-dir)
+                 (("\\$\\(DESTDIR\\)/sbin ") ""))
+               ;; Add output "dev" to the run-path.
+               (substitute* "Makefile.common"
+                 (("-Lsrc")
+                  (string-append "-Lsrc " "-Wl,-rpath=" lib-dir)))
+               ;; Correct program name of the lexical analyzer.
+               (substitute* "src/isdn/cdb/Makefile"
+                 (("lex isdn_cdb.lex") "flex isdn_cdb.lex"))
+               ;; Patch pkgconfig file to point to output "dev".
+               (substitute* "hwinfo.pc.in"
+                 (("/usr") dev)))))
+         (delete 'configure)
+         (replace 'build
+           (lambda _
+             (setenv "CC" ,(cc-for-target))
+             (invoke "make" "shared")
+             (invoke "make" "doc")))
+         (add-after 'install 'install-manpages
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (man-dir (string-append out "/share/man"))
+                    (man1-dir (string-append man-dir "/man1"))
+                    (man8-dir (string-append man-dir "/man8")))
+               (for-each
+                (lambda (x) (install-file x man1-dir))
+                (find-files "doc" "\\.1$"))
+               (for-each
+                (lambda (y) (install-file y man8-dir))
+                (find-files "doc" "\\.8$"))))))))
+    (native-inputs
+     `(("doxygen" ,doxygen)
+       ("flex" ,flex)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libx86emu" ,libx86emu)
+       ("util-linux:lib" ,util-linux "lib")))
+    (synopsis "Hardware information tool")
+    (description "HwInfo is used to probe for the hardware present in the system.
+It can be used to generate a system overview log which can be later used for
+support.")
+    (license license:gpl2+)))
+
 (define-public ddcutil
   (package
     (name "ddcutil")
-- 
2.33.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] [PATCH v1 1/2] gnu: Add libx86emu.
Resent-From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 23:14:02 +0000
Resent-Message-ID: <handler.50283.B50283.163036522419346 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Raghav Gururajan <rg@HIDDEN>
Cc: 50283 <at> debbugs.gnu.org
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.163036522419346
          (code B ref 50283); Mon, 30 Aug 2021 23:14:02 +0000
Received: (at 50283) by debbugs.gnu.org; 30 Aug 2021 23:13:44 +0000
Received: from localhost ([127.0.0.1]:60585 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKqTE-00051t-06
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 19:13:44 -0400
Received: from pelzflorian.de ([5.45.111.108]:41408 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1mKqT7-00051h-Rh
 for 50283 <at> debbugs.gnu.org; Mon, 30 Aug 2021 19:13:38 -0400
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id 878DB360674;
 Tue, 31 Aug 2021 01:13:32 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1630365212;
 bh=EQ2ZtY/ezIa9n8aW629AxNNVRVD+X6OhxoAsYaHJw+s=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=Jb8HthUmU6g4pWG4kHzJMUAk6aQqXIwfAumT6iDmaFoV5cRaUu+6gWZS3LkW9cZGt
 yvnhzmiNBRKv6fhF+zlG+Owe+5uEJCbFfzJfDOfN06zta6ved1UYwcxFAB0UlcEdLY
 Lr/8IkAX1wk7FcRBsSldrodSpTFjNOPMYPmaJYBY=
Date: Tue, 31 Aug 2021 01:13:23 +0200
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Message-ID: <20210830231323.e2ybja6ui5xmal6t@HIDDEN>
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
 <20210830193525.2288-1-rg@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20210830193525.2288-1-rg@HIDDEN>
X-Spam-Score: 0.0 (/)
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 (-)

Hi Raghav,

On Mon, Aug 30, 2021 at 03:35:24PM -0400, Raghav Gururajan via Guix-patches via wrote:
> * gnu/packages/virtualization.scm (libx86emu): New variable.
> […]
> +    (license license:isc)))

This is the third time someone submits libx86emu. :D

https://issues.guix.gnu.org/49934

https://issues.guix.gnu.org/45744.

Your patch looks good (I am not very familiar with packaging habits
and have not tested though), but isn’t this license:x11-style?

Regards,
Florian




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] HwInfo
Resent-From: Raghav Gururajan <rg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 23:28:02 +0000
Resent-Message-ID: <handler.50283.B50283.163036606820728 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Cc: 50283 <at> debbugs.gnu.org
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.163036606820728
          (code B ref 50283); Mon, 30 Aug 2021 23:28:02 +0000
Received: (at 50283) by debbugs.gnu.org; 30 Aug 2021 23:27:48 +0000
Received: from localhost ([127.0.0.1]:60595 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKqgq-0005OC-GZ
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 19:27:48 -0400
Received: from out1.migadu.com ([91.121.223.63]:35628)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKqgj-0005Ny-GJ
 for 50283 <at> debbugs.gnu.org; Mon, 30 Aug 2021 19:27:42 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630366055;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=Sf2tVczLOvGaP9VZPScT8x18tzd+47f7R+ahoG+zdB8=;
 b=CQoA4neiII3Wmbo4VbNhCKDhtS6vHyhWiGGwS6mxnjOm/hFtWDtApZ7WpEsDdSL7Yfbrm7
 PgQUyVAtrVNNK2Biya+jJ5TNLXKuN5XV9siHkjKxwkrXz3Nmj+kenYNVW7/yuVUivFJS9x
 KaoV2WyhiUgJRbG+TNj5UARhm+d5LBggJtHfUDfXdptNDTLxUOBCZE0O2qoei9vMuEZ/qS
 wzKFV4C44xGVEcGMUtC1M3H7uii4yV5waibN501+V9z0hlUIpciG90JIPaP2YuI1gOxFqd
 BNxYWeqLT5n1qzXJrpeuz516OxxqGuYQG9sEjl0geUEkGgZyhlvFU4BH5No6NA==
From: Raghav Gururajan <rg@HIDDEN>
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
 <20210830193525.2288-1-rg@HIDDEN>
 <20210830231323.e2ybja6ui5xmal6t@HIDDEN>
Message-ID: <fae81651-2457-ca7e-f2e6-17b624a250f1@HIDDEN>
Date: Mon, 30 Aug 2021 19:27:33 -0400
MIME-Version: 1.0
In-Reply-To: <20210830231323.e2ybja6ui5xmal6t@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="ByuuqNki43uaOlIhMRZENtU3lvL44sp5s"
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.7 (/)
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.7 (-)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ByuuqNki43uaOlIhMRZENtU3lvL44sp5s
Content-Type: multipart/mixed; boundary="kkiS8c2wA3X9aj9LjdXPjJAn3JwG0oe7q";
 protected-headers="v1"
From: Raghav Gururajan <rg@HIDDEN>
To: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Cc: 50283 <at> debbugs.gnu.org
Message-ID: <fae81651-2457-ca7e-f2e6-17b624a250f1@HIDDEN>
Subject: Re: HwInfo
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
 <20210830193525.2288-1-rg@HIDDEN>
 <20210830231323.e2ybja6ui5xmal6t@HIDDEN>
In-Reply-To: <20210830231323.e2ybja6ui5xmal6t@HIDDEN>

--kkiS8c2wA3X9aj9LjdXPjJAn3JwG0oe7q
Content-Type: multipart/mixed;
 boundary="------------649A86CE0412B50E3206C506"
Content-Language: en-CA

This is a multi-part message in MIME format.
--------------649A86CE0412B50E3206C506
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi Florian!

> This is the third time someone submits libx86emu. :D
>=20
> https://issues.guix.gnu.org/49934
>=20
> https://issues.guix.gnu.org/45744.

Yeah, I was informed in IRC after I sent this patch-set.

I have combined the patches into one and sent v2 to this thread.

> Your patch looks good (I am not very familiar with packaging habits
> and have not tested though), but isn=E2=80=99t this license:x11-style?

The wordings coincide with ISC and expat. Should I mention non-copyleft=20
instead?

Regards,
RG.

--------------649A86CE0412B50E3206C506
Content-Type: application/pgp-keys;
 name="OpenPGP_0x5F5816647F8BE551.asc"
Content-Transfer-Encoding: quoted-printable
Content-Description: OpenPGP public key
Content-Disposition: attachment;
 filename="OpenPGP_0x5F5816647F8BE551.asc"

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX2ZCJBYJKwYBBAHaRw8BAQdAdiUK33kml2dYjrWidlr4/v0pmjpUv7hOsBN/oSl5wx7NL=
1Jh
Z2hhdiBHdXJ1cmFqYW4gKFJHKSA8cmdAcmFnaGF2Z3VydXJhamFuLm5hbWU+wpMEExYIADsFC=
wkI
BwIGFQoJCAsCBBYCAwECHgECF4ACGQEWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYRS1pwIbI=
wAK
CRBfWBZkf4vlUbYYAQCe+UaQKTg+iaEL0XAuhyZgiMNpjoqrvlZCAb8ahNLe3AEA1/v+k2EjE=
ap/
lfeUSxuzy4MvYXxRRJMZ1C+qJs7MIgPNPVJhZ2hhdiBHdXJ1cmFqYW4gKEVkdWNhdGlvbikgP=
GVk
dWNhdGlvbkByYWdoYXZndXJ1cmFqYW4ubmFtZT7CkAQTFggAOBYhBM0tXqqpjMs32pHWsF9YF=
mR/
i+VRBQJgE0xGAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEF9YFmR/i+VRQcQBALNRe=
1V/
5DKN8ZxyVQlzt4TdGUyNom7xJ6r23ANtcygxAQDBjw6NLXV3aYGDMVVmQPbdAnFiB/x1rpJsA=
wB/
1BSBDc05UmFnaGF2IEd1cnVyYWphbiAoRmluYW5jZSkgPGZpbmFuY2VAcmFnaGF2Z3VydXJha=
mFu
Lm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYBNMbwIbAwULCQgHAgYVC=
gkI
CwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUWnLAP914hb0IzSCiaj+XrcEBaIt/Q+KjRn2fj5A7=
V6Z
ucJJqwEA64eks7xjLBS3mpTpaGwdDtluJcR7G8XZJJdbdK2YyQ/NN1JhZ2hhdiBHdXJ1cmFqY=
W4g
KEhlYWx0aCkgPGhlYWx0aEByYWdoYXZndXJ1cmFqYW4ubmFtZT7CkAQTFggAOBYhBM0tXqqpj=
Ms3
2pHWsF9YFmR/i+VRBQJgE0yhAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEF9YFmR/i=
+VR
xdcA/3YxFzlKKHrTguDxE1tBWD31BUYlXWl351j6MB/U+tWdAPwJB8QD8janaddv3U5ZGzswf=
hQv
GGzx6SLcX0E253uNC80/UmFnaGF2IEd1cnVyYWphbiAoT2NjdXBhdGlvbikgPG9jY3VwYXRpb=
25A
cmFnaGF2Z3VydXJhamFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCY=
BNM
ugIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUSrlAP0VJw8frvWHAGd6l=
Zdy
x1v+relUGB4DToqDgIMBQyG58gD+NU5t4h0IY6YaiQ+FPyJzdV62k15d9IDvTMYPvcWIpQPNP=
1Jh
Z2hhdiBHdXJ1cmFqYW4gKFJlY3JlYXRpb24pIDxyZWNyZWF0aW9uQHJhZ2hhdmd1cnVyYWphb=
i5u
YW1lPsKQBBMWCAA4FiEEzS1eqqmMyzfakdawX1gWZH+L5VEFAmATTNkCGwMFCwkIBwIGFQoJC=
AsC
BBYCAwECHgECF4AACgkQX1gWZH+L5VHhbQD/b6jXWdQfxi+xzrs1+A0lvnihfUgQ0H/r5U2bO=
w9d
FIkA/0nCh0VJKX+YrySJhWugL7e8ItqwKADh0v05vO6qtlkAzTdSYWdoYXYgR3VydXJhamFuI=
ChT
b2NpYWwpIDxzb2NpYWxAcmFnaGF2Z3VydXJhamFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN=
9qR
1rBfWBZkf4vlUQUCYBNM8AIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlU=
dtv
AQCKMxBdxwMUJdyigGWqrTuJUaLVL2dgvqGa0k39nsQA8gD+PH3LsQAaJ98xREKxYXMAszNnJ=
RJR
xYa9trfixyQbrw7NNVJhZ2hhdiBHdXJ1cmFqYW4gKFRyYWRlKSA8dHJhZGVAcmFnaGF2Z3Vyd=
XJh
amFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYBNNHQIbAwULCQgHA=
gYV
CgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUQ+9AP0S/6S5PLshS/vz7ezRO2HokruaRiDhg=
w0t
yRM3LAefSQEA7rEBw9sSUsDgRILGKUi1ZzQq5AJ0F77KOXyurVqnywXOOARfZkIkEgorBgEEA=
ZdV
AQUBAQdAZgiqc2NhH/myrCCan9x7gKI6QBPZ/1b+Bz/f3n95ozkDAQgHwngEGBYIACAWIQTNL=
V6q
qYzLN9qR1rBfWBZkf4vlUQUCX2ZCJAIbDAAKCRBfWBZkf4vlUV/OAQD+tMNgmddPSchLpaDPp=
sdD
hpvra2uTonNUmnfbTvPgpQD/dG72NCT8hBUVqtzxwQmBrXY/nPEUxctYuvu3unUmzQU=3D
=3DooAX
-----END PGP PUBLIC KEY BLOCK-----

--------------649A86CE0412B50E3206C506--

--kkiS8c2wA3X9aj9LjdXPjJAn3JwG0oe7q--

--ByuuqNki43uaOlIhMRZENtU3lvL44sp5s
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

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

wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYS1pZQUDAAAAAAAKCRBfWBZkf4vlUW+R
AP4v9ixH4XMjS6AG3VaRZV7LJ8Xd0LHaXlin9UVCgVWMrgD+P13PTQXHvUi22R9+Rxtiwiz6GlBA
n2BP/9llbnEjWA8=
=dXhk
-----END PGP SIGNATURE-----

--ByuuqNki43uaOlIhMRZENtU3lvL44sp5s--




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] [PATCH v3 2/2] gnu: Add hwinfo.
Resent-From: Raghav Gururajan <rg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 23:35:02 +0000
Resent-Message-ID: <handler.50283.B50283.163036645421415 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 50283 <at> debbugs.gnu.org
Cc: Raghav Gururajan <rg@HIDDEN>, Petr Hodina <phodina@HIDDEN>
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.163036645421415
          (code B ref 50283); Mon, 30 Aug 2021 23:35:02 +0000
Received: (at 50283) by debbugs.gnu.org; 30 Aug 2021 23:34:14 +0000
Received: from localhost ([127.0.0.1]:60602 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKqn3-0005ZB-9p
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 19:34:13 -0400
Received: from out2.migadu.com ([188.165.223.204]:56062)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKqn1-0005Z3-7H
 for 50283 <at> debbugs.gnu.org; Mon, 30 Aug 2021 19:34:08 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630366446;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=MwMKmbainskvFWUQJ6bqul0B+jOfF5n6jQznzrBV6Zs=;
 b=fGCbuo+gMmeZdbRLELAxaXxnGkbHYYnVj2dpaOz264sDx/jW50JjiGFOWt3SiTjBSQoQuE
 0o8Lk+Z75wwXCniNoqqt/Ly7dMvnBzuO8+oGsBH9ixE/4heOTxIpGRTexI3J+S9g5qz7lO
 FvQNlqICQBEDKW3Xqwf122E/zqPBZFqXdxLT30esj4N4me/78gGi/6A98BV29dIAatlpF3
 hBoRIIGL4TfcfwJAo1iZTzLZcXw89+8TGS78f4yT3/AtEy6eAdeDY/ERsFPG+POTqYlFUQ
 CmLTF3ZJIfGcu3Ju0ONkvFX4SqYgz98cAvKe6RkJ6MtKBJEwLM0EgSUVSYE0sg==
From: Raghav Gururajan <rg@HIDDEN>
Date: Mon, 30 Aug 2021 19:33:53 -0400
Message-Id: <20210830233353.19811-2-rg@HIDDEN>
In-Reply-To: <20210830233353.19811-1-rg@HIDDEN>
References: <20210830233353.19811-1-rg@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.0 (/)
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/hardware.scm (hwinfo): New variable.

Co-authored-by: Petr Hodina <phodina@HIDDEN>
---
 gnu/packages/hardware.scm | 109 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 109 insertions(+)

diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index ff21c9c724..d000ab8ce6 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -5,6 +5,8 @@
 ;;; Copyright © 2021 Evgeny Pisemsky <evgeny@HIDDEN>
 ;;; Copyright © 2021 Léo Le Bouter <lle-bout@HIDDEN>
 ;;; Copyright © 2021 Denis Carikli <GNUtoo@HIDDEN>
+;;; Copyright © 2021 Petr Hodina <phodina@HIDDEN>
+;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,6 +33,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
@@ -49,6 +52,7 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages virtualization)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
@@ -66,6 +70,111 @@
 ;; This is a module for packages related to physical hardware that don't (yet)
 ;; have a more specific home like gps.scm, security-token.scm, &c.
 
+(define-public hwinfo
+  (package
+    (name "hwinfo")
+    (version "21.76")
+    (home-page "https://github.com/openSUSE/hwinfo")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url home-page)
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1910wzpdyp1ma1z2v0dripaljgrpl7vjq0f6b7qq9y220899hihb"))
+       (modules
+        '((guix build utils)))
+       (snippet
+        `(begin
+           ;; Remove git2log program file.
+           (delete-file "git2log")
+           ;; Remove variables that depends on git2log.
+           (substitute* "Makefile"
+             (("GIT2LOG.*\\:=.*$") "")
+             (("GITDEPS.*\\:=.*$") "")
+             (("BRANCH.*\\:=.*$") ""))
+           ;; Create version file.
+           (call-with-output-file "VERSION"
+             (lambda (port)
+               (format port ,version)))
+           #t))))
+    (build-system gnu-build-system)
+    (outputs '("out" "dev" "doc"))
+    (arguments
+     `(#:tests? #f                      ; no test-suite available
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (dev (assoc-ref outputs "dev"))
+                    (doc (assoc-ref outputs "doc"))
+                    (incl-dir (string-append dev "/include"))
+                    (lib-dir (string-append dev "/lib"))
+                    (sbin-dir (string-append out "/sbin"))
+                    (share-dir (string-append out "/share"))
+                    (doc-dir (string-append doc "/share/doc")))
+               ;; Generate HTML documentation in the output "doc".
+               (mkdir-p doc-dir)
+               (substitute* "doc/libhd.doxy"
+                 (("OUTPUT_DIRECTORY.*=.*libhd")
+                  (string-append "OUTPUT_DIRECTORY = " doc-dir "/libhd")))
+               ;; Correct values of the version and install directories.
+               (substitute* "Makefile"
+                 (("VERSION.*\\:=.*$")
+                  (string-append "VERSION := " ,version "\n"))
+                 (("LIBDIR.*\\?=.*$")
+                  (string-append "LIBDIR ?= " lib-dir "\n"))
+                 (("/usr/include") incl-dir)
+                 (("/(usr|var)/(lib|lib64)") lib-dir)
+                 (("/usr/sbin") sbin-dir)
+                 (("/usr/share") share-dir)
+                 (("\\$\\(DESTDIR\\)/sbin ") ""))
+               ;; Add output "dev" to the run-path.
+               (substitute* "Makefile.common"
+                 (("-Lsrc")
+                  (string-append "-Lsrc " "-Wl,-rpath=" lib-dir)))
+               ;; Correct program name of the lexical analyzer.
+               (substitute* "src/isdn/cdb/Makefile"
+                 (("lex isdn_cdb.lex") "flex isdn_cdb.lex"))
+               ;; Patch pkgconfig file to point to output "dev".
+               (substitute* "hwinfo.pc.in"
+                 (("/usr") dev)))))
+         (delete 'configure)
+         (replace 'build
+           (lambda _
+             (setenv "CC" ,(cc-for-target))
+             (invoke "make" "shared")
+             (invoke "make" "doc")))
+         (add-after 'install 'install-manpages
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (man-dir (string-append out "/share/man"))
+                    (man1-dir (string-append man-dir "/man1"))
+                    (man8-dir (string-append man-dir "/man8")))
+               (for-each
+                (lambda (x) (install-file x man1-dir))
+                (find-files "doc" "\\.1$"))
+               (for-each
+                (lambda (y) (install-file y man8-dir))
+                (find-files "doc" "\\.8$"))))))))
+    (native-inputs
+     `(("doxygen" ,doxygen)
+       ("flex" ,flex)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libx86emu" ,libx86emu)
+       ("util-linux:lib" ,util-linux "lib")))
+    (synopsis "Hardware information tool")
+    (description "HwInfo is used to probe for the hardware present in the system.
+It can be used to generate a system overview log which can be later used for
+support.")
+    (license license:gpl2+)))
+
 (define-public ddcutil
   (package
     (name "ddcutil")
-- 
2.33.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] [PATCH v3 1/2] gnu: Add libx86emu.
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
In-Reply-To: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
Resent-From: Raghav Gururajan <rg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 30 Aug 2021 23:35:02 +0000
Resent-Message-ID: <handler.50283.B50283.163036645421421 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 50283 <at> debbugs.gnu.org
Cc: Raghav Gururajan <rg@HIDDEN>, Petr Hodina <phodina@HIDDEN>, Vincent Legoll <vincent.legoll@HIDDEN>
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.163036645421421
          (code B ref 50283); Mon, 30 Aug 2021 23:35:02 +0000
Received: (at 50283) by debbugs.gnu.org; 30 Aug 2021 23:34:14 +0000
Received: from localhost ([127.0.0.1]:60604 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKqn7-0005ZM-Tz
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 19:34:14 -0400
Received: from out2.migadu.com ([188.165.223.204]:56054)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mKqn1-0005Z1-7c
 for 50283 <at> debbugs.gnu.org; Mon, 30 Aug 2021 19:34:10 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1630366445;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=Svhbotid4lU0HBjKbU0iY91EMpXpaC229lPUe055xpo=;
 b=faYcl1AZnY5aChVrDIF42cim+BB+8oNhD8efkneRhiCeaRgG68oOhKqtY5QNbwBCWLjpvk
 +I+U+QiNYVOM/IGj5kI4sSIjqjaFJWVPtpHNrmeE+5lxgtkQCJctP9532zcMbDQPmKVfHI
 Iwaujy6Y/Hkk2cRjBtkXKSKE1JcEwMqOAhidC22G0IXZQxtlB27vtiO2rW87raiwR8kcJA
 Lf5pojf9U1WBx7uDFbEmKMSnRcDbD7c3YZ2zMH+ZXasal3+T/vgQ2hQbxyu/Jl+3DVUS/8
 NK7NW+07nOf6oSznbjTY0KJBmXfTW3tztSO15rKScCnW9zJ7ZrkGWdjYpDESrw==
From: Raghav Gururajan <rg@HIDDEN>
Date: Mon, 30 Aug 2021 19:33:52 -0400
Message-Id: <20210830233353.19811-1-rg@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.0 (/)
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/virtualization.scm (libx86emu): New variable.

Co-authored-by: Petr Hodina <phodina@HIDDEN>
Co-authored-by: Vincent Legoll <vincent.legoll@HIDDEN>
---
 gnu/packages/virtualization.scm | 71 +++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index e952c009b5..5901524269 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -20,6 +20,9 @@
 ;;; Copyright © 2021 Leo Famulari <leo@HIDDEN>
 ;;; Copyright © 2021 Pierre Langlois <pierre.langlois@HIDDEN>
 ;;; Copyright © 2021 Dion Mendel <guix@HIDDEN>
+;;; Copyright © 2021 Vincent Legoll <vincent.legoll@HIDDEN>
+;;; Copyright © 2021 Petr Hodina <phodina@HIDDEN>
+;;; Copyright © 2021 Raghav Gururajan <rg@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -130,6 +133,74 @@
   #:use-module (srfi srfi-26)
   #:use-module (ice-9 match))
 
+(define-public libx86emu
+  (package
+    (name "libx86emu")
+    (version "3.1")
+    (home-page "https://github.com/wfeldt/libx86emu")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url home-page)
+         (commit version)))
+       (file-name (git-file-name name version))
+       (modules
+        '((guix build utils)))
+       (snippet
+        `(begin
+           ;; Remove git2log program file.
+           (delete-file "git2log")
+           ;; Remove variables that depends on git2log.
+           (substitute* "Makefile"
+             (("GIT2LOG.*=.*$") "")
+             (("GITDEPS.*=.*$") "")
+             (("BRANCH.*=.*$") ""))
+           #t))
+       (sha256
+        (base32 "104xqc6nj9rpi7knl3dfqvasf087hlz2n5yndb1iycw35a6j509b"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:test-target "test"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (include (string-append out "/include"))
+                    (lib (string-append out "/lib")))
+               ;; Correct the values of version and install directories.
+               (substitute* "Makefile"
+                 (("VERSION.*=.*$")
+                  (string-append "VERSION := "
+                                 ,version "\n"))
+                 (("PREFIX.*=.*$")
+                  (string-append "PREFIX := " out "\n"))
+                 (("MAJOR_VERSION.*=.*$")
+                  (string-append "MAJOR_VERSION := "
+                                 ,(version-major version) "\n"))
+                 (("LIBDIR.*=.*$")
+                  (string-append "LIBDIR = " lib "\n"))
+                 (("/usr/include") include)))))
+         (delete 'configure))))         ; no configure script
+    (native-inputs
+     `(("nasm" ,nasm)
+       ("perl" ,perl)))
+    (synopsis "Library for x86 emulation")
+    (description "Libx86emu is a small library to emulate x86 instructions.  The
+focus here is not a complete emulation but to cover enough for typical
+firmware blobs.  You can,
+@enumerate
+@item intercept any memory access or directly map real memory ranges
+@item intercept any i/o access, map real i/o ports, or block any real i/o
+@item intercept any interrupt
+@item provides a hook to run after each instruction
+@item recognize a special x86 instruction that can trigger logging
+@item use integrated logging
+@end enumerate")
+    (license (license:non-copyleft "file:///LICENSE"))))
+
 (define (qemu-patch commit file-name sha256-bv)
   "Return an origin for COMMIT."
   (origin
-- 
2.33.0





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] HwInfo
Resent-From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 31 Aug 2021 09:36:01 +0000
Resent-Message-ID: <handler.50283.B50283.16304025488115 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Raghav Gururajan <rg@HIDDEN>
Cc: 50283 <at> debbugs.gnu.org
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.16304025488115
          (code B ref 50283); Tue, 31 Aug 2021 09:36:01 +0000
Received: (at 50283) by debbugs.gnu.org; 31 Aug 2021 09:35:48 +0000
Received: from localhost ([127.0.0.1]:32958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mL0BI-00026p-FK
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 05:35:48 -0400
Received: from pelzflorian.de ([5.45.111.108]:41962 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1mL0BF-00026g-N9
 for 50283 <at> debbugs.gnu.org; Tue, 31 Aug 2021 05:35:47 -0400
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id 50A8E360674;
 Tue, 31 Aug 2021 11:35:44 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1630402544;
 bh=5LxhDhkEAug6Q8uY+8+IxS3hRX9wC2SGOYOs/5yZ5pM=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=4RurQtepzOXOwDVNULXatNlnHoIXSWwgu8ppXHSjqcdh4tJe+z1HGa1KQ0Z82MEi7
 mhhX8p5Rk9cNuJ4zu78daPvpiVdeLeAnWdtBt4LG4htsrt++rvCljgo+SqTjhh7+h0
 oPN6f0C8IZ7UI5MuBuXxATWvlpu2dfhTaFOLVQKo=
Date: Tue, 31 Aug 2021 11:35:36 +0200
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Message-ID: <20210831093536.nefel7is5l5crsk4@HIDDEN>
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
 <20210830193525.2288-1-rg@HIDDEN>
 <20210830231323.e2ybja6ui5xmal6t@HIDDEN>
 <fae81651-2457-ca7e-f2e6-17b624a250f1@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <fae81651-2457-ca7e-f2e6-17b624a250f1@HIDDEN>
X-Spam-Score: 0.0 (/)
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 (-)

Thank you for merging the others’ patches.

Could you change the grammar of the description as I wrote at
<https://issues.guix.gnu.org/49934#5>?

On Mon, Aug 30, 2021 at 07:27:33PM -0400, Raghav Gururajan wrote:
> > but isn’t this license:x11-style?
> The wordings coincide with ISC and expat. Should I mention non-copyleft
> instead?

The wording is the same as
<https://directory.fsf.org/wiki/License:Modified_X11> except for the
licensor’s name, so I thought it best be specified as x11-style.

Regards,
Florian




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] HwInfo
Resent-From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 31 Aug 2021 09:42:01 +0000
Resent-Message-ID: <handler.50283.B50283.16304029078971 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Raghav Gururajan <rg@HIDDEN>
Cc: 50283 <at> debbugs.gnu.org
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.16304029078971
          (code B ref 50283); Tue, 31 Aug 2021 09:42:01 +0000
Received: (at 50283) by debbugs.gnu.org; 31 Aug 2021 09:41:47 +0000
Received: from localhost ([127.0.0.1]:33048 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mL0H4-0002Kd-Sr
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 05:41:47 -0400
Received: from pelzflorian.de ([5.45.111.108]:41976 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1mL0H2-0002KV-Nf
 for 50283 <at> debbugs.gnu.org; Tue, 31 Aug 2021 05:41:45 -0400
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id F3A8E360674;
 Tue, 31 Aug 2021 11:41:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1630402904;
 bh=76ti0xpo2FqEvEm4jMQ2p2gtL1em/5Fuw8Ab5s+hc38=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=GbjzTE+vtAKDlgimO0pr+BXw5jbeDKk9ZD8blEjl/2WBfkXsDpAvpVvuscV66WjO9
 4FbErNU4Sda9mhcv05TK8egrObtp28nfznA1RLLPXHibLErL5yANvE5DYo6O1b2iBc
 8UTaiIOXsiJ7BKM1EkzCmKcK+BL2QT70gpJt4+3c=
Date: Tue, 31 Aug 2021 11:41:36 +0200
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Message-ID: <20210831094124.mlczfrwdfsl6dtez@HIDDEN>
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
 <20210830193525.2288-1-rg@HIDDEN>
 <20210830231323.e2ybja6ui5xmal6t@HIDDEN>
 <fae81651-2457-ca7e-f2e6-17b624a250f1@HIDDEN>
 <20210831093536.nefel7is5l5crsk4@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20210831093536.nefel7is5l5crsk4@HIDDEN>
X-Spam-Score: 0.0 (/)
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 (-)

On Tue, Aug 31, 2021 at 11:35:44AM +0200, pelzflorian (Florian Pelz) wrote:
> Thank you for merging the others’ patches.
> 
> Could you change the grammar of the description as I wrote at
> <https://issues.guix.gnu.org/49934#5>?

Oh you did, sorry.  It looks good to me except I did not notice maybe
instead of

You can,
@enumerate
[…]
@item provides a hook yo run after each instruction

it should be

You can  <--- no comma
@enumerate
[…]
@item add a hook yo run after each instruction


Regards,
Florian




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] HwInfo
Resent-From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 31 Aug 2021 09:49:02 +0000
Resent-Message-ID: <handler.50283.B50283.16304033219669 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Raghav Gururajan <rg@HIDDEN>
Cc: 50283 <at> debbugs.gnu.org
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.16304033219669
          (code B ref 50283); Tue, 31 Aug 2021 09:49:02 +0000
Received: (at 50283) by debbugs.gnu.org; 31 Aug 2021 09:48:41 +0000
Received: from localhost ([127.0.0.1]:33067 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mL0Nk-0002Vt-Rp
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 05:48:41 -0400
Received: from pelzflorian.de ([5.45.111.108]:41992 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1mL0Nj-0002Vl-Cn
 for 50283 <at> debbugs.gnu.org; Tue, 31 Aug 2021 05:48:39 -0400
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id 6EF8A360674;
 Tue, 31 Aug 2021 11:48:38 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1630403318;
 bh=gKnC72AC87CGMroNiQcfnJtiuOfv2OcDabD03GNdtek=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=hnMzzIeeHn36iWDP0/V+JTbIJKS8SVvfbomnmFJLio6creoo2sOHfwRTahGCe1G+v
 OeMmsfY0dRjHQv2Rntv0vRuYtd7Q6eLPTdwld+GJJ8sJXDYzut28OXenaF43Ftssy1
 FsFdq2BdlpwyOYEJ0nGql+5AmsZtk5+eEStSSOlw=
Date: Tue, 31 Aug 2021 11:48:30 +0200
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Message-ID: <20210831094748.aaw3u625bpaiibpe@HIDDEN>
References: <2c8e9e9d-c492-ea37-3414-c38e8bc4b2a1@HIDDEN>
 <20210830193525.2288-1-rg@HIDDEN>
 <20210830231323.e2ybja6ui5xmal6t@HIDDEN>
 <fae81651-2457-ca7e-f2e6-17b624a250f1@HIDDEN>
 <20210831093536.nefel7is5l5crsk4@HIDDEN>
 <20210831094124.mlczfrwdfsl6dtez@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20210831094124.mlczfrwdfsl6dtez@HIDDEN>
X-Spam-Score: 0.0 (/)
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 (-)

On Tue, Aug 31, 2021 at 11:41:36AM +0200, pelzflorian (Florian Pelz) wrote:
> @item add a hook yo run after each instruction

Oops I made a typo “to run” not “yo run”.  Funny typo of mine.  You
did not mistype.  Yo would be in the wrong language register.

Regards,
Florian




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#50283] [PATCH v3 2/2] gnu: Add hwinfo.
Resent-From: phodina <phodina@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 31 Aug 2021 11:20:02 +0000
Resent-Message-ID: <handler.50283.B50283.163040874919051 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 50283
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Raghav Gururajan <rg@HIDDEN>
Cc: 50283 <at> debbugs.gnu.org
Reply-To: phodina <phodina@HIDDEN>
Received: via spool by 50283-submit <at> debbugs.gnu.org id=B50283.163040874919051
          (code B ref 50283); Tue, 31 Aug 2021 11:20:02 +0000
Received: (at 50283) by debbugs.gnu.org; 31 Aug 2021 11:19:09 +0000
Received: from localhost ([127.0.0.1]:33167 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mL1nJ-0004xD-LQ
	for submit <at> debbugs.gnu.org; Tue, 31 Aug 2021 07:19:09 -0400
Received: from mail-40136.protonmail.ch ([185.70.40.136]:40064)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <phodina@HIDDEN>) id 1mL1nH-0004wp-SW
 for 50283 <at> debbugs.gnu.org; Tue, 31 Aug 2021 07:19:08 -0400
Date: Tue, 31 Aug 2021 11:18:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1630408741;
 bh=Ln8KuyPCv1JFoFGwT4lu/d0M7nQneltuBMrUMVh7rUI=;
 h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From;
 b=GSpYVgXXhdnk61mhyzoztaNGuo2p3jIpMCM4C46Kb0gF4cKXNzP2VhVsmdbm7+U89
 mLF8GPZs86jUjsQO4D+PAjL1NA+Y9/HYno6mYtRn0+tEznhS5MtO77nCGuuowYpQlT
 +NDlt90bsViyO2jkegtNkJq3pWqVSoJDf+ZT8n+M=
From: phodina <phodina@HIDDEN>
Message-ID: <Sv4MDv5eLZBT7eCXsZgrOkx1PakFEtMDhUD4ull4T1gFy2y6bR8UIw00BhVqciqzr_78Rd3DZ0_k5tq-bbrhy4DwFHSp-Q0XeGXurt_dXgg=@protonmail.com>
In-Reply-To: <20210830233353.19811-2-rg@HIDDEN>
References: <20210830233353.19811-1-rg@HIDDEN>
 <20210830233353.19811-2-rg@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
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 (-)

Hi Raghav,

thanks for the patches!

Just what about hw-probe package? Should I create a new version of the patc=
h?

PH






Last modified: Tue, 31 Aug 2021 11:30:01 UTC

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