aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--configure.ac7
-rw-r--r--debian/control2
3 files changed, 9 insertions, 4 deletions
diff --git a/TODO b/TODO
index 4babbf9..c42d39b 100644
--- a/TODO
+++ b/TODO
@@ -313,7 +313,6 @@ Features:
be a special TAB-completion (^G mode?) that completes only buffers
in the ring. It should also display the numeric buffer ids.
* properly support Unicode encodings and the character-based model
- * link against libncursesw if possible
* translate documents to Unicode strings
* a position refers to a character/codepoint
* Progress indication in commandline cursor:
@@ -526,4 +525,5 @@ Documentation:
* Write some tutorials for the Wiki, e.g. about paragraph
reflowing...
Object-oriented SciTECO ideoms etc. ;-)
- * Record a "video" on https://asciinema.org/
+ * What to do with `--xembed`: tabbed, st
+ when used as the git editor, etc.
diff --git a/configure.ac b/configure.ac
index 511d169..3606803 100644
--- a/configure.ac
+++ b/configure.ac
@@ -226,11 +226,16 @@ case $INTERFACE in
*curses*)
case $INTERFACE in
ncurses | netbsd-curses)
- PKG_CHECK_MODULES(NCURSES, [ncurses], [
+ # The widechar version of ncurses is necessary for Unicode
+ # support even when not using widechar APIs.
+ PKG_CHECK_MODULES(NCURSES, [ncursesw], [
CFLAGS="$CFLAGS $NCURSES_CFLAGS"
CXXFLAGS="$CXXFLAGS $NCURSES_CFLAGS"
LIBS="$LIBS $NCURSES_LIBS"
], [
+ # This should be sufficient to detect non-widechar
+ # ncurses versions as well, although we could also check
+ # for an "ncurses" package.
AC_CHECK_LIB(ncurses, initscr, , [
AC_MSG_ERROR([libncurses missing!])
])
diff --git a/debian/control b/debian/control
index 10862ca..a5aeca0 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: editors
Priority: optional
Maintainer: Robin Haberkorn <robin.haberkorn@googlemail.com>
Build-Depends: debhelper (>= 10), dh-exec, g++ (>= 4:5.0), libglib2.0-dev (>= 2.44),
- ncurses-term, libncurses5-dev,
+ ncurses-term, libncurses-dev,
libgtk-3-dev (>= 3.12), xvfb,
groff-base
Standards-Version: 4.5.0