diff mbox series

[bug#66566,1/3] gnu: poke: Revise package definition.

Message ID 7e36201bf26dc13369aeac84d533ebfa15726040.1697391346.git.mirai@makinata.eu
State New
Headers show
Series Refactor GNU poke definition. | expand

Commit Message

Bruno Victal Oct. 15, 2023, 5:47 p.m. UTC
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 mbox series

Patch

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.