diff options
author | drochner <drochner@pkgsrc.org> | 2010-02-24 18:08:12 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2010-02-24 18:08:12 +0000 |
commit | 7d74343a0f347792baf6ab07fb21a765543f572c (patch) | |
tree | 0910542d5b5478f38522b6d1d1daf95e196a3555 | |
parent | a4a81b1e1a7040e92d4e6752d71c4b1b2ed6c6ad (diff) | |
download | pkgsrc-7d74343a0f347792baf6ab07fb21a765543f572c.tar.gz |
-NetBSD-current's wide curses is good enough -- I'm assuming that any
builtin wide curses which is recognized by pkgsrc/ncursesw/builtin.mk
is fine.
-Set the keyboard mode to raw() explicitely. ncurses seems to do
this in some magical way, didn't find a hint in documentation.
-Explicitely disable widechar support if the pkgsrc option is deselected -
otherwise it gets enabled unwantedly if widechar support is found in the
normal curses lib.
-rw-r--r-- | audio/ncmpc/Makefile | 4 | ||||
-rw-r--r-- | audio/ncmpc/distinfo | 3 | ||||
-rw-r--r-- | audio/ncmpc/options.mk | 3 | ||||
-rw-r--r-- | audio/ncmpc/patches/patch-ae | 12 |
4 files changed, 17 insertions, 5 deletions
diff --git a/audio/ncmpc/Makefile b/audio/ncmpc/Makefile index 7ab0fba4dd0..39f3e897f09 100644 --- a/audio/ncmpc/Makefile +++ b/audio/ncmpc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2009/10/20 20:32:46 jakllsch Exp $ +# $NetBSD: Makefile,v 1.18 2010/02/24 18:08:12 drochner Exp $ DISTNAME= ncmpc-0.15 CATEGORIES= audio @@ -18,7 +18,5 @@ USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config msgfmt -USE_NCURSES= yes - .include "../../devel/glib2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/ncmpc/distinfo b/audio/ncmpc/distinfo index 3d88908f706..e182d791147 100644 --- a/audio/ncmpc/distinfo +++ b/audio/ncmpc/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.10 2009/10/20 20:32:46 jakllsch Exp $ +$NetBSD: distinfo,v 1.11 2010/02/24 18:08:12 drochner Exp $ SHA1 (ncmpc-0.15.tar.bz2) = 710e6028c3630cf92a21c98f35598c81b4753638 RMD160 (ncmpc-0.15.tar.bz2) = 2a58726b7ff77ff4520ee43adfccec3d5fe2e0e1 Size (ncmpc-0.15.tar.bz2) = 260080 bytes SHA1 (patch-ad) = 792edb732f84b82c30ef9375d45bb036727a00b4 +SHA1 (patch-ae) = 4539ec9a737f0dd8244d6d0583a3dc7022d84f14 diff --git a/audio/ncmpc/options.mk b/audio/ncmpc/options.mk index ba29ed967f8..eadfa299de7 100644 --- a/audio/ncmpc/options.mk +++ b/audio/ncmpc/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2009/02/07 18:45:15 jakllsch Exp $ +# $NetBSD: options.mk,v 1.2 2010/02/24 18:08:12 drochner Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ncmpc PKG_SUPPORTED_OPTIONS= wide-curses @@ -12,5 +12,6 @@ PKG_SUGGESTED_OPTIONS= wide-curses .if !empty(PKG_OPTIONS:Mwide-curses) . include "../../devel/ncursesw/buildlink3.mk" .else +CONFIGURE_ARGS+= --disable-wide . include "../../devel/ncurses/buildlink3.mk" .endif diff --git a/audio/ncmpc/patches/patch-ae b/audio/ncmpc/patches/patch-ae new file mode 100644 index 00000000000..795f32ea4cf --- /dev/null +++ b/audio/ncmpc/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1 2010/02/24 18:08:12 drochner Exp $ + +--- src/ncu.c.orig 2009-09-24 14:05:30.000000000 +0000 ++++ src/ncu.c +@@ -58,6 +58,7 @@ ncu_init(void) + + /* enable extra keys */ + keypad(stdscr, TRUE); ++ raw(); + + /* initialize mouse support */ + #ifdef HAVE_GETMOUSE |