GNU bug report logs -
#66566
[PATCH 0/3] Refactor GNU poke definition.
Previous Next
Reported by: Bruno Victal <mirai <at> makinata.eu>
Date: Sun, 15 Oct 2023 17:47:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66566 in the body.
You can then email your comments to 66566 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
efraim <at> flashner.co.il, guix-patches <at> gnu.org
:
bug#66566
; Package
guix-patches
.
(Sun, 15 Oct 2023 17:47:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Bruno Victal <mirai <at> makinata.eu>
:
New bug report received and forwarded. Copy sent to
efraim <at> flashner.co.il, guix-patches <at> gnu.org
.
(Sun, 15 Oct 2023 17:47:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Notable changes:
* Removed obsolete comments and inputs from poke.
* Subsumed emacs-poke into poke.
NOTE: The emacs-poke naming is confusing as there exists a ELPA poke package
which is an emacs interface for GNU poke. The modes provided by our emacs-poke
package are seldomly used and emacs/poke people are mostly looking for
emacs-poke-mode which is being added with #66561 [1] so to prevent intolerable
confusion in the future emacs-poke has been pre-emptively removed to make way
for the ELPA poke.
[1]: <https://issues.guix.gnu.org/66561>
Bruno Victal (3):
gnu: poke: Revise package definition.
gnu: poke: Install emacs modes.
gnu: Remove emacs-poke.
gnu/packages/engineering.scm | 39 +++++++++++-------------------------
1 file changed, 12 insertions(+), 27 deletions(-)
base-commit: a0d2ecde943bd1854ddbb7c0cad35a1fc64dc5ab
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66566
; Package
guix-patches
.
(Sun, 15 Oct 2023 17:48:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 66566 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/engineering.scm (poke)[arguments]<#:configure-flags>: Correctly
set lispdir for emacs.
---
gnu/packages/engineering.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 46937384e4..112417b30e 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3253,10 +3253,16 @@ (define-public poke
(inputs (list libgc readline libtextstyle))
(arguments
(list
+ #:imported-modules `((guix build emacs-build-system)
+ (guix build emacs-utils)
+ ,@%gnu-build-system-modules)
+ #:modules '((guix build gnu-build-system)
+ ((guix build emacs-build-system) #:prefix emacs:)
+ (guix build utils))
#:configure-flags
#~(list "--disable-static"
- ;; The emacs files are provided in emacs-poke.
- "--with-lispdir=/tmp/share/emacs")))
+ (string-append "--with-lispdir="
+ (emacs:elpa-directory #$output)))))
(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.
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66566
; Package
guix-patches
.
(Sun, 15 Oct 2023 17:48:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 66566 <at> debbugs.gnu.org (full text, mbox):
This naming conflicts with the ELPA 'poke' package, a emacs interface to
GNU poke.
* gnu/packages/engineering.scm (emacs-poke): Remove variable.
---
gnu/packages/engineering.scm | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 112417b30e..a00c098f90 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3271,24 +3271,6 @@ (define-public poke
data structures and to operate on them.")
(license license:gpl3+)))
-(define-public emacs-poke
- (package
- (inherit poke)
- (name "emacs-poke")
- (build-system emacs-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'expand-load-path 'change-working-directory
- (lambda _ (chdir "etc"))))))
- (inputs '())
- (native-inputs '())
- (synopsis "GNU Poke major modes for Emacs")
- (description
- "This package provides two Emacs major modes for working with GNU Poke:
-@code{Poke Ras mode} and @code{Poke Map mode}.")))
-
(define-public pcb2gcode
(package
(name "pcb2gcode")
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66566
; Package
guix-patches
.
(Sun, 15 Oct 2023 17:48:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 66566 <at> debbugs.gnu.org (full text, mbox):
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.
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66566
; Package
guix-patches
.
(Mon, 16 Oct 2023 09:25:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 66566 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Does it make more sense to either replace this package with the ELPA
poke package, or to deprecate this package and have it point back at
poke?
On Sun, Oct 15, 2023 at 06:47:08PM +0100, Bruno Victal wrote:
> This naming conflicts with the ELPA 'poke' package, a emacs interface to
> GNU poke.
>
> * gnu/packages/engineering.scm (emacs-poke): Remove variable.
> ---
> gnu/packages/engineering.scm | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 112417b30e..a00c098f90 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -3271,24 +3271,6 @@ (define-public poke
> data structures and to operate on them.")
> (license license:gpl3+)))
>
> -(define-public emacs-poke
> - (package
> - (inherit poke)
> - (name "emacs-poke")
> - (build-system emacs-build-system)
> - (arguments
> - (list
> - #:phases
> - #~(modify-phases %standard-phases
> - (add-before 'expand-load-path 'change-working-directory
> - (lambda _ (chdir "etc"))))))
> - (inputs '())
> - (native-inputs '())
> - (synopsis "GNU Poke major modes for Emacs")
> - (description
> - "This package provides two Emacs major modes for working with GNU Poke:
> -@code{Poke Ras mode} and @code{Poke Map mode}.")))
> -
> (define-public pcb2gcode
> (package
> (name "pcb2gcode")
> --
> 2.41.0
>
>
>
>
--
Efraim Flashner <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66566
; Package
guix-patches
.
(Mon, 16 Oct 2023 14:59:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 66566 <at> debbugs.gnu.org (full text, mbox):
Hi Efraim,
On 2023-10-16 10:23, Efraim Flashner wrote:
> Does it make more sense to either replace this package with the ELPA
> poke package, or to deprecate this package and have it point back at
> poke?
I'd say it makes sense to replace it with the ELPA one to avoid confusion,
though I didn't do so here since I'm not planning on using it (yet) and
thus can't vouch whether it works or not.
--
Furthermore, I consider that nonfree software must be eradicated.
Cheers,
Bruno.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66566
; Package
guix-patches
.
(Fri, 20 Oct 2023 22:22:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 66566 <at> debbugs.gnu.org (full text, mbox):
Hi!
Bruno Victal <mirai <at> makinata.eu> skribis:
> On 2023-10-16 10:23, Efraim Flashner wrote:
>> Does it make more sense to either replace this package with the ELPA
>> poke package, or to deprecate this package and have it point back at
>> poke?
>
> I'd say it makes sense to replace it with the ELPA one to avoid confusion,
> though I didn't do so here since I'm not planning on using it (yet) and
> thus can't vouch whether it works or not.
But since ‘poke’ now provides the Emacs mode, should we:
(define-public emacs-poke
(deprecated-package "emacs-poke" poke))
for now?
(I can do it on your behalf, let me know.)
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#66566
; Package
guix-patches
.
(Sat, 21 Oct 2023 09:08:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 66566 <at> debbugs.gnu.org (full text, mbox):
Hi Ludo’,
On 2023-10-20 23:20, Ludovic Courtès wrote:
> But since ‘poke’ now provides the Emacs mode, should we:
>
> (define-public emacs-poke
> (deprecated-package "emacs-poke" poke))
>
> for now?
>
> (I can do it on your behalf, let me know.)
Go ahead! I think there's no harm in doing this but do leave a comment
above it indicating that the package can be substituted anytime in the
future with the ELPA 'poke'.
--
Furthermore, I consider that nonfree software must be eradicated.
Cheers,
Bruno.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sat, 21 Oct 2023 14:10:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Bruno Victal <mirai <at> makinata.eu>
:
bug acknowledged by developer.
(Sat, 21 Oct 2023 14:10:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 66566-done <at> debbugs.gnu.org (full text, mbox):
Hi Bruno,
Bruno Victal <mirai <at> makinata.eu> skribis:
> On 2023-10-20 23:20, Ludovic Courtès wrote:
>> But since ‘poke’ now provides the Emacs mode, should we:
>>
>> (define-public emacs-poke
>> (deprecated-package "emacs-poke" poke))
>>
>> for now?
>>
>> (I can do it on your behalf, let me know.)
>
> Go ahead! I think there's no harm in doing this but do leave a comment
> above it indicating that the package can be substituted anytime in the
> future with the ELPA 'poke'.
Done, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 19 Nov 2023 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.