From patchwork Mon Jan 7 08:35:11 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: 692 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 1F18A16A26; Mon, 7 Jan 2019 08:36:09 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6DF71169EC for ; Mon, 7 Jan 2019 08:36:08 +0000 (GMT) Received: from localhost ([127.0.0.1]:51656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggQOF-0000M0-67 for patchwork@mira.cbaines.net; Mon, 07 Jan 2019 03:36:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggQOB-0000Lf-Qv for guix-patches@gnu.org; Mon, 07 Jan 2019 03:36:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggQOA-0008Vf-JX for guix-patches@gnu.org; Mon, 07 Jan 2019 03:36:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggQOA-0008VW-Fy for guix-patches@gnu.org; Mon, 07 Jan 2019 03:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ggQOA-0001CW-66 for guix-patches@gnu.org; Mon, 07 Jan 2019 03:36: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: Mon, 07 Jan 2019 08:36: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 X-Debbugs-Original-Cc: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.15468501544600 (code B ref -1); Mon, 07 Jan 2019 08:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2019 08:35:54 +0000 Received: from localhost ([127.0.0.1]:47620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggQO1-0001C7-0i for submit@debbugs.gnu.org; Mon, 07 Jan 2019 03:35:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggQNy-0001Bt-59 for submit@debbugs.gnu.org; Mon, 07 Jan 2019 03:35:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:43408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ggQNq-0007dp-6L for submit@debbugs.gnu.org; Mon, 07 Jan 2019 03:35:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggQNn-0000LI-WE for guix-patches@gnu.org; Mon, 07 Jan 2019 03:35:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggQNl-0007OK-Vc for guix-patches@gnu.org; Mon, 07 Jan 2019 03:35:39 -0500 Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]:36390) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggQNi-0006z2-4o for guix-patches@gnu.org; Mon, 07 Jan 2019 03:35:36 -0500 Received: by mail-oi1-x242.google.com with SMTP id x23so35261057oix.3 for ; Mon, 07 Jan 2019 00:35:29 -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=o4dmyWe9mUqK/GyrjAAkwXDqC7UwBtFDyyhROtG2hBM=; b=MzU9furg4UhuVtzg+pRWmhPPKimhWXBy7Mha+BBzTmxqZ3Nx2nxv28v4juMUJcU9+L g8hrdbCXywZn0AvoTn82o+zdf8BHypMlPSbCE7aZg1afvx5KfQQBY8YyB8EjN0MBzPQ4 BhzxL/USn5fjJlZncbrgbJHS2m+9c/XbVYWJyjgRhPfYopsjcixHITGjiqNb80OJ6U5z qMEQrqlBkjx6DlboPjuhti8N0ql2rinslOMDWv/awKPwHumwYk/wsCusSRAKij+tzVNV u1tVCg+KoWbi0UH2UYOaRRLEY/Z377VRzp3lcHVJQeG0y4uhFvBxfrQOJeLSuVvSAqYf Ae9w== 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=o4dmyWe9mUqK/GyrjAAkwXDqC7UwBtFDyyhROtG2hBM=; b=QPzTDmvJadfcA/NOMnK+RUYf1R3jM1OQVFKadl4RFTbTOqtQhwzsAcVQHLV7FLvXFx Gl5cHrdtIJR9Msyf7l6wcwWmNMRja2Y1FAo+WeeXZ1yjMVPZ4H8dosbO+Gpt1jAyCD2Q 2pIh0mb6rhAl7UCETDI2ah5AioM/mlhb5kHnwJyI7Lv7OXit4Lb2ahW/a0Ar4NhmyVSQ SMJU7Rcd98A3FihwfXCVFYC4+XT/3cG10Ii4HFaHMTKy26Jbxbtspz10PedgRjJwRo60 yv1xLwTx36iHh1kN7yKqGZxiyhp9QUkfnBTOPg3Bq5/rBBGwmIrAdHHK9WIj3UOnhs+z 411A== X-Gm-Message-State: AJcUuke4bmo1Myg95BEVoOF0xdlVPebjvOqJW9UB6U/LWnxjlKVFTL3d uPbRBViNUBDh9Pl/6iGDePWG4KFaZWRwTm0sYPM= X-Google-Smtp-Source: ALg8bN5whENuMfYjnQP4si37tE9emXbI83/c3cGHGLeC9H9HQKNn28arq6Mz403LPbMZqVg0WR034ureDdDyH2QgEn0= X-Received: by 2002:aca:c207:: with SMTP id s7mr7668328oif.1.1546850128500; Mon, 07 Jan 2019 00:35:28 -0800 (PST) MIME-Version: 1.0 References: <81DCA20D-4294-4828-9E6B-D408484F3072@pretty.Easy.privacy> In-Reply-To: <81DCA20D-4294-4828-9E6B-D408484F3072@pretty.Easy.privacy> From: Guy fleury Date: Mon, 7 Jan 2019 09:35:11 +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: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 33334@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Le lun. 7 janv. 2019 à 06:37, swedebugia a écrit : > Guy fleury skrev: (6 januari 2019 15:48:07 CET) > >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 > >> > > Did you forget to attach the patch? > NO. but i resent the patch! please try it before!! it seems like to delete prev character with Backspace don't work i try to fix it. 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