GNU bug report logs - #59093
[PATCH] Add motif and xnedit

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Mon, 7 Nov 2022 05:14:02 UTC

Severity: normal

Tags: patch

Done: Andy Tai <lichengtai <at> gmail.com>

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 59093 in the body.
You can then email your comments to 59093 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#59093; Package guix-patches. (Mon, 07 Nov 2022 05:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Tai <atai <at> atai.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 07 Nov 2022 05:14:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add xnedit
Date: Sun, 6 Nov 2022 21:12:38 -0800
[Message part 1 (text/plain, inline)]

[0001-gnu-Add-xnedit.patch (text/x-patch, attachment)]

Added blocking bug(s) 59092 Request was from Andy Tai <atai <at> atai.org> to control <at> debbugs.gnu.org. (Mon, 07 Nov 2022 05:35:01 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Fri, 06 Jan 2023 12:08:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Andy Tai <atai <at> atai.org>
Cc: 59093 <at> debbugs.gnu.org
Subject: Re: bug#59093: [PATCH] gnu: Add xnedit
Date: Fri, 06 Jan 2023 12:50:51 +0100
Hi,

On Sun, 06 Nov 2022 at 21:12, Andy Tai <atai <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Sat, 07 Jan 2023 07:16:01 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org
Subject: Re: bug#59093: [PATCH] gnu: Add xnedit
Date: Fri, 6 Jan 2023 23:14:28 -0800
[Message part 1 (text/plain, inline)]
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 <at> gmail.com> wrote:

> Hi,
>
> On Sun, 06 Nov 2022 at 21:12, Andy Tai <atai <at> 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 <at> atai.org, Skype: licheng.tai, Line: andy_tai, WeChat:
andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Wed, 11 Jan 2023 02:46:01 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org
Subject: Re: bug#59093: [PATCH] gnu: Add xnedit
Date: Wed, 11 Jan 2023 02:44:19 +0000
[Message part 1 (text/plain, inline)]
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 <at> atai.org> wrote:
>
> Hi, I guess I will need to update the patch to fit the new style.
>
[0001-gnu-Add-xnedit.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Wed, 11 Jan 2023 14:57:02 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: 59093 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v2 2/2] gnu: Add xnedit
Date: Wed, 11 Jan 2023 15:56:04 +0100
From: Andy Tai <atai <at> 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 <at> hotmail.com>
 ;;; Copyright © 2022 zamfofex <zamfofex <at> twdb.moe>
 ;;; Copyright © 2022 jgart <jgart <at> dismail.de>
+;;; Copyright © 2022 Andy Tai <atai <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Wed, 11 Jan 2023 14:57:02 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: 59093 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v2 1/2] gnu: Add motif
Date: Wed, 11 Jan 2023 15:56:03 +0100
From: Andy Tai <atai <at> 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 <at> enge.fr>
+;;; Copyright © 2022 Andy Tai <atai <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Wed, 11 Jan 2023 15:03:01 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Andy Tai <atai <at> atai.org>
Cc: 59093 <at> debbugs.gnu.org
Subject: Re: [bug#59093] [PATCH] gnu: Add xnedit
Date: Wed, 11 Jan 2023 16:02:14 +0100
Hi,

On mer., 11 janv. 2023 at 02:44, Andy Tai <atai <at> 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. :-)





Changed bug title to '[PATCH] Add motif and xnedit' from '[PATCH] gnu: Add xnedit' Request was from Simon Tournier <zimon.toutoune <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 11 Jan 2023 15:03:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Thu, 12 Jan 2023 03:27:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org
Subject: Re: [bug#59093] [PATCH] gnu: Add xnedit
Date: Wed, 11 Jan 2023 19:25:29 -0800
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 <at> 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. :-)
>




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Thu, 12 Jan 2023 10:04:01 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Andy Tai <atai <at> atai.org>
Cc: 59093 <at> debbugs.gnu.org
Subject: Re: [bug#59093] [PATCH] gnu: Add xnedit
Date: Thu, 12 Jan 2023 11:03:26 +0100
Hi,

On Thu, 12 Jan 2023 at 04:26, Andy Tai <atai <at> 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




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Thu, 12 Jan 2023 10:09:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org
Subject: Re: [bug#59093] [PATCH] gnu: Add xnedit
Date: Thu, 12 Jan 2023 02:08:04 -0800
[Message part 1 (text/plain, inline)]
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 <at> gmail.com>
wrote:

> Hi,
>
> On Thu, 12 Jan 2023 at 04:26, Andy Tai <atai <at> 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 <at> atai.org, Skype: licheng.tai, Line: andy_tai, WeChat:
andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Thu, 12 Jan 2023 10:27:02 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Andy Tai <atai <at> atai.org>
Cc: 59093 <at> debbugs.gnu.org
Subject: Re: [bug#59093] [PATCH] gnu: Add xnedit
Date: Thu, 12 Jan 2023 11:26:41 +0100
Re,

On Thu, 12 Jan 2023 at 11:08, Andy Tai <atai <at> atai.org> wrote:
>
> Thanks... I cannot tell who has the commit access... I assume you do as you review patches :-)

These people: <https://savannah.gnu.org/project/memberlist.php?group=guix>.

Review is a collective task and comment patches for improving their
quality is not reserved to people with commit access. :-)  The number
of people with commit access is limited and so if a first pass of
review is done then it eases and saves them some time. :-)

Cheers,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Sun, 29 Jan 2023 01:14:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: 59093 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v3 1/2] gnu: Add motif
Date: Sat, 28 Jan 2023 17:13:07 -0800
* 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 <at> enge.fr>
+;;; Copyright © 2022 Andy Tai <atai <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Sun, 29 Jan 2023 01:14:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: 59093 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v3 2/2] gnu: Add xnedit
Date: Sat, 28 Jan 2023 17:13:24 -0800
* 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 <at> hotmail.com>
 ;;; Copyright © 2022 zamfofex <zamfofex <at> twdb.moe>
 ;;; Copyright © 2022 jgart <jgart <at> dismail.de>
+;;; Copyright © 2022 Andy Tai <atai <at> 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





bug closed, send any further explanations to 59093 <at> debbugs.gnu.org and Andy Tai <atai <at> atai.org> Request was from Andy Tai <lichengtai <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 29 Jan 2023 04:17:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Mon, 30 Jan 2023 12:48:02 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Andy Tai <lichengtai <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
Subject: Re: bug#59093: [PATCH] Add motif and xnedit
Date: Mon, 30 Jan 2023 13:44:14 +0100
Hi,

On sam., 28 janv. 2023 at 20:16, Andy Tai <lichengtai <at> gmail.com> wrote:

> close 59093

Why do you close it?  And then you open #61134 [1] with the same patch.

1: <http://issues.guix.gnu.org/issue/61134>


Cheers,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Mon, 30 Jan 2023 15:37:02 GMT) Full text and rfc822 format available.

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

From: Andy Tai <lichengtai <at> gmail.com>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org, 61134 <at> debbugs.gnu.org
Subject: Re: bug#59093: [PATCH] Add motif and xnedit
Date: Mon, 30 Jan 2023 07:35:40 -0800
I did it so Guix QA can pick it up to queue it for testing.

Guix QA seemed confused about the old bug, always in a failed state

On Mon, Jan 30, 2023 at 4:47 AM Simon Tournier <zimon.toutoune <at> gmail.com> wrote:
>
> Hi,
>
> On sam., 28 janv. 2023 at 20:16, Andy Tai <lichengtai <at> gmail.com> wrote:
>
> > close 59093
>
> Why do you close it?  And then you open #61134 [1] with the same patch.
>
> 1: <http://issues.guix.gnu.org/issue/61134>
>
>
> Cheers,
> simon




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Tue, 31 Jan 2023 11:37:01 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Andy Tai <lichengtai <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org, 61134 <at> debbugs.gnu.org
Subject: Re: [bug#59093] [PATCH] Add motif and xnedit
Date: Tue, 31 Jan 2023 10:56:16 +0100
Hi,

On Mon, 30 Jan 2023 at 07:35, Andy Tai <lichengtai <at> gmail.com> wrote:

> Guix QA seemed confused about the old bug, always in a failed state

It appears to me better to point the issues and then maybe fix them
instead of bypassing them.  My 2 cents.

Cheers,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Tue, 31 Jan 2023 17:16:01 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org, 61134 <at> debbugs.gnu.org
Subject: Re: [bug#59093] [PATCH] Add motif and xnedit
Date: Tue, 31 Jan 2023 09:15:01 -0800
you meant fixing the issue in Guix QA?

It goes without saying that Guix QA is far from the code in question
of this issue and my question on Guix QA also went unanswered on the
mailing list.



On Tue, Jan 31, 2023 at 3:36 AM Simon Tournier <zimon.toutoune <at> gmail.com> wrote:
>
> Hi,
>
> On Mon, 30 Jan 2023 at 07:35, Andy Tai <lichengtai <at> gmail.com> wrote:
>
> > Guix QA seemed confused about the old bug, always in a failed state
>
> It appears to me better to point the issues and then maybe fix them
> instead of bypassing them.  My 2 cents.
>
> Cheers,
> simon




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Tue, 31 Jan 2023 18:13:01 GMT) Full text and rfc822 format available.

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

From: Andy Tai <atai <at> atai.org>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 59093 <at> debbugs.gnu.org, 61134 <at> debbugs.gnu.org
Subject: Re: [bug#59093] [PATCH] Add motif and xnedit
Date: Tue, 31 Jan 2023 10:12:14 -0800
To clarify, when I mentioned Guix QA shows failure, Guiox QA was
showing "failure" trying to queue the issue to build, not that Gux QA
was showing some build log with the patch failing to build in some
way.

So I don't know if you are saying people should look at Guix QA
sources and help to fix that.  That is possible, of course, but people
contributing to Guix patches may have no background at all at how Guix
QA works.

On Tue, Jan 31, 2023 at 9:15 AM Andy Tai <atai <at> atai.org> wrote:
>
> you meant fixing the issue in Guix QA?
>
> It goes without saying that Guix QA is far from the code in question
> of this issue and my question on Guix QA also went unanswered on the
> mailing list.
>
>
>
> On Tue, Jan 31, 2023 at 3:36 AM Simon Tournier <zimon.toutoune <at> gmail.com> wrote:
> >
> > Hi,
> >
> > On Mon, 30 Jan 2023 at 07:35, Andy Tai <lichengtai <at> gmail.com> wrote:
> >
> > > Guix QA seemed confused about the old bug, always in a failed state
> >
> > It appears to me better to point the issues and then maybe fix them
> > instead of bypassing them.  My 2 cents.
> >
> > Cheers,
> > simon



-- 
Andy Tai, atai <at> atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andytai1010
Year 2023 民國112年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能




Information forwarded to guix-patches <at> gnu.org:
bug#59093; Package guix-patches. (Wed, 01 Feb 2023 10:15:02 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Andy Tai <atai <at> atai.org>
Cc: 59093 <at> debbugs.gnu.org, 61134 <at> debbugs.gnu.org
Subject: Re: [bug#61134] [bug#59093] [PATCH] Add motif and xnedit
Date: Wed, 01 Feb 2023 11:08:41 +0100
Hi Andy,

On Tue, 31 Jan 2023 at 10:12, Andy Tai <atai <at> atai.org> wrote:
> To clarify, when I mentioned Guix QA shows failure, Guiox QA was
> showing "failure" trying to queue the issue to build, not that Gux QA
> was showing some build log with the patch failing to build in some
> way.
>
> So I don't know if you are saying people should look at Guix QA
> sources and help to fix that.  That is possible, of course, but people
> contributing to Guix patches may have no background at all at how Guix
> QA works.

I have understood the first time. :-)

I wrote: «It appears to me better to point the issues and then maybe fix
them instead of bypassing them.  My 2 cents.»

I am not saying that you should fix issues with QA, obviously not.
Instead, I am proposing that if you notice something unexpected with QA,
you should report it and not silently bypass it.

“Report it” means for example drop an email to guix-devel or open a bug
or roam on #guix and tell.  I do not know what is the best and it does
not mean that the issue about QA will be fixed.  It just helps in
improving the tools, IMHO.

Well, for what it is worth, I am trying to say that silently close and
reopen another ticket because QA does not behave as expected is a
short-term hack – and yes it is often necessary to have the task done
now :-) – but by silently closing it does not help for the longer term.

Thanks for your contributions and taking the time to discuss how we
could collectively improve Guix. :-)

Cheers,
simon




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

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

Previous Next


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