bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new modules termcap, termcap-h


From: Bruno Haible
Subject: new modules termcap, termcap-h
Date: Sun, 30 Jan 2022 16:38:24 +0100

Another GNU package starts to make use of libtermcap [1][2]. By doing
so, it exhibits the usual portability problems:
  - It assumes that <termcap.h> exists. But these platforms don't have
    it:
    AIX, HP-UX, IRIX, Solaris, Android, Cygwin (opt.), mingw, MSVC.
  - It recognizes libtermcap and libcurses only when installed in
    system location (which in particular does not allow testing with
    the newest libncurses).

I'm adding modules 'termcap' and 'termcap-h', that fix these problems.
Taken from GNU gettext.

[1] 
https://git.savannah.gnu.org/gitweb/?p=poke.git;a=commitdiff;h=e8f74462660a40e73f1d0f5b0105309217e222e0
[2] 
https://git.savannah.gnu.org/gitweb/?p=poke.git;a=commitdiff;h=9146dc5305dd166c55e16c2998578aced15263f5


2022-01-30  Bruno Haible  <bruno@clisp.org>

        termcap: Add tests.
        * tests/test-termcap.c: New file.
        * modules/termcap-tests: New file.

        termcap, termcap-h: New modules.
        * lib/termcap.h: New file, from GNU gettext.
        * lib/tparm.c: New file, from GNU gettext.
        * lib/tputs.c: New file, from GNU gettext.
        * m4/termcap.m4: New file, from GNU gettext.
        * m4/curses.m4: New file, from GNU gettext.
        * modules/termcap: New file, from GNU gettext.
        * modules/termcap-h: New file, from GNU gettext.

Attachment: 0001-termcap-termcap-h-New-modules.patch
Description: Text Data

Attachment: 0002-termcap-Add-tests.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]