pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/ncmpc -NetBSD-current's wide curses is good enou...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f080c3161bb7
branches: trunk
changeset: 572352:f080c3161bb7
user: drochner <drochner%pkgsrc.org@localhost>
date: Wed Feb 24 18:08:12 2010 +0000
description:
-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.
diffstat:
audio/ncmpc/Makefile | 4 +---
audio/ncmpc/distinfo | 3 ++-
audio/ncmpc/options.mk | 3 ++-
audio/ncmpc/patches/patch-ae | 12 ++++++++++++
4 files changed, 17 insertions(+), 5 deletions(-)
diffs (61 lines):
diff -r ca9b4bc65f03 -r f080c3161bb7 audio/ncmpc/Makefile
--- a/audio/ncmpc/Makefile Wed Feb 24 17:56:20 2010 +0000
+++ b/audio/ncmpc/Makefile Wed Feb 24 18:08:12 2010 +0000
@@ -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_LIBTOOL= yes
USE_TOOLS+= pkg-config msgfmt
-USE_NCURSES= yes
-
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r ca9b4bc65f03 -r f080c3161bb7 audio/ncmpc/distinfo
--- a/audio/ncmpc/distinfo Wed Feb 24 17:56:20 2010 +0000
+++ b/audio/ncmpc/distinfo Wed Feb 24 18:08:12 2010 +0000
@@ -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 -r ca9b4bc65f03 -r f080c3161bb7 audio/ncmpc/options.mk
--- a/audio/ncmpc/options.mk Wed Feb 24 17:56:20 2010 +0000
+++ b/audio/ncmpc/options.mk Wed Feb 24 18:08:12 2010 +0000
@@ -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 @@
.if !empty(PKG_OPTIONS:Mwide-curses)
. include "../../devel/ncursesw/buildlink3.mk"
.else
+CONFIGURE_ARGS+= --disable-wide
. include "../../devel/ncurses/buildlink3.mk"
.endif
diff -r ca9b4bc65f03 -r f080c3161bb7 audio/ncmpc/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ncmpc/patches/patch-ae Wed Feb 24 18:08:12 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index