GNU bug report logs - #50375
[PATCH] gnu: Add mlterm.

Previous Next

Package: guix-patches;

Reported by: iKaSeRo <ahmed <at> ikasero.com>

Date: Sat, 4 Sep 2021 16:49:02 UTC

Severity: normal

Tags: patch

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

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 50375 in the body.
You can then email your comments to 50375 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#50375; Package guix-patches. (Sat, 04 Sep 2021 16:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to iKaSeRo <ahmed <at> ikasero.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 04 Sep 2021 16:49:02 GMT) Full text and rfc822 format available.

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

From: iKaSeRo <ahmed <at> ikasero.com>
To: guix-patches <at> gnu.org
Cc: iKaSeRo <ahmed <at> ikasero.com>
Subject: [PATCH] gnu: Add mlterm.
Date: Sat,  4 Sep 2021 19:42:05 +0300
* gnu/packages/terminals.scm (mlterm): New variable.
---
 gnu/packages/terminals.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 1cdf0e1831..037504ee4f 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2020 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz <at> elenq.tech>
 ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte <at> mind.be>
+;;; Copyright © 2021 ikasero <ahmed <at> ikasero.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -66,6 +67,7 @@
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages gl)
@@ -1458,3 +1460,41 @@ ephemeral serial ports.  It features automatic port detection, port enumeration,
 support for non-standard baud rates, the ability to wait for ports to appear,
 and the ability to read and write via stdin and stdout.")
     (license license:expat)))
+
+(define-public mlterm
+  (package
+    (name "mlterm")
+    (version "3.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/mlterm/01release/mlterm-"
+                           version "/mlterm-" version ".tar.gz"))
+       (sha256
+        (base32
+         "03fnynwv7d1aicwk2rp31sgncv5m65agvygqvsgn59v9di40gnnb"))))
+    (build-system gnu-build-system)
+    (arguments `(#:tests? #f
+                 #:configure-flags
+                 (list (string-append "--prefix=" (assoc-ref %outputs "out"))
+                       "--disable-static"
+                       "--enable-optimize-redrawing"
+                       "--with-imagelib=gdk-pixbuf")))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("cairo" ,cairo)
+       ("fontconfig" ,fontconfig)
+       ("freetype" ,freetype)
+       ("fribidi" ,fribidi)
+       ("gdk-pixbuf" ,gdk-pixbuf)
+       ("gtk+" ,gtk+)
+       ("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("libxft" ,libxft)))
+    (home-page "http://mlterm.sourceforge.net/")
+    (synopsis "Multi Lingual TERMinal emulator")
+    (description "mlterm is a multi-lingual terminal emulator which supports
+various character sets and encodings in the world.")
+    (license license:bsd-3)))
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#50375; Package guix-patches. (Sat, 04 Sep 2021 19:51:01 GMT) Full text and rfc822 format available.

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

From: Xinglu Chen <public <at> yoctocell.xyz>
To: iKaSeRo <ahmed <at> ikasero.com>, 50375 <at> debbugs.gnu.org
Cc: iKaSeRo <ahmed <at> ikasero.com>
Subject: Re: [bug#50375] [PATCH] gnu: Add mlterm.
Date: Sat, 04 Sep 2021 21:50:26 +0200
[Message part 1 (text/plain, inline)]
On Sat, Sep 04 2021, iKaSeRo wrote:

> * gnu/packages/terminals.scm (mlterm): New variable.
> ---
>  gnu/packages/terminals.scm | 40 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>
> diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
> index 1cdf0e1831..037504ee4f 100644
> --- a/gnu/packages/terminals.scm
> +++ b/gnu/packages/terminals.scm
> @@ -25,6 +25,7 @@
>  ;;; Copyright © 2020 Leo Famulari <leo <at> famulari.name>
>  ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz <at> elenq.tech>
>  ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte <at> mind.be>
> +;;; Copyright © 2021 ikasero <ahmed <at> ikasero.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -66,6 +67,7 @@
>    #:use-module (gnu packages docbook)
>    #:use-module (gnu packages fontutils)
>    #:use-module (gnu packages freedesktop)
> +  #:use-module (gnu packages fribidi)
>    #:use-module (gnu packages gettext)
>    #:use-module (gnu packages ghostscript)
>    #:use-module (gnu packages gl)
> @@ -1458,3 +1460,41 @@ ephemeral serial ports.  It features automatic port detection, port enumeration,
>  support for non-standard baud rates, the ability to wait for ports to appear,
>  and the ability to read and write via stdin and stdout.")
>      (license license:expat)))
> +
> +(define-public mlterm
> +  (package
> +    (name "mlterm")
> +    (version "3.9.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "mirror://sourceforge/mlterm/01release/mlterm-"
> +                           version "/mlterm-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "03fnynwv7d1aicwk2rp31sgncv5m65agvygqvsgn59v9di40gnnb"))))
> +    (build-system gnu-build-system)
> +    (arguments `(#:tests? #f

What’s the reason for disabling tests; there should be a comment with a
short explanation.

Nit: This is usually on its own line

  (arguments
   `(#:tests? #f
     #:configure-flags
     ...))

> +                 #:configure-flags
> +                 (list (string-append "--prefix=" (assoc-ref %outputs "out"))
> +                       "--disable-static"
> +                       "--enable-optimize-redrawing"
> +                       "--with-imagelib=gdk-pixbuf")))
> +    (native-inputs
> +     `(("gettext" ,gettext-minimal)
> +       ("pkg-config" ,pkg-config)))
> +    (inputs
> +     `(("cairo" ,cairo)
> +       ("fontconfig" ,fontconfig)
> +       ("freetype" ,freetype)
> +       ("fribidi" ,fribidi)
> +       ("gdk-pixbuf" ,gdk-pixbuf)
> +       ("gtk+" ,gtk+)
> +       ("libx11" ,libx11)
> +       ("libxext" ,libxext)
> +       ("libxft" ,libxft)))
> +    (home-page "http://mlterm.sourceforge.net/")
> +    (synopsis "Multi Lingual TERMinal emulator")
> +    (description "mlterm is a multi-lingual terminal emulator which supports
> +various character sets and encodings in the world.")
> +    (license license:bsd-3)))
> -- 
> 2.33.0

The package builds fine, and the rest LGTM!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#50375; Package guix-patches. (Sun, 05 Sep 2021 16:09:03 GMT) Full text and rfc822 format available.

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

From: iKaSeRo <ahmed <at> ikasero.com>
To: 50375 <at> debbugs.gnu.org,
	public <at> yoctocell.xyz
Cc: iKaSeRo <ahmed <at> ikasero.com>
Subject: [PATCH v2] gnu: Add mlterm.
Date: Sun,  5 Sep 2021 14:31:02 +0300
* gnu/packages/terminals.scm (mlterm): New variable.
---
Xinglu Chen <public <at> yoctocell.xyz> writes:

>> * gnu/packages/terminals.scm (mlterm): New variable.
>> ---
>>  gnu/packages/terminals.scm | 40 ++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 40 insertions(+)
>>
>> diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
>> index 1cdf0e1831..037504ee4f 100644
>> --- a/gnu/packages/terminals.scm
>> +++ b/gnu/packages/terminals.scm
>> @@ -25,6 +25,7 @@
>>  ;;; Copyright © 2020 Leo Famulari <leo <at> famulari.name>
>>  ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz <at> elenq.tech>
>>  ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte <at> mind.be>
>> +;;; Copyright © 2021 ikasero <ahmed <at> ikasero.com>
>>  ;;;
>>  ;;; This file is part of GNU Guix.
>>  ;;;
>> @@ -66,6 +67,7 @@
>>    #:use-module (gnu packages docbook)
>>    #:use-module (gnu packages fontutils)
>>    #:use-module (gnu packages freedesktop)
>> +  #:use-module (gnu packages fribidi)
>>    #:use-module (gnu packages gettext)
>>    #:use-module (gnu packages ghostscript)
>>    #:use-module (gnu packages gl)
>> @@ -1458,3 +1460,41 @@ ephemeral serial ports.  It features automatic port detection, port enumeration,
>>  support for non-standard baud rates, the ability to wait for ports to appear,
>>  and the ability to read and write via stdin and stdout.")
>>      (license license:expat)))
>> +
>> +(define-public mlterm
>> +  (package
>> +    (name "mlterm")
>> +    (version "3.9.1")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append "mirror://sourceforge/mlterm/01release/mlterm-"
>> +                           version "/mlterm-" version ".tar.gz"))
>> +       (sha256
>> +        (base32
>> +         "03fnynwv7d1aicwk2rp31sgncv5m65agvygqvsgn59v9di40gnnb"))))
>> +    (build-system gnu-build-system)
>> +    (arguments `(#:tests? #f
>
> What’s the reason for disabling tests; there should be a comment with a
> short explanation.
>
Because there are no tests, Now I added a comment thanks!
> Nit: This is usually on its own line
>
>   (arguments
>    `(#:tests? #f
>      #:configure-flags
>      ...))
>
Didn't know that, fixed
>> +                 #:configure-flags
>> +                 (list (string-append "--prefix=" (assoc-ref %outputs "out"))
>> +                       "--disable-static"
>> +                       "--enable-optimize-redrawing"
>> +                       "--with-imagelib=gdk-pixbuf")))
>> +    (native-inputs
>> +     `(("gettext" ,gettext-minimal)
>> +       ("pkg-config" ,pkg-config)))
>> +    (inputs
>> +     `(("cairo" ,cairo)
>> +       ("fontconfig" ,fontconfig)
>> +       ("freetype" ,freetype)
>> +       ("fribidi" ,fribidi)
>> +       ("gdk-pixbuf" ,gdk-pixbuf)
>> +       ("gtk+" ,gtk+)
>> +       ("libx11" ,libx11)
>> +       ("libxext" ,libxext)
>> +       ("libxft" ,libxft)))
>> +    (home-page "http://mlterm.sourceforge.net/")
>> +    (synopsis "Multi Lingual TERMinal emulator")
>> +    (description "mlterm is a multi-lingual terminal emulator which supports
>> +various character sets and encodings in the world.")
>> +    (license license:bsd-3)))
>> -- 
>> 2.33.0
>
> The package builds fine, and the rest LGTM!
Thanks for the review!

 gnu/packages/terminals.scm | 41 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 1cdf0e1831..4c39b41f0a 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2020 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz <at> elenq.tech>
 ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte <at> mind.be>
+;;; Copyright © 2021 ikasero <ahmed <at> ikasero.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -66,6 +67,7 @@
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages gl)
@@ -1458,3 +1460,42 @@ ephemeral serial ports.  It features automatic port detection, port enumeration,
 support for non-standard baud rates, the ability to wait for ports to appear,
 and the ability to read and write via stdin and stdout.")
     (license license:expat)))
+
+(define-public mlterm
+  (package
+    (name "mlterm")
+    (version "3.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/mlterm/01release/mlterm-"
+                           version "/mlterm-" version ".tar.gz"))
+       (sha256
+        (base32
+         "03fnynwv7d1aicwk2rp31sgncv5m65agvygqvsgn59v9di40gnnb"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:configure-flags
+       (list (string-append "--prefix=" (assoc-ref %outputs "out"))
+             "--disable-static"
+             "--enable-optimize-redrawing"
+             "--with-imagelib=gdk-pixbuf")))
+    (native-inputs
+     `(("gettext" ,gettext-minimal)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("cairo" ,cairo)
+       ("fontconfig" ,fontconfig)
+       ("freetype" ,freetype)
+       ("fribidi" ,fribidi)
+       ("gdk-pixbuf" ,gdk-pixbuf)
+       ("gtk+" ,gtk+)
+       ("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("libxft" ,libxft)))
+    (home-page "http://mlterm.sourceforge.net/")
+    (synopsis "Multi Lingual TERMinal emulator")
+    (description "mlterm is a multi-lingual terminal emulator which supports
+various character sets and encodings in the world.")
+    (license license:bsd-3)))
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#50375; Package guix-patches. (Sun, 05 Sep 2021 18:44:01 GMT) Full text and rfc822 format available.

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

From: Xinglu Chen <public <at> yoctocell.xyz>
To: iKaSeRo <ahmed <at> ikasero.com>, 50375 <at> debbugs.gnu.org
Cc: iKaSeRo <ahmed <at> ikasero.com>
Subject: Re: [bug#50375] [PATCH v2] gnu: Add mlterm.
Date: Sun, 05 Sep 2021 20:43:08 +0200
[Message part 1 (text/plain, inline)]
On Sun, Sep 05 2021, iKaSeRo wrote:

> * gnu/packages/terminals.scm (mlterm): New variable.
> ---
> Xinglu Chen <public <at> yoctocell.xyz> writes:
>
>>> * gnu/packages/terminals.scm (mlterm): New variable.
>>> ---
>>>  gnu/packages/terminals.scm | 40 ++++++++++++++++++++++++++++++++++++++
>>>  1 file changed, 40 insertions(+)
>>>
>>> diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
>>> index 1cdf0e1831..037504ee4f 100644
>>> --- a/gnu/packages/terminals.scm
>>> +++ b/gnu/packages/terminals.scm
>>> @@ -25,6 +25,7 @@
>>>  ;;; Copyright © 2020 Leo Famulari <leo <at> famulari.name>
>>>  ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz <at> elenq.tech>
>>>  ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte <at> mind.be>
>>> +;;; Copyright © 2021 ikasero <ahmed <at> ikasero.com>
>>>  ;;;
>>>  ;;; This file is part of GNU Guix.
>>>  ;;;
>>> @@ -66,6 +67,7 @@
>>>    #:use-module (gnu packages docbook)
>>>    #:use-module (gnu packages fontutils)
>>>    #:use-module (gnu packages freedesktop)
>>> +  #:use-module (gnu packages fribidi)
>>>    #:use-module (gnu packages gettext)
>>>    #:use-module (gnu packages ghostscript)
>>>    #:use-module (gnu packages gl)
>>> @@ -1458,3 +1460,41 @@ ephemeral serial ports.  It features automatic port detection, port enumeration,
>>>  support for non-standard baud rates, the ability to wait for ports to appear,
>>>  and the ability to read and write via stdin and stdout.")
>>>      (license license:expat)))
>>> +
>>> +(define-public mlterm
>>> +  (package
>>> +    (name "mlterm")
>>> +    (version "3.9.1")
>>> +    (source
>>> +     (origin
>>> +       (method url-fetch)
>>> +       (uri (string-append "mirror://sourceforge/mlterm/01release/mlterm-"
>>> +                           version "/mlterm-" version ".tar.gz"))
>>> +       (sha256
>>> +        (base32
>>> +         "03fnynwv7d1aicwk2rp31sgncv5m65agvygqvsgn59v9di40gnnb"))))
>>> +    (build-system gnu-build-system)
>>> +    (arguments `(#:tests? #f
>>
>> What’s the reason for disabling tests; there should be a comment with a
>> short explanation.
>>
> Because there are no tests, Now I added a comment thanks!
>> Nit: This is usually on its own line
>>
>>   (arguments
>>    `(#:tests? #f
>>      #:configure-flags
>>      ...))
>>
> Didn't know that, fixed
>>> +                 #:configure-flags
>>> +                 (list (string-append "--prefix=" (assoc-ref %outputs "out"))
>>> +                       "--disable-static"
>>> +                       "--enable-optimize-redrawing"
>>> +                       "--with-imagelib=gdk-pixbuf")))
>>> +    (native-inputs
>>> +     `(("gettext" ,gettext-minimal)
>>> +       ("pkg-config" ,pkg-config)))
>>> +    (inputs
>>> +     `(("cairo" ,cairo)
>>> +       ("fontconfig" ,fontconfig)
>>> +       ("freetype" ,freetype)
>>> +       ("fribidi" ,fribidi)
>>> +       ("gdk-pixbuf" ,gdk-pixbuf)
>>> +       ("gtk+" ,gtk+)
>>> +       ("libx11" ,libx11)
>>> +       ("libxext" ,libxext)
>>> +       ("libxft" ,libxft)))
>>> +    (home-page "http://mlterm.sourceforge.net/")
>>> +    (synopsis "Multi Lingual TERMinal emulator")
>>> +    (description "mlterm is a multi-lingual terminal emulator which supports
>>> +various character sets and encodings in the world.")
>>> +    (license license:bsd-3)))
>>> -- 
>>> 2.33.0
>>
>> The package builds fine, and the rest LGTM!
> Thanks for the review!

You are welcome!  The updated patch looks good, but I don’t have commit
access.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Sun, 05 Sep 2021 22:21:01 GMT) Full text and rfc822 format available.

Notification sent to iKaSeRo <ahmed <at> ikasero.com>:
bug acknowledged by developer. (Sun, 05 Sep 2021 22:21:01 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: iKaSeRo <ahmed <at> ikasero.com>
Cc: 50375-done <at> debbugs.gnu.org
Subject: Re: [bug#50375] [PATCH v2] gnu: Add mlterm.
Date: Mon, 06 Sep 2021 00:18:52 +0200
[Message part 1 (text/plain, inline)]
iKaSeRo,

iKaSeRo 写道:
> * gnu/packages/terminals.scm (mlterm): New variable.

Pushed as commit 53ccbc175570c4fd16b499670d37b36328d30f94.  I 
moved the package somewhere vaguely alphabetical (terminals.scm 
isn't) and expanded the description slightly based on the man 
page.

Thanks!

T G-R
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 04 Oct 2021 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 204 days ago.

Previous Next


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