aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
Commit message (Collapse)AuthorAgeFilesLines
* ncurses: to not create a libncursesw.a in the OBJDIRBaptiste Daroussin2021-11-241-4/+6
| | | | | | It breaks intree partial builds for every library depending on ncurses because ncursesw.a (built without PIC) will be the first the library path for the linker to resolve -lncursesw
* ncurses: rework static linker script generationBaptiste Daroussin2021-10-262-10/+10
| | | | | | | | Rework the generation of the linker script to make it in par with ldscript, this also forces the regeneration of the .aldscript in the obj dir which might in the past have ended up empty. Tested by: manu
* ncurses: fix typo in makefileBaptiste Daroussin2021-10-101-1/+1
|
* ncurses: convert libncursesw.a into a static ldscriptBaptiste Daroussin2021-10-101-0/+14
| | | | | | | | | | | | | | Introduce the notion of static linker scripts to allow libncursesw.a to track its dependency on libtinfow.a this allows the build of older freebsd source tree to happen and make static linking in part with dynamic linking which already provides a ldscript This fixes a bootstrapping FreeBSD 12 or 13 on recent FreeBSD 14 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D32435
* ncurses: fix path where to find curses.h at bootstrapBaptiste Daroussin2021-10-041-2/+2
| | | | | | after the split, curses.h is now generated by tinfo Makefile, but still used for a file generated in ncurses lib. Adjust the path to make sure curses.h is always found
* ncurses: split libtinfo from libncursesBaptiste Daroussin2021-10-048-987/+1146
| | | | | | | | | | | many external program expects libncurses to not be provided as a single library. Instead of fixing all ports, distribute ncurses the way upstream distributes it Turn libncursesw.so into a ldscript which will link automatically as needed to libtinfow so so this change is seamless at compile time. Differential Revision: https://reviews.freebsd.org/D32098
* expand @TPUT@ in ncurses manpagesYuri Pankov2021-04-141-0/+1
| | | | | Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D29761
* terminfo: add more path to lookup for the databaseBaptiste Daroussin2021-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | In preparation for the move of the database out of base, add one more path to lookup Now the default lookup path is 1. base 2. localbase 3. localbase special site for custom terminfo (for ports adding custom terminfo and avoid potential collision with the general db) 4. termcap The plan is to allow the terminfo-db to be installed by end users via a package for people willing to have the support for features from this database provides. And keep the fallback on termcap for people who don't want to hear about the terminfo db or how to configure the terminal if it uses by default the features proposed in the definitions of the terminfo db. the first look up path is a window open for a proposal made by glebius@ consisting on creating a tool where the user at install time will select the feature it want for a given terminal and generate its configurations based on that. I won't work on it, but it is now posssible and there is a path where to store those definitions
* Fix ncurses bootstrap on macOSAlex Richardson2021-03-011-0/+2
| | | | Avoid including machine/console.h when bootstrapping on non-FreeBSD.
* ncurses: fix generation of term.hBaptiste Daroussin2021-02-251-1/+3
| | | | | | All variable were not properly expanded Submitted by: cy (initial version)
* ncurses: fix patch dateBaptiste Daroussin2021-02-251-1/+1
| | | | Submitted by: cy
* ncurses: update configuration header after updateBaptiste Daroussin2021-02-251-4/+8
|
* ncurses: ensure we prefer the generated ncurses_dll.hBaptiste Daroussin2021-02-251-0/+1
|
* ncurses: Silence MKuserdefs.sh callRenato Botelho2021-02-251-1/+1
| | | | | | | | | Remove -x flag from sh used to execute MKuserdefs.sh during ncurses build and stop polluting make -s output Reviewed by: bapt, manu Approved by: bapt Differential Revision: https://reviews.freebsd.org/D28885
* ncurses: Add support for terminfo databaseBaptiste Daroussin2021-02-254-306/+46
| | | | | | | | | | | | | | | | | | | | | | | | | Along with the termcap database, ncurses will now lookup for the terminfo database, note that the terminfo database is being looked up first and then it fallsback on the termcap one. While here drop our custom reader for the termcap database, over the time it is needed maintenance to be able to catchup with changes on ncurses side. Install the ncurses tools which are needed to deal with the terminfo database: tic, infocmp, toe Replace our termcap only aware tools with the ncurses counterpart: tput, tabs, tset, clear and reset In particular they can your the extra capabilities described in the terminfo database, which does not exist in termcap Note that to add a new terminfo information to the database from ports the ports will just need to add their extra information into: /usr/local/share/site-terminfo/<firstletteroftheterm>/<term> Tested by: jbeich, manu
* Bump shared library versions after ncurses bump in 13.John Baldwin2021-02-023-0/+3
| | | | | | | | | | | | | A few shared libraries in the base system link against ncurses. An upgrade from a 12.x host to 13 results in ABI breakage for existing binaries since the newer versions of these libraries link against the newer ncurses while the binary itself links against the older ncurses. For example, dialog4ports built on 12.x sometimes crashes on 13 since it depends on libdialog which links against ncurses internally. MFC after: 3 days Reviewed by: kib, delphij Differential Revision: https://reviews.freebsd.org/D28448
* ncurses: only keep the version with widechar supportBaptiste Daroussin2021-01-0514-161/+75
| | | | | | | | | | | | | | | | Only keep the widechar version of ncurses as libncursesw.so.9 Keep the old name to avoid breaking the ABI compatibility (the non widechar version libncurses.so.9 is not binary compatible with libncursesw.so.9) since all ports and base are already only linking against the widechar version we can simply remove libncurses.so.9 Since the .9 version only lived in the dev branch and never ended in a release, it is simply removed and not added to any binary compat package. Add symlinks to keep build time compatibility for anyone linking against -lncurses
* Pass the full CFLAGS to cpp for MKlib_gen.sh.John Baldwin2020-08-031-1/+1
| | | | | | | | | | | | | | | | GCC's cpp was exiting immediately when it failed to find requested includes (<ncurses_cfg.h> and <ncurses_defs.h>). clang-cpp emitted an error for the missing header files but continued processing the file (thus not honoring any macros defined in the missing headers). Arguably, the awk script is buggy since it doesn't check the return value of the command it executes. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D25731 Notes: svn path=/head/; revision=363804
* ncurses: bump shlib number to version 9Baptiste Daroussin2020-02-201-2/+1
| | | | | | | | | | | | ABI has change in between ncurses 5 or 6. While theorically ncurses 6 is buildable with backward compatibility, I fail at building in a way where the application linked against the previous version of ncurses are rendering properly. Let's go on the new ABI which provides all the latest features. A compat12x package is cooking for backward compatibility Notes: svn path=/head/; revision=358164
* Update to 6.2-20200215Baptiste Daroussin2020-02-191-1/+1
| | | | | | | | While I didn't plan another upgrade, This version incorporate fixes from kevans@ so let's upgrade to it Notes: svn path=/head/; revision=358127
* lib_gen.c now also depends on ncurses_dll.h specify it to prevent some breakageBaptiste Daroussin2020-02-191-1/+1
| | | | | | | if ncurses_dll.h is already present in base while building Notes: svn path=/head/; revision=358100
* Update ncurses to 20200118Baptiste Daroussin2020-02-183-53/+97
| | | | | | | | | | | | | | | | | | Among the changes from before: - Add support for extended colors on widechar version - Enable ncurses extended functions - Enable version 2 of the extended mouse support - Enable SCREEN extensions Modification that differs from upstream: - _nc_delink_entries used to be exposed and was turn static, turn it back as dynamic to not break abi - Adapt our old termcap.c to modern ncurses MFC after: 3 weeks Notes: svn path=/head/; revision=358062
* Update Makefile.depend filesSimon J. Gerraty2019-12-114-4/+0
| | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* Fix .depend files to work for build tools.Bryan Drewery2019-06-151-0/+1
| | | | | | | | | | This is somewhat of a follow-up to r335746. MFC after: 2 weeks Sponsored by: DellEMC Notes: svn path=/head/; revision=349062
* Fix ncurses fallback.c build with a strict build shellAlex Richardson2018-10-231-1/+2
| | | | | | | | | | | | | | | | | | The script uses shift three times and when building with a strict /bin/sh shifting without any arguments will cause the script to fail. In this case the target will fail and we write an empty output file. When doing a NO_CLEAN build after this will mean fallback.c is up to date and clang will happily compile the empty input file which leads to strange build errors later. Fixed by passing three empty arguments to MkFallback.sh and only creating fallback.c if MKfallback.sh succeeds. Aproved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D16867 Notes: svn path=/head/; revision=339637
* Don't use CCACHE for linking.Bryan Drewery2018-06-271-2/+2
| | | | | | | | MFC after: 2 weeks Sponsored by: Dell EMC Notes: svn path=/head/; revision=335733
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-202-2/+6
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-318-8/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Hide `sccsid` under #if 0, per example in style(9)Enji Cooper2017-08-121-0/+2
| | | | | | | | | This fixes a -Wunused warning with gcc 6.3.0/7.0.0. MFC after: 1 week Notes: svn path=/head/; revision=322445
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified pathsEnji Cooper2017-01-209-15/+15
| | | | | | | | | | This implifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=312467
* DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools.Bryan Drewery2016-05-091-2/+2
| | | | | | | | | This avoids running target binaries. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299289
* MFHGlen Barber2016-04-161-2/+2
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=298092
| * META_MODE: Don't rebuild build-tools targets during normal build.Bryan Drewery2016-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This avoids 'build command changed' due to CFLAGS/CC changes during the normal build. Without this the build-tools targets end up rebuilding for the *target* rather than keeping the native versions built in build-tools. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297997
* | MFHGlen Barber2016-04-041-3/+3
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297567
| * CCACHE_BUILD: Don't use ccache when generating some files with CC -E.Bryan Drewery2016-03-241-3/+3
| | | | | | | | | | | | | | | | | | | | At least for ncurses this fixes a build error due to it trying to run 'ccache --version' to work around a gcc 5 bug using the fix in r287205. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=297250
* | MFHGlen Barber2016-03-028-4770/+0
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-248-4770/+0
| | | | | | | | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* | Remove libc, librtld_db, libthr packages, and further increaseGlen Barber2016-02-051-0/+1
|/ | | | | | | | | | | | | | the constraints on what needs to be installed in a specific to maintain consistency during upgrades. Create a new clibs package containing libraries that are needed as a bare minimum for consistency. With much help and input from: kib Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295337
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-11-258-8/+0
| | | | | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291307
* Add missing CLEANFILES.Bryan Drewery2015-09-261-0/+1
| | | | | | | | | MFC after: 1 week X-MFC-With: r288199 Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288246
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-254-8/+0
| | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226
* Install ncurses html documentation again after r284345Antoine Brodin2015-06-221-1/+1
| | | | Notes: svn path=/head/; revision=284695
* new dependsSimon J. Gerraty2015-06-164-6/+0
| | | | Notes: svn path=/head/; revision=284481
* Revert r284417 it is not necessary anymoreBaptiste Daroussin2015-06-151-1/+1
| | | | Notes: svn path=/head/; revision=284421
* Enforce overwritting SHLIBDIRBaptiste Daroussin2015-06-151-1/+1
| | | | | | | | | | | | Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many Notes: svn path=/head/; revision=284417
* Add META_MODE support.Simon J. Gerraty2015-06-139-0/+4948
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-082-4/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-2710-12/+10
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-1910-8/+11
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164