From patchwork Sun Jan 6 14:48:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: guy fleury iteriteka X-Patchwork-Id: 685 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 D50ED16A21; Sun, 6 Jan 2019 14:49:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from listsout.gnu.org (listsout.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id 2806E169DC for ; Sun, 6 Jan 2019 14:49:16 +0000 (GMT) Received: from localhost ([127.0.0.1]:46004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg9jn-00014q-CY for patchwork@mira.cbaines.net; Sun, 06 Jan 2019 09:49:15 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:33960 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg9jh-00014X-OF for guix-patches@gnu.org; Sun, 06 Jan 2019 09:49:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gg9je-00075x-Ec for guix-patches@gnu.org; Sun, 06 Jan 2019 09:49:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:53245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gg9ja-0006za-MY for guix-patches@gnu.org; Sun, 06 Jan 2019 09:49:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gg9ja-0005qx-H6 for guix-patches@gnu.org; Sun, 06 Jan 2019 09:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33334] [PATCH]:gnu:add ne:the nice editor Resent-From: Guy fleury Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Jan 2019 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33334 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: swedebugia Received: via spool by submit@debbugs.gnu.org id=B.154678611222425 (code B ref -1); Sun, 06 Jan 2019 14:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jan 2019 14:48:32 +0000 Received: from localhost ([127.0.0.1]:48302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gg9j6-0005pc-7w for submit@debbugs.gnu.org; Sun, 06 Jan 2019 09:48:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gg9j3-0005pS-HF for submit@debbugs.gnu.org; Sun, 06 Jan 2019 09:48:30 -0500 Received: from listsout.gnu.org ([208.118.235.17]:33328) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gg9j2-00068I-6O for submit@debbugs.gnu.org; Sun, 06 Jan 2019 09:48:28 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:33815 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gg9j0-00011H-Of for Guix-patches@gnu.org; Sun, 06 Jan 2019 09:48:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gg9iy-00064s-Rn for Guix-patches@gnu.org; Sun, 06 Jan 2019 09:48:26 -0500 Received: from mail-oi1-x243.google.com ([2607:f8b0:4864:20::243]:43414) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gg9iw-00061p-SI for Guix-patches@gnu.org; Sun, 06 Jan 2019 09:48:23 -0500 Received: by mail-oi1-x243.google.com with SMTP id u18so33922299oie.10 for ; Sun, 06 Jan 2019 06:48:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Iy6BqI3rB27ajHehXyBWjr9GH/VgblGCC2vUVG+Z7fo=; b=Q53uAjxc/qio9KuP2oP3lwXniigayhYUXOq5sT31uLWQHyIkqOUQfV4Lb2+AFhZeMR 2URzBexguvXklLjsvokP2hW2FHAqaIw++CBHyrlvaFduk6MY+GI/WLf5sbLTXtceCPHQ t/zTL+R8UqImZeuX6HgYV7YTvjWjNwzXRAPMgE7YoMeg7plbS70QS53kkKqX0SovMWX7 sX+OQgJFUprMhny7EvaGo/xF58hWI8Cez/ISKmnjnp8wFoEVahen9rsN18nhELcW2vb3 Yo/Ur1STkDLM6erKn3Tr8vIzfQH3gONpoKtRMX3nKRY3cegxAV1hgaPe0IDk3fRQyYhK /wsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Iy6BqI3rB27ajHehXyBWjr9GH/VgblGCC2vUVG+Z7fo=; b=Qda0so+E5K6Bhf+0wP8Z8UQtZT7kYh5jBluqE4EkxQ0n2GOv6Wh0QjQXC7jz/l+Q2G Wi4POW+7/1uVoU5mePN/Md1DaWEyUFXir3WJB+Au+Zg2RSyxud8eqms0GQx9cfqQQAnu b/pRQYZCzPG41v0Eik9DHZHO1xme/D6lwf2NkkxFEoJqx2E8L64HWRjGqs1O2yzK6i/U p9tQV+arvJuKIUsiIG73EzIheuqChj/uwxZH9WhJ7/KYYLTjhAqS6Gg2fvaXfMPT4icM m/EWaxWt4iLgI9Pya9bTJwZVHPMIzuiQQaTiJSBH5bIqGMVwf6LbTpaKtmihGQnJt6FW IFog== X-Gm-Message-State: AJcUukc7quRHXNBsduGkrnLvbdBMLXc4GFAChEFb/UB6DMl8zmIgbvZ1 eMWMnVRJQlWpdz/Y4xHaZee6xfqbevxbbBLPXIg= X-Google-Smtp-Source: ALg8bN5WsItRNhI2k9vSaMG7vf9DB42RDxCPu8cp6mBi//qhOUYMA+KU9t2L4qDv274aeMQV8nuHHX7ulEp1Eq2YrDQ= X-Received: by 2002:aca:1c04:: with SMTP id c4mr5653277oic.191.1546786101415; Sun, 06 Jan 2019 06:48:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Guy fleury Date: Sun, 6 Jan 2019 15:48:07 +0100 Message-ID: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix-patches@gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches hi swedebugia, sorry for the long delay, here is the update patch. i follow your sugestion . but i don't know what others think. feel free to change synopsis and description. thanks, Le jeu. 3 janv. 2019 à 17:16, swedebugia a écrit : > On 2018-11-10 22:32, swedebugia wrote: > > Additionally: > > > > On 2018-11-10 10:25, guy fleury wrote: > >> + (description > >> + "ne is a free text editor based on the POSIX standard, > >> + it is easy to use it and fully configurable") > > > > We don't mention that it is free because in Guix all packages are free. > > What about: > > > > "ne is fast, small, powerful and simple text editor that can be fully > > configured. It has a simple scripting language where scripts can be > > easily generated and played." > > > > Could you update the patch? > > -- > Cheers Swedebugia > From 6eca8e778bcba61280a67a5b4d603cf1416f77db Mon Sep 17 00:00:00 2001 From: guy fleury iteriteka Date: Sun, 6 Jan 2019 15:31:21 +0100 Subject: [PATCH] gnu: Add ne --- gnu/packages/nano.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/nano.scm b/gnu/packages/nano.scm index 057e8c3bd..c64a3ed7e 100644 --- a/gnu/packages/nano.scm +++ b/gnu/packages/nano.scm @@ -22,6 +22,7 @@ (define-module (gnu packages nano) #:use-module (guix licenses) #:use-module (gnu packages gettext) + #:use-module (gnu packages perl) #:use-module (gnu packages ncurses) #:use-module (guix packages) #:use-module (guix download) @@ -51,3 +52,40 @@ basic editing, it supports: undo/redo, syntax highlighting, spell checking, justifying, auto-indentation, bracket matching, interactive search-and-replace (with regular expressions), and the editing of multiple files.") (license gpl3+))) ; some files are under GPLv2+ + +(define-public ne + (package + (name "ne") + (version "3.1.2") + (source + (origin + (method url-fetch) + (uri (string-append "http://ne.di.unimi.it/ne-" version + ".tar.gz")) + (sha256 + (base32 + "06qk3cqxyn098i1yn686bigpgh8vrrnj0qpkrgs6zwnq42s1y0d2")) + (modules '((guix build utils))) + (snippet + ;; use ncurses instead of curses + '(begin + (substitute* "src/makefile" + (("-lcurses") "-lncurses")) + #t)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;; no tests + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + "CC=gcc") + #:phases (modify-phases %standard-phases + (delete 'configure)))) ;;no configure script used + (inputs + `(("ncurses" ,ncurses) + ("perl" ,perl))) ;;needed by some scripts in source code + (synopsis "Small, fast text editor") + (description + "NE is fast, small, powerful and simple text editor that can be fully +configured. It has a simple scripting language where scripts can be easily +generated and played.") + (home-page "http://ne.di.unimi.it/ne") + (license gpl3))) -- 2.19.2