all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59093] [PATCH] gnu: Add xnedit
@ 2022-11-07  5:12 Andy Tai
  2023-01-06 11:50 ` zimoun
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Andy Tai @ 2022-11-07  5:12 UTC (permalink / raw)
  To: 59093

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-Add-xnedit.patch --]
[-- Type: text/x-patch, Size: 2754 bytes --]

From 31c34b0ebdaf6712213646b993b53a47416b9282 Mon Sep 17 00:00:00 2001
From: Andy Tai <atai@atai.org>
Date: Sun, 6 Nov 2022 21:09:28 -0800
Subject: [PATCH] gnu: Add xnedit

* gnu/packages/text-editors.scm (xnedit): New variable
---
 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 a16ce8a117..40a2106e6b 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
 ;;; Copyright © 2022 zamfofex <zamfofex@twdb.moe>
 ;;; Copyright © 2022 jgart <jgart@dismail.de>
+;;; Copyright © 2022 Andy Tai <atai@atai.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -72,6 +73,7 @@ (define-module (gnu packages text-editors)
   #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages lesstif)
   #:use-module (gnu packages libbsd)
   #:use-module (gnu packages libreoffice)
   #:use-module (gnu packages llvm)
@@ -1355,3 +1357,37 @@ (define-public lite-xl
 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 xnedit
+  (package
+      (name "xnedit")
+      (version "1.4.1")
+      (source
+       (origin
+         (method url-fetch)
+           (uri (string-append "mirror://sourceforge/xnedit/"
+                               name "-" version ".tar.gz"))
+           (sha256
+            (base32 "0fw3li7hr47hckm9pl1njx30lfr6cx2p094ir8zmgr91hyxidgld"))))
+
+      (build-system gnu-build-system)
+      (arguments
+       `(#:make-flags (list (string-append "PREFIX="
+                                         (assoc-ref %outputs "out"))
+                            (string-append "CC="
+                                         ,(cc-for-target)))
+         #:tests? #f                  ; no tests
+         #:phases (modify-phases %standard-phases
+                        (delete 'configure)
+                        (replace 'build
+                            (lambda* (#:key make-flags #:allow-other-keys)
+                                (apply invoke "make" "linux" make-flags))))))
+      (inputs (list
+              motif
+              pcre))
+      (native-inputs (list pkg-config))
+      (home-page "https://sourceforge.net/projects/xnedit/")
+      (synopsis  "Fast and classic X11 text editor")
+      (description "XNEdit is a fast and classic X11 text editor, based on NEdit,
+with full unicode support and antialiased text rendering.")
+      (license license:gpl2+)))
-- 
2.38.0


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

end of thread, other threads:[~2023-01-29  1:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-07  5:12 [bug#59093] [PATCH] gnu: Add xnedit Andy Tai
2023-01-06 11:50 ` zimoun
2023-01-07  7:14   ` Andy Tai
2023-01-11  2:44     ` Andy Tai
2023-01-11 15:02       ` Simon Tournier
2023-01-12  3:25         ` Andy Tai
2023-01-12 10:03           ` Simon Tournier
2023-01-12 10:08             ` Andy Tai
2023-01-12 10:26               ` Simon Tournier
2023-01-11 14:56 ` [bug#59093] [PATCH v2 1/2] gnu: Add motif Simon Tournier
2023-01-11 14:56   ` [bug#59093] [PATCH v2 2/2] gnu: Add xnedit Simon Tournier
2023-01-29  1:13 ` [bug#59093] [PATCH v3 1/2] gnu: Add motif Andy Tai
2023-01-29  1:13 ` [bug#59093] [PATCH v3 2/2] gnu: Add xnedit Andy Tai

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.