pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/nano Update nano to 2.0.6.
details: https://anonhg.NetBSD.org/pkgsrc/rev/94907fe39adb
branches: trunk
changeset: 534499:94907fe39adb
user: obache <obache%pkgsrc.org@localhost>
date: Wed Oct 24 15:28:38 2007 +0000
description:
Update nano to 2.0.6.
Based on patch provided by Jason White in PR 37133.
* Added patch to work with NetBSD's curses.
* Added ncuesesw option.
* IRIX now require glib2, not glib.
The 2.0 release of GNU nano is a major leap forward in usability and
features, building on the 1.3 branch. The following improvemens and features
are available in version 2.0 include:
* UTF-8 support.
* Improved color syntax highlighting.
* Copy text without cutting..
* Verbatim input mode.
* Repeat last seach w/o confirmation (Meta-W)
* Spell check/replace selected text only
* Indent marked text
* Move to beginning/end of paragraph
* Search within the file browser
* Mixed file format auto-conversion
diffstat:
editors/nano/Makefile | 18 ++++++++++--------
editors/nano/PLIST | 28 +++++++++++++++++++++++++++-
editors/nano/distinfo | 9 +++++----
editors/nano/options.mk | 12 ++++++++++++
editors/nano/patches/patch-aa | 20 ++++++++++++++++++++
5 files changed, 74 insertions(+), 13 deletions(-)
diffs (153 lines):
diff -r 357c65677576 -r 94907fe39adb editors/nano/Makefile
--- a/editors/nano/Makefile Wed Oct 24 15:07:29 2007 +0000
+++ b/editors/nano/Makefile Wed Oct 24 15:28:38 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2007/10/14 13:30:45 obache Exp $
+# $NetBSD: Makefile,v 1.29 2007/10/24 15:28:38 obache Exp $
-DISTNAME= nano-1.2.5
+DISTNAME= nano-2.0.6
CATEGORIES= editors
-MASTER_SITES= http://www.nano-editor.org/dist/v1.2/
+MASTER_SITES= http://www.nano-editor.org/dist/v2.0/
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.nano-editor.org/
@@ -11,22 +11,24 @@
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
+USE_NCURSES= yes
-INFO_FILES= yes
+INFO_FILES= yes
CONFIGURE_ARGS+= --enable-color
CONFIGURE_ARGS+= --enable-multibuffer
CONFIGURE_ARGS+= --enable-nanorc
CONFIGURE_ARGS+= --enable-extra
-# Looks like that IRIX 5.x lacks snprintf()/vsnprintf() functions,
-# which are required to make this work, so glib is used instead.
+# Looks like that IRIX 5.x lacks vsnprintf() functions,
+# which are required to make this work, so glib2 is used instead.
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
-. include "../../devel/glib/buildlink3.mk"
+. include "../../devel/glib2/buildlink3.mk"
.endif
+.include "options.mk"
+
.include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 357c65677576 -r 94907fe39adb editors/nano/PLIST
--- a/editors/nano/PLIST Wed Oct 24 15:07:29 2007 +0000
+++ b/editors/nano/PLIST Wed Oct 24 15:28:38 2007 +0000
@@ -1,8 +1,14 @@
-@comment $NetBSD: PLIST,v 1.11 2006/04/17 07:07:18 jlam Exp $
+@comment $NetBSD: PLIST,v 1.12 2007/10/24 15:28:38 obache Exp $
bin/nano
+bin/rnano
info/nano.info
+man/fr/man1/nano.1
+man/fr/man1/rnano.1
+man/fr/man5/nanorc.5
man/man1/nano.1
+man/man1/rnano.1
man/man5/nanorc.5
+share/locale/bg/LC_MESSAGES/nano.mo
share/locale/ca/LC_MESSAGES/nano.mo
share/locale/cs/LC_MESSAGES/nano.mo
share/locale/da/LC_MESSAGES/nano.mo
@@ -11,6 +17,7 @@
share/locale/eu/LC_MESSAGES/nano.mo
share/locale/fi/LC_MESSAGES/nano.mo
share/locale/fr/LC_MESSAGES/nano.mo
+share/locale/ga/LC_MESSAGES/nano.mo
share/locale/gl/LC_MESSAGES/nano.mo
share/locale/hu/LC_MESSAGES/nano.mo
share/locale/id/LC_MESSAGES/nano.mo
@@ -23,7 +30,26 @@
share/locale/pt_BR/LC_MESSAGES/nano.mo
share/locale/ro/LC_MESSAGES/nano.mo
share/locale/ru/LC_MESSAGES/nano.mo
+share/locale/rw/LC_MESSAGES/nano.mo
share/locale/sr/LC_MESSAGES/nano.mo
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_TW/LC_MESSAGES/nano.mo
+share/nano/asm.nanorc
+share/nano/c.nanorc
+share/nano/groff.nanorc
+share/nano/html.nanorc
+share/nano/java.nanorc
+share/nano/man.nanorc
+share/nano/mutt.nanorc
+share/nano/nanorc.nanorc
+share/nano/patch.nanorc
+share/nano/perl.nanorc
+share/nano/pov.nanorc
+share/nano/python.nanorc
+share/nano/ruby.nanorc
+share/nano/sh.nanorc
+share/nano/tex.nanorc
+@dirrm share/nano
diff -r 357c65677576 -r 94907fe39adb editors/nano/distinfo
--- a/editors/nano/distinfo Wed Oct 24 15:07:29 2007 +0000
+++ b/editors/nano/distinfo Wed Oct 24 15:28:38 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2007/10/14 13:30:46 obache Exp $
+$NetBSD: distinfo,v 1.12 2007/10/24 15:28:38 obache Exp $
-SHA1 (nano-1.2.5.tar.gz) = ba55942aacf9f296a910d8f73afb7446f118830d
-RMD160 (nano-1.2.5.tar.gz) = 92d694b79588fafdedc2731c2e1240bb100950f9
-Size (nano-1.2.5.tar.gz) = 911938 bytes
+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) = 0d6ed0ab2df9bdef495b26e63ee1a3cac41d7d1b
diff -r 357c65677576 -r 94907fe39adb editors/nano/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/nano/options.mk Wed Oct 24 15:28:38 2007 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2007/10/24 15:28:38 obache Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.nano
+PKG_SUPPORTED_OPTIONS= ncursesw
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mncursesw)
+. include "../../devel/ncursesw/buildlink3.mk"
+.else
+. include "../../mk/curses.buildlink3.mk"
+.endif
diff -r 357c65677576 -r 94907fe39adb editors/nano/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/nano/patches/patch-aa Wed Oct 24 15:28:38 2007 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.6 2007/10/24 15:28:38 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();
++ wrefresh(edit);
+
+ #ifndef NANO_TINY
+ if (!jump_buf_main) {
Home |
Main Index |
Thread Index |
Old Index