From patchwork Sun Sep 5 11:31:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: iKaSeRo X-Patchwork-Id: 32645 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 D361F27BBE3; Sun, 5 Sep 2021 17:09:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3622027BBE1 for ; Sun, 5 Sep 2021 17:09:20 +0100 (BST) Received: from localhost ([::1]:51326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMuhr-0002SR-4S for patchwork@mira.cbaines.net; Sun, 05 Sep 2021 12:09:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMuhc-0002Rh-CX for guix-patches@gnu.org; Sun, 05 Sep 2021 12:09:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39276) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMuhc-00050E-4v for guix-patches@gnu.org; Sun, 05 Sep 2021 12:09:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMuhc-0005Eq-0l for guix-patches@gnu.org; Sun, 05 Sep 2021 12:09:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50375] [PATCH v2] gnu: Add mlterm. Resent-From: iKaSeRo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Sep 2021 16:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50375 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50375@debbugs.gnu.org, public@yoctocell.xyz Cc: iKaSeRo Received: via spool by 50375-submit@debbugs.gnu.org id=B50375.163085809420023 (code B ref 50375); Sun, 05 Sep 2021 16:09:03 +0000 Received: (at 50375) by debbugs.gnu.org; 5 Sep 2021 16:08:14 +0000 Received: from localhost ([127.0.0.1]:50812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMugn-0005Cr-2j for submit@debbugs.gnu.org; Sun, 05 Sep 2021 12:08:13 -0400 Received: from [136.244.88.61] (port=58670 helo=mail.ikasero.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMqMj-0005h6-I0 for 50375@debbugs.gnu.org; Sun, 05 Sep 2021 07:31:14 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:16a2:461b:a700:d65d:64ff:fed7:6da]) by mail.ikasero.com (Postfix) with ESMTPSA id 09D1A7FA8D; Sun, 5 Sep 2021 11:31:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ikasero.com; s=mail; t=1630841472; bh=ndVKnOGChLJBuyPkLczo0sPj+RetklYsUPjofYgBHXA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=03KZjGcsq8jCfv6KC60r8vEbjz7Mic9EhL+4IYmatlIWNuKvjeBk57gmANiJTJxsW D2adIACRGwh/g/F8S9s9QvvDShQh3l+lJh3CXLsiOLdreeq3+yAt8FW/umb0M/5F8f RNPIIN2DJ6UbgXAD4xNo3O/sR0BhuI/1FTwoG+wzMkZDso4gMW/U2kyXNlc4fhm78K izLPdQSnZS7r94wYMltkVi73pdZbwmF9SQtgmV0ouJkyT3I9vWW2VIZx0oE8WJ+/IL JifGlfk5Q8HiLG3AxIQ2KdCFGB/vwj2BzEmfN/VwCfVw/crotKJ6cps2tf6KoVKC6i RJEC9feEZEawQ== From: iKaSeRo Date: Sun, 5 Sep 2021 14:31:02 +0300 Message-Id: <20210905113102.9467-1-ahmed@ikasero.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <87mtos3yt9.fsf@yoctocell.xyz> References: <87mtos3yt9.fsf@yoctocell.xyz> MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 05 Sep 2021 12:08:11 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/terminals.scm (mlterm): New variable. --- Xinglu Chen 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 >> ;;; Copyright © 2021 Ekaitz Zarraga >> ;;; Copyright © 2021 Raphaël Mélotte >> +;;; Copyright © 2021 ikasero >> ;;; >> ;;; 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 ;;; Copyright © 2021 Ekaitz Zarraga ;;; Copyright © 2021 Raphaël Mélotte +;;; Copyright © 2021 ikasero ;;; ;;; 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)))