diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-08-28 14:03:38 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 18:17:03 +0200 |
commit | f79a6f65acde9753ea65887e0e0d4bc7f76ff52b (patch) | |
tree | 6c7b266871110fd56e5738555b906f5f8b609acc /debian | |
parent | 4c6b6814abfc9c022c6ea8d1e23097c2a774fde5 (diff) | |
download | sciteco-f79a6f65acde9753ea65887e0e0d4bc7f76ff52b.tar.gz |
prefer libncursesw (widechar variant) (refs #5)
* Some platforms like Ubuntu actually ship widechar and non-widechar versions
of ncurses with different pkg-config files.
Other platforms like FreeBSD will ship an "ncursesw" and "ncurses" pkg-config file
but both point to the same wide-char library anyway.
* Currently we are not using wide-char APIs to ensure maximum compatibility even with
embedded systems where ncurses might be built without widechar support.
But in order to handle Unicode correctly, we still need to link against the widechar version
of ncurses (if available).
* Compilation on platforms without a widechar ncurses is now handled by the common
AC_CHECK_LIB() fallback (which might actually find a widechar version anyway if it just
didn't install the pkg-config file).
If necessary, we could also check for the "ncurses" package if "ncursesw" is not found.
* This fixes Unicode display and input on Ubuntu.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 2 |
1 files changed, 1 insertions, 1 deletions
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 |