From patchwork Mon Jan 23 02:06:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ethan Blanton X-Patchwork-Id: 46364 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1E60E27BBED; Mon, 23 Jan 2023 06:55:50 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A964827BBEB for ; Mon, 23 Jan 2023 06:55:48 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJqjp-0006Sx-Kl; Mon, 23 Jan 2023 01:55:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJplQ-0006CG-0j for guix-patches@gnu.org; Mon, 23 Jan 2023 00:53:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJplP-00070E-P0 for guix-patches@gnu.org; Mon, 23 Jan 2023 00:53:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJplP-0000RE-Kz for guix-patches@gnu.org; Mon, 23 Jan 2023 00:53:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61023] [PATCH] package the jed editor Resent-From: Ethan Blanton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Jan 2023 05:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61023@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16744531461591 (code B ref -1); Mon, 23 Jan 2023 05:53:03 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jan 2023 05:52:26 +0000 Received: from localhost ([127.0.0.1]:53065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJpkn-0000PU-O0 for submit@debbugs.gnu.org; Mon, 23 Jan 2023 00:52:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:60506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJmDs-0002sX-Ev for submit@debbugs.gnu.org; Sun, 22 Jan 2023 21:06:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJmDs-0002fi-4C for guix-patches@gnu.org; Sun, 22 Jan 2023 21:06:12 -0500 Received: from cathode.kb8ojh.net ([162.243.72.198]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJmDo-0000PR-JU for guix-patches@gnu.org; Sun, 22 Jan 2023 21:06:11 -0500 Received: from anode.kb8ojh.net (pool-68-133-30-163.bflony.fios.verizon.net [68.133.30.163]) by cathode.kb8ojh.net (Postfix) with ESMTPSA id EB8D540752 for ; Mon, 23 Jan 2023 02:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kb8ojh.net; s=cathode; t=1674439566; bh=Pi5AbjUE702dX4kXNdr4qpJ79rAZ097NigyW5dBo9nc=; h=Date:From:To:Subject:From; b=MYJHS0CV+cOGKS4vkeujkhhaTPEJJPkP/1nKkwL1U3Hwl+rgChFV7YpaITWXP4b88 B3b0SWepYpK4Pd2gVqCsSIDRblU8FsGNaIFKx/KGVU+nQoeFlWmxBCQyxitfEef9VY 0WygWzXa5gxMisYRSXPAmVd4KCp9qMHUjksSnd6Y= Received: by anode.kb8ojh.net (Postfix, from userid 1000) id 982A1400D9; Sun, 22 Jan 2023 21:06:06 -0500 (EST) Date: Sun, 22 Jan 2023 21:06:06 -0500 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-GnuPG-Fingerprint: 2A9A 7752 8B91 6586 6289 FD3D 6CA9 2AC6 A1A8 AD0E Received-SPF: pass client-ip=162.243.72.198; envelope-from=elb@kb8ojh.net; helo=cathode.kb8ojh.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 23 Jan 2023 00:52:20 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 23 Jan 2023 01:55:20 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ethan Blanton X-ACL-Warn: , Ethan Blanton via Guix-patches X-Patchwork-Original-From: Ethan Blanton via Guix-patches via From: Ethan Blanton Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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+)))