xref: /dflybsd-src/contrib/ncurses/README.DRAGONFLY (revision 2ff0cc302e82d6175cbe81dba2f5318e19834254)
1*2ff0cc30SDaniel FojtGNU NCURSES 6.2
243663548SJohn Marino===============
343663548SJohn Marino
443663548SJohn MarinoOriginal source can be downloaded from:
543663548SJohn Marinohttp://ftp.gnu.org/pub/gnu/ncurses
643663548SJohn Marino
7*2ff0cc30SDaniel Fojtfile = ncurses-6.2.tar.gz
8*2ff0cc30SDaniel Fojtdate = 12 February 2020
9*2ff0cc30SDaniel Fojtsize = 3425862
10*2ff0cc30SDaniel Fojtsha1 = 56e410fb77f2b5501a0b2f6a995376f3cefe1097
1143663548SJohn Marino
12*2ff0cc30SDaniel FojtA list of files and directories removed is in README.DELETED.
1343663548SJohn Marino
14*2ff0cc30SDaniel FojtUse "git diff vendor/NCURSES contrib/ncurses" to see local modifications.
15*2ff0cc30SDaniel Fojt
16*2ff0cc30SDaniel FojtConfiguring ncurses is tricky a bit because both ncurses and ncursesw
17*2ff0cc30SDaniel Fojthave to be configured, and both into the same set of .h files.
18*2ff0cc30SDaniel FojtTo distinguish one from the other, ENABLE_WIDEC is defined and activated
19*2ff0cc30SDaniel Fojtlater from Makefiles via -DENABLE_WIDEC.
20*2ff0cc30SDaniel Fojt
21*2ff0cc30SDaniel FojtBasically, vendor configure script has to be run twice with these common
22*2ff0cc30SDaniel Fojtoptions:
23*2ff0cc30SDaniel Fojt
2443663548SJohn Marino	--enable-const
2543663548SJohn Marino	--with-sysmouse
2643663548SJohn Marino	--enable-termcap
2743663548SJohn Marino	--enable-bsdpad
283ac91e86SJohn Marino	--enable-getcap
293ac91e86SJohn Marino	--with-default-terminfo-dir=/usr/share/terminfo
303ac91e86SJohn Marino	--with-terminfo-dirs=/usr/share/terminfo
3143663548SJohn Marino
32*2ff0cc30SDaniel FojtFirst run with --disable-widec, second run with --enable-widec. Generated
33*2ff0cc30SDaniel Fojtcontent from ./include/ directory has to be saved elsewhere between runs.
34*2ff0cc30SDaniel FojtThen carefully compare the outputs and apply appropriately into
35*2ff0cc30SDaniel Fojtlib/libncurses/include/ on master branch. Special attention has to be paid
36*2ff0cc30SDaniel Fojtto 'if 0' and 'if 1' directives in curses.head and MKterm.h.awk - ncurses'
37*2ff0cc30SDaniel Fojtconfigure uses this to define different content to disable or enable widec.
38