From patchwork Sun Oct 15 17:47:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruno Victal X-Patchwork-Id: 54843 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0554127BBE2; Sun, 15 Oct 2023 18:47:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 785D827BBEA for ; Sun, 15 Oct 2023 18:47:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qs5DJ-0005rA-IZ; Sun, 15 Oct 2023 13:47:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qs5DG-0005qV-M7 for guix-patches@gnu.org; Sun, 15 Oct 2023 13:47:38 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qs5DG-0001TC-Eb for guix-patches@gnu.org; Sun, 15 Oct 2023 13:47:38 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qs5De-00072o-N6 for guix-patches@gnu.org; Sun, 15 Oct 2023 13:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66566] [PATCH 1/3] gnu: poke: Revise package definition. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Oct 2023 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66566 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66566@debbugs.gnu.org Cc: Bruno Victal Received: via spool by 66566-submit@debbugs.gnu.org id=B66566.169739206926995 (code B ref 66566); Sun, 15 Oct 2023 17:48:02 +0000 Received: (at 66566) by debbugs.gnu.org; 15 Oct 2023 17:47:49 +0000 Received: from localhost ([127.0.0.1]:54076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs5DR-00071L-FU for submit@debbugs.gnu.org; Sun, 15 Oct 2023 13:47:49 -0400 Received: from smtpm3.myservices.hosting ([185.26.105.234]:33616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs5DJ-00070f-38 for 66566@debbugs.gnu.org; Sun, 15 Oct 2023 13:47:48 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm3.myservices.hosting (Postfix) with ESMTP id 347E121084 for <66566@debbugs.gnu.org>; Sun, 15 Oct 2023 19:47:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 64E7B80095; Sun, 15 Oct 2023 19:47:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2dc0_7h7oJFT; Sun, 15 Oct 2023 19:47:11 +0200 (CEST) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id C449B8005B; Sun, 15 Oct 2023 19:47:10 +0200 (CEST) From: Bruno Victal Date: Sun, 15 Oct 2023 18:47:06 +0100 Message-ID: <7e36201bf26dc13369aeac84d533ebfa15726040.1697391346.git.mirai@makinata.eu> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Rewrite package using G-Expressions. Remove obsolete comments, options and unused dependencies [1]. [1]: GNU poke commit: c17b0fb7d9d0b97398c664c882d6ef1e732bc66a * gnu/packages/engineering.scm (poke)[inputs]: Remove json-c. [arguments]: Use G-Expression. Remove obsolete comments and configure-flags. --- gnu/packages/engineering.scm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index c9aec482da..46937384e4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3248,18 +3248,15 @@ (define-public poke (delete-file "libpoke/pvm-vm1.c") (delete-file "libpoke/pvm-vm2.c"))))) (build-system gnu-build-system) - ;; The GUI, which we elide, requires tcl and tk. (native-inputs (list bison dejagnu flex libtool pkg-config)) ;; FIXME: Enable NBD support by adding `libnbd' (currently unpackaged). - (inputs (list json-c libgc readline libtextstyle)) + (inputs (list libgc readline libtextstyle)) (arguments - ;; To build the GUI, add the `--enable-gui' configure flag. - ;; To enable the "hyperlink server", add the `--enable-hserver' flag. - `(#:configure-flags - '("--enable-mi" - "--disable-static" - ;; The emacs files are provided in emacs-poke. - "--with-lispdir=/tmp/share/emacs"))) + (list + #:configure-flags + #~(list "--disable-static" + ;; The emacs files are provided in emacs-poke. + "--with-lispdir=/tmp/share/emacs"))) (home-page "https://www.gnu.org/software/poke/#documentation") (synopsis "Editing of arbitrary binary data") (description "GNU poke is an interactive, extensible editor for binary data.