[Aptitude-svn-commit] r3263 - in branches/aptitude-0.3/aptitude: . src/vscreen

Daniel Burrows dburrows@costa.debian.org
Fri, 06 May 2005 01:41:29 +0000


Author: dburrows
Date: Fri May  6 01:41:26 2005
New Revision: 3263

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/configure.ac
   branches/aptitude-0.3/aptitude/src/vscreen/curses++.h
Log:
Switch the terminal library to ncursesw.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Fri May  6 01:41:26 2005
@@ -1,3 +1,9 @@
+2005-05-05  Daniel Burrows  <dburrows@debian.org>
+
+	* configure.ac, src/vscreen/curses++.h:
+
+	Start using ncursesw instead of straight curses.
+
 2005-05-04  Daniel Burrows  <dburrows@debian.org>
 
 	* src/generic/problemresolver/model.tex:

Modified: branches/aptitude-0.3/aptitude/configure.ac
==============================================================================
--- branches/aptitude-0.3/aptitude/configure.ac	(original)
+++ branches/aptitude-0.3/aptitude/configure.ac	Fri May  6 01:41:26 2005
@@ -16,8 +16,8 @@
 ac_cv_c_inline=yes
 
 dnl Checks for libraries.
-AC_CHECK_LIB(curses, initscr, ,
-	[AC_MSG_ERROR([Can't find libncurses -- please install libncurses5-dev])])
+AC_CHECK_LIB(ncursesw, initscr, ,
+	[AC_MSG_ERROR([Can't find libncursesw -- please install libncursesw5-dev])])
 AC_CHECK_LIB(apt-pkg, main, , [AC_MSG_ERROR([Can't find the APT libraries -- please install libapt-pkg-dev])])
 AC_CHECK_LIB(pthread, main,
 	HAVE_LIBPTHREAD=1

Modified: branches/aptitude-0.3/aptitude/src/vscreen/curses++.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/curses++.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/curses++.h	Fri May  6 01:41:26 2005
@@ -1,6 +1,6 @@
 // curses++.h  (this is -*-c++-*-)
 //
-//  Copyright 1999,2000 Daniel Burrows
+//  Copyright 1999-2005 Daniel Burrows
 //
 //  This program is free software; you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
 #define CURSES_PLUSPLUS_H
 
 #include <string>
-#include <curses.h>
+#include <ncursesw/curses.h>
 
 #include <assert.h>