GNU logs - #67755, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH] gnu: Add imhex.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 10 Dec 2023 20:20:02 +0000
Resent-Message-ID: <handler.67755.B.170223955515347 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.170223955515347
          (code B ref -1); Sun, 10 Dec 2023 20:20:02 +0000
Received: (at submit) by debbugs.gnu.org; 10 Dec 2023 20:19:15 +0000
Received: from localhost ([127.0.0.1]:51806 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rCQGg-0003zT-TU
	for submit <at> debbugs.gnu.org; Sun, 10 Dec 2023 15:19:15 -0500
Received: from lists.gnu.org ([2001:470:142::17]:34194)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1rCQGb-0003zB-Sx
 for submit <at> debbugs.gnu.org; Sun, 10 Dec 2023 15:19:14 -0500
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 <sergio.pastorperez@HIDDEN>)
 id 1rCQGH-0004uq-Sc
 for guix-patches@HIDDEN; Sun, 10 Dec 2023 15:18:49 -0500
Received: from mail-he1eur01olkn0831.outbound.protection.outlook.com
 ([2a01:111:f400:fe1e::831]
 helo=EUR01-HE1-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sergio.pastorperez@HIDDEN>)
 id 1rCQGG-0001HA-09
 for guix-patches@HIDDEN; Sun, 10 Dec 2023 15:18:49 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=FrIx+kVpN16qsoBRZdYRbH8EEHTyYp90i97HioFyEttMJugIxRxR9M+56PPF6bkKt7g0oRXAO/fwvtP5f8ADNiHUP9PNibqOCBwWgIoljDm9aTykpVwd84j20iQrH4ugV6nHxziT9NaQIUpOhVERR3/gTZKXPAThCaapQCMgTFuwExGXccL3ljZ98BjynUxZxic+Z0q5PcYrYA6AyOirxEzKWRD0X3mWt57GXlB7YsSNCab2Q+pE/rBoI9mNo6bTfF8XoV2/jY/8pDDISlo3HrhO9gl6g1v6qTQa6y5efVDHRA1W74+jO+ijxYj3WpSPjl7DcH8cDTxEkqntxhbhwQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=3QtFH8RIKO1Egq48cmxKmSf70qLAKvT+aJQPxwFwU/k=;
 b=aOwONmZg+0uWhTrAomg8SWB9R6o5/81LcwMTJ3UJ/ZLJneZ8TuDBJq7Kq3GW/f9Oa+BBmRYI/A+HkVOi/uiH++s5/lWsO0kNGRbiueYZ3I/Y3acdhMWdjazoxPDxopNX1C5ky36s8wGCsYBbwRmWxUKW7AmGCDtnH+yx32T/G7nuT+mOEP/Q4wvGQpYriWEszKX93/awiLPsjhQ89gq6txuW8odsYgkWNr8SPxtdNZyg25SPLS9xHbmZJaQV0lHMunY9L6YYQZw/JmydeozbwhPNe7aevB8zAI2v9FntnQuyROI8NpYVbVs7htB1m7kERaKagmtPs3SrTAqD2puGKw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
Received: from DU2P193MB2132.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:2f8::9) by
 DB9P193MB1865.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:240::13) with
 Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.7068.32; Sun, 10 Dec 2023 20:13:43 +0000
Received: from DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
 ([fe80::b769:d56e:2eaa:ffd8]) by DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
 ([fe80::b769:d56e:2eaa:ffd8%4]) with mapi id 15.20.7068.031; Sun, 10 Dec 2023
 20:13:43 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Sun, 10 Dec 2023 21:06:44 +0100
Message-ID: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
X-Mailer: git-send-email 2.41.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [EwXsOju4rmI9HiRIR7t4cFcRFqvonQo+]
X-ClientProxiedBy: MR1P264CA0176.FRAP264.PROD.OUTLOOK.COM
 (2603:10a6:501:58::10) To DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
 (2603:10a6:10:2f8::9)
X-Microsoft-Original-Message-ID: <b607d9576cff74aed2cd52218205d9456018aaab.1702238803.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: DU2P193MB2132:EE_|DB9P193MB1865:EE_
X-MS-Office365-Filtering-Correlation-Id: b118056b-43f9-4990-e492-08dbf9bc81cb
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 0AQ2Ddoacy3uyWShN3pAl8O6a0VlHud5PpMsYgXoeKvuHemKjlSMSkmd7n5VKRXQr9f3JHJaMDKSCSYkDKGA762yumgrVJMU+T5BZFsFwPoGyB7ckhhmqYuNpzVRWJe80gXproBgRlKq+/I5VAZnduP8FFbdzk4REqpqT0gGO/3drEOoDdy4ql08/UcfiGj3vaRiCBqYJGeumgEFwK9Iu39gyr9bLerwTnQ9QLkbOHJj8i+95xV0EOz4dbArE7NVS2JYuK5a5m3tWNVA/LhTUbo8231KPsZDZuZjyYIdu53ZzNc+KJPUJ9Ah6TYL7vq31d9FFGkvCR5qDfuW8iCPRPZUNQxbd2w2L+w/Oq+QX5VARUL45kXFuM4fqZchJBzYXnAfCAN+50UbN/fSkjxpWYlDTEzGqJVykc4oMTlX6eL14t97I85BTQqI/sUgxk13ItwL13hcqTbyjmhHfim9MNA0aRXR4ra+DVGovPuDfBOmLMtJd2XWzlGHbAoDpyW37+oREYEj7hEswl1po7CDzrqz7U5f66z5sQvOWfP2AkS+gZbFsbwDpo1LbQCjvRayyhRqLuiaTpKJaL5zbKrwRLU3w6/BQM4TSk/WotcmQ5ONRJv8kico1zNMcTUTm7MlOPFbqeEfZv+93ce3oHK5UnLaVlIvJz2m9OmeKWJwSUM=
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: KQhUg2cHOsfbv59FR+NLTc8Sv6Dbtxp4VN5f01C34mxuvo4Z9ZVQBvoOEUjep5BSg4GRPTAkPcpTofPjOW/kNllE8eNd3ic5kRDvEKeKwSl38RBdX8oxrzLal+0u//u9UCNguz0eNJTb7RemRagT1Hy7o/5ih6WVkmvtJY7W7WyJdHiW91YPcK40dyZfXNqyTqfz8ljFcRBU/16HipbErbvRP2twPXuUAyqr2sUbD6WCg0oRC5yitZY/isPt9NiLnUwuPEtmF5uvVPf5H86tVcds1yCVwx1sv9RBEQ4rBczgqAmJLxYxQA9R85OeaOoOeA9UC6tlElYdhrtRS1BE/RKyLtokb/KIx/ac+JOIaXDsEUnKMt4w1TaGTs94g7eTcZMwBJn+WB7ncKmichMSuBlS+WGYZDSK48zvOuiuWA3IwXhHpJBgqo4kEHxAKFx7CM/JjFrJsw8VGvvLGATgrUfKlciRQ37zLZJ21+3Akv8kUcJB/kI+UersRoYmmoWrVmUQeUuM+zZ6UIGZWPMNj5QGtXwd4SfyV8+1hXIsgKxqRZUR/N5OcjWD/pEe0/79PVGPUkfktKNHHjyv74M1GqpSL9Wij/8NeucIydpl3Uo+51PXKJGltyP22P9yU+Y1+B37B/gp8DsEkh8u+K5KGMMbnIpg01ly5crS7FHDimV7KhbmEcZLARFlVLu/XdkHMoQGLfm7xlqf5OS+yuelE9qiprPnGJBU0MPZ4SZktfxDMuqrt3lU28H6jkwIhCV6YINuwIgmk1ny9hX6bJpFdnp5g/L41cwjeeqj8tluBpkB3QJ1CsreKMJS3Mc9UM3msZ9yXQhZxPTAFWCAzHLY0Quy1KGl/rU1omZNM0+8rhkAxHhF7odPHdLoouZJnVyX8zkkByNPzXxTmwZxwnWNe8H0v1ELwkIZpychVPHOiDIyjY9mkgIdFPkro0uHBQcM0qgeZ+k3gDbOtT+WhuXeUPAEns2e9+mvKViDOkDXlyqW61Yy89vfZIkS012H1RI9zEZescf0yn9KoFEpEQS9sKDvVDRMFAdQs9YFBHE2T/KQoRJkboz016JAbZSOvjxtiHSR9FXphAEoL8eTm+nR9YRDTaiXG2+G7QHNNtPqdgXEz31k45QsvWym24B63+dgROGQ+J93BDq/2tSWOXtlgszvtRpy6eyho2ZvRTOOjNa5Rjy7wv0HopDzEOgPlKYgsobYpZc+9YV1fO7Ol9tWYUfxsjVCNx7b/qC50xXjwr4=
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: b118056b-43f9-4990-e492-08dbf9bc81cb
X-MS-Exchange-CrossTenant-AuthSource: DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2023 20:13:43.4898 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P193MB1865
Received-SPF: pass client-ip=2a01:111:f400:fe1e::831;
 envelope-from=sergio.pastorperez@HIDDEN;
 helo=EUR01-HE1-obe.outbound.protection.outlook.com
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, FREEMAIL_FROM=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.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: -0.0 (/)

* gnu/packages/hexedit.scm (imhex): New variable.

Change-Id: Iac50937ceecf617ebadf4b81d3321a262e28090b
---
Hello.

This package adds ImHex using specifically commit
`ef7898ea8d83d0e3f4897c221f8595112aad9f2d`. This is done since from commit
`eae3cd99eef6202d772e3d2d43298449b7a36233` [1], the offline build enabled with
`-DIMHEX_OFFLINE_BUILD=ON` avoids running networking tests during the check
phase.

Thanks,
Sergio.

[1]: https://github.com/WerWolv/ImHex/commit/eae3cd99eef6202d772e3d2d43298449b7a36233

 gnu/packages/hexedit.scm | 65 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm
index 79c14a2996..b1cb006de3 100644
--- a/gnu/packages/hexedit.scm
+++ b/gnu/packages/hexedit.scm
@@ -21,14 +21,26 @@
 
 (define-module (gnu packages hexedit)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages man)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages gl)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages curl)
+  #:use-module (gnu packages ruby)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages engineering)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu))
 
 (define-public hexedit
@@ -93,6 +105,59 @@ (define-public ht
     (home-page "https://hte.sourceforge.net/")
     (license license:gpl2)))
 
+(define-public imhex
+  (let ((revision "0")
+        (commit "ef7898ea8d83d0e3f4897c221f8595112aad9f2d"))
+    (package
+      (name "imhex")
+      (version (git-version "1.31.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/WerWolv/ImHex")
+               (commit commit)
+               (recursive? #t)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0mqx9g3hzap1grav0n2fi54ph63kb9b0hx70zxkknq5rqp6mpy5m"))))
+      (build-system cmake-build-system)
+      (arguments
+       (list
+        #:configure-flags ''("-DIMHEX_OFFLINE_BUILD=ON"
+                             "-DCMAKE_BUILD_TYPE=Release"
+                             "-DCMAKE_BUILD_TYPE=Release")
+        #:phases #~(modify-phases %standard-phases
+                     (add-after 'unpack 'fix-gsettings
+                       (lambda* (#:key inputs #:allow-other-keys)
+                         (substitute* "main/gui/source/window/linux_window.cpp"
+                           (("dbus-send")
+                            (search-input-file inputs "/bin/dbus-send")))))
+                     (add-before 'check 'build-tests
+                       (lambda _
+                         (invoke "make" "unit_tests"))))))
+      (native-inputs (list gcc-13
+                           pkg-config
+                           python
+                           python-wrapper
+                           ruby
+                           mbedtls-apache))
+      (inputs (list freetype
+                    libglvnd
+                    dbus
+                    curl
+                    glfw
+                    dbus))
+      (home-page "https://github.com/WerWolv/ImHex")
+      (synopsis "Hex Editor to display, decode and analyze binary data")
+      (description
+       "Hex editor with many advanced features that can often only be
+found in paid applications.  Such features are a completely custom binary
+template and pattern language to decode and highlight structures in the data, a
+graphical node-based data processor to pre-process values before they're
+displayed, a disassembler, diffing support, bookmarks and much much more.")
+      (license license:gpl2))))
+
 (define-public bvi
   (package
     (name "bvi")

base-commit: 63e06f30ce20fa846a7e2e814976fefcd9eda7d3
-- 
2.41.0





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: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Subject: bug#67755: Acknowledgement ([PATCH] gnu: Add imhex.)
Message-ID: <handler.67755.B.170223955515347.ack <at> debbugs.gnu.org>
References: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
X-Gnu-PR-Message: ack 67755
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 67755 <at> debbugs.gnu.org
Date: Sun, 10 Dec 2023 20:20:02 +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 67755 <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
67755: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67755
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to sergio.pastorperez@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v2] gnu: Add imhex.
References: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
In-Reply-To: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: sergio.pastorperez@HIDDEN, guix-patches@HIDDEN
Resent-Date: Sat, 29 Jun 2024 12:27:02 +0000
Resent-Message-ID: <handler.67755.B67755.171966398225036 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>, Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
X-Debbugs-Original-Xcc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.171966398225036
          (code B ref 67755); Sat, 29 Jun 2024 12:27:02 +0000
Received: (at 67755) by debbugs.gnu.org; 29 Jun 2024 12:26:22 +0000
Received: from localhost ([127.0.0.1]:37338 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sNX9q-0006Vk-6J
	for submit <at> debbugs.gnu.org; Sat, 29 Jun 2024 08:26:22 -0400
Received: from mail-vi1eur03olkn2043.outbound.protection.outlook.com
 ([40.92.57.43]:55162 helo=EUR03-VI1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sNX9n-0006VT-RY
 for 67755 <at> debbugs.gnu.org; Sat, 29 Jun 2024 08:26:20 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=D611YHKRhAI8IYU8Q+SXcvIrnvpd7IH4OCjBvFlV4iUhRgBZwrnkmyGzhXIl+itIhbbiUpehS2N+LdNv4enVeNdaY/fY5FQvDDBiiiYnvcCt+tl6H0jJRaNbpteBA7Qmy7wI7ouPqmMoDHUVKPrh7qI0NbBL7f8P8N5FZGkO0Ffl/bGo7/EepGmIjgC0eTB712iEeNXrxkM2GLc39o7YYBZxfPYHKkzBh9FQXWCGVqJ5oNjeULOJ73RyRza3Q+WUBiqtlNeUtuh1POgWXYnPvmjv55ISBKNTaLOfHRVbu7mDdkdT+gRMgfgW1IgbMNnbJ84oQqGL6BvQEFjZc1fvHg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=K8Bjm1NB4DaLEK3z7ETGjw+Wm92P7cb664fkPREc3Lg=;
 b=byxxbU6JNR+GAA8mkNxkGGprsEfDNgac5ne4K2UB3zxt5Jz4FQ44xOaPyvB4T1iBC5yc7Jd0qUa5kUgfLug5p/PzTH+Fd+cCMB5ab6VnbVNNZh8ZfdwtixJW7RbC05F5mFS6kPw3mupV30rZe0sKvocOJgEU16lkC8mhu/+nGy9n19CGqT/9G0pgA8om6dnwJpfihhx2yWhg+SX/6JastmGzoUbUoDHgLc36wDrdxtN6RKxGzshaHWak655Q4eX9wnRhvD8w492oeWYzkD+hAoGauYDOKi352QPmR9eqg9KoHfb79vLl4D0hjLUMrC5Y/F4hF4vmPYcED5/WW7ClxA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=K8Bjm1NB4DaLEK3z7ETGjw+Wm92P7cb664fkPREc3Lg=;
 b=lnketWFKox3Xv3CAx91X5EukV/oOTHoAUM0TtTArcaJqmDMMx4ZD+HJLWmONiL5ivncGX5BFQggqr25fIxMMjhd8BHAkZxP9gFUk8uehp5GIYjwbiBg8AxFmI+6Arf2jO5kNCJJqV+6v3DoXlqcUFPOdX5IcwsItraw+z4MCVWyrtBwNRhQQtWy+lxXpIy4NPB5t4Xes9UIJgOkAZTDLU2VUaNhErTeAhJid1rRiuamESYNAhWy/QdL/b1OWSVjjZbLB2Jk96Q8/RooPErMCmZsUKN9XlyhCi6wcRn77AH+4X4qBzpsO2g4ezyQXJXUreUkaNdhx0E1ZunuBwVDGbw==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by GV1P251MB0859.EURP251.PROD.OUTLOOK.COM (2603:10a6:150:8d::14) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.26; Sat, 29 Jun
 2024 12:26:12 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7719.028; Sat, 29 Jun 2024
 12:26:12 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Sat, 29 Jun 2024 14:15:39 +0200
Message-ID: <PAXP251MB0348D5D300F7971E167A2DD0F3D12@HIDDEN>
X-Mailer: git-send-email 2.45.1
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [gNe1spCZwF5RD/ULiWmnCUGygJmZavmZ]
X-ClientProxiedBy: MA2P292CA0004.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:1::16) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <3c5235f1145aef08153440433a66c78c6d4c6302.1719663338.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|GV1P251MB0859:EE_
X-MS-Office365-Filtering-Correlation-Id: 56233f61-866e-4067-a38a-08dc9836a952
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|8060799006|461199028|3412199025|4302099013|440099028|1602099012|1710799026;
X-Microsoft-Antispam-Message-Info: +WumRlTFBf2z51E4KfFy2Kai8qOWdFJF6RUZPexOgqY0XbJfDr2Y0wJaBVejaGps8n8WcxZJpQ/5QK+vJFRsvtlDLh4q4il25YOrTb8WgP1sy/pbmXTBByl1P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r0fujpI4cVzO6kpYjxJgiAZiqlytce84CCUC+yiewK+ithoSnyyJA0w2AIMyBCPD8vwAjZsbRrINcID4N9z9OasTKtIqz0IEMHHm/gTbeTNx8ULsF4O2YmkjhC6QHH7zukUWoBUAfbgmlvpzEexYGiQgqAPR3WKEMK02zqha877MH9Sl3oUWHEQ4MNuTvOm9KwX48wN5GaJzB8uLy7Rdn5sHJoly9w1qzRscOkrlSfuZ0VubrrbL7j/6/XDCp7tmBggLnDUl6/ZGJFOrh5TPvnlTmsaUZJqL4/V+oZu3FU01qVrQe8xc0aOl+XILnmM4i0dqUkGE7XQFdAUEZduJWuGlIRuUd3Hsoeo1ggjMdqU+DI4XYJDGVK/4QQ2oRKMWqSe07IMNjSDWS9xJxVwWr3AYGOH2tykF4pneWdsSuuCtOqbNK4DXAJXv9l0NpcnffJWtBdbcEYwZNqtztX017DPTM1FvFaYRLbHC1wkeHNKrsZpzw61mfzCOwGgW22JcHKPYx+kppnJLfE7qaZv38EPR0izJSzYJ432PoMt+xG7shPMw5OOKpxrSc5YypSzao93tPgobdxTE0RQ2UvLhlAuwIlHhHhMxV2oK/yySiEFjuLOjlS0KiuZTwPVV8A+WDrybWoXN9xWfI1bPNofDWN0/dZq3qOGqFGUW+1pZzFdbz8UGxqjcXOHH34Cid1NpX31yisIPOkV9kZHxhsHn5c/eS02oMlacv1fgyIU9jEloKMQ+Vn+IEnQr6pnKbBpB+mNZ9gjI3j3MG1umvVm65nmo+CAWNPXjE3vzNwiqn297rBZSvaJnnzA9m3mp9QIc8ibefT0/9Ma5M8CWbY6mghvHkJ1Xw9OIsnfy30JvgjrNiD9BOuDZ1pN1Ifv7IW1TB0eXPEhOhHvG
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-00b75.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 56233f61-866e-4067-a38a-08dc9836a952
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2024 12:26:11.9452 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1P251MB0859
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/hexedit.scm (imhex): New variable.

Change-Id: Iac50937ceecf617ebadf4b81d3321a262e28090b
---
Hello!

I'm updating this patch since ImHex has been updated a few times since.

You will notice that the ImHex repository contains a few submodules, many of the
submodules are libraries which do not include a cmake 'Findxxx.cmake'. For some
libraries, the build system provides the appropriate file, but not for all. We
decided not to un-bundle the libraries for now, the maintainers will consider
adding the appropriate files in the future. Once that's done, we can update the
package and un-bundle the libraries.


 gnu/packages/hexedit.scm | 98 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)

diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm
index 668699a28c..e730d160a6 100644
--- a/gnu/packages/hexedit.scm
+++ b/gnu/packages/hexedit.scm
@@ -22,14 +22,30 @@
 
 (define-module (gnu packages hexedit)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages man)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages gl)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages cpp)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages curl)
+  #:use-module (gnu packages ruby)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages backup)
+  #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages engineering)
+  #:use-module (gnu packages pretty-print)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu))
 
 (define-public hexedit
@@ -94,6 +110,88 @@ (define-public ht
     (home-page "https://hte.sourceforge.net/")
     (license license:gpl2)))
 
+(define-public imhex
+  (package
+    (name "imhex")
+    (version "1.35.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/WerWolv/ImHex")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1789hkqh78sg4cic09yq46bsy2vpk5y56b8g4q0r60si5y2vc9lh"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      ;; NOTE: there is an issue with the way the test library is linked with
+      ;; the output binaries. Tests are intrusive and should not be shipped
+      ;; with the release, when the issue is fixed we could add a phase which
+      ;; builds the package with the tests and runs the testsuite and a second
+      ;; build phase which prepares the output binary.
+      #:configure-flags ''("-DIMHEX_OFFLINE_BUILD=ON"
+                           "-DIMHEX_ENABLE_UNIT_TESTS=ON"
+                           ;; NOTE: required for the `validate-runpath' phase.
+                           ;; If OFF the pluggings won't be able to find
+                           ;; `libimhex.so'
+                           "-DIMHEX_PLUGIN_ADD_INSTALL_PREFIX_TO_RPATH=ON"
+
+                           ;; TODO: remove unneeded submodules.
+                           "-DUSE_SYSTEM_NLOHMANN_JSON=ON"
+                           "-DUSE_SYSTEM_CAPSTONE=ON"
+                           "-DUSE_SYSTEM_CLI11=ON"
+                           "-DUSE_SYSTEM_LLVM=ON"
+                           "-DUSE_SYSTEM_FMT=ON"
+
+                           ;; TODO: package them.
+                           "-DUSE_SYSTEM_MINIAUDIO=OFF"
+                           "-DUSE_SYSTEM_LUNASVG=OFF"
+                           "-DUSE_SYSTEM_JTHREAD=OFF"
+                           "-DUSE_SYSTEM_BOOST=OFF"
+                           "-DUSE_SYSTEM_EDLIB=OFF"
+                           "-DUSE_SYSTEM_YARA=OFF"
+                           "-DUSE_SYSTEM_NFD=OFF")
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'fix-gsettings
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (substitute* "main/gui/source/window/linux_window.cpp"
+                         (("dbus-send")
+                          (search-input-file inputs "/bin/dbus-send")))))
+                   (add-before 'check 'build-tests
+                     (lambda _
+                       (invoke "make" "unit_tests"))))))
+    (native-inputs (list gcc-13
+                         pkg-config
+                         python
+                         python-wrapper
+                         ruby
+                         mbedtls-apache
+
+                         ;; Third party submodules
+                         nlohmann-json
+                         capstone
+                         llvm-17
+                         cli11
+                         fmt))
+    (inputs (list freetype
+                  libarchive
+                  mesa
+                  dbus
+                  curl
+                  glfw
+                  dbus))
+    (home-page "https://github.com/WerWolv/ImHex")
+    (synopsis "Hex Editor to display, decode and analyze binary data")
+    (description "Hex editor with many advanced features that can often only
+be found in paid applications.  Such features are a completely custom binary
+template and pattern language to decode and highlight structures in the data,
+a graphical node-based data processor to pre-process values before they're
+displayed, a disassembler, diffing support, bookmarks and much much more.")
+    (license license:gpl2)))
+
 (define-public bvi
   (package
     (name "bvi")

base-commit: d601e953a463669a775ce17138e2b0f0c2e73ad9
-- 
2.45.1





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH] gnu: Add imhex.
References: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
Resent-From: jgart <jgart@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sun, 30 Jun 2024 20:34:01 +0000
Resent-Message-ID: <handler.67755.B67755.171977960717921 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.171977960717921
          (code B ref 67755); Sun, 30 Jun 2024 20:34:01 +0000
Received: (at 67755) by debbugs.gnu.org; 30 Jun 2024 20:33:27 +0000
Received: from localhost ([127.0.0.1]:59244 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sO1Ek-0004ez-UW
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 16:33:27 -0400
Received: from mx1.dismail.de ([78.46.223.134]:47624)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jgart@HIDDEN>) id 1sO1Ej-0004el-49
 for 67755 <at> debbugs.gnu.org; Sun, 30 Jun 2024 16:33:26 -0400
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 0d313ebd;
 Sun, 30 Jun 2024 22:33:16 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc
 :subject:in-reply-to:date:message-id:mime-version:content-type;
 s=20190914; bh=g5SWKe6hNYN4n2EoQD29EXtS07ReuQveK0sAKCwO04s=; b=
 QjKPYwW5e0WOj0xawulBzhByjTpDaENIw6815wlpkCdXzBRKOxjSp4jWAHN6TVIT
 B/vjyEdYDov/fbRzQbdNxU8ZAC1oYByisN4Ibo+bNPHKtA8xgJx589CpdTQSaTqT
 5/fnqlXsVgabqD8YyOAkrWTEf/Pvlhmz/F3kSywI+lgELTxNijS7kHPZHsxNAuSb
 wP01bDtCf3GX6NT9ctJO1kZevQ594ssaxmbSJ+caqK6BrkOtGN67kgD4yYoBR9C4
 S/9mHikR8u/at+SHo9xUiSpb762TEQuz8cSRNr8kqTgxK8hYrXB8SEMPujP1D0lX
 SYd2fJIYj8j/3Hz90fWlnw==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 9f10b544;
 Sun, 30 Jun 2024 22:33:16 +0200 (CEST)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
 by smtp2.dismail.de (OpenSMTPD) with ESMTP id 81036249;
 Sun, 30 Jun 2024 22:33:16 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id cff8a5af
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sun, 30 Jun 2024 22:33:15 +0200 (CEST)
From: jgart <jgart@HIDDEN>
In-Reply-To: <PAXP251MB0348D5D300F7971E167A2DD0F3D12@HIDDEN>
Date: Sun, 30 Jun 2024 15:33:12 -0500
Message-ID: <87r0ceqign.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
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 (-)


Hi Sergio,

It looks like this patch still needs some work from the TODO comments.

Are you planning on resolving those TODO items soonish?

If you'd like to make this package easily available to others before its
ready for upstream I would recommend creating a channel for it.

all the best,

jgart




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH] gnu: Add imhex.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 01 Jul 2024 17:03:01 +0000
Resent-Message-ID: <handler.67755.B67755.171985336718246 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: jgart <jgart@HIDDEN>, 67755 <at> debbugs.gnu.org
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.171985336718246
          (code B ref 67755); Mon, 01 Jul 2024 17:03:01 +0000
Received: (at 67755) by debbugs.gnu.org; 1 Jul 2024 17:02:47 +0000
Received: from localhost ([127.0.0.1]:34316 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sOKQQ-0004kD-IU
	for submit <at> debbugs.gnu.org; Mon, 01 Jul 2024 13:02:46 -0400
Received: from mail-vi1eur03olkn2052.outbound.protection.outlook.com
 ([40.92.57.52]:13664 helo=EUR03-VI1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sOKQN-0004jq-QN
 for 67755 <at> debbugs.gnu.org; Mon, 01 Jul 2024 13:02:44 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=XM1vp1oem3H4XmkipaK0MQ/EgnRCqy9AO8FoiGtNSsA8d8rPiQfLpzjdFtBnn/BFsKy8vJwZrsV88LqjcasEzseSJI1vVV+Aq2G590wp1TEnK643kig1MF+ff/90MEytMutZu0V+CH7dhtilhalwtV2gHQLZpF3wBCima6r18tqset/upMS4pa9YMLpVVDsQ1H0sBwa+37EIaNRM21T4IhtbN9ChITJbImMSfnX6+IuWtqDinG0fxAs2kBvU9gwJnQvhFbIoDuZBihH+nwj471hkscYxmMEqh3LX7ip5dlrr5PwbyQGsUpxAtsqdg5U2ZS9CEvIaqF4kugBH0KIcLA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=Q4H4WRuVxKrXj23K1q1M0hEb3S4kYyBuz6CniKIlhog=;
 b=aUdoGE5oBhOBfR1iIWeLQP97bGxsX/G0Eb1+sgJ3H8G5TN3MUnBlWEIUvqVzrvdMz9Pl+UiMfi5w6WWQLSsI7ob2au0ib5UvTh8FdCtqRAWfKTxZ8RRnxLlBT6pvencOLsbq9smk/UoWrUxvS78K+n1G4patsUxGm/R9g0JEhfBtRQucAnJFA0+lgQNZ/N3k12ygn0stvlQPW+oSvWL6jPsAtJi4guDHDveY+/MkjtTOF6Y2QI/x067hbSFCN5xK9nzZw9lq6F+I0QCBCev0wWWKF77bAAKcsGpBos9Cx9VwdjFRs4dzTmA3cKlDrp8UKwfHKMC9ARkKpX3xN/DszA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=Q4H4WRuVxKrXj23K1q1M0hEb3S4kYyBuz6CniKIlhog=;
 b=qHyTuD/BsuphSRtkdvEOY0ib/jbnfYhUd7wyfVH0Qqn+aCukPbyy5fHlIy7MNqt1zMEFb8GHg3f5bTU89wd9aNB4PbhTRaN6+wcu+lu5ww5zKXeim4sn54RI59YEvfLXJ46JVzgY6dKynJwnwImgWQ7enVbtgJgIQHH2Qskr/nnI82CtfwZpELtF4zGBx3hfhPhjlQWbE3ZzwgMDaNLwDvDJ7pSGFCZfCmiBwWVP3M0TTXdpg4LFSQG+Gkb77A08bW6FhOmDMKFBDIbkuTJMXG9CnTlCHONxoFArAxHOM/1+pRc8BTV3dL9x8suXiK1wb43hx4YmjxLx/vgSSy4ySw==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by GV2P251MB0946.EURP251.PROD.OUTLOOK.COM (2603:10a6:150:aa::5) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.32; Mon, 1 Jul
 2024 17:02:28 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7719.029; Mon, 1 Jul 2024
 17:02:28 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
In-Reply-To: <87r0ceqign.fsf@HIDDEN>
References: <87r0ceqign.fsf@HIDDEN>
Date: Mon, 01 Jul 2024 19:02:25 +0200
Message-ID: <PAXP251MB0348CDC3D06F4EC738251BF0F3D32@HIDDEN>
Content-Type: text/plain
X-TMN: [chPe0M4LiiCpLaQrXgRNmGnGm4GW7hEw]
X-ClientProxiedBy: MA4P292CA0014.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2d::7) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <84o77hhwpq.fsf@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|GV2P251MB0946:EE_
X-MS-Office365-Filtering-Correlation-Id: 4eb4906f-d3ae-4ee4-e2c8-08dc99ef964d
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|8060799006|461199028|440099028|3412199025; 
X-Microsoft-Antispam-Message-Info: fLFJIwMZ85ZazhBXCof3/Ith5zt24eJoLBu2Ks3qdElbnX7k2e+L2s5lq8Mwh/rSCiMM+oJlGRtLBrQMmCLMRHVC3NjNjQvqjFn2u94Z9GC1NK69Mrwq7hcoPexjuL81uYJO1pNejGHzo5rWbxW1YfS+bGoUnDRvScfiYoj6rhDL3r7lHXkOudttTeIvf7h/e0huLe7q8sdIahtc9W/iCrpRtqcYVgteUYdSIhQm5rfLWD6Oosm7npHw9j0Dm24MTHix7rq5Y/RFgBnkWVlkVnDPmwal8WwHk928cmIqGzOEnF7LVSCPMpXCER95IIa+ZcxNGO1F0oCWpk+Vv4kH5qCt3m0iia7Kr8oq0tHHrrAjvKq0wDo+REDPAn7sTxQnsmudYntj/oQ/U7b4ZmnApVWjF62KzMVdj9vML6ze1m03JC7Jmpb0+APMh6x8vLg7H4OLkvmlSa7zl0wBTP4MY4jCGjgC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qUMNTJlvfbG94+QnUi2h+pQkIB0iYrJG26dQzXqYR/mEF9pgR+6WtB892yuohUsOAbRB0C35zAuCJmBKOzu8gXVg0o0BLfzLkeHQF1/pu6oZDb/K+V8ciPSFq7rVVLUj/gQQRLtQrHqxAWLQuZ+o8w8bjF+9BX05ywQL4jJ5fs9wWbC+BW5aTrWhTOWOA1KB9TXbTqlUrNr58oaMgULRI52ZdJobLqVhH5aKrK/HuqWDqLd6GqS5HLnG3n1oKJPlZhXgtI40dyZtlET5hS6Lv+dBVbT1l3eTR4HQPVtSHjtwCQNikJJKKYU6JJRBYUfE5jOuIBgumsAxZ6upr9/2kR3vxIiUUz/mlLaY/ZmIytnT7JHJYZXbQpQMvn7CoXhjQ4x5goGzkiRtSmGVJ06LlBGJlW6JcCLozbew
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-00b75.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 4eb4906f-d3ae-4ee4-e2c8-08dc99ef964d
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2024 17:02:28.1530 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2P251MB0946
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! Thanks for taking a look.

jgart <jgart@HIDDEN> writes:

> Are you planning on resolving those TODO items soonish?

This is what I was explaining on the version 2 of the patch. It's not
something that should be fixed at the package level. I've discussed it
with the maintainers, until they don't implement a proper way of
externalizing the handling of libraries we should be using the
submodules.

Having said that, I think the package is ready, is there any reason why
you don't find it adequate, aside from the bundled libraries? We can
remove the comments if that's what worries you.

As a side note, I tried to un-bundle the libraries and the amount of
patching that it requires is unreasonable, every library requires it's
own CMAKE find file, which is responsibility of the software
developers. This is why I say that this should be done upstream.

I suggest to merge it as it is and I will update the package definition
once ImHex properly supports using system libraries. I don't think the
maintainers have this on their priority list so I don't know how long it
could take.

I will send a v3 of this patch without the comments and without the
redundant flags.

> If you'd like to make this package easily available to others before its
> ready for upstream I would recommend creating a channel for it.

I have it already available on my channel.

Thanks for your time!
Have a good evening,
Sergio.




Message sent to sergio.pastorperez@HIDDEN, jgart@HIDDEN, guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v3] gnu: Add imhex.
References: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
In-Reply-To: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: sergio.pastorperez@HIDDEN, jgart@HIDDEN, guix-patches@HIDDEN
Resent-Date: Mon, 01 Jul 2024 17:05:02 +0000
Resent-Message-ID: <handler.67755.B67755.171985347318496 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>, Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>, jgart <jgart@HIDDEN>
X-Debbugs-Original-Xcc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>, jgart <jgart@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.171985347318496
          (code B ref 67755); Mon, 01 Jul 2024 17:05:02 +0000
Received: (at 67755) by debbugs.gnu.org; 1 Jul 2024 17:04:33 +0000
Received: from localhost ([127.0.0.1]:34326 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sOKS8-0004oD-DG
	for submit <at> debbugs.gnu.org; Mon, 01 Jul 2024 13:04:32 -0400
Received: from mail-vi1eur03olkn2092.outbound.protection.outlook.com
 ([40.92.57.92]:60832 helo=EUR03-VI1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sOKS6-0004nv-S3
 for 67755 <at> debbugs.gnu.org; Mon, 01 Jul 2024 13:04:31 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=MCQvQmY7Ate3BZqy6lxm9SoibNgwjyOz1E/nj/VFvXw7EvaCZxQ/dhI9XPiOoHJEmm9cCh4Ri1UGbez2lvlZfeSDSFJXhGG//Cis3j4BFqw3GYf/S4N3teYAzxH7fSnnPD8uHM9TaMqYZxBguMQKCwWdt1W1D7Nrs4WwdYLhAd56e6l9u15JcD79onJ7H25IeTgZwM5+ZYgnDqjDTLr4U3ilX92D5F9XPRzqduVuYdIFlONKZYk32T8OxNDUQWfGT9FWPcpp17JfmIHWuTz8jVFE3FUSbwLdkN3aZquouJFyUnrExTsWH7m0wSqrul3oMF3OSewSjp8FAMh+lfUdHQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=3GhXUuil+PuqNOuLAoieXjz5YC/BR7iPyy8NxihiX8A=;
 b=fw7CtAXYp1Yt7RhIJE/Xmc49ugNzMegsHStMXioRCUYQtmPIQDQm2Qa1848g2WcZFcUSdmO8gxlIgpK86vHmzDj/7sgrDBdzSXkVxv+FeIhxtHhZApqqrOlSud+NwQ+4gGcHFx35VDjgMc3xl9yG7s/nHSeJP42qGozu1WaDlCLAPXiKHa+69l1pHAIt1KTIglIvKv/M4pdZcPyF07YfSCD+/co/vmHUy75kinqQKiP7S8zLB2QSHkXPZVYSfc/jxrK4dgrKcrbXIy2cOtBT5bGdVDMtsdq0NWLP9LFVQUTiW1WeZ3VL72VVWXKRtVo8U/PXo/qTfjinooGWhG9hPA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=3GhXUuil+PuqNOuLAoieXjz5YC/BR7iPyy8NxihiX8A=;
 b=KlUmtDkS9d6uoX3o0oIVhOSuJ+f6iPUIAuF7j1iBkIbSzhYib5ylIRNH7BmoVnwtgpwcfM8WX9NcGiju1OWAGsRwqJEuI9lDQmWmJPAY69fL4LA3wV4zPMyzVLyNqc6yvawECYf2sLIyerv1O/9OWpf7ISGb5TbAGQo8dfKuZXoqrqYE9kSZ6DPP2F0fZSv9p0RUKj+CpzKiSOCCwtfcip9iHqmDCeBAm0GbUlY1L1TIOh3XLW+MiB2iCY2Wwvn2/q/keH8q+cwfREEzLV3JfQYBLW7q6oshuilxCHg3vz5KcZtW/ogdx++NVQly4+U0IDSNiagCNR15jl9V7HTyKg==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by GV2P251MB0946.EURP251.PROD.OUTLOOK.COM (2603:10a6:150:aa::5) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.32; Mon, 1 Jul
 2024 17:04:22 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7719.029; Mon, 1 Jul 2024
 17:04:22 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Mon,  1 Jul 2024 18:55:59 +0200
Message-ID: <PAXP251MB0348851E558B33233E7BBEFFF3D32@HIDDEN>
X-Mailer: git-send-email 2.45.1
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [oVkNWw5PA7+7ipIwJBru07E8RnzBqZOP]
X-ClientProxiedBy: MA2P292CA0008.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:1::13) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <187a963037bdc988d7c6166697f159c38f33ffbf.1719852959.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|GV2P251MB0946:EE_
X-MS-Office365-Filtering-Correlation-Id: 842f8f20-e1de-4406-a0af-08dc99efda63
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|8060799006|461199028|4302099013|440099028|3412199025|1602099012|1710799026;
X-Microsoft-Antispam-Message-Info: lxbqFYI3gpRVOT/kc3bXrlB9ChdtDbKY023LQwWUSHPlE2n3bfVys11dCC+yrDOmAMoYaF7scaezY5ExEiIy8CtLQQM8xeUfP3RfX5NPHeycmqocle1NLYuntUmDTfuLMxarKAsKNPxo1PYnZnDBUxrMkV4M8XXoxTLDrGC73tB6Fx3Dg1LVbuJN66Q5owznjWbisW5ed2OOb0vXeWZxn2vXcAsG2GXo1hg2omWsFcKARThG2roXtsero10AOWeCMHrroe4ZCkKLr4xEDFSR9MXp3eJiuAM2jCa5oEzRfAaXVm+uN7DwFnFwQuQRClElFKo57xssJ8IwbrhQxFd6wy+vqdA5e95fDAIal63UU12JIl0qQo83/fuHypkMNywo0K1C58aZgnzGeoKEsr3t758DB0BlCrEA6tHC9qJaW3lM/T5DKnkHjDahY5QrgJ2/SxuatedlXdaRHMygoblAsHhOaSvT1EXlz3Gd5l9yiXPnwvLNKWNs8OnyShYVmLTGJgWNBgKMvZ+pqomzqTGFvY8YDfc4A5uVvAc/rjrieebVHxD3S+7SMnpmoStY3J7IoV2yeG6LiuoAQNN8yrOoK/FsIQG0xstHuoViO/TbGK1IbyTW6Km5GMke50CrujNZrvBYoizF3Ml2HymJYKHm/FXjL7ec+s4zCroWPafnifLDJncI3/NHzvxw+/KGYg/ghIGIQO/zfXFxvZ596CsKmUsxh4nQE8ov+218a8T+Ih3gEiwiJYdi8I5QJECgGPuS
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: sW9+tE95reJKUFzzFQ47D2/izSWqydbe2pFH8stjIfbW8xcriaifLcV0o3ebZaTStKrMCh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9Ps7mUhfc21736PtYGHFsEtfsJXT5w3nnYgBPtQvkHhGrbtd5Y2vE4Q0Pu/xunIfLhAfAg25pCi1oOWMjW4oZXsFwMtmmlPVAdhl493BevYe2b2x3Ay9/EVqMIO46qx8imePr2lWCVEEg
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-00b75.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 842f8f20-e1de-4406-a0af-08dc99efda63
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2024 17:04:22.1577 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2P251MB0946
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/hexedit.scm (imhex): New variable.

Change-Id: Iac50937ceecf617ebadf4b81d3321a262e28090b
---
Updated patch without the TODO comments and the redundant flags.

 gnu/packages/hexedit.scm | 87 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)

diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm
index 668699a28c..f5689fd1df 100644
--- a/gnu/packages/hexedit.scm
+++ b/gnu/packages/hexedit.scm
@@ -22,14 +22,30 @@
 
 (define-module (gnu packages hexedit)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages man)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages gl)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages cpp)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages curl)
+  #:use-module (gnu packages ruby)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages backup)
+  #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages engineering)
+  #:use-module (gnu packages pretty-print)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu))
 
 (define-public hexedit
@@ -94,6 +110,77 @@ (define-public ht
     (home-page "https://hte.sourceforge.net/")
     (license license:gpl2)))
 
+(define-public imhex
+  (package
+    (name "imhex")
+    (version "1.35.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/WerWolv/ImHex")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1789hkqh78sg4cic09yq46bsy2vpk5y56b8g4q0r60si5y2vc9lh"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      ;; NOTE: there is an issue with the way the test library is linked with
+      ;; the output binaries. Tests are intrusive and should not be shipped
+      ;; with the release, when the issue is fixed we could add a phase which
+      ;; builds the package with the tests and runs the testsuite and a second
+      ;; build phase which prepares the output binary.
+      #:configure-flags ''("-DIMHEX_OFFLINE_BUILD=ON"
+                           "-DIMHEX_ENABLE_UNIT_TESTS=ON"
+                           ;; NOTE: required for the `validate-runpath' phase.
+                           ;; If OFF, the pluggings won't be able to find
+                           ;; `libimhex.so'
+                           "-DIMHEX_PLUGIN_ADD_INSTALL_PREFIX_TO_RPATH=ON"
+                           "-DUSE_SYSTEM_NLOHMANN_JSON=ON"
+                           "-DUSE_SYSTEM_CAPSTONE=ON"
+                           "-DUSE_SYSTEM_CLI11=ON"
+                           "-DUSE_SYSTEM_LLVM=ON"
+                           "-DUSE_SYSTEM_FMT=ON")
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'fix-gsettings
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (substitute* "main/gui/source/window/linux_window.cpp"
+                         (("dbus-send")
+                          (search-input-file inputs "/bin/dbus-send")))))
+                   (add-before 'check 'build-tests
+                     (lambda _
+                       (invoke "make" "unit_tests"))))))
+    (native-inputs (list gcc-13
+                         pkg-config
+                         python
+                         python-wrapper
+                         ruby
+                         mbedtls-apache
+
+                         ;; Third party submodules
+                         nlohmann-json
+                         capstone
+                         llvm-17
+                         cli11
+                         fmt))
+    (inputs (list freetype
+                  libarchive
+                  mesa
+                  dbus
+                  curl
+                  glfw
+                  dbus))
+    (home-page "https://github.com/WerWolv/ImHex")
+    (synopsis "Hex Editor to display, decode and analyze binary data")
+    (description "Hex editor with many advanced features that can often only
+be found in paid applications.  Such features are a completely custom binary
+template and pattern language to decode and highlight structures in the data,
+a graphical node-based data processor to pre-process values before they're
+displayed, a disassembler, diffing support, bookmarks and much much more.")
+    (license license:gpl2)))
+
 (define-public bvi
   (package
     (name "bvi")

base-commit: d601e953a463669a775ce17138e2b0f0c2e73ad9
-- 
2.45.1





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH] gnu: Add imhex.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 21:53:02 +0000
Resent-Message-ID: <handler.67755.B67755.172470914110207 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: jgart <jgart@HIDDEN>, 67755 <at> debbugs.gnu.org
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470914110207
          (code B ref 67755); Mon, 26 Aug 2024 21:53:02 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 21:52:21 +0000
Received: from localhost ([127.0.0.1]:45327 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihdN-0002eZ-BE
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 17:52:21 -0400
Received: from mail-vi1eur03olkn2058.outbound.protection.outlook.com
 ([40.92.57.58]:57313 helo=EUR03-VI1-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihdK-0002eJ-Qf
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 17:52:20 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=hhnjJT1yG7EQaJ054GVsfSrjYvXRpDUkKglYeGfPzdPkNYQU1B207wO/41p5Jc6Jj3xzllsoa+XwfTr+fzK26vMLR6NO/tG/XHNvBQeM3spihGaJcDnSFzTVqK55+x9Fe8yeTbHdiJ76qbpOKUI3vLWlkggTmi2JSLA3RoF/71SFW/xU0LwtGlFzuUm1gkXr//lbcJdyvRJ/75BET1EHuGOZsZzYyacIXqUpiKi5SFgwhGuGkfmc7cUJos/O/bOGXlF3VTOjVGVYDkni7rv2eE0OWNPkJdAGKBCRHfEuN/tPWNvyFxLC8VdcFp/7ZgR+we9/CMhT8zwKuJHgvqjMmQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=QjP7198kE2HEobn4eU0Ipl1hdk/hcxJ8Uwdq1Qj5z4k=;
 b=F9YfGnB+21Dbg8AbMYrVG4aQcf/r2rcAFKTXeOnnyQwSOrVzwyYdUDu+cmpZOqhOQsiM4ySrddSqE8T11ggxT4KTx1jLM0RvlfwY4+G5sdTfRwd5dfJb1B+MAt7IH8nfkpt2l6Bs3v3v6Vym4uhR5tKLb4+w38fHmAzORQIBbZWb9M2r6eR/w8AGjTZHxMUW50zTnweRymKyLUu1/vCboqxG1fpY+O16uOXQw+IqhFurSPIdLzVOSGy4Rqqx172iOkOW3/qva0tOW++/J/jp21ZS3B9NlmV40rMxeGScop51LrihzzxdVKcuK8LyJiHiNYo3LXh1bL8x/Nev264oqg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=QjP7198kE2HEobn4eU0Ipl1hdk/hcxJ8Uwdq1Qj5z4k=;
 b=TQLwYEwHVRPL8lKjZuTMquFqbidSzzoTnJA/9XA3B6+YnR2hcw7l8mDL7q1fioVVQGDMGbaqL3qB0L9hHHqqeHeMdRpF3++Z613rv/LaU2jKc4Ms8LKGGBoM4HzL/C/6WUMDRNtLnpzgfN7c/scZ1uDRO+jIv6k6EFJRzGZlUhWdZOv7q6rvKttljsDdWAuaC+1oz9g5blyFh/eXUwISOVoGv8jomcwfLepo1kZ4l1JYDiHkxwqokqQFz5IFxadv5mWoZcm6ZUbi1LHWciGk82uDM8t/IRgQa1G70oJPUV0YovGZ/Zcaug4PbqrKU7xpigPzx26qhpwy/PF7EWCmow==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by DB9P251MB0476.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:33b::13) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.24; Mon, 26 Aug
 2024 21:51:20 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 21:51:20 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
In-Reply-To: <87r0ceqign.fsf@HIDDEN>
References: <87r0ceqign.fsf@HIDDEN>
Date: Mon, 26 Aug 2024 23:51:17 +0200
Message-ID: <PAXP251MB0348778D33DA5D0855B4EC0DF38B2@HIDDEN>
Content-Type: text/plain
X-TMN: [8HjM5GfhDF5gAZrrckyE+CxAREFVqQcS]
X-ClientProxiedBy: MA3P292CA0010.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::12) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <84jzg3ymui.fsf@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|DB9P251MB0476:EE_
X-MS-Office365-Filtering-Correlation-Id: b2724d29-468c-4cad-12d1-08dcc6193784
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|19110799003|461199028|5072599009|8060799006|440099028|3412199025;
X-Microsoft-Antispam-Message-Info: 9n0xngteokMplEAQ6dE0/srOQMIwZMmdLyaoWKJhkQLuc+w+/ONUUgMdtCIgFMUuQYaVEjG5P40l4akFMR37z8X1SWGz1JMOgVUZPKppkKbH0Nb/aSX/tXEle2tv+ubIoTPS8DC1hkTp8U1Ml9ewPdqRPrbDaENi9qrTsvA6HIjJAVclSfVapywx5eWTndYd9lnJktwTpkGH1Xt5AJDuIUUD5G9QVoQEmdHz+Su6hwyn49NSPpc+v2jywulMxoJCOfgWLv8AjFJ+QRn4rbRwkghOmwtNBHJpC7J6FHFSwgy/pQTC0ObqIWOvMe8/3ajWUyOHc56ThtkVHblxP2R5Dhs9xebKRqq1T+3ifaMyx77J3DZI+RyKpDNqOgcpagIY1y1hagdbXS4M4EYnA06c3KN09dZV912xml0I30UJvCWIDJURDOQ6W8yWirzR28W3TU84MZqF/ZCDv3MtWqYODmY6sWLlr6lLc64wqKCd9KMbeyJWedIDbp7o10ADUp1HoVk488gqExCAghxmPVB9FIr2fsPWeJQ2O8KdQPuuGqANZh9KD3g0ZtY5lP+IaBHR3Z7yuFcsop7AHLT4a7LWLOW9/lwiSidru4wE1XOzp/Nqiav7FmC48luYjcTswBVo7M4GPlu44CIfQ+7BkIT5WuBWEpuGvN+BHFczZHSY2nY5/C7qZ6sN4sZ8UD6Xh07n2mPX0G10zwm8tZmCcKYYDg==
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: bIC0iqgaJeXRDJAeHyuYpfVQ6DzQ32NqqZUFvrZ5H9rZBZrKW9svZeBwnpHbVXEkPySQCrJJ2c3BCICdKmDoMynDr595O5glePH7QKhgb/em+KrIsMHxxpxsDO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DU5o5nkgJVXY3Ml/b2kvi7LlxTGFRDGQu7sz2/Wv++en80Oywh/1Wt/aE1mF/q39sX46E9t5cOwc7bRS
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: b2724d29-468c-4cad-12d1-08dcc6193784
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 21:51:19.8987 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P251MB0476
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 (-)

jgart <jgart@HIDDEN> writes:

> Hi Sergio,
>
> It looks like this patch still needs some work from the TODO comments.
>
> Are you planning on resolving those TODO items soonish?
Hi!

I went ahead and unbundled all I could from the package. There are still
some vendored libraries that I think it's unreasonable to pacakge in
Guix, since they won't be useful for other packages. I added multiple
comments explaining why certain libraries remain bundled in the
package. You will see that, although I made Guix packages for most
libraries so they can be used by other users, for others I had to deploy
their source code in-tree. This is due to ImHex not supporting
unbundling them. After some discussions with the maintainers, the effort
required to refactor the build system to support a more modular
compilation, is out of the scope of the protect; the changes you see in
the following patches is the best I could do with a reasonable amount of
effort.

I hope this brings the package up to Guix's standards and
allows us to merge it.

Good night,
Sergio.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v4 2/8] gnu: Add jthread.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:06:01 +0000
Resent-Message-ID: <handler.67755.B67755.172470990211499 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470990211499
          (code B ref 67755); Mon, 26 Aug 2024 22:06:01 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:05:02 +0000
Received: from localhost ([127.0.0.1]:45336 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihpd-0002z7-ON
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:02 -0400
Received: from mail-am7eur03olkn2085.outbound.protection.outlook.com
 ([40.92.59.85]:11584 helo=EUR03-AM7-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihpb-0002ya-0j
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:00 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=RZVmb22jhzqY3gC3hd7tY4FhaGSkA7mOhXin+pdGnEI6CPavZlm/g7HxVGrgGjPi64ohZ6Y6ZI7ebK9LzIK6+qbB3yk2Y+eNvUKJkIpkXDMNO+M7+Y2S83SQc6U2AqazHs1SU6uPX3IXDfpaeWdngEaxipql1T2zyhznhE2y9hiB6daVNd0ueUPF47b5bajcWQVsc/tivHDjA9U/E1e82RlrcTY0qlIG3PApxdBzCvh5sxlmTURUobN/bWfMVEAik1czlgQT4piQwkVWz40As642QyfnokfolyoA7f64WrIySJ5TbQveJOkYpf1PAeyLH9aXUPo1+nOG9THxz2DBLg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=qliCJlASPMBJzugRxbk0dqtPq+6LmaTYZ7LevDMUymY=;
 b=HHyJYNSrL/gZiJdHXkTlat0fSnxtdosfGV4pZpN809WOu+3R6dPXM46Vp2GTRcBSTn2a/nFi44coc2Rtc1lyi6u7GN3k6jPk5k2xVEqTkqZPgCyhE5v6Ol01+msl66JISpfPG9G8SHQNfJT/1d0gCAIGiKoF12yoaPsQzjU64+9ylNHDXJnvHauUjjWeKvGQqDd4fT5F2U8rGpvfcygAT+v5y0JbAHREEq5Bvfgj+PmBFfeQze+3oN9ncvC0F6k2BpiGqdLX09EwHKiDGZpuLXot+wTFfwnLO9SX9QPoYzpLD8far43x8Qy8JmKAp9oS7/kAYTJmLwBqN0MxSXIfxA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=qliCJlASPMBJzugRxbk0dqtPq+6LmaTYZ7LevDMUymY=;
 b=QWCIzQut8dxJlLqQ0LxMMERQYxQTE0nL4GJXprAqXJCwZkQzP+mGA8VpO2XV8ZZL0VTEYpHrsSSpS8cce/DmmwK79T9NV1mFTMhMoRJ0gwwN3wO86upf6BuJgKUFCecCLKQ5O5D+QEZaJr9z5SZwB6ZwN8rTLMbGns3GDbyvURIxOzQfV9ozxTdebw9dPHkKVrtQ7LVERne7CNIqQW4CLInhccFOovsI2Gf3BLA0jBTeSUok7xkpISr5xigI0KjIuHGeO8MYK+e3ace4sE0AdVCkGrX+RH2ZXanfiFy0JZLGOeJAHGFVKlQHtPwfnKh/n58p28GU28ZFp8VGBvYDIA==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by AS4P251MB0561.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4bb::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:03:54 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:03:54 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Tue, 27 Aug 2024 00:01:04 +0200
Message-ID: <PAXP251MB03486D519E57336C94543D13F38B2@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
References: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [b5vFOJ80c8tjXq3D6ZAI8pJfg6uK4euQ]
X-ClientProxiedBy: MA3P292CA0002.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::17) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <80df52974e256cc8ad25b30d9c96d7a64ef05d05.1724709670.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|AS4P251MB0561:EE_
X-MS-Office365-Filtering-Correlation-Id: a85facd8-d236-4ca2-3d0a-08dcc61af9a9
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|461199028|5072599009|19110799003|8060799006|56899033|1602099012|440099028|4302099013|3412199025|1710799026;
X-Microsoft-Antispam-Message-Info: ym0gSCtOTJ+jxBbhO8T5g3YM+8Y20yk4MY6dA16bgqASuyBxzrMUY5M6vXt7sZKzAwBz7Q12Ji90OErO+oeAhVCs5dkOWFDNkcsLVdSI0lY2nzG5KXNRKfRGpFepxaOet0yTi8ROA6sqQpIcrv5rw+i9TeHSn0IxqCdJ9BWMK57Ea9jI9DKaU0CS6FFnubps4ysyHNO4eUqsz6wUz31O7CfnoV8Fzr7VdwRA8vk0d6IyJGb3ThmeTi6NnujQV01gqJazyvpixmCXPVyF2liWHO7MCsp3wkEtatXrqMAZbUMpzMFd9JqZRfRKEkvZn7sbx/d2l19uGVu1s1M9EElBIYOa3zP/v+pnEWyYa7m/fsxkzf+o/y54b4S07RY4Y05gAmf8/ecK9GfKGrV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kc525etW6lOclkSk9qce6CA9X7BIdPrhviRrKXGeWmj5OXIwfSaYc6TNNQyft3Onh0VdHa/OF3aUGtTgvYQFP6SN7IrbnSBS84umKnF1LA32qHhU80FSbKIeUYisSo5MCjPrquaYS6oVYNYzhhtML8Hjt/eteSeP0aq64Z9eJRCftzvc6Yh6+q8TFZf5bGfoWl+IAsJ+yK9DXuy3D5e8OT+slmklwAI+2HUgTw/tDc/zhE4IT3/a4mm+zdCjH1rnlgTSmckJwmInzMf7A0hSrr8PjPpe4vmm8Fl5StH0ceLE5TBYptW4/tk6RBzX5RaiGTtLdqPMR3Q6toR7tpTnnt3WCrqw0l/WyiW8i+KgadSuxRdV6cy2mGygi/ptXTqDdcr96G4ClvwG+UZAU6qE2by3vja5vWdLnETZIOk76DtMl0RJRkHiNDJA1dOuTQoC0+MjWV8Whjusd9p1mlTijH4h/NOs1KpBhi1IIgIAiE0z9MvRmFH8TBHK4Vt/Heb2F3vWgyCJnieyfkzdeh1LwjLh52zEWldalbGyVR1dBXSvY8oh+8m7KOrpgBR31ZbqS1NnqwTcg+ez1z/j+It73KWUuokBXv2LK1SrksaFiDHOoVXoavvPCFAIaVtI9irZLexuh4qUWdS17Hl7t25KpDWd5H7TapNGrrKUWyC0cz8VKhAzVkinm0AQfdGyqek5nRo9CTy1GPjbah+HSJQZJB5lj
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: a85facd8-d236-4ca2-3d0a-08dcc61af9a9
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:03:54.1747 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0561
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/cpp.scm (jthread): New variable.

Change-Id: I163ab0f8dbd9bc5ed0250612938f82926b07bc92
---
 gnu/packages/cpp.scm | 93 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 93 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 708487ca97..49520d1ece 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -111,6 +111,7 @@ (define-module (gnu packages cpp)
   #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages tex)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
@@ -913,6 +914,98 @@ (define-public nlohmann-json
 (define-public json-modern-cxx
   (deprecated-package "json-modern-cxx" nlohmann-json))
 
+(define-public jthread
+  (let ((commit "0fa8d394254886c555d6faccd0a3de819b7d47f8")
+        (revision "0"))
+    (package
+      (name "jthread")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/josuttis/jthread")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "11cq4zh7pv86c62ah5im00gxr4cw6d396dp9117z8s271j4lrp6f"))
+         (snippet
+          ;; NOTE: remove precompiled PDFs.
+          #~(begin
+              (use-modules (guix build utils))
+              (for-each (lambda (file)
+                          (delete-file file))
+                        (find-files "." ".pdf"))
+              (delete-file-recursively "doc")))))
+      (outputs '("out" "doc"))
+      (build-system cmake-build-system)
+      (arguments
+       (list
+        #:phases #~(modify-phases %standard-phases
+                     (delete 'configure)
+                     (delete 'build)
+                     (add-after 'unpack 'cd-and-generate-makefile
+                       (lambda _
+                         (call-with-output-file "source/Makefile.h"
+                           (lambda (port)
+                             ;; GCC 2.95 fails to deal with anonymous unions in glibc's
+                             ;; 'struct_rusage.h', so skip that.
+                             (display "CXX17 := c++ -std=c++17 -pthread\n"
+                                      port)))))
+                     (replace 'check
+                       (lambda* (#:key tests? #:allow-other-keys)
+                         (when tests?
+                           (invoke "make" "-C" "source"))))
+                     (add-after 'check 'build-docs
+                       (lambda _
+                         (with-directory-excursion "tex"
+                           ;; NOTE: remove strict versioning.
+                           (substitute* "styles.tex"
+                             (("lst@CheckVersion\\{1.6\\}")
+                              "lst@CheckVersion{1.9}"))
+                           (invoke "pdflatex" "std")
+                           (invoke "pdflatex" "std")))) ;Rerun to update references.
+                     (replace 'install
+                       (lambda _
+                         (for-each (lambda (file)
+                                     (install-file file
+                                                   (string-append #$output
+                                                                  "/include")))
+                                   '("source/condition_variable_any2.hpp"
+                                     "source/stop_token.hpp"
+                                     "source/jthread.hpp"))))
+                     (add-after 'install 'install-doc
+                       (lambda _
+                         (let ((out (string-append #$output:doc "/share/doc/")))
+                           (mkdir-p out)
+                           (copy-file "tex/std.pdf"
+                                      (string-append out
+                                                     #$name "-"
+                                                     #$version ".pdf"))))))))
+      (native-inputs (list perl
+                           (texlive-updmap.cfg (list texlive-ulem
+                                                     texlive-rsfs
+                                                     texlive-memoir
+                                                     texlive-substr
+                                                     texlive-xcolor
+                                                     texlive-isodate
+                                                     texlive-caption
+                                                     texlive-relsize
+                                                     texlive-extract
+                                                     texlive-xkeyval
+                                                     texlive-jknapltx
+                                                     texlive-enumitem
+                                                     texlive-etoolbox
+                                                     texlive-listings
+                                                     texlive-microtype
+                                                     texlive-underscore))))
+      (home-page "https://github.com/josuttis/jthread")
+      (synopsis "C++ class for a joining and cooperative interruptible thread")
+      (description
+       "C++ class for a joining and cooperative interruptible thread
+(std::jthread) with stop_token helper.")
+      (license license:cc-by4.0))))
+
 (define-public tomlplusplus
   (package
    (name "tomlplusplus")
-- 
2.45.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v4 3/8] gnu: Add lunasvg.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:06:02 +0000
Resent-Message-ID: <handler.67755.B67755.172470990311511 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470990311511
          (code B ref 67755); Mon, 26 Aug 2024 22:06:02 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:05:03 +0000
Received: from localhost ([127.0.0.1]:45342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihpe-0002zQ-Lc
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:03 -0400
Received: from mail-am7eur03olkn2085.outbound.protection.outlook.com
 ([40.92.59.85]:11584 helo=EUR03-AM7-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihpc-0002ya-7r
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:00 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=ds9ElupJTFMWC9qaRWzGyZq4zuqzUSDR0MLUFeMxTUWmBU+Hh+vu5Lssfi6osEI22FL9S5bL0E+OoxcPBlVMfQw8b1CwvEMc2h/WfPvcc+j5zwN0kltzBKIYP3ERKmaRToJ5gdD89a0j0kJdrW943BnVdYm8Q0LvhMfDx/DPvvAfYsJ7w+ABQ/35xAdqpi0L8GfwgreeG/U6Q7BgiTqz2BFGzreX7C5Jsf/zGYyIOWK7Tm5bAhyqFSu05HNw0eQzzrHimKjS8GWqTv7ucVaIRiTGnOdUxEocR0SxSRVUIsFbz2n6NvkKdY6QQe8Z6WWT5aAYGwQWSsWmIv26wuicZw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=S0CLyvMj6Lkxq7sa22GHFiUHWD078P4ry52nOCotuOU=;
 b=v2+wMw//ZotGajONGrAeqPbk/ejvoTrK/iqZWuNzgp8trJUyCMVc7WqBCMWWwinHxRftelM40VTRll/pSmiubPHB5SZM/dTug2qQf5W2eSxUQkAunI6btjL3621fJqwAdxG1/lHopCvTh64BAbtKtr+NBVPxLHJ4NyG51v1Ionexb4zX29shA0Sw29/ICUB4WutYHAVGQKN/VaT7DqmPtNMz2AcpJeu83tjYB+npV10mXAf4RoswfvCMZg9oK814jGbXqFtGRO8548AvcOc8yVOqDdzKXAG45LW+X42hREv+hvLektuHE8Cw0mwHdVPWqkxTWwgbxFyKXIo6Jrvo/g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=S0CLyvMj6Lkxq7sa22GHFiUHWD078P4ry52nOCotuOU=;
 b=R+NmVSeRbi+cb7QoJa/YpWt+ES/bKCB60Zcb9xEen2dHV4SBn1XsdsHLwpWdvX71G0jEFRYCFwLacdlIkJtStJfZSmZUTHTg/RjpHA51z4OpfwQeWu8zHbMD7J+tgj9Jo1pdlGwqTU2/qdITjK8emuDnAp3rc7U+UuFqhDjxSNmWIIskgafIPp/7Qe315RZNIL+fEE1VtUnib0XHzxPbJOOaHqA+/oT2VDo5/rn7AzDvdV2Z53HKwMUFtzTkQUTUPNCuY2KGlZIunOZQHuS5xefs0aBXBjVBipHVM/2bLArFePJKs0G/KrufUdkI3YeZxzLlDkC3Q767DLmeeRuF0A==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by AS4P251MB0561.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4bb::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:03:56 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:03:56 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Tue, 27 Aug 2024 00:01:05 +0200
Message-ID: <PAXP251MB034896EA6C139CFFAA233F01F38B2@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
References: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [3vh91Dyoe5lvios7rj4DvVgoaTaS3wir]
X-ClientProxiedBy: MA3P292CA0005.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::18) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <434f82a1f07e31d3f0e27894d7f3e042739d397e.1724709670.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|AS4P251MB0561:EE_
X-MS-Office365-Filtering-Correlation-Id: ce954b93-52a8-4bd3-a91f-08dcc61afa5e
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|461199028|5072599009|19110799003|8060799006|1602099012|440099028|4302099013|3412199025|1710799026;
X-Microsoft-Antispam-Message-Info: WoToVAhV1nGuBgTCo1NZ0Ea/hGoI4MELpBO9NVnIFhtVbCgyGSvnQavnqdfYGHztvVgEv77Y7jYspV3Sdd/OynTHDmUKBy3cfH1wFOaX+a2epUiWOWO/XRoS/z3vHWinuxuQeH82LeGRTZUaiU+GDzaPAbOz9unHemyhrY5HFVVCMQ2huEMWewuKK3T/v7pjL4lbwrPpuT2/+Ptm2sRIagxndB2VTKs7oUggTmWLC+XB1iM2aShy/rCZc1IWpH3E7aY745jGvbbPoGF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8QPbrlgoqjhh70/XwvLNABnakvcPUDteophsTeVsDMatXEe/qUZ+oSI725Jx7a7Ocn7bNJ66/gMa1EALQdWef6KE1nrY4TvdB97k/vHFFX+F/bOsYFSUGk5ltCZsd43R0TyoXHmQO+pRPfBOt9ycdifapx6pvK48oG+BeYAo/aktQ8gB3vIE2VgVcK7p5OUWRzbn+GX4++1UxlKtQxfIy7L9g7/Q9vAnSc1DIz6X+x6sEIQ8EVoRPZOpcLEYLt3Qhv3cn51Y4rNcUndQLTJMksTRPj8e4dLtZuDDpJxXVK9/CBtGRQsSV99rER/oqKAzH+KyvGz+cSOvRy7xFkmZR5RStD1UrFDUQiOuroLG8AePzJreO8PZmSmbX1/EYiHpEWJzzRHrEoZ3PebqgysMRUAzvRaA2j3z1oRnkmoVDv5opoGXR6wJXuKn883UiBBB9scKa0669Ka1F7Q5W4ZgOejCSuCReIJQvQ4lknLZlJULdyroIFgli11UWeCz8U0jdiy+bFxwNLnAZsGzFPeUxc2TOkPvF9spsGWX4QiyfcnKbgj1h3d718aTvMbb3QHLtC0m6TsIk0oP4ulW8Z4/ZzIyHS3xIYBF7ThJuqSaa4Lx4wQzsnjoHai3Z3RDU5T717QTZPNpP4uswVBt28VhOHh2SO6Ka1CEVY8iG/Q6QqcGX8/aX2h/5skT2IMX9OgYDs6fd+gq8vCyOPy6gLwYwAbc5xws/nfuYVT02WELPVxPDbtxmyykt8KYJvNx3BA6uxXRuWYTnyP3h3g3Ma6xwxTnIC52azKfJ1tTHLJgvp2U5OfQJHzrVcGwJNsPGhx9CzRIP
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: ce954b93-52a8-4bd3-a91f-08dcc61afa5e
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:03:55.3413 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0561
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/cpp.scm (lunasvg): New variable.

Change-Id: I77b7943e26e4e676a1575e3e33305f6f4476b401
---
 gnu/packages/cpp.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 49520d1ece..ec5156b1fa 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -467,6 +467,27 @@ (define-public libzen
 operating system functions.")
     (license license:zlib)))
 
+(define-public lunasvg
+  (package
+    (name "lunasvg")
+    (version "2.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sammycage/lunasvg")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0s81phhi0q1mkzhx9fxgvv71s21yv50r01gi3bdwxzb3xrhj3yjk"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f)) ; No tests.
+    (home-page "https://github.com/sammycage/lunasvg")
+    (synopsis "Standalone SVG rendering library in C++")
+    (description "Standalone SVG rendering library in C++.")
+    (license license:expat)))
+
 (define-public rttr
   (package
     (name "rttr")
-- 
2.45.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v4 4/8] gnu: Add miniaudio.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:06:02 +0000
Resent-Message-ID: <handler.67755.B67755.172470990711540 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470990711540
          (code B ref 67755); Mon, 26 Aug 2024 22:06:02 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:05:07 +0000
Received: from localhost ([127.0.0.1]:45350 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihpj-000304-CS
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:07 -0400
Received: from mail-am7eur03olkn2085.outbound.protection.outlook.com
 ([40.92.59.85]:11584 helo=EUR03-AM7-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihpc-0002ya-S6
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:01 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=FSxviXCZ9TJHXGAw89jer2A+QiIRzINHmrp/hjLBf86xZdg7YkEG1I4lGv7h5P/gmlyziSUkBuCv1pPEnW+Bibg+Z/J4rLPuj+YCZjevZVXJPXoSfxftMM1AD30tZ++pUeVcja+AyEKGlO7mtf77dI2gZzA15aR4g57f6gxhWEo3YNXf/BzsDHhelJTxtoVc9FLlkH9EtlKzFJ8Plhjeo+bHiYDCl0xhMiv+zfgMeBbdtXG+esUIaWbQ1FqxI2yH54eAmqYsBI4WKmjoB2rye9c3ZJwcGGk6UzFcZc7VzpGAHAwPe2CoDiovE+oDu8rDSeayu9vVpiTR8qqhm+C66A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=Ln2MldVZk6Yc3zm8+Hyl5sd4qhV6m6+UyqTqoU7Pir8=;
 b=NIvyxW2SPRZQ2hg+DQtn+vyadslPA6jwxNAM1qYrrOV01acTT6q8/Rec70GS3s0fHr+KrWGU6WVpM/jMSmfq6OQei9qtOuAFU0IGRLm2ubcmgnDb++zpm+yndoe40sfExkHwy1YKqKpNapDj2rEZbA2xOHNDzcUf7MqPfNNXBu5k/0LwkFfa3JPy7Wk5FaUdh9MdUfCr9xJt1SE8caOsNtgJM9Th002LO0SEVcDGnXa5wN3uY16RwSePYO4xlsOxVfhLNI9VT56AAtHCrgPBZqBoqmp5hqEqTEujXomO4HK0jx66pxFjspmdFX6X7Qfrkpz7Hyt/NApjIybKwsQEcQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=Ln2MldVZk6Yc3zm8+Hyl5sd4qhV6m6+UyqTqoU7Pir8=;
 b=qm5zzrdsmW6Q+/BFydl9a7vUGiIDDXZH9Pygh5bHMj7PB6PamycmfvbJFNNfQagjOiiFUzdPhPafJBAuO57BgwynGjV/QfmgolV3LliGkOkWAGMCMtVfSdKW4/2mWJ3GvbcmkQRnSXXMjCSMu9wOTpQiIT/A02No2HddMZm03H4/mVpaiBF946K0QeURCBQgCJqKoXMSauYX8t/NMDaH1gapGtV/37TvxFbpM0sFmp2i2Ov3DxgmJ0pSCD9VaE7tmU5xBLgfhr3gsUSEez+IVJJl8+5PPrGIWk5UCebc0XA9fzLAQlhOmg9gYDF//+O4ZvIxPiRuZUhH/j2YFf3kpA==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by AS4P251MB0561.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4bb::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:03:56 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:03:56 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Tue, 27 Aug 2024 00:01:06 +0200
Message-ID: <PAXP251MB034887FDAA1735B5E2C8A85EF38B2@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
References: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [HDh0amOfHXcJMiY46hLkbMFkjniUxdQQ]
X-ClientProxiedBy: MA3P292CA0003.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::20) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <69e4786b78b2ea6e3d463c1d458a16cc51cf454b.1724709670.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|AS4P251MB0561:EE_
X-MS-Office365-Filtering-Correlation-Id: 19e4a920-f684-4ecc-cd96-08dcc61afb1c
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|461199028|5072599009|19110799003|8060799006|1602099012|440099028|4302099013|3412199025|1710799026;
X-Microsoft-Antispam-Message-Info: 0oK1C3MBSohXcehdvxU0d1cxq6z454GPCvDwy6Baoupucwwgvis8/m3HPF43u+4Zq8MZhWm4WRAcGf0iDeJnW7vWR2bLjEFbkhsrff3j3nsw03Rzi/69Lu7/TemamFDEZyK2G8LgbF6GcxBbLF3f5/cTs2JVTFRcUvjBLJlNDAV0S5mTnWUTHtkKCqhfvOgrGMopayos5wIhABByRR4G3E+Q8Z0TJPhA++0dw99PobDOl0aF0J0BQBq0UTV3REzNTyYlFQHnr85yKaAfY9fJ1npIuek5CFDGE2wTR2kbGr4scdzKAwUX9i0ZsTOtgeJ7HCMoLs2J44VOFa4EKP7caNDsWjLtkdCYNXIYyBJ8PIBgiPTLIuPgFo/m031bmvJeEUeK0FbqqKnMPzbMsxDvw7pZRzTBjCT4w8FZs5nhVu7MeSVolS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jUX437RUka1tEn8gR7purJ3v9RtG6fxm61N0ZndmTTzIcCzpVUCdI40/r6AHTZBekR8BnTeOGcMvak8nuV8I3sSurNYevSrNV1afhjqOsNvl4ahh4kt/Jx50m1B1gXkQcR5S5VvCXqVjnJZjQTU9AwmKcWtTTI1S+kgW/K7Uf3V0QddSsl7LbQFfOWxKfiPe0Y1wOGDFEsZPZSzfh/LSr8SVpJPAYO+uYQ2X1SBCROe6J3dDciWQzO9HJlWr0aXs1ZQ8HPj5OPSaWsiPxnUjt76Jq9m/DLA1AIL5JwhR2Pf/ainn6Y7skM6bze2ze9mCGs7SfmsDLNJmTUDC1AWFjWIKA8kI/B9quiVDLOY8U8PmU8OgHRmvMTR1MtsrERhFtbC1ObRPFDYb2oI9BvkKeFRyKhoIELWvVO7jf4wYc8gqiUOQmn7Tp6UEr8SpeKOLJJqMiFBRctxggt18j/j7idctQ9F9u2esaEPg3s8V39UN9tX7+d4mB+KaGRrNQrC2NSZZORWjjXWaHGSL+djVezW1r36cDTzO0m9MmebW2/XZ4qW8S3DnfigHrJ5cpFmcZnHzA/tmlUID0+xu90bz2aE06Us9/Dulcy2+lmXxUPuAvGWlm55JjG8gaP73lZzx4ZMhppd8lhelxneKMkP6eSqFhpkBBJ1UQ8rbg6g91SZi9xti1G0mTp3py
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 19e4a920-f684-4ecc-cd96-08dcc61afb1c
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:03:56.6553 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0561
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/cpp.scm (miniaudio): New variable.

Change-Id: I27b74793dd7b80af4437e0a1b997cc87fe8822e5
---
 gnu/packages/cpp.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index ec5156b1fa..dd6488ccd1 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1685,6 +1685,57 @@ (define (make-static-abseil-cpp version)
            #~(cons* "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
                     (delete "-DBUILD_SHARED_LIBS=ON" #$flags)))))))))
 
+(define-public miniaudio
+  (package
+    (name "miniaudio")
+    (version "0.11.21")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mackron/miniaudio")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0hlqp44ifi3vswvfpqljj89321y6yz3zq6rng51wfq8p4n9k5qhh"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (delete 'build)
+                   (delete 'configure)
+                   (replace 'check
+                     (lambda* (#:key tests? #:allow-other-keys)
+                       (when tests?
+                         (with-directory-excursion "tests/_build"
+                           (mkdir "bin")
+                           (invoke "gcc"
+                                   "../test_automated/ma_test_automated.c"
+                                   "-o"
+                                   "bin/test_automated"
+                                   "-ldl"
+                                   "-lm"
+                                   "-lpthread"
+                                   "-Wall"
+                                   "-Wextra"
+                                   "-Wpedantic"
+                                   "-std=c89")
+                           (invoke "./bin/test_automated")))))
+                   (replace 'install
+                     (lambda _
+                       (install-file "miniaudio.h"
+                                     (string-append #$output "/include"))
+                       (copy-recursively "extras"
+                                         (string-append #$output
+                                                        "/include/extras/")))))))
+    (home-page "https://miniaud.io")
+    (synopsis "Audio playback and capture library for C and C++")
+    (description
+     "@code{miniaudio} is an audio playback and capture library for C and C++.
+It's made up of a single source file, has no external dependencies and is
+released into the public domain.")
+    (license license:expat)))
+
 (define-public abseil-cpp-cxxstd17
   (abseil-cpp-for-c++-standard abseil-cpp 17))  ;XXX: the default with GCC 11?
 
-- 
2.45.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v4 5/8] gnu: Add nativefiledialog-extended.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:06:03 +0000
Resent-Message-ID: <handler.67755.B67755.172470990811549 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470990811549
          (code B ref 67755); Mon, 26 Aug 2024 22:06:03 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:05:08 +0000
Received: from localhost ([127.0.0.1]:45352 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihpj-00030A-R3
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:08 -0400
Received: from mail-am7eur03olkn2085.outbound.protection.outlook.com
 ([40.92.59.85]:11584 helo=EUR03-AM7-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihpd-0002ya-LM
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:02 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=KyHvYbSXnJ2emFvR73tX8RDxgvpH/F2HlXLtAokBga7snEjTtzhgYb3lWz1qsG+gjYqQhzEMGTCgropPLLckKImyxFr5wjftVE0IZdOQDzCeR3h/mcCh7z1UPaUll1668iVCIemZkkTrn0RcMmsAiy0rWdHg7J96tI2Y+yq94BT73fm0KH4DxG1amLM6CSe6f0cxy34JTyMauxWAmTz0s2ztGsf/iPjMmiqi5SdOYaD1/XHUZ7y7WEdvY/7wQCeUGHkDNR7DEbgiSjFv7D7wIaoIhXGJpbrI7A4ZBsnpuCGXaa+vNit4vpvGOUyle0hcC7STlmjqbQsuFCHs/2e8Kg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=lSBaQVmG3rj6wQpklg9pGnFL2mgvu9KRSIQR1wFUfp4=;
 b=yNkCZosYw6AIU1YPzDdgiz+HNv3AgeABcZMIMHWbFr8fxZi24xJWc2tG2AiCtjbaYc6SFt+qLpp9vYRtwPcqwrBH+YRF1vdfQB/xX7MXZ3PuRPVeK8F1cl+uLZV0uREru7Va6DOnpSrtXiq4D+TzDnHVt8krptVDS9D0Rzz7hIl8v+xbijTmR7KM7vj510wwg6eEmqEjtL3uIm9q8SxBPrTqyx7iuv7FcbOhZ326GXnNsgusUcKK741lHul3ED9gsaHAgU7rW+EchhsMbjp5bWrFdFfnEL8d9A3sfWD87/C2xSDbh23OKbVcIBrAmgfhpqJafNPmk9CooSCQc14EYQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=lSBaQVmG3rj6wQpklg9pGnFL2mgvu9KRSIQR1wFUfp4=;
 b=bSKH5aY30CCH2rdHTNAUIUbKWMAENPuTYeFCdMMuhtols24oNGPVn/7fHak6rSagwYi3sVD5+bTIdBl3l3mcuBJ15UxP0wl7AwV0pRHfGr8gCaNmXCysU1TKZZGe8dNnic7nekQo2Ee3P2kp1aMJOZW16RLVidwx0nK9BrqVx4k4vxmU6+2e/eJ+/IKdlW0mvUDELGoz14b2Uf9KdRc+qsGdNVDKzm+ttlZ6xVnMPX1HLIJChrIvQ5Lz6dBIwiolo2S0GNoNQZfurQ5+YYQlNUNv3xBdTV4dobA4NYXDcnQPRJJD9q/4RQK7B4Rwf7ekztBimmG9Z44Uwqq4lk9zwQ==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by AS4P251MB0561.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4bb::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:03:58 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:03:57 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Tue, 27 Aug 2024 00:01:07 +0200
Message-ID: <PAXP251MB034859C62EEBDA2E8D5FA7F6F38B2@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
References: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [Ykz1BhjGzMy6wWnBxhwpR38pCfuVgmMv]
X-ClientProxiedBy: MA3P292CA0009.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::10) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <5ff22e6b7b76f04f77945331edba836c79f4f846.1724709670.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|AS4P251MB0561:EE_
X-MS-Office365-Filtering-Correlation-Id: 6b450b5a-0548-4e2e-5903-08dcc61afbe8
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|461199028|5072599009|19110799003|8060799006|1602099012|440099028|4302099013|3412199025|1710799026;
X-Microsoft-Antispam-Message-Info: 3PGPF21ZVGBpwg1FRaQgOFoE949J84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kj07U1wyd4IzVzGJePt
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 6b450b5a-0548-4e2e-5903-08dcc61afbe8
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:03:57.9208 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0561
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/cpp.scm (nativefiledialog-extended): New variable.

Change-Id: I89ed4554db3ec8075bbb7d50bbfb4b99cae81a27
---
 gnu/packages/cpp.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index dd6488ccd1..184d3a889c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3325,6 +3325,31 @@ (define-public mpark-variant
 based on the implementation of std::variant in libc++.")
     (license license:boost1.0)))
 
+(define-public nativefiledialog-extended
+  (package
+    (name "nativefiledialog-extended")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/btzy/nativefiledialog-extended")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "15l0jy3v4p6rgg9dk8zr80lqp51s32ii62cm4s90400ragdgh10v"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
+    (native-inputs (list pkg-config))
+    (inputs (list gtk+))
+    (home-page "https://github.com/btzy/nativefiledialog-extended")
+    (synopsis "Native file dialog library with C and C++ bindings")
+    (description
+     "Cross platform (Windows, Mac, Linux) native file dialog
+library with C and C++ bindings, based on mlabbe/nativefiledialog.")
+    (license license:zlib)))
+
 (define-public tsl-hopscotch-map
   (package
     (name "tsl-hopscotch-map")
-- 
2.45.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v4 6/8] gnu: Add xdgpp.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:06:03 +0000
Resent-Message-ID: <handler.67755.B67755.172470990811556 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470990811556
          (code B ref 67755); Mon, 26 Aug 2024 22:06:03 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:05:08 +0000
Received: from localhost ([127.0.0.1]:45354 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihpk-00030E-5j
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:08 -0400
Received: from mail-am7eur03olkn2085.outbound.protection.outlook.com
 ([40.92.59.85]:11584 helo=EUR03-AM7-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihpe-0002ya-D3
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:03 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=Plo2aM6kdRPeYDVOGErUSsLYefX2mhHzA8oYLpF4ojDFV333bXsc/cXOdKW5Mzd1m9JTLZ9svNMvzgo31efIPs6y1v2t1sv8WD0n93CIUQLtLhuK6RLXrD7qgnG7Rpf5v3Y3JmpO2KhuVAUBMUo77K3IKt+vCscHhSYdxFjNcMV0AY6ZfFE7b67PyaU4VLx2GCttHgdn0yVNl6qC+B0pkQGTThVZGlSRqbPjMSGdme1Fnd0O8xPw2fGOJDVFt3D4Ec7K02TevqS1D2DARQlPlBg8A/xH/2MoulmyHrw4et1k1T+KAJasphkQa6wP4cYSgcRQ/q8wobCx25V6j2L3kA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=8QSCZskMz3hoS+Kr2QdoxYGaKjVCeQBI4gcPEmy/r7I=;
 b=IvOJ4pPicOTZi4VtIX9jaSaTlTakshH/dJ/juFFAP2RxB9EFjB6LKqGHGtnryy26jYkes5F6fQOPiH/+KlxWC0xrgfm2FnNdRQdHO67ZKY6t1BunSgMlFVmFYPFDmEUy/2f+lL5xVxlXHvh1g8SDJYnKp51/71mTmvq16enIXxYE6JJln6YdyCMCMHQor5+QKYv9S76HuBpvXL+N8BuxPSwV1PPlr3DV5DCtSSC0itPj1Sb7e5f33hWjPxrTzKLMJv+LqaXffbd/tmXj6fCI946y9ETFdM81R5+nVx6TNv0yHNHisWbzDkGq8TZQwz5MJfyv9VnNH97S6uROoBvjlg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=8QSCZskMz3hoS+Kr2QdoxYGaKjVCeQBI4gcPEmy/r7I=;
 b=qMbIdRhZmBZnDSvWg4kpPDlble9VqPdDiOGf6YyUwit99fbyhAuVp+1t609MSGXrhmDbRecSbCmJCMPpvG2PVmZVcTCHf638AUKPBprQaYZ3ImNeeBVU16GBwQikFgmk9gcya0Wxap+nj1grYbwXucBbZ5t35AsXlCiEUs0RB0lKV48EE8uJVQ8i+98Sbk3XK1I+kJ1JjO927Y354d3hmcJaSYe3Z8FFp33AMolwGBpDO43ACP+RSYn+27mzW3YCktgX2V4Udi4H4CaQAoKTKecYSlAYzho7zlXnNCK8PvPApVUmvp17d1/F4yp+3SHWGEQvwcsHhpMCUsdVBIvxJg==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by AS4P251MB0561.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4bb::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:03:59 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:03:59 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Tue, 27 Aug 2024 00:01:08 +0200
Message-ID: <PAXP251MB034864C8399A2D5FB07609A4F38B2@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
References: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [QZaHJZi6MDCHN1fs2gFexFDnjR3G8Nz3]
X-ClientProxiedBy: MA3P292CA0006.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::14) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <6886a9ad3a96712b58f96fd38264542119c23489.1724709670.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|AS4P251MB0561:EE_
X-MS-Office365-Filtering-Correlation-Id: 3c93eb79-eb8d-467f-c8d6-08dcc61afcaa
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|461199028|5072599009|19110799003|8060799006|1602099012|440099028|4302099013|3412199025|1710799026;
X-Microsoft-Antispam-Message-Info: ZtonHntDfB6yfdpvbEztzAErHk9KPwgP8vUFIABCoV25kJ3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orOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 3c93eb79-eb8d-467f-c8d6-08dcc61afcaa
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:03:59.2039 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0561
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/cpp.scm (xdgpp): New variable.

Change-Id: Ia11c0926e5b7f6e60c5dd48e8973cfd6391b1469
---
 gnu/packages/cpp.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 184d3a889c..6030963a3b 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -619,6 +619,39 @@ (define-public dashel
 combination of these streams.")
     (license license:bsd-3)))
 
+(define-public xdgpp
+  (let ((commit "f01f810714443d0f10c333d4d1d9c0383be41375")
+        (revision "0"))
+    (package
+      (name "xdgpp")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.sr.ht/~danyspin97/xdgpp")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1w8da10whrhc7j82jf90814m3blabkl9s0kg8hv8h2fj5y3ji7hw"))))
+      (build-system gnu-build-system)
+      (native-inputs (list catch2))
+      (arguments
+       (list
+        #:test-target "test"
+        #:phases #~(modify-phases %standard-phases
+                     (delete 'configure)
+                     (replace 'install
+                       (lambda _
+                         (install-file "xdg.hpp"
+                                       (string-append #$output "/include")))))))
+      (home-page "https://git.sr.ht/~danyspin97/xdgpp")
+      (synopsis
+       "C++17 header-only implementation of the XDG Base Directory Specification")
+      (description
+       "C++17 header-only implementation of the XDG Base Directory Specification.")
+      (license license:expat))))
+
 (define-public xsimd
   (package
     (name "xsimd")
-- 
2.45.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v4 7/8] gnu: Add imhex-pattern-language.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:06:04 +0000
Resent-Message-ID: <handler.67755.B67755.172470990911564 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470990911564
          (code B ref 67755); Mon, 26 Aug 2024 22:06:04 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:05:09 +0000
Received: from localhost ([127.0.0.1]:45356 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihpk-00030L-K9
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:09 -0400
Received: from mail-am7eur03olkn2085.outbound.protection.outlook.com
 ([40.92.59.85]:11584 helo=EUR03-AM7-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihpf-0002ya-7C
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:03 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=UzNIiPtksmsF0BOz4IMneUHa0s1e/zbu/hx1jrPUDWaQZOfdnVhY2N61m3d9wD/291ruAfHBHcYVb/ezdAbsdEX1OSHR1+c5bgaDYWbr7sh1AVVsq0sfY003Q2FjLviDCkadtceRj5HnQrpKZErIG8b2dhK3TUJdU90oCbYew+o38jvx/8k6D63WTOJgfEZwEgBfTntv32yOofAA1mMea4HL9Q5u4BzH7N8K3sxh6YVJC00Q5SHON9CvdDEnT7FSEvZEViiGzh+sCHYUgSMrOxX6Tcit1Bp6Q5LKSpXS6HG6EHC7uwmsLFw3xf3h2eeWcdll0TK8dPVsz7pQEKuKOQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=qoFaXzjvw4NQxfvZBF+hs5qf1DcWWaT+XwzfkfO86JM=;
 b=UC0my7YBvO9w3XjHkg1XsIGf19D6fPHbYW8KPFayOJPY6RRVKwUFM2n7FgmncdHszCffaYDC6QCIQ/OnPdXZF4OVg4fNhn1HwAF479lCW1GkHxkLwYf1Y7s969TaXOAD/wxEvKCPFdEEO2Pp5IXvXHZ59TBYrkErIJzTtqrw19FHZrGNOGwEvxoleBS5wPxJsI5zMORDSeRS/V8vY6w793M1DrEWzXtoB/rJX3Xj75PJlKdZsbjxqZTHA6wh2fG2VP29GiF/0twpW+wVZCLW/pD+4TfOAb7cMZzmK1EWJ3cKNbqfXIl/2p5ZRSn4Ioj5hsX75hVxaNxU03juWPqqaQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=qoFaXzjvw4NQxfvZBF+hs5qf1DcWWaT+XwzfkfO86JM=;
 b=mOeVBqBtb0L4fM6BH8Ht3pG6V4qVxfs3RXkW7HW7BbY3L0gqfhXUWbnFtHBsrrIzCz0dQboWsrj35LE1W8oDn2F9OUORsoBhExjWw86potojhPP87wYDWwkLQois3wyvGgRzpGmfWJtmyRGPJTLPW2UWR+NaM33q7fbMm3X2J/OYC8dPc/AiOYqZgS/UjI3wOxiSQ3RDhLfSJUYPTdHoJYt5mLKtvpe/thHgY451C+J5FUr7yfWTp7rZDJ9hlU07hPx99edPvcSgqU19k25BVS1YowL/VoiDnB6AaEk1OGCywgDBIY9xoUu/906E1yT/J8HAIn8giiIGiYWTXlOjUg==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by AS4P251MB0561.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4bb::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:04:00 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:04:00 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Tue, 27 Aug 2024 00:01:09 +0200
Message-ID: <PAXP251MB0348D60BFD86D877691395F7F38B2@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
References: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [dyeajAIA2B4pA0rpbd1KrTpw8ZHgJmEU]
X-ClientProxiedBy: MA3P292CA0006.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::14) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <3330b56355a02d9b9b6e0ca8b8ecef4ec64c7afd.1724709670.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|AS4P251MB0561:EE_
X-MS-Office365-Filtering-Correlation-Id: 890c6f80-4a59-4780-7274-08dcc61afd63
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|461199028|5072599009|19110799003|8060799006|1602099012|440099028|4302099013|3412199025|1710799026;
X-Microsoft-Antispam-Message-Info: VRSnJO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kRdsa9yZZMkVzLGfWGISEsvN5+R8pj
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 890c6f80-4a59-4780-7274-08dcc61afd63
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:04:00.4035 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0561
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/hexedit.scm (imhex-pattern-language): New variable.

Change-Id: I641bebed0bea9b2c8aca87f54d0fb457064a07d7
---
 gnu/packages/hexedit.scm | 74 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 73 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm
index 668699a28c..e5f58fcce0 100644
--- a/gnu/packages/hexedit.scm
+++ b/gnu/packages/hexedit.scm
@@ -22,15 +22,20 @@
 
 (define-module (gnu packages hexedit)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages man)
+  #:use-module (gnu packages cpp)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages python)
   #:use-module (gnu packages ncurses)
   #:use-module (guix download)
   #:use-module (guix git-download)
-  #:use-module (guix build-system gnu))
+  #:use-module (guix build-system gnu)
+  #:use-module (guix build-system cmake))
 
 (define-public hexedit
   (package
@@ -94,6 +99,73 @@ (define-public ht
     (home-page "https://hte.sourceforge.net/")
     (license license:gpl2)))
 
+;; NOTE: `imhex-pattern-language' should improve it's build system to be used
+;; easily outside of ImHex. It should update it's shared library install target
+;; to deploy the header files and it should create the pertinent
+;; 'libpl-config.cmake' and 'libpl-config-version.cmake' files.
+(define-public imhex-pattern-language
+  (package
+    (name "imhex-pattern-language")
+    (version "1.35.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/WerWolv/PatternLanguage")
+                    (commit (string-append "ImHex-v" version))
+                    (recursive? #t)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0riphslp3rca6z6f5zfvsisdh94apijfi03s7yap1vjnf6i93pks"))
+              (snippet
+               #~(begin
+                   (use-modules (guix build utils))
+                   ;; NOTE: the `throwing-ptr' hasn't been updated in 6 years and
+                   ;; the testsuite expects to use an outdated version of Conan,
+                   ;; since this library if not interesting to have it in Guix
+                   ;; it will remain bundled.
+                   ;; NOTE: `libwolf' does not have an install target. Until the
+                   ;; maintainers create one, it will be bundled.
+                   (with-directory-excursion "external"
+                     (for-each (lambda (path)
+                                 (delete-file-recursively path))
+                               '("nlohmann_json" "cli11")))))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      ''("-DLIBPL_SHARED_LIBRARY=ON"
+         "-DLIBPL_ENABLE_TESTS=ON"
+
+         "-DUSE_SYSTEM_NLOHMANN_JSON=ON"
+         "-DUSE_SYSTEM_CLI11=ON"
+         ;; NOTE: the `fmt' package is vendored since it needs
+         ;; a specific commit. Until there is a compatible
+         ;; release, there is no interest in creating a Guix
+         ;; package for it.
+         "-DUSE_SYSTEM_FMT=OFF")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-rel-paths
+            (lambda _
+              (substitute* "tests/include/test_patterns/test_pattern_format.hpp"
+                (("../tests/files/export/")
+                 "../source/tests/files/export/"))))
+          (add-after 'build 'build-tests
+            (lambda _
+              (invoke "make" "pattern_language_tests" "plcli")))
+          (add-before 'check 'plcli-integration-tests
+            (lambda _
+              (with-directory-excursion "../source"
+                (invoke "python3"
+                        "tests/integration/integration.py"
+                        "../build/cli/plcli")))))))
+    (native-inputs (list cli11 gcc-14 nlohmann-json python))
+    (home-page "https://imhex.werwolv.net")
+    (synopsis "The Pattern Language used by the ImHex Hex Editor")
+    (description "The Pattern Language used by the ImHex Hex Editor.")
+    (license license:lgpl2.1)))
+
 (define-public bvi
   (package
     (name "bvi")
-- 
2.45.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v4 8/8] gnu: Add imhex.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:06:04 +0000
Resent-Message-ID: <handler.67755.B67755.172470990911571 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470990911571
          (code B ref 67755); Mon, 26 Aug 2024 22:06:04 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:05:09 +0000
Received: from localhost ([127.0.0.1]:45358 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihpl-00030T-5C
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:09 -0400
Received: from mail-am7eur03olkn2085.outbound.protection.outlook.com
 ([40.92.59.85]:11584 helo=EUR03-AM7-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihpg-0002ya-01
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:04 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=sujbfb7FE1graxquMb3v9/8uwCCI3/Z5Lo9do0YsFNMfGyQclTsD8hGpMxkx1e6GhP1QpdMqYTgeqIsQM6WszMmrxBh49OOwHYyltEg54ikLBj/eU9efltfXVdWESG6b7VjunfpY9oPiP/g5RpzawKTw+899ELwss6RZCFLbIzpoWTISaJ4paLt5yViWL/xRzeXjhrl0erRkbx/c5iB37oJfD9JO9JCAymD8r4eb3fp6n8cKsoNZ4qcjVbqDlzbMrSd48WIEJitrLLt/+coBkDG/S4CmMtMugpWuh+a9QrclpwiK2LvbsNZZ4hJfsg0oDAydsTqVnTY9Lky3uNZVkQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=V78EU2/Rxwl6mcNAJ3eOxk3t2MpLqs+Bh8EoT9tnPHM=;
 b=mmKWdCJYbk65vk75QByTOUpauMDIL5/LBnEmClc+1nsJx8sh0OPglLkUwI8021riZicg8w89szE6tGN/4avqjnkjvE3IS82VRnrjFSKPwMa3P9MXnftTD+q5WzJtRps+iQJrnXG/sXkY827rFCphKZ3hGbaoTB0gdy7HN/aJYQ5WbBGpHURdHxJNNr+6kLuZYqbA2RNEuHMnZtFAT8REMvf4S1JhTr3ZDUXAc/l7MsfNfklEospHv9wkGK4MqCMFIJ55SSZfND8QYB7jEuWC5vs+adl4ZFpRPmnbT5/+jLalnmeZkpTRnWG64MoFoGvg8t4WxdnxBuWQxWn4nGlXcQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=V78EU2/Rxwl6mcNAJ3eOxk3t2MpLqs+Bh8EoT9tnPHM=;
 b=GL8ToKQ7vKclIlS8aVqYUtX36tAkD4PLEkxIsk0cttKLe/w39T9IXv/+l4YFJ6Kqq/eYTfGzZQRhz6DIz8EhcHhqDHh0Z+EtkI/+Hq9lYoSgZk8UjeblGlZIce6SWdIb6oi9xIU4RYlalgBSXooJwpQ5HBd58e7w30b/IKuzDzgsqwGKwFwU8frA7zqBUvfK4zZLmhwnS6kUEGh+1XVHBwJaIpoLF9CQHAfJ5HhkMWHbKSVJdhpE4dW/9VMCd94UG8ToQ5VrADTVszgE1HqCAkK7RIYBSFejAQW3xPx0SCURZRJRDRk1o6OEZ2dPGMyEnrnv6Yjg1YlPZlH1Iu5yTA==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by AS4P251MB0561.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4bb::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:04:01 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:04:01 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Tue, 27 Aug 2024 00:01:10 +0200
Message-ID: <PAXP251MB034892752BCA35913841773EF38B2@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
References: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [gMg2ZpJJJBHogn7ARTK6EdiEeGwi5DkH]
X-ClientProxiedBy: MA3P292CA0006.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::14) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <da9ab7d6a6d79570b766a688dcd0ecb6dd5563f3.1724709670.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|AS4P251MB0561:EE_
X-MS-Office365-Filtering-Correlation-Id: ef7c1be3-e609-4bed-6379-08dcc61afe29
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|461199028|5072599009|19110799003|8060799006|1602099012|440099028|4302099013|3412199025|1710799026;
X-Microsoft-Antispam-Message-Info: HUt3JzLvYImHOO2z2XVTUgbSqBxC4zaYlF3NqbmYogZTJLUomKTO3gj23KaHCXx99jyWZqpLyHMc4XW5j7teogSMRF8kvWbyJZAKEWsPBibNwiENhFWINtA28yeniuJOLzhaIolgbAZLVn+RLMUaORRyIBcvzzPO80oUwzmZ1YW00j2/VoLKeWJ5v7T8II1uBHcOgWwqtYDcEXCkwO1GRnseuN8CF1aDGeslC+UXA6CAPH76juceMT3QliOUhNrs57UE8YFueOgMDm0Z8FOGSVVjHwYPR/RVx7C2ZWExEsF6Dvf/rvcmvnj4neGvoV4cvjJAnRrRbNcyEza0jvG2w4zgVrJjBqiAu62Jo9kVApITJhFseMBayGZykACR1VY0P3VPRAy8msi1q5pY8NudJL2BHFmILx3vhOJChokNpSz35jIkIidCTsZoqcVP/nMoK4kByXfgsMOMl4Mr9qTtrGvuyKjoRGwOCoqCYXRoZJqidxUib1CDebdv+it2H6OnyZR8+fwYkU7i0GvakxwxZOlGib+UXN1i4x1VckBDfWOiI7c947WBX+Ww1cTu3sC3o/P/Nw7003LGqAo3sVL4tGM2k8VDj/W5p15I4eRRRmWx3mZwSXIkXxAZN510K9SSq7PK//k67G8FT4sFSxIBWrBg98dVeGW2oxNLOzQDM13J1W66xmqnIbGjqdqt1/8R4548ucANA/yqEdXo2jvPvrF+lyXCAdzm26rbG0Em18D8AV7adkTcOKW3vcMVPh5BuVcHlCQ6A5NX9I0DzgdDgvgYIJll80fuQXZEJbPp4QoYCGKl2GahuB72FZDmjB26pprhkrN4OW5UuX9Sfj7J/w==
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: 957C+6/wkCFO07J8kBOTLo8e9xeaoI2b8kfsC2iFL1r8H6y59CCz8IqDePtfpTGqZqeiGfVspZgV7dgZP1srwTS3jyqB26tuY/W/MYmF0eAHEKzeAF2EySqBKDdi2oj8zGBt/H4B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hVxXW6tjErYOCcszBomxYqfRcG/SVT2uoBA71MeN6IJ4IQZoM7ppSt9tajoGVlr24bPPaRM318qyoV8uIIt
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: ef7c1be3-e609-4bed-6379-08dcc61afe29
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:04:01.7211 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0561
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/hexedit.scm (imhex): New variable.

Change-Id: I114d3a6c0dae32ea434a77a6bd88b8ff6870b70c
---
 gnu/packages/hexedit.scm | 151 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 151 insertions(+)

diff --git a/gnu/packages/hexedit.scm b/gnu/packages/hexedit.scm
index e5f58fcce0..0eb551b54e 100644
--- a/gnu/packages/hexedit.scm
+++ b/gnu/packages/hexedit.scm
@@ -27,11 +27,24 @@ (define-module (gnu packages hexedit)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages gl)
   #:use-module (gnu packages man)
   #:use-module (gnu packages cpp)
   #:use-module (gnu packages gcc)
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages curl)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages ruby)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages boost)
+  #:use-module (gnu packages backup)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages libffi)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages engineering)
+  #:use-module (gnu packages pretty-print)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
@@ -166,6 +179,144 @@ (define-public imhex-pattern-language
     (description "The Pattern Language used by the ImHex Hex Editor.")
     (license license:lgpl2.1)))
 
+(define-public imhex
+  (package
+    (name "imhex")
+    (version "1.35.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/WerWolv/ImHex")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gi5772w0fzgr1w403ckq2mkwiyvcxv08frs2fjr2hlc8hb6c2p9"))
+       (snippet
+        #~(begin
+            (use-modules (guix build utils))
+            (define (delete-files-from-list-recursively . args)
+              (for-each (lambda (path)
+                          (delete-file-recursively path))
+                        args))
+
+            (define (replace-files-from-list-recursively lst)
+              (for-each
+               (lambda (elt)
+                 (delete-file-recursively (cdr elt))
+                 (copy-recursively (car elt) (cdr elt)))
+               lst))
+
+            ;; NOTE: `libwolf' does not have an install target. Until the
+            ;; maintainers create one, it will remain bundled.
+            ;; NOTE: `libromfs' it's meant to be bundled and cannot be compiled
+            ;; independently. Until the maintainers support building it
+            ;; independently, it will remain bundled.
+            ;; NOTE: `imhex-pattern-language' it's meant to be bundled and
+            ;; cannot be linked independently. Until the maintainers support
+            ;; linking it independently, it's source will be replaced in-tree.
+            (replace-files-from-list-recursively
+             `((#$(package-source imhex-pattern-language)
+                . "lib/external/pattern_language")))
+            ;; NOTE: `hashlibplus' has been left as a submodule since it's a fork
+            ;; which only makes sense within ImHex.
+            (with-directory-excursion "lib/third_party"
+              (delete-files-from-list-recursively
+               "nlohmann_json" "capstone" "llvm-demangle" "fmt" "nativefiledialog"
+               ;; NOTE: for versions above c++20 it is not required.
+               "jthread/jthread")
+              (replace-files-from-list-recursively
+               `((#$(package-source lunasvg) . "lunasvg")
+                 (#$(package-source xdgpp) . "xdgpp")
+                 (#$(file-append miniaudio "/include/miniaudio.h")
+                    . "miniaudio/include/miniaudio.h"))))))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      ;; NOTE: there is an issue with the way the test library is linked with
+      ;; the output binaries. Tests are intrusive and should not be shipped
+      ;; with the release, when the issue is fixed we could add a phase which
+      ;; builds the package with the tests and runs the testsuite and a second
+      ;; build phase which prepares the output binary.
+      #:configure-flags
+      ''("-DIMHEX_OFFLINE_BUILD=ON"
+         "-DIMHEX_ENABLE_UNIT_TESTS=ON"
+         ;; NOTE: required for the `validate-runpath' phase.
+         ;; If OFF, the pluggings won't be able to find `libimhex.so'.
+         "-DIMHEX_PLUGIN_ADD_INSTALL_PREFIX_TO_RPATH=ON"
+
+         "-DUSE_SYSTEM_NLOHMANN_JSON=ON"
+         "-DUSE_SYSTEM_CAPSTONE=ON"
+         "-DUSE_SYSTEM_CLI11=ON"
+         "-DUSE_SYSTEM_LLVM=ON"
+         "-DUSE_SYSTEM_FMT=ON"
+
+         "-DUSE_SYSTEM_BOOST=ON"
+         "-DUSE_SYSTEM_EDLIB=ON"
+         "-DUSE_SYSTEM_NFD=ON"
+
+         ;; NOTE: the build system doesn't correctly support
+         ;; locating these system libraries. Until fixed
+         ;; upstream, drop the sources where they are
+         ;; expected, this is done in the `<origin>' snippet.
+         "-DUSE_SYSTEM_MINIAUDIO=OFF"
+         "-DUSE_SYSTEM_LUNASVG=OFF"
+
+         ;; TODO: package them.
+         "-DUSE_SYSTEM_YARA=OFF")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-paths
+            (lambda _
+              (substitute* "main/gui/source/window/linux_window.cpp"
+                (("dbus-send")
+                 #$(file-append dbus "/bin/dbus-send")))
+              (substitute* "cmake/build_helpers.cmake"
+                (("boost REQUIRED")
+                 "Boost COMPONENTS regex REQUIRED")
+                (("boost::regex")
+                 "Boost::regex"))
+              (substitute* "lib/libimhex/CMakeLists.txt"
+                (("boost")
+                 "Boost"))))
+          (add-before 'check 'build-tests
+            (lambda _
+              (invoke "make" "unit_tests"))))))
+    (native-inputs
+     (list cli11
+           nlohmann-json
+           pkg-config
+           python
+           python-wrapper
+           ruby
+           gcc-14))
+    (inputs
+     (list boost
+           capstone
+           curl
+           edlib
+           fmt
+           glfw
+           libarchive
+           libffi
+           llvm-17
+           mbedtls
+           mesa
+           nativefiledialog-extended
+           xz
+           zlib
+           freetype))
+    (home-page "https://imhex.werwolv.net")
+    (synopsis "Hex Editor to display, decode and analyze binary data")
+    (description "@command{imhex} is a hex editor with many advanced features
+that can often only be found in paid applications.  Such features are a
+completely custom binary template and pattern language to decode and highlight
+structures in the data, a graphical node-based data processor to pre-process
+values before they're displayed, a disassembler, diffing support, bookmarks
+and much much more.")
+    (license license:gpl2)))
+
 (define-public bvi
   (package
     (name "bvi")
-- 
2.45.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH v4 1/8] gnu: Add edlib.
References: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
In-Reply-To: <DU2P193MB2132C35D79D699156A2DB730F388A@HIDDEN>
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:06:05 +0000
Resent-Message-ID: <handler.67755.B67755.172470991011578 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 67755 <at> debbugs.gnu.org
Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172470991011578
          (code B ref 67755); Mon, 26 Aug 2024 22:06:05 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:05:10 +0000
Received: from localhost ([127.0.0.1]:45360 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sihpl-00030a-P1
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:10 -0400
Received: from mail-dbaeur03olkn2104.outbound.protection.outlook.com
 ([40.92.58.104]:44432 helo=EUR03-DBA-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1sihph-0002ym-F0
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:05:06 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=GD9p+KndqChSkjhvm6t6GyBU/wQGGIfweOQfVOdv3hxVoqIPDAWyKQzdkPapitfgs+R17Rl0vclWTVHmZnT/CNSXLViY1AWhSFtmpTTQZ891UH87xFv56RueWcTDTH3V99FcplX/k7EgMDQLGRKHiXDT2UJ9O/6j4A5T0N/2pg+ofAB/FaeUkI0JGtRhDzlC6IS0iBFYwZSAG8sn+lVLd99CoguA0HZq0vSdf5gUkukXkneIpD+IGsLFyuTjMCG1jdweeNan/NCby7fKbU95y/5hrbEmsXPX2sezcY+ZvWxo4hZ+k8wCy3CPxvf/bqR/TalunK7dFgYo3fhRsyYZ1A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=OedCh2STSBwJOsxiNZaL12YkWnlOTJREryZquLy460M=;
 b=Mab/LmJwdvAMbiIV2VOTT0nnWUWNjrlZFruC1aZYNLkDuwfvJM0gWBqmiZM9GQzhyGxtfhr9SZaGgEfXGCtqvdpxVuOeQvX5u8bNhEUtgEQ/jvxo8CmbnW50cVYv0gyTTq0okL/Odowr1ZREk8kh4vpfgDuzulwnXsi91GLAZoVeR2oGg0ltZCPLvbjGiSFZ/NB/ETYVj+XCMWlxed10gKEq/qLXPxQ8NkEqfMR4R9xAFMMhyuQOdYs0Opo6v2FmXUEQ12GCc6PJ0Xqi04KSmWzTF+I4WEDavKohihGwOZb1WVfdz8BCZbjQQmdzcGN/98JO8IzmHfTWepjGSIZUog==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=OedCh2STSBwJOsxiNZaL12YkWnlOTJREryZquLy460M=;
 b=XrCYtMg7ZC6igrRcGcy6GSbmKGz6gJkx56GfSh79wHXyCV0/tg0EZa0Bqx5vclxfENTQ7M2uWDqVgA7yJtK9Fdt7MSLMUEdK+HMc7D0HHR1vRLtWI/xbJ33smT0a462tkLnDMdY2JZQKhSOQULRNUqvYJGGLIC0LZHFZo0OFcH4W4BdjIP8j0qLD2fvbr8AGlF2bSY+GMb+vjIft1EaY7VLSgBDydfxlohUyuwxX6pkPu8bp8u5dD7XMp0VdpWcTacGlBZ5I4sH9Jd67/dRvAj1JQHDQfu6f1rTjD3ORPlH+QDlIe+yZtQIcTPh1R7mvbDc3EyYmPHXQqxA02gLwYA==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by AS4P251MB0561.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4bb::8) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:03:53 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:03:53 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Date: Tue, 27 Aug 2024 00:01:03 +0200
Message-ID: <PAXP251MB0348018F87795B05E3F79F2EF38B2@HIDDEN>
X-Mailer: git-send-email 2.45.2
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-TMN: [zFfNmhIPaGylDL7+mPyzfzS+x1G42XlO]
X-ClientProxiedBy: MA3P292CA0009.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::10) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <01e5d15a71a605dd55df3cac5b7d30e15520f8ea.1724709670.git.sergio.pastorperez@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|AS4P251MB0561:EE_
X-MS-Office365-Filtering-Correlation-Id: cea08e29-9129-411d-02e8-08dcc61af8ea
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|15080799006|461199028|5072599009|19110799003|8060799006|1602099012|440099028|4302099013|3412199025|1710799026;
X-Microsoft-Antispam-Message-Info: gOu01K2EDueQOn+Za/QmfJISgdkgeuRuBlyn6oNG3d3hjDUcczfJ5Kpgu9H8fqEpODFotJe4wzY+vYNr1p4aHJk2D0TNx5YzTzYlV7p7j6bz6eHocTLQAQKcV0Vvta+SwdZx1TVWypOcS2fRRGN3KCi74itFnqdQiHOzTjwOG/LdoXxI9WjjIxdjsf5dJedVAWgD9RdRu62zWwtOxB/Xflhusj0xKRfoLC2/A7h32+bDLmjyJMNS99ePyEIgyXJwM+SBq8ShDY/B78kW/gkhs52D5LYlMHhtjCKinkQkkCeSaYgq49WRHgCaorNzXQJHbPel9nBB0kaRx5IjQSZM8D1wjwZ64sXHTVPX+7kpPZKcD4QkOjmtOZiEsbdS14qeHvhaeR3LqvabRLRPaqsaDuUgSSjT79ccZyZN6s24UEoe30I+yj09dsK2zsODtRJQeapcIeFIZ/bHVDCTrl8nyCL0ixUnoo+SwJCkAHMCPOM3vXXK9O8CZRKvw3YOYoR28ilNLAJB4uiLDhHmTj8acxfK1FmnBSdCz4EFcMBL/Fsj7mRbXVDEGQV6QH766AWk+3sK8UwMl9Z9TMyxx7HkxaGpaqreibwoHWEQ7uQWzreOtuPXoHuHhCE5BZNVLPeYosXV9i4PHenQzFHVWsEykEcBZ36Bu/qJL1+3g4M+EfdUhJ7a9NFCPQxKq4nIkkxESBw1hqH0Q4VRnTXbc05n8btD53CjZ02gFDGcOZ+yWZ+8ZgvLyhZNBYDw6RIH8hq8eBSjxYzlIZ5veiTx20LWh+IY5ZUCDXcqQ9qOnM+YYJub4uInmnLXky+0EUwVRyMiHnGr8j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JmwbmkOIhg4YlqqlD2vTfX/tsS3SSUU6lUaOigpW5/D0iqvawC5UiKo6jDc/LPP0twVZChH2wLI6jTIIXsbZ4kN7ai1iqE4m9QSK5EYWsYTpDHSZtHuD8rDXTGIVNFyU5z1vE82IqGz8OsAhqBaRv6FCs973eUImWd/FUJrZztSVPN9O8iFN8GeQiEes3lXhfA3m4yHA2fkaTMVXdlgL+61g349xI8yVyAHW8UQnDOLm5harfuVoTgUHNO4SjOKSQQf8JaXMwD4MF9kPOe5Z19fJvQQD
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: cea08e29-9129-411d-02e8-08dcc61af8ea
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:03:52.9879 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P251MB0561
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/cpp.scm (edlib): New variable.

Change-Id: Ia38b1d92d64134f638b13d9afb981f44a374a10e
---
 gnu/packages/cpp.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 7dca7a2d02..708487ca97 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -390,6 +390,28 @@ (define-public c2ffi
 various formats, including @code{json}.")
     (license license:gpl2+)))
 
+(define-public edlib
+  (package
+    (name "edlib")
+    (version "1.2.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Martinsos/edlib")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0ibpxs3r8ii2s3g7kdbyr8brg6ha5l0fb21idw8531gx9v2qzh4v"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
+    (home-page "https://github.com/Martinsos/edlib")
+    (synopsis "Lightweight C/C++ library for sequence alignment")
+    (description "Lightweight, C/C++ (& Python) library for sequence alignment
+using edit (Levenshtein) distance with a focus on speed.")
+    (license license:expat)))
+
 (define-public expected-lite
   (package
     (name "expected-lite")

base-commit: 732dac4ce0de75ba0ffd79558e876815b273c925
-- 
2.45.2





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#67755] [PATCH] gnu: Add imhex.
Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 26 Aug 2024 22:34:02 +0000
Resent-Message-ID: <handler.67755.B67755.172471159814832 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 67755
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: jgart <jgart@HIDDEN>, 67755 <at> debbugs.gnu.org
Received: via spool by 67755-submit <at> debbugs.gnu.org id=B67755.172471159814832
          (code B ref 67755); Mon, 26 Aug 2024 22:34:02 +0000
Received: (at 67755) by debbugs.gnu.org; 26 Aug 2024 22:33:18 +0000
Received: from localhost ([127.0.0.1]:45382 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1siiH0-0003rA-3s
	for submit <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:33:18 -0400
Received: from mail-db5eur02olkn2109.outbound.protection.outlook.com
 ([40.92.50.109]:30497 helo=EUR02-DB5-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sergio.pastorperez@HIDDEN>) id 1siiGx-0003qq-Jl
 for 67755 <at> debbugs.gnu.org; Mon, 26 Aug 2024 18:33:16 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=i3siPvbAE+CoMEJnZ4vav8Rm60Jm58ETIPurpAvl5UX0JLNR2DpvyATmn01lEEgiW380TDzudP9OH/tFZBcGJZe4sXjVxTX+nNFrPcWCgDbBDZ2WivoUmvjL0fmW5twg2DlRhiZvxj7nors1csXRGRK/BH02k+WVqujw4nRruSxDvEODKRKqOLD7Jb2GYuH3OsGlpZxwBtW+BeILH0zA6x6JTSW0lCEWl+7b4SXTBzWCt4mMuj0ezy2E/TVyWPbV7RNW5G9sgAzu8dsTEBp5idPHr0EZfZZ8PwqFbqRhLr7U4KtZRtSKp+k0kvSCMKX3arMCDwi5rYTEnZHtbuoWEQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=vWxsMujVG9af7KmpereCavwyC69+rZrgSrgW3bP5x6Y=;
 b=fcDBM6vRZI+RvRUday2T0ett3WlSbFx1JBgiaaGo6P1HS+CO8Z7EGnSwAq4jR2b+fpjYfE2V+HdYDaGrO2IOMda7OvAxOR5mJECpwlZjdHuwCCbFipF5TeGIkGNtKrG4VC5VMK5QYPdgXxr4EvuK0umABsZYnZ3V0sCToa6740kGLr1lkNCD7KRC7YClG5Yc542U230NdKl7DYf1tH9T3hfHkY0cmizw7+bOadzE14kuZ0tY9UrYsxRb2K63yayQxK7O2bq7AMJR/OKfwTAORcKM92yN4eswdRLpvB/23cyWMIZ286LcGxeQL0g8HANR6FZrCZOGg2JB9mGAGZ6ToQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OUTLOOK.ES;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=vWxsMujVG9af7KmpereCavwyC69+rZrgSrgW3bP5x6Y=;
 b=idFQ6Fn4yHOFq6avbT2o9z1RKjLaWteu4V5b9HDM8grgeUt9mzYjVpIlo1KxR+E80aw8KpaIK9KaFqpQt76lqeYMWpWTc9SUQWbSJZU9JnUbvdEmOGpxB9ZW66TqFj6ExBHurWiE7y+Edu7WvB7qLYJeJ+03f6RH7Yd39/VXEhpFQdwmZ4YYKFC+24lQO1Az72/kinzF+eLGGB14I6sV0RntY3n5eDgfkNvmpn2H/DNpW8POneeZ/Jy8VIdReTu9jqAcWfCU8a2RJI/w5Gd+Trdt5gqbt068kHl7X1iaPKNnMsiu0APTovcJHeGxPRxNzgQx5eEF4eTNVjBW53VXnA==
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:20b::10)
 by PAXP251MB0603.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:284::13)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug
 2024 22:32:03 +0000
Received: from PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f]) by PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 ([fe80::1f4f:1f6b:1817:f03f%7]) with mapi id 15.20.7897.021; Mon, 26 Aug 2024
 22:32:03 +0000
From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= <sergio.pastorperez@HIDDEN>
In-Reply-To: <PAXP251MB0348778D33DA5D0855B4EC0DF38B2@HIDDEN>
References: <87r0ceqign.fsf@HIDDEN>
 <PAXP251MB0348778D33DA5D0855B4EC0DF38B2@HIDDEN>
Date: Tue, 27 Aug 2024 00:32:01 +0200
Message-ID: <PAXP251MB0348F1434560988CCA7F93B6F38B2@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-TMN: [u7XNTt0ILKH6Q8FA7WsyHBiPK15RTFjT]
X-ClientProxiedBy: MA3P292CA0011.ESPP292.PROD.OUTLOOK.COM
 (2603:10a6:250:2c::9) To PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
 (2603:10a6:102:20b::10)
X-Microsoft-Original-Message-ID: <84zfoyrk4e.fsf@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PAXP251MB0348:EE_|PAXP251MB0603:EE_
X-MS-Office365-Filtering-Correlation-Id: 7108229c-e97f-43fb-9f7e-08dcc61ee836
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|6090799003|8060799006|15080799006|19110799003|461199028|5072599009|440099028|3412199025;
X-Microsoft-Antispam-Message-Info: rMd9gkqRH2bpfeIRK2REEtm7Dwxp46LVUfyGb6tm7XHOe63QwPgrDUO0aRvTOHdntH8LsdiRcJ4BRyl6DskFSZql4CddVHHCpbnqoZaN1tkBFEjhBpKJw5B0ScpKSP5TkaiD1bAP0mo8vqZYxoiN2av8oPf2hgaM7q5uG2zC8Nhl3TQ/4GJKYxv0fefYdNf8VUuN5sefUH96Q3jsxDVywuczopk0xTYaRQRH5zYlz5NW1cvauBi5GeigkY6QGHNWyumKD8kDdbLCp+3wrWRk8JrajnKybirekQsUbUn5EqGZU0NGFlWx6zUXE4MwMcXxpZmpLr2pCCGWSdP9W00YrG9JlnF45s33OZuTKlOEcCOb/6FBoV/am8y++uwrUKCea7R0zclfPism8Kog1QNjK4Jtv2InVKE1pCuZZqd1DJ0MsiJWs2ROlA3/pKrzIi1bK3PuvI20Xrnbj/KXBHlq8AroGazkEb/67I6rWAtSo9D5RrGfkKiTbOHgqmbiCZZUwDpJuysfRcl5yc+pa4hyLSaJTxvKvdBB9vAe4pVMyjFjT74PAFV9e89b+6ocr+d5Zcr/WPK/ytHme3CpkENh9eiSzNrhiroHy/9QpZKg2krBrS3ArxM3KzeNts+DVdpTewhktnvN11d09P4/pPq3s2BaJUTjJ4Ezo3wl8akseMymLelauHVJ9Us5lCe9vMNFM8jn/fT6mw8ICscNG7mR1y5Vf4pcWBOlcMJ9q7qY+Wc=
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: xT8O+/b8x6eiYTPE1skNVowC3V2VRIYNnY6sHJGObfWVmSxchfLVt6QM/6R3GhT8iaTxlHf7Vlgu47LnUY0etq+45nJ8cBGBR0KUDEHy/Kayw4wnhXvn0SBtYsRYlYDJCZo2pnH4hJbezTHwU0o0J9AhFiLrd0+i5Gmt+tPqalWAqX6cQXi/eq6maKlTonzZzCoT0L//+a6qnB/g99+6gZ4GpXZW+Fn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-20-7741-18-msonline-outlook-53ebb.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: 7108229c-e97f-43fb-9f7e-08dcc61ee836
X-MS-Exchange-CrossTenant-AuthSource: PAXP251MB0348.EURP251.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 22:32:02.8854 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXP251MB0603
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 (-)

Hello, again.

I forgot to add the Copyright line in the files where I added new
packages. If this patch series gets merged and maintainers find it
appropriate, please add it for me in the pertinent commit:
--8<---------------cut here---------------start------------->8--- ;;;
Copyright =C2=A9 2024 Sergio Pastor P=C3=A9rez <sergio.pastorperez@outlook.=
es>
--8<---------------cut here---------------end--------------->8---

Thanks!
Sergio.





Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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