From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8H0oFIZM4mH6NQAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 05:24:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QIZuEYZM4mHObAEA9RJhRA (envelope-from ) for ; Sat, 15 Jan 2022 05:24:38 +0100 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 E5AE43600E for ; Sat, 15 Jan 2022 05:24:36 +0100 (CET) Received: from localhost ([::1]:44864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8acF-0004jQ-Nf for larch@yhetil.org; Fri, 14 Jan 2022 23:24:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8abj-0004iK-5g for guix-patches@gnu.org; Fri, 14 Jan 2022 23:24:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8abi-000269-Ep for guix-patches@gnu.org; Fri, 14 Jan 2022 23:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8abi-0005CM-8f for guix-patches@gnu.org; Fri, 14 Jan 2022 23:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52000] [PATCH v3 1/2] gnu: Add qhexedit. References: In-Reply-To: Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Jan 2022 04:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52000 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52000@debbugs.gnu.org Received: via spool by 52000-submit@debbugs.gnu.org id=B52000.164222058519904 (code B ref 52000); Sat, 15 Jan 2022 04:24:02 +0000 Received: (at 52000) by debbugs.gnu.org; 15 Jan 2022 04:23:05 +0000 Received: from localhost ([127.0.0.1]:38714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8aak-0005Aj-3R for submit@debbugs.gnu.org; Fri, 14 Jan 2022 23:23:05 -0500 Received: from mail-oln040092255066.outbound.protection.outlook.com ([40.92.255.66]:5843 helo=APC01-HK2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8aag-0005A6-V6 for 52000@debbugs.gnu.org; Fri, 14 Jan 2022 23:23:00 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FVv7KZYvTc3YImDiupdP9stRdL4GcAHWCK/dU9e75H0DbIoftAdzXRUCUZR8SmJYSD7KiCHOCfmSKUugrQH0Th/KXCAc65zGxov63uqxp2ebgakN4kbXLE3O9NKfRGOLb41XV+Tra46392ove1pOvpyCouuXT/Z8NppipRE03y267jKNPzLQ9psmvg6C7LbqbVG+ZiVRn2YNXqB0886RifCqvALbXzq0tEpQ1odm4ZWFTK8mC5XEJ1V+qQ4Ap7qgB4rZWXo3MgDiSyKpTcmuI50jn4xcgBMc8WJCOo5UnLfsE6d2qupcUCPHgXQThaZslXKxxX4BXEfIDOc1p45HWA== 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=hLJyFpvPqUKZ+hV/f3ruoV487TQQSvKZqtLE844ZKxE=; b=eaDIiz21/WLTc0Ba131GY7125nOHtAYPIPAn8kVLO1ReuF6UnDqhhDOAZnMsDiqnO778Pb3WcOWDcogHshmt0v7LaFJr1wc4XP2o3ERLZbnfxCNzRMk/8Rd6N0Q/Bw9VoEMW++pk9kWn6TieLSzKTX/Epf2dWnHIhquvmuvfiQl75EjWE4jniW/aIAXi6oS6ANQRpGNR2Zycm9TSwcXD3XUEEcfQqEKaOxM84VJKVdRGUn6dTHNl7xmKcqqqa03aT1tL1hWDsNdqVj/03poGMg8l0YTzj0loTHKcEKwUQJBOpsFJZ/MzwXFKR0ZAZX8o6Q7XasT8PYGJOBiFgpXM2w== 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=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hLJyFpvPqUKZ+hV/f3ruoV487TQQSvKZqtLE844ZKxE=; b=MGkwDoG00MRGHXp+Fe8gm9E3C7tfEQVcBKhUlhQdTXSidTFnMQ7dGUTQA7WLEZ65ldD0e15o6VLnYsf8gxRdcD5Of87N+vSFNDB7GyV6k0qGKAlssamM70lM8e3BaYFL8Ak9dHDIE9/rYkJrTSNZtyKxVBS3YNW+UG3Wk1a4kX63hcRjqsN+2qSzoQXOsmv2aqeME9JiypXJ2EXAFHp9R/5t0mMRgOSrk7s4qO9b1opQMtaRweUNr5Euwi0APw03JpEbuU2UQxZEPABSzAiV7fje/2jpgZ4BfPF3mxcGNQ6CprpMcNrvvHEyXfmJgQkySgNkBeqmGMZiM18KZfDsGA== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by SG2PR01MB1904.apcprd01.prod.exchangelabs.com (2603:1096:3:23::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.11; Sat, 15 Jan 2022 04:22:49 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::1c92:e0d7:1ad5:a0f5]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::1c92:e0d7:1ad5:a0f5%6]) with mapi id 15.20.4888.012; Sat, 15 Jan 2022 04:22:49 +0000 Date: Sat, 15 Jan 2022 04:22:44 +0000 From: Foo Chuan Wei Message-ID: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-TMN: [EXfSySWTkixTZYrZMQ2hZD5D5tI3o2xD] X-ClientProxiedBy: SG2PR06CA0099.apcprd06.prod.outlook.com (2603:1096:3:14::25) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20220115042244.oorm56r5xstmnj4a@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e08ecf69-5b60-4c69-b137-08d9d7deafa5 X-MS-TrafficTypeDiagnostic: SG2PR01MB1904:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XeC5yimoRYXLytr6Eh42vO632PenPAVzxvxWtre3CLf+oZl2Ao5LIOWfgYtobCra0/fU40sKKBnE+TOTrZXX3vDMkJRIMPgl4HCjAaGrPaXmN1qy9YTLCcQ7GwC7hoUlS8fpzbGAZxOO2+Id1/f3y0B7IHUbozf7I0KqmF15HMpwh6wwVDEcOSzIkl/YwhRQW7efB2FGRhPC/e1OmGPV343RmMDYCrv3Uspp6qL4zx+6WxKaTPPgu9AK5IJlMgVHBsD+VlvewYHQCMOaxwJvs7nqPMT0Zec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gpJRtr+IcldgwFCnVAzoS4OcIg2D+PswJZWkrhVB0eFZtZdI/Oz8bcRwXUAAU+E5HLUkxUjfETc7FCS5dLIswa9TrgphjitV+KrIBh2uHw7Xo8BlGKJ8CPKjxlOc0yEP+8EdYl38Wfeb3qAqDYbAcBZMRB6IqD4daCq3MrKEnYiv/DbkvYtEKy8IcY2iw6qJHhcIeBYPPNmcDSyDaPE33KCMqyRIgeO5P3EPE2Xr5bg/C0ixIIwFAiC+gdq/NQssNgzUPWhCziTQKXJK1jqIBTtVziPxwmSybBz rjyWSQzLHBhXPXb6zMMF8g== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: e08ecf69-5b60-4c69-b137-08d9d7deafa5 X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2022 04:22:49.3749 (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: SG2PR01MB1904 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642220677; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hLJyFpvPqUKZ+hV/f3ruoV487TQQSvKZqtLE844ZKxE=; b=tA7OQbRGj7/puTpv/tXB3f/IiJjLYKP1SiOjorVkXc0vPmPrwxjB95OtG0ZjMif6hElZnB 8bVn5pLs0VBl+mm39oP9MivWKQWqLB61qTlNH5AASgJqwmiUkZtWrfZeUenRuUF/a/5Yfk Z3Vl6G/U/i4HWQTAPndhngGV4TGLUy5USDInL3PKhjMt+7Db59nZSg8ohRH7SDKEq+mWE/ qQfkCpM5s0lxF2NGFUOhjmiZwQmzBG5i8w7RUcpgJrigr8gk3Fm5ivu4kF6NccYN7R0ciy 7SPrDTM9FDN+GwIhtW72dMpbDbgY0yH1wgzr3N+pTqKS3kIQ29gciiRR5qB0cQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1642220677; a=rsa-sha256; cv=fail; b=P7sH6qUq1SGPf0x4OSVtLcqI5XZG1tjbSz2fsmatPva7vz9TQJky8e1XU5jvqR2pjYknql ycLqOPg5Vvei3DzDry6N2poZRQ6+Ud2RtgHzBimcymdFhPDFYI9ymDChgHAzQYr8J+lQuD AHMzIm4i43tLYPMOE4Azuxx8WFhhFvp+py8eSOG+Ybbebgfou/wq74vVXPtA7+x90/zMW3 IqOxaORIPvi6mBBgtH6/AlNOf/a1lbgFhhuS7rIkl+Zp3+87H2cbvAKHbAuusGzXq9MKnY 3yuNLJAhLED8LjmjTlZJ5oJzSo8ewtRKl411J7tViBl1Ows4VvYL4Is1uvLCNw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=MGkwDoG0; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=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" X-Migadu-Spam-Score: -1.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=MGkwDoG0; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=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" X-Migadu-Queue-Id: E5AE43600E X-Spam-Score: -1.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: jTda6CdnLe+4 * gnu/packages/qt.scm (qhexedit): New variable. --- Changes relative to PATCH v2: * Replace old-style inputs with new-style inputs. * Update copyright year. gnu/packages/qt.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 01bf961bbf..223304822a 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2021 Brendan Tildesley ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Nicolò Balzarotti +;;; Copyright © 2022 Foo Chuan Wei ;;; ;;; This file is part of GNU Guix. ;;; @@ -3004,6 +3005,50 @@ being fully customizable and easy to extend.") ;; be used. (license (list license:gpl2 license:gpl3)))) +(define-public qhexedit + (package + (name "qhexedit") + (version "0.8.9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Simsys/qhexedit2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1j333kiwhbidphdx86yilkaivgl632spfh6fqx93bc80gk4is3xa")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-path + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "src/qhexedit.pro" + (("^unix:DESTDIR = /usr/lib") + (string-append "unix:DESTDIR = " + (assoc-ref outputs "out") "/lib"))))) + (replace 'configure + (lambda _ + (chdir "src") + (invoke "qmake" "qhexedit.pro"))) + (add-after 'install 'install-headers + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (include-dir (string-append out "/include"))) + (mkdir-p include-dir) + (for-each (lambda (file) + (install-file file include-dir)) + (find-files "." "\\.h$")))))))) + (inputs (list qtbase-5)) + (native-inputs (list qttools)) + (home-page "https://simsys.github.io") + (synopsis "Binary editor widget for Qt") + (description + "@code{QHexEdit} is a hex editor widget for the Qt framework. It is a +simple editor for binary data, just like @code{QPlainTextEdit} is for text +data.") + (license license:lgpl2.1))) (define-public soqt (let ((commit-ref "fb8f655632bb9c9c60e0ff9fa69a5ba22d3ff99d") base-commit: 3c43f2b4f54dead73ce19427eb1e364581b7f2e0 -- 2.25.1