From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mHEdC4MddmWy4gAA9RJhRA:P1 (envelope-from ) for ; Sun, 10 Dec 2023 21:20:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mHEdC4MddmWy4gAA9RJhRA (envelope-from ) for ; Sun, 10 Dec 2023 21:20:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=outlook.es (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702239619; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=3QtFH8RIKO1Egq48cmxKmSf70qLAKvT+aJQPxwFwU/k=; b=ZGPzg5qfG75/kAh4PCQOmjE2qW3qNSnUv9XrPiwsIvsxoTOVgnecmKSiPHrSDJe7QMb7A/ asKJWOuD5qLAt4XPcsVMhuq84K/2ScWZCqO42e+yw4zqvekNnOH96M/Pfh3YU2wu7tlLps Cs+hKX0cqMSHgq787XF4af5Una03MEKRFUxl7AGYw++5fjR5yDxZeVuvLKB9oXQuY4wDi1 6/jaN2JcpbThJ/WkyvqZuRWPgl7lNqOn2sPQUsEVZeWmrhdgNZaZzOzbC3Gnk58wlD4o9i vk+RGw/XXfCOj/T8XiSsMdGFE1kh306XDY4cZZlxJpFBKOJ4pWQEdGkzNVB5ZA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=outlook.es (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1702239619; a=rsa-sha256; cv=fail; b=FzQvkL8V6LZWq1xCmRVduWAUepODnuWPJ0+0rjaNpemjpgjOOpKXNN8wnLGpuB5RDvYKfx fb4wRwiGEdDsUSQj+UECQs3kbldjlPkarbt/bAZa3YhyZNSHIjn70Wv3V3V6VkvtywozqA 8t2Vm8L3ElE0Q9QZ8e6nJ646raXg1fgtOn1Nml7w77GA/D29o44maI5+Aaol/V9agTMlei aiDFW69wS9+Nq+QrvY5/pZrzPC2jpAJTm33crNXuRMxUMAA13Xu0ki7mPbDUD8pjmRjW71 Crrf0RmLWnVTPXXLstPw6S8zWhU/giFbGKVS50coVXfayfkdiGS9+0fm7Yan6Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 74CA867B2C for ; Sun, 10 Dec 2023 21:20:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCQHO-0004yi-Ks; Sun, 10 Dec 2023 15:19:58 -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 ) id 1rCQHI-0004yP-F3 for guix-patches@gnu.org; Sun, 10 Dec 2023 15:19:53 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCQHE-0001LT-Hd for guix-patches@gnu.org; Sun, 10 Dec 2023 15:19:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rCQHS-00040n-II for guix-patches@gnu.org; Sun, 10 Dec 2023 15:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67755] [PATCH] gnu: Add imhex. Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Dec 2023 20:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67755 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67755@debbugs.gnu.org Cc: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@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 ) id 1rCQGg-0003zT-TU for submit@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 ) id 1rCQGb-0003zB-Sx for submit@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 ) id 1rCQGH-0004uq-Sc for guix-patches@gnu.org; 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 ) id 1rCQGG-0001HA-09 for guix-patches@gnu.org; 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?= Date: Sun, 10 Dec 2023 21:06:44 +0100 Message-ID: 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: 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: 0AQ2Ddoacy3uyWShN3pAl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XDsEUnKMt4w1TaGTs94g7eTcZMwBJn+WB7ncKmichMSuBlS+WGYZDSK48zvOuiuWA3IwXhHpJBgqo4kEHxAKFx7CM/JjFrJsw8VGvvLGATgrUfKlciRQ37zLZJ21+3Akv8kUcJB/kI+UersRoYmmoWrVmUQeUuM+zZ6UIGZWPMNj5QGtXwd4SfyV8+1hXIsgKxqRZUR/N5OcjWD/pEe0/79PVGPUkfktKNHHjyv74M1GqpSL9Wij/8NeucIydpl3Uo+51PXKJGltyP22P9yU+Y1+B37B/gp8DsEkh8u+K5KGMMbnIpg01ly5crS7FHDimV7KhbmEcZLARFlVLu/XdkHMoQGLfm7xlqf5OS+yuelE9qiprPnGJBU0MPZ4SZktfxDMuqrt3lU28H6jkwIhCV6YINuwIgmk1ny9hX6bJpFdnp5g/L41cwjeeqj8tluBpkB3QJ1CsreKMJS3Mc9UM3msZ9yXQhZxPTAFWCAzHLY0Quy1KGl/rU1omZNM0+8rhkAxHhF7odPHdLoouZJnVyX8zkkByNPzXxTmwZxwnWNe8H0v1ELwkIZpychVPHOiDIyjY9mkgIdFPkro0uHBQcM 0qgeZ+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@outlook.es; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.57 X-Spam-Score: -4.57 X-Migadu-Queue-Id: 74CA867B2C X-Migadu-Scanner: mx10.migadu.com X-TUID: KuWSXriMJzzN * 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