unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61023] [PATCH] package the jed editor
@ 2023-01-23  2:06 Ethan Blanton via Guix-patches via
  2023-01-23 14:19 ` Bruno Victal
  0 siblings, 1 reply; 4+ messages in thread
From: Ethan Blanton via Guix-patches via @ 2023-01-23  2:06 UTC (permalink / raw)
  To: 61023

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+)))




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#61023] [PATCH] package the jed editor
  2023-01-23  2:06 [bug#61023] [PATCH] package the jed editor Ethan Blanton via Guix-patches via
@ 2023-01-23 14:19 ` Bruno Victal
  2023-01-23 15:07   ` [bug#61023] [PATCH] gnu: Add " Ethan Blanton via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Bruno Victal @ 2023-01-23 14:19 UTC (permalink / raw)
  To: Ethan Blanton; +Cc: 61023

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#61023] [PATCH] gnu: Add the jed editor.
  2023-01-23 14:19 ` Bruno Victal
@ 2023-01-23 15:07   ` Ethan Blanton via Guix-patches via
  2023-01-27 15:50     ` bug#61023: [PATCH] package " Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ethan Blanton via Guix-patches via @ 2023-01-23 15:07 UTC (permalink / raw)
  To: 61023

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#61023: [PATCH] package the jed editor
  2023-01-23 15:07   ` [bug#61023] [PATCH] gnu: Add " Ethan Blanton via Guix-patches via
@ 2023-01-27 15:50     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-01-27 15:50 UTC (permalink / raw)
  To: Ethan Blanton; +Cc: 61023-done

Hi,

Ethan Blanton <elb@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’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-27 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23  2:06 [bug#61023] [PATCH] package the jed editor Ethan Blanton via Guix-patches via
2023-01-23 14:19 ` Bruno Victal
2023-01-23 15:07   ` [bug#61023] [PATCH] gnu: Add " Ethan Blanton via Guix-patches via
2023-01-27 15:50     ` bug#61023: [PATCH] package " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).