GNU bug report logs - #61023
[PATCH] package the jed editor

Previous Next

Package: guix-patches;

Reported by: Ethan Blanton <elb <at> kb8ojh.net>

Date: Mon, 23 Jan 2023 05:53:03 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 61023 in the body.
You can then email your comments to 61023 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61023; Package guix-patches. (Mon, 23 Jan 2023 05:53:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ethan Blanton <elb <at> kb8ojh.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 23 Jan 2023 05:53:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ethan Blanton <elb <at> kb8ojh.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] package the jed editor
Date: Sun, 22 Jan 2023 21:06:06 -0500
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 9dd5d7793f..133b52438c 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -89,6 +89,7 @@
   #:use-module (gnu packages regex)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages sdl)
+  #:use-module (gnu packages slang)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages terminals)
   #:use-module (gnu packages texinfo)
@@ -1391,3 +1392,36 @@ easy to modify and extend, or to use without doing either.
 The aim of Lite XL compared to lite is to be more user-friendly, improve the
 quality of font rendering, and reduce CPU usage.")
     (license license:expat)))
+
+(define-public jed
+  (package
+   (name "jed")
+   (version "0.99-19")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append "https://www.jedsoft.org/releases/jed/jed-"
+                         version ".tar.bz2"))
+     (sha256
+      (base32 "0qspdc6wss43wh1a8fddvf62xyhld5p7hl75grv4d95h5z73k8wp"))
+     (modules '((guix build utils)))
+     (snippet
+      #~(begin
+          (substitute* "src/Makefile.in"
+                       (("/bin/cp") "cp"))
+          (substitute* "configure"
+                       (("TERMCAP=-ltermcap") "TERMCAP="))))))
+   (build-system gnu-build-system)
+   (arguments (list #:configure-flags
+                    #~(list (string-append "--with-slang="
+                                           #$(this-package-input "slang")))
+                    #:tests? #f))
+   (inputs (list slang))
+   (home-page "https://www.jedsoft.org/jed/")
+   (synopsis "Programmer's editor using S-Lang scripting for configuration")
+   (description
+    "Jed is a powerful programmer's editor using the S-Lang scripting language
+for configuration and extensibility.  It provides emulation modes for the
+key bindings of many editors (including Emacs and WordStar), and has syntax
+highlighting for dozens of languages.  Jed is very small and fast.")
+   (license license:gpl2+)))




Information forwarded to guix-patches <at> gnu.org:
bug#61023; Package guix-patches. (Mon, 23 Jan 2023 14:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 61023 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Victal <mirai <at> makinata.eu>
To: Ethan Blanton <elb <at> kb8ojh.net>
Cc: 61023 <at> debbugs.gnu.org
Subject: Re: [bug#61023] [PATCH] package the jed editor
Date: Mon, 23 Jan 2023 14:19:44 +0000
Hi,

On 2023-01-23 02:06, Ethan Blanton via Guix-patches via wrote:
> +   (build-system gnu-build-system)
> +   (arguments (list #:configure-flags
> +                    #~(list (string-append "--with-slang="
> +                                           #$(this-package-input "slang")))
> +                    #:tests? #f))
You should comment the reason for disabling the tests.


Additionally, the commit should be in ChangeLog format [1], you can look
at the Guix commit logs to see what they look like.


[1]: https://www.gnu.org/prep/standards/standards.html#Change-Logs


Cheers,
Bruno





Information forwarded to guix-patches <at> gnu.org:
bug#61023; Package guix-patches. (Mon, 23 Jan 2023 15:08:01 GMT) Full text and rfc822 format available.

Message #11 received at 61023 <at> debbugs.gnu.org (full text, mbox):

From: Ethan Blanton <elb <at> kb8ojh.net>
To: 61023 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add the jed editor.
Date: Mon, 23 Jan 2023 10:07:48 -0500
* gnu/packages/text-editors.scm (jed): package for jed 0.99-19
---
 gnu/packages/text-editors.scm | 36 +++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 9dd5d7793f..3f570b3831 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -89,6 +89,7 @@
   #:use-module (gnu packages regex)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages sdl)
+  #:use-module (gnu packages slang)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages terminals)
   #:use-module (gnu packages texinfo)
@@ -1391,3 +1392,38 @@ easy to modify and extend, or to use without doing either.
 The aim of Lite XL compared to lite is to be more user-friendly, improve the
 quality of font rendering, and reduce CPU usage.")
     (license license:expat)))
+
+(define-public jed
+  (package
+   (name "jed")
+   (version "0.99-19")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (string-append "https://www.jedsoft.org/releases/jed/jed-"
+                         version ".tar.bz2"))
+     (sha256
+      (base32 "0qspdc6wss43wh1a8fddvf62xyhld5p7hl75grv4d95h5z73k8wp"))
+     (modules '((guix build utils)))
+     (snippet
+      #~(begin
+          (substitute* "src/Makefile.in"
+                       (("/bin/cp") "cp"))
+	  ;; jed links termcap by default but does not require it
+          (substitute* "configure"
+                       (("TERMCAP=-ltermcap") "TERMCAP="))))))
+   (build-system gnu-build-system)
+   (arguments (list #:configure-flags
+                    #~(list (string-append "--with-slang="
+                                           #$(this-package-input "slang")))
+		    ;; jed provides no tests
+		    #:tests? #f))
+   (inputs (list slang))
+   (home-page "https://www.jedsoft.org/jed/")
+   (synopsis "Programmer's editor using S-Lang scripting for configuration")
+   (description
+    "Jed is a powerful programmer's editor using the S-Lang scripting language
+for configuration and extensibility.  It provides emulation modes for the
+key bindings of many editors (including Emacs and WordStar), and has syntax
+highlighting for dozens of languages.  Jed is very small and fast.")
+   (license license:gpl2+)))
-- 
2.30.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 27 Jan 2023 15:51:02 GMT) Full text and rfc822 format available.

Notification sent to Ethan Blanton <elb <at> kb8ojh.net>:
bug acknowledged by developer. (Fri, 27 Jan 2023 15:51:02 GMT) Full text and rfc822 format available.

Message #16 received at 61023-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ethan Blanton <elb <at> kb8ojh.net>
Cc: 61023-done <at> debbugs.gnu.org
Subject: Re: bug#61023: [PATCH] package the jed editor
Date: Fri, 27 Jan 2023 16:50:01 +0100
Hi,

Ethan Blanton <elb <at> kb8ojh.net> skribis:

> * gnu/packages/text-editors.scm (jed): package for jed 0.99-19

Applied after passing it through ‘guix style’.  I followed up with a
patch to remove .exe files from the tarball.

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Feb 2023 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.