* [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
* [bug#59093] [PATCH] gnu: Add xnedit
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 14:56 ` [bug#59093] [PATCH v2 1/2] gnu: Add motif Simon Tournier
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: zimoun @ 2023-01-06 11:50 UTC (permalink / raw)
To: Andy Tai; +Cc: 59093
Hi,
On Sun, 06 Nov 2022 at 21:12, Andy Tai <atai@atai.org> wrote:
> + (arguments
> + `(#:make-flags (list (string-append "PREFIX="
> + (assoc-ref %outputs "out"))
--^
this
This pattern is now deprecated, if I understand correctly.
https://guix.gnu.org/en/blog/2021/the-big-change/
Instead, something like,
(arguments
(list
#:make-flags #~(list (string-append "PREFIX=" #$output)
(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)))))))
seems more compliant with the “new” style.
> + (inputs (list
> + motif
> + pcre))
Incorrect indentation or just (inputs (list motif pcre))
Cheers,
simon
^ permalink raw reply [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH] gnu: Add xnedit
2023-01-06 11:50 ` zimoun
@ 2023-01-07 7:14 ` Andy Tai
2023-01-11 2:44 ` Andy Tai
0 siblings, 1 reply; 13+ messages in thread
From: Andy Tai @ 2023-01-07 7:14 UTC (permalink / raw)
To: zimoun; +Cc: 59093
[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]
Hi, I guess I will need to update the patch to fit the new style.
On Fri, Jan 6, 2023 at 4:15 PM zimoun <zimon.toutoune@gmail.com> wrote:
> Hi,
>
> On Sun, 06 Nov 2022 at 21:12, Andy Tai <atai@atai.org> wrote:
>
> > + (arguments
> > + `(#:make-flags (list (string-append "PREFIX="
> > + (assoc-ref %outputs "out"))
> --^
> this
>
> This pattern is now deprecated, if I understand correctly.
>
> https://guix.gnu.org/en/blog/2021/the-big-change/
>
> Instead, something like,
>
> (arguments
> (list
> #:make-flags #~(list (string-append "PREFIX=" #$output)
> (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)))))))
>
> seems more compliant with the “new” style.
>
>
>
> > + (inputs (list
> > + motif
> > + pcre))
>
> Incorrect indentation or just (inputs (list motif pcre))
>
>
> Cheers,
> simon
>
--
Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat:
andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
[-- Attachment #2: Type: text/html, Size: 2836 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH] gnu: Add xnedit
2023-01-07 7:14 ` Andy Tai
@ 2023-01-11 2:44 ` Andy Tai
2023-01-11 15:02 ` Simon Tournier
0 siblings, 1 reply; 13+ messages in thread
From: Andy Tai @ 2023-01-11 2:44 UTC (permalink / raw)
To: zimoun; +Cc: 59093
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
I tried to use the new "G-exp" style but that would not build, so I
keep the old style.
Other comment addressed.
Updated patch attached
On Sat, Jan 7, 2023 at 7:14 AM Andy Tai <atai@atai.org> wrote:
>
> Hi, I guess I will need to update the patch to fit the new style.
>
[-- Attachment #2: 0001-gnu-Add-xnedit.patch --]
[-- Type: text/x-patch, Size: 2585 bytes --]
From 65a07b13cb90101c5fbfefc508da4ec41623684d Mon Sep 17 00:00:00 2001
From: Andy Tai <atai@atai.org>
Date: Wed, 11 Jan 2023 02:40:26 +0000
Subject: [PATCH] gnu: Add xnedit
* gnu/packages/text-editors.scm (xnedit): New variable
---
gnu/packages/text-editors.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 9dd5d7793f..1eea322f1c 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.
;;;
@@ -75,6 +76,7 @@ (define-module (gnu packages text-editors)
#:use-module (gnu packages hunspell)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
+ #:use-module (gnu packages lesstif)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages llvm)
#:use-module (gnu packages lua)
@@ -1391,3 +1393,34 @@ (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.34.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH] gnu: Add xnedit
2023-01-11 2:44 ` Andy Tai
@ 2023-01-11 15:02 ` Simon Tournier
2023-01-12 3:25 ` Andy Tai
0 siblings, 1 reply; 13+ messages in thread
From: Simon Tournier @ 2023-01-11 15:02 UTC (permalink / raw)
To: Andy Tai; +Cc: 59093
Hi,
On mer., 11 janv. 2023 at 02:44, Andy Tai <atai@atai.org> wrote:
> I tried to use the new "G-exp" style but that would not build, so I
> keep the old style.
Done with patch subject [PATCH v2].
Cheers,
simon
PS: Please consider sending as a same patch set related patches. For
instance, this addition of xnedit requires the addition of motif so they
should be part of the same series.
Easing the reviewer’s job eases the merge, IMHO. :-)
For example, it is easier to apply the two patches, then “./pre-inst-env
guix build xnedit“; than dig the bug tracker in order to find, maybe,
the other submission. Moreover, being part of the same submission eases
the QA, again IMHO.
Anyway, thanks for the patches. :-)
^ permalink raw reply [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH] gnu: Add xnedit
2023-01-11 15:02 ` Simon Tournier
@ 2023-01-12 3:25 ` Andy Tai
2023-01-12 10:03 ` Simon Tournier
0 siblings, 1 reply; 13+ messages in thread
From: Andy Tai @ 2023-01-12 3:25 UTC (permalink / raw)
To: Simon Tournier; +Cc: 59093
Simon, thanks. So what is remaining to be addressed as I see it is
still pending or the issue is still open
On Wed, Jan 11, 2023 at 7:03 AM Simon Tournier <zimon.toutoune@gmail.com> wrote:
>
> Done with patch subject [PATCH v2].
>
> Cheers,
> simon
>
> PS: Please consider sending as a same patch set related patches. For
> instance, this addition of xnedit requires the addition of motif so they
> should be part of the same series.
>
> Easing the reviewer’s job eases the merge, IMHO. :-)
>
> For example, it is easier to apply the two patches, then “./pre-inst-env
> guix build xnedit“; than dig the bug tracker in order to find, maybe,
> the other submission. Moreover, being part of the same submission eases
> the QA, again IMHO.
>
> Anyway, thanks for the patches. :-)
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH] gnu: Add xnedit
2023-01-12 3:25 ` Andy Tai
@ 2023-01-12 10:03 ` Simon Tournier
2023-01-12 10:08 ` Andy Tai
0 siblings, 1 reply; 13+ messages in thread
From: Simon Tournier @ 2023-01-12 10:03 UTC (permalink / raw)
To: Andy Tai; +Cc: 59093
Hi,
On Thu, 12 Jan 2023 at 04:26, Andy Tai <atai@atai.org> wrote:
> Simon, thanks. So what is remaining to be addressed as I see it is
> still pending or the issue is still open
The patch v2 is ready to be merged; all is addressed from my eyes.
But I have not have commit access so I cannot push and close this
submission. :-)
Cheers,
simon
^ permalink raw reply [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH] gnu: Add xnedit
2023-01-12 10:03 ` Simon Tournier
@ 2023-01-12 10:08 ` Andy Tai
2023-01-12 10:26 ` Simon Tournier
0 siblings, 1 reply; 13+ messages in thread
From: Andy Tai @ 2023-01-12 10:08 UTC (permalink / raw)
To: Simon Tournier; +Cc: 59093
[-- Attachment #1: Type: text/plain, Size: 760 bytes --]
Thanks... I cannot tell who has the commit access... I assume you do as you
review patches :-)
On Thu, Jan 12, 2023 at 2:03 AM Simon Tournier <zimon.toutoune@gmail.com>
wrote:
> Hi,
>
> On Thu, 12 Jan 2023 at 04:26, Andy Tai <atai@atai.org> wrote:
>
> > Simon, thanks. So what is remaining to be addressed as I see it is
> > still pending or the issue is still open
>
> The patch v2 is ready to be merged; all is addressed from my eyes.
> But I have not have commit access so I cannot push and close this
> submission. :-)
>
> Cheers,
> simon
>
--
Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat:
andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
[-- Attachment #2: Type: text/html, Size: 1543 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH v2 1/2] gnu: Add motif
2022-11-07 5:12 [bug#59093] [PATCH] gnu: Add xnedit Andy Tai
2023-01-06 11:50 ` zimoun
@ 2023-01-11 14:56 ` 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
3 siblings, 1 reply; 13+ messages in thread
From: Simon Tournier @ 2023-01-11 14:56 UTC (permalink / raw)
To: 59093; +Cc: Andy Tai
From: Andy Tai <atai@atai.org>
* gnu/packages/lesstif.scm (motif): New variable
---
gnu/packages/lesstif.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lesstif.scm b/gnu/packages/lesstif.scm
index 8f017f41be..1ab471e4fa 100644
--- a/gnu/packages/lesstif.scm
+++ b/gnu/packages/lesstif.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2022 Andy Tai <atai@atai.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,6 +22,12 @@ (define-module (gnu packages lesstif)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages c)
+ #:use-module (gnu packages flex)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg))
@@ -46,3 +53,36 @@ (define-public lesstif
(synopsis "Clone of the Motif toolkit for the X window system")
(description "Clone of the Motif toolkit for the X window system.")
(license license:gpl2+))) ; some files are lgpl2.1+ or x11
+
+(define-public motif
+ ;; This commit is from September 2021 and v2.3.8 from 2017.
+ (let ((commit "59858b0811e8d9dfaeb142f2b5a96f55482be1ed")
+ (revision "0"))
+ (package
+ (name "motif")
+ (version (git-version "2.3.8" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.code.sf.net/p/motif/code")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0yycq0vzga9qmgbfzn2d02ilpwxixwdv2j1d8sddl4dripcrg21m"))))
+ (build-system gnu-build-system)
+ (inputs
+ (list libx11 xorgproto))
+ (propagated-inputs
+ (list fontconfig freetype libxext libxft libxpm libxt xbitmaps))
+ (native-inputs
+ (list autoconf automake byacc flex libtool pkg-config))
+ (home-page "https://motif.ics.com/motif")
+ (synopsis "Motif toolkit for the X window system")
+ (description "Motif is a standard graphical user interface, (as
+defined by the IEEE 1295 specification), used on more than 200 hardware and
+software platforms. It provides application developers, end users, and system
+vendors with a widely used environment for standardizing
+application presentation on a wide range of platforms.")
+ (license license:lgpl2.1+))))
base-commit: a8b2decf287498eeb51ef23712c5bd01b60cb18b
--
2.38.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH v2 2/2] gnu: Add xnedit
2023-01-11 14:56 ` [bug#59093] [PATCH v2 1/2] gnu: Add motif Simon Tournier
@ 2023-01-11 14:56 ` Simon Tournier
0 siblings, 0 replies; 13+ messages in thread
From: Simon Tournier @ 2023-01-11 14:56 UTC (permalink / raw)
To: 59093; +Cc: Andy Tai
From: Andy Tai <atai@atai.org>
* gnu/packages/text-editors.scm (xnedit): New variable
---
gnu/packages/text-editors.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 9dd5d7793f..3898ab1eb7 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.
;;;
@@ -75,6 +76,7 @@ (define-module (gnu packages text-editors)
#:use-module (gnu packages hunspell)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
+ #:use-module (gnu packages lesstif)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages llvm)
#:use-module (gnu packages lua)
@@ -1391,3 +1393,35 @@ (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
+ (list
+ #:make-flags #~(list (string-append "PREFIX=" #$output)
+ (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.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH v3 1/2] gnu: Add motif
2022-11-07 5:12 [bug#59093] [PATCH] gnu: Add xnedit Andy Tai
2023-01-06 11:50 ` zimoun
2023-01-11 14:56 ` [bug#59093] [PATCH v2 1/2] gnu: Add motif Simon Tournier
@ 2023-01-29 1:13 ` Andy Tai
2023-01-29 1:13 ` [bug#59093] [PATCH v3 2/2] gnu: Add xnedit Andy Tai
3 siblings, 0 replies; 13+ messages in thread
From: Andy Tai @ 2023-01-29 1:13 UTC (permalink / raw)
To: 59093; +Cc: Andy Tai
* gnu/packages/lesstif.scm (motif): New variable
---
gnu/packages/lesstif.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lesstif.scm b/gnu/packages/lesstif.scm
index 8f017f41be..1ab471e4fa 100644
--- a/gnu/packages/lesstif.scm
+++ b/gnu/packages/lesstif.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2022 Andy Tai <atai@atai.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,6 +22,12 @@ (define-module (gnu packages lesstif)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages c)
+ #:use-module (gnu packages flex)
+ #:use-module (gnu packages fontutils)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg))
@@ -46,3 +53,36 @@ (define-public lesstif
(synopsis "Clone of the Motif toolkit for the X window system")
(description "Clone of the Motif toolkit for the X window system.")
(license license:gpl2+))) ; some files are lgpl2.1+ or x11
+
+(define-public motif
+ ;; This commit is from September 2021 and v2.3.8 from 2017.
+ (let ((commit "59858b0811e8d9dfaeb142f2b5a96f55482be1ed")
+ (revision "0"))
+ (package
+ (name "motif")
+ (version (git-version "2.3.8" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.code.sf.net/p/motif/code")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0yycq0vzga9qmgbfzn2d02ilpwxixwdv2j1d8sddl4dripcrg21m"))))
+ (build-system gnu-build-system)
+ (inputs
+ (list libx11 xorgproto))
+ (propagated-inputs
+ (list fontconfig freetype libxext libxft libxpm libxt xbitmaps))
+ (native-inputs
+ (list autoconf automake byacc flex libtool pkg-config))
+ (home-page "https://motif.ics.com/motif")
+ (synopsis "Motif toolkit for the X window system")
+ (description "Motif is a standard graphical user interface, (as
+defined by the IEEE 1295 specification), used on more than 200 hardware and
+software platforms. It provides application developers, end users, and system
+vendors with a widely used environment for standardizing
+application presentation on a wide range of platforms.")
+ (license license:lgpl2.1+))))
base-commit: c6ec9c7af9814f84f293f62235eab9d0649751a7
--
2.39.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [bug#59093] [PATCH v3 2/2] gnu: Add xnedit
2022-11-07 5:12 [bug#59093] [PATCH] gnu: Add xnedit Andy Tai
` (2 preceding siblings ...)
2023-01-29 1:13 ` [bug#59093] [PATCH v3 1/2] gnu: Add motif Andy Tai
@ 2023-01-29 1:13 ` Andy Tai
3 siblings, 0 replies; 13+ messages in thread
From: Andy Tai @ 2023-01-29 1:13 UTC (permalink / raw)
To: 59093; +Cc: Andy Tai
* gnu/packages/text-editors.scm (xnedit): New variable
---
gnu/packages/text-editors.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 9dd5d7793f..3898ab1eb7 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.
;;;
@@ -75,6 +76,7 @@ (define-module (gnu packages text-editors)
#:use-module (gnu packages hunspell)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
+ #:use-module (gnu packages lesstif)
#:use-module (gnu packages libbsd)
#:use-module (gnu packages llvm)
#:use-module (gnu packages lua)
@@ -1391,3 +1393,35 @@ (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
+ (list
+ #:make-flags #~(list (string-append "PREFIX=" #$output)
+ (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.39.1
^ 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.