gnu: poke: Revise package definition.

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.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Bruno Victal 2023-10-15 18:47:06 +01:00 committed by Ludovic Courtès
parent c8c0db5cb8
commit 03b350ab62
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3253,18 +3253,15 @@ program that can perform mesh processing tasks in batch mode, without a GUI.")
(delete-file "libpoke/pvm-vm1.c") (delete-file "libpoke/pvm-vm1.c")
(delete-file "libpoke/pvm-vm2.c"))))) (delete-file "libpoke/pvm-vm2.c")))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; The GUI, which we elide, requires tcl and tk.
(native-inputs (list bison dejagnu flex libtool pkg-config)) (native-inputs (list bison dejagnu flex libtool pkg-config))
;; FIXME: Enable NBD support by adding `libnbd' (currently unpackaged). ;; FIXME: Enable NBD support by adding `libnbd' (currently unpackaged).
(inputs (list json-c libgc readline libtextstyle)) (inputs (list libgc readline libtextstyle))
(arguments (arguments
;; To build the GUI, add the `--enable-gui' configure flag. (list
;; To enable the "hyperlink server", add the `--enable-hserver' flag. #:configure-flags
`(#:configure-flags #~(list "--disable-static"
'("--enable-mi" ;; The emacs files are provided in emacs-poke.
"--disable-static" "--with-lispdir=/tmp/share/emacs")))
;; The emacs files are provided in emacs-poke.
"--with-lispdir=/tmp/share/emacs")))
(home-page "https://www.gnu.org/software/poke/#documentation") (home-page "https://www.gnu.org/software/poke/#documentation")
(synopsis "Editing of arbitrary binary data") (synopsis "Editing of arbitrary binary data")
(description "GNU poke is an interactive, extensible editor for binary data. (description "GNU poke is an interactive, extensible editor for binary data.