File: PDCurses.md

package info (click to toggle)
pspg 5.8.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,360 kB
  • sloc: ansic: 23,354; sh: 101; makefile: 93; sql: 54
file content (29 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Compilation
-----------
I tested build and execution against pdcursesmod 4.3.5, and it works. In this moment
(Thu Dec 22 05:22:51 CET 2022), pdcurses should be patched (https://github.com/Bill-Gray/PDCursesMod/issues/256),
but with patch (or after fixing this issue), pspg can be compiled against pdcurses
and works well.

Compilation of pdcurses on Linux (pdcurses for VT)
--------------------------------------------------

    cd ~/src/PDCursesMod/vt
    make clean
    make DLL=Y WIDE=Y UTF8=Y DEBUG=Y
    sudo make DLL=Y WIDE=Y UTF8=Y DEBUG=Y install
    sudo cp libpdcurses.so /usr/lib
    sudo ldconfig /usr/lib

Maybe can be necessary to copy header files to `/usr/local/include/pdcurses`.

Note - the directory should be fresh after git sync without running cmake.

Compilation of pspg on pdcurses
-------------------------------

    PANEL_LIBS=-lpdcurses CURSES_LIBS=-lpdcurses\
      CURSES_CFLAGS="-I/usr/local/include/pdcurses -DPDC_WIDE=Y -DPDC_FORCE_UTF8=Y -L/usr/lib"\
      ./configure -libdir=/usr/lib
    make