From e8d00b26a395c6cccff71641d80d255c2d4aaa87 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 22 Dec 2007 15:12:22 +0000 Subject: Update nano to 2.0.7. Patches for NetBSD curses no longer need. 2007/12/20 - GNU nano 2.0.7 keeps its balance. This release fixes several bugs, among others: a segfault and several cursor positioning problems when uncutting text or inserting files into the current buffer; a problem where the total number of characters would be miscalculated when replacing single-byte characters with multibyte ones; several minor issues with the statusbar prompt involving text display and mouse support; and several oddities when tab-completing in the middle of a line. It also improves autodetection of DOS and Mac format files, properly supports the mouse wheel when using a version of ncurses built with the --enable-ext-mouse option, fixes some problems under NetBSD curses, adds a lot of translation updates, and adds more minor documentation updates. Slang curses emulation support has also been changed to turn off all the options that --enable-tiny does, as it's hopelessly broken otherwise. Finally, nano is now licensed under the GNU GPL version 3 or later, and its documentation is now dual-licensed under the GNU GPL version 3 or later and the GNU FDL version 1.2 or later. Have fun. --- editors/nano/Makefile | 5 ++--- editors/nano/PLIST | 3 ++- editors/nano/distinfo | 10 ++++------ editors/nano/patches/patch-aa | 20 -------------------- editors/nano/patches/patch-ab | 12 ------------ 5 files changed, 8 insertions(+), 42 deletions(-) delete mode 100644 editors/nano/patches/patch-aa delete mode 100644 editors/nano/patches/patch-ab (limited to 'editors/nano') diff --git a/editors/nano/Makefile b/editors/nano/Makefile index 904fead9bc3..2fb84d28e75 100644 --- a/editors/nano/Makefile +++ b/editors/nano/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.32 2007/12/18 11:21:06 obache Exp $ +# $NetBSD: Makefile,v 1.33 2007/12/22 15:12:22 obache Exp $ -DISTNAME= nano-2.0.6 -PKGREVISION= 1 +DISTNAME= nano-2.0.7 CATEGORIES= editors MASTER_SITES= http://www.nano-editor.org/dist/v2.0/ diff --git a/editors/nano/PLIST b/editors/nano/PLIST index 9e2285e8a1c..083189265c4 100644 --- a/editors/nano/PLIST +++ b/editors/nano/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2007/10/24 15:28:38 obache Exp $ +@comment $NetBSD: PLIST,v 1.13 2007/12/22 15:12:22 obache Exp $ bin/nano bin/rnano info/nano.info @@ -36,6 +36,7 @@ share/locale/sv/LC_MESSAGES/nano.mo share/locale/tr/LC_MESSAGES/nano.mo share/locale/uk/LC_MESSAGES/nano.mo share/locale/vi/LC_MESSAGES/nano.mo +share/locale/zh_CN/LC_MESSAGES/nano.mo share/locale/zh_TW/LC_MESSAGES/nano.mo share/nano/asm.nanorc share/nano/c.nanorc diff --git a/editors/nano/distinfo b/editors/nano/distinfo index e919161f098..b7fdca5a3b7 100644 --- a/editors/nano/distinfo +++ b/editors/nano/distinfo @@ -1,7 +1,5 @@ -$NetBSD: distinfo,v 1.14 2007/12/05 00:54:56 obache Exp $ +$NetBSD: distinfo,v 1.15 2007/12/22 15:12:22 obache Exp $ -SHA1 (nano-2.0.6.tar.gz) = 00102580404cdb1c8594e5f6193000d5acac2249 -RMD160 (nano-2.0.6.tar.gz) = 858dc7cf7137cc2b19e9084a503fe508ef734381 -Size (nano-2.0.6.tar.gz) = 1315207 bytes -SHA1 (patch-aa) = a64ff242e203b143ffd02ca2649f884e21bd49b8 -SHA1 (patch-ab) = dca9903f51323444e2392f8ca8c7ceb5bd7f79ec +SHA1 (nano-2.0.7.tar.gz) = 6616c6496e6f21e61df6bb991c0be84eda5c6a0c +RMD160 (nano-2.0.7.tar.gz) = 96ff5a88288451ed24f679d88d59a752616ce94c +Size (nano-2.0.7.tar.gz) = 1363684 bytes diff --git a/editors/nano/patches/patch-aa b/editors/nano/patches/patch-aa deleted file mode 100644 index 2faaa6d4a1e..00000000000 --- a/editors/nano/patches/patch-aa +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-aa,v 1.7 2007/12/05 00:54:56 obache Exp $ - ---- src/nano.c.orig 2007-01-12 02:58:12.000000000 +0000 -+++ src/nano.c -@@ -1280,6 +1280,7 @@ void terminal_init(void) - cbreak(); - nonl(); - noecho(); -+ raw(); - disable_extended_io(); - disable_signals(); - if (!ISSET(PRESERVE)) -@@ -2230,6 +2231,7 @@ int main(int argc, char **argv) - - /* Make sure the cursor is in the edit window. */ - reset_cursor(); -+ wnoutrefresh(edit); - - #ifndef NANO_TINY - if (!jump_buf_main) { diff --git a/editors/nano/patches/patch-ab b/editors/nano/patches/patch-ab deleted file mode 100644 index 98c8e62d14a..00000000000 --- a/editors/nano/patches/patch-ab +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2007/12/05 00:54:56 obache Exp $ - ---- src/prompt.c.orig 2007-10-26 13:16:08.000000000 +0000 -+++ src/prompt.c -@@ -1122,6 +1122,7 @@ int get_prompt_string(bool allow_tabs, - #endif - - reset_statusbar_cursor(); -+ wnoutrefresh(bottomwin); - } - - #ifndef NANO_TINY -- cgit v1.2.3