Shea Levy
5e8a857310
ncurses: Fix building against ucrt
2 years ago
Felix Buehler
8b36aaf032
ncurses: rename name to pname&version
2 years ago
Artturin
6113b0fe41
ncurses: add --with-versioned-syms
2 years ago
AndersonTorres
d344124d64
ncurses: refactor
...
Also, change the unicode option to a better name: unicodeSupport. This change
affects dialog too.
2 years ago
Sergei Trofimovich
d5abc055d2
ncurses: 6.2 -> 6.3
...
The biggest nixpkgs-specific change is addition of printf()-style
attribute annotations for many ncurses APIs. -Werror=format-security
now flags parameter inconsistencies and fails the build.
The fixes are usually one-liners like adding "%s" format string for
non-literals or just using `hardeningDisable [ "format" ];` for software
where backporting or fixing is not practical.
Drop -DNCURSES_INTERNALS=1 workaround required only for ncurses-6.2
and build-incompatible with ncurses-6.3.
2 years ago
Alyssa Ross
a3e6044fa6
ncurses: fix build on NetBSD
...
Only tested cross-compiling, but is probably necessary for native too.
Fixes errors like this:
linking ../lib/libncursesw.so
x86_64-unknown-netbsd-gcc --param max-inline-insns-single=1200 -Wl,-shared -Wl,-Bshareable -o ../lib/libncursesw.so ../obj_s/hardscroll.o ../obj_s/hashmap.o ../obj_s/lib_addch.o ../obj_s/lib_addstr.o ../obj_s/lib_beep.o ../obj_s/lib_bkgd.o ../obj_s/lib_box.o ../obj_s/lib_chgat.o ../obj_s/lib_clear.o ../obj_s/lib_clearok.o ../obj_s/lib_clrbot.o ../obj_s/lib_clreol.o ../obj_s/lib_color.o ../obj_s/lib_colorset.o ../obj_s/lib_delch.o ../obj_s/lib_delwin.o ../obj_s/lib_echo.o ../obj_s/lib_endwin.o ../obj_s/lib_erase.o ../obj_s/lib_flash.o ../obj_s/lib_gen.o ../obj_s/lib_getch.o ../obj_s/lib_getstr.o ../obj_s/lib_hline.o ../obj_s/lib_immedok.o ../obj_s/lib_inchstr.o ../obj_s/lib_initscr.o ../obj_s/lib_insch.o ../obj_s/lib_insdel.o ../obj_s/lib_insnstr.o ../obj_s/lib_instr.o ../obj_s/lib_isendwin.o ../obj_s/lib_leaveok.o ../obj_s/lib_mouse.o ../obj_s/lib_move.o ../obj_s/lib_mvcur.o ../obj_s/lib_mvwin.o ../obj_s/lib_newterm.o ../obj_s/lib_newwin.o ../obj_s/lib_nl.o ../obj_s/lib_overlay.o ../obj_s/lib_pad.o ../obj_s/lib_printw.o ../obj_s/lib_redrawln.o ../obj_s/lib_refresh.o ../obj_s/lib_restart.o ../obj_s/lib_scanw.o ../obj_s/lib_screen.o ../obj_s/lib_scroll.o ../obj_s/lib_scrollok.o ../obj_s/lib_scrreg.o ../obj_s/lib_set_term.o ../obj_s/lib_slk.o ../obj_s/lib_slkatr_set.o ../obj_s/lib_slkatrof.o ../obj_s/lib_slkatron.o ../obj_s/lib_slkatrset.o ../obj_s/lib_slkattr.o ../obj_s/lib_slkclear.o ../obj_s/lib_slkcolor.o ../obj_s/lib_slkinit.o ../obj_s/lib_slklab.o ../obj_s/lib_slkrefr.o ../obj_s/lib_slkset.o ../obj_s/lib_slktouch.o ../obj_s/lib_touch.o ../obj_s/lib_tstp.o ../obj_s/lib_ungetch.o ../obj_s/lib_vidattr.o ../obj_s/lib_vline.o ../obj_s/lib_wattroff.o ../obj_s/lib_wattron.o ../obj_s/lib_winch.o ../obj_s/lib_window.o ../obj_s/nc_panel.o ../obj_s/safe_sprintf.o ../obj_s/tty_update.o ../obj_s/varargs.o ../obj_s/vsscanf.o ../obj_s/lib_freeall.o ../obj_s/charable.o ../obj_s/lib_add_wch.o ../obj_s/lib_box_set.o ../obj_s/lib_cchar.o ../obj_s/lib_erasewchar.o ../obj_s/lib_get_wch.o ../obj_s/lib_get_wstr.o ../obj_s/lib_hline_set.o ../obj_s/lib_in_wch.o ../obj_s/lib_in_wchnstr.o ../obj_s/lib_ins_wch.o ../obj_s/lib_inwstr.o ../obj_s/lib_key_name.o ../obj_s/lib_pecho_wchar.o ../obj_s/lib_slk_wset.o ../obj_s/lib_unget_wch.o ../obj_s/lib_vid_attr.o ../obj_s/lib_vline_set.o ../obj_s/lib_wacs.o ../obj_s/lib_wunctrl.o ../obj_s/expanded.o ../obj_s/legacy_coding.o ../obj_s/lib_dft_fgbg.o ../obj_s/lib_print.o ../obj_s/new_pair.o ../obj_s/resizeterm.o ../obj_s/use_screen.o ../obj_s/use_window.o ../obj_s/wresize.o ../obj_s/access.o ../obj_s/add_tries.o ../obj_s/alloc_ttype.o ../obj_s/codes.o ../obj_s/comp_captab.o ../obj_s/comp_error.o ../obj_s/comp_hash.o ../obj_s/comp_userdefs.o ../obj_s/db_iterator.o ../obj_s/doalloc.o ../obj_s/entries.o ../obj_s/fallback.o ../obj_s/free_ttype.o ../obj_s/getenv_num.o ../obj_s/home_terminfo.o ../obj_s/init_keytry.o ../obj_s/lib_acs.o ../obj_s/lib_baudrate.o ../obj_s/lib_cur_term.o ../obj_s/lib_data.o ../obj_s/lib_has_cap.o ../obj_s/lib_kernel.o ../obj_s/lib_keyname.o ../obj_s/lib_longname.o ../obj_s/lib_napms.o ../obj_s/lib_options.o ../obj_s/lib_raw.o ../obj_s/lib_setup.o ../obj_s/lib_termcap.o ../obj_s/lib_termname.o ../obj_s/lib_tgoto.o ../obj_s/lib_ti.o ../obj_s/lib_tparm.o ../obj_s/lib_tputs.o ../obj_s/lib_trace.o ../obj_s/lib_ttyflags.o ../obj_s/lib_twait.o ../obj_s/name_match.o ../obj_s/names.o ../obj_s/obsolete.o ../obj_s/read_entry.o ../obj_s/read_termcap.o ../obj_s/strings.o ../obj_s/tries.o ../obj_s/trim_sgr0.o ../obj_s/unctrl.o ../obj_s/visbuf.o ../obj_s/alloc_entry.o ../obj_s/captoinfo.o ../obj_s/comp_expand.o ../obj_s/comp_parse.o ../obj_s/comp_scan.o ../obj_s/parse_entry.o ../obj_s/write_entry.o ../obj_s/define_key.o ../obj_s/hashed_db.o ../obj_s/key_defined.o ../obj_s/keybound.o ../obj_s/keyok.o ../obj_s/version.o -L../lib
/nix/store/6h96vn8vpm01sn0r5shdl48nw94kzls6-x86_64-unknown-netbsd-binutils-2.35.1/bin/x86_64-unknown-netbsd-ld: /nix/store/dy4bg91z7g0p8k3cdq8rbmzj27lsmx5k-libc-netbsd-9.1-x86_64-unknown-netbsd/lib/crt0.o: in function `__start':
(.text+0x31): undefined reference to `__fini_array_start'
/nix/store/6h96vn8vpm01sn0r5shdl48nw94kzls6-x86_64-unknown-netbsd-binutils-2.35.1/bin/x86_64-unknown-netbsd-ld: /nix/store/dy4bg91z7g0p8k3cdq8rbmzj27lsmx5k-libc-netbsd-9.1-x86_64-unknown-netbsd/lib/crt0.o: relocation R_X86_64_PC32 against undefined hidden symbol `__fini_array_start' can not be used when making a shared object
/nix/store/6h96vn8vpm01sn0r5shdl48nw94kzls6-x86_64-unknown-netbsd-binutils-2.35.1/bin/x86_64-unknown-netbsd-ld: final link failed: bad value
collect2: error: ld returned 1 exit status
3 years ago
sternenseemann
03242983af
ncurses: remove unnecessary patch
...
Tested compilation with
* clangStdenv
* gccStdenv
* gcc9Stdenv
* gcc8Stdenv
* gcc7Stdenv
* gcc6Stdenv
* gcc49Stdenv
3 years ago
Jonathan Ringer
9bb3fccb5b
treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
...
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
3 years ago
John Ericson
f52263ced0
treewide: Start to break up static overlay
...
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.
CC @FRidh @matthewbauer
3 years ago
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
4 years ago
zowoq
bb0d036002
ncurses: 6.1-20190112 -> 6.2
...
https://invisible-island.net/ncurses/announce-6.2.html
4 years ago
Linus Arver
c7fbf93ecc
ncurses: add infocmp utility
5 years ago
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
...
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
5 years ago
Frederik Rietdijk
43e867a226
ncurses: use github mirror
...
Development releases of ncurses are uploaded but often also removed
again. This is causing a lot of trouble, so let's instead use a
GitHub mirror.
5 years ago
Voob of Doom
138720f2f1
ncurses: 6.1-20181027 -> 6.1-20190112
...
v6.1-20181027 url is 404.
5 years ago
Matthew Bauer
3170d617ef
ncurses: make shared linking optinoal
...
when enableShared = false, we set --without-shared flag.
(cherry picked from commit 53a67891ab
)
6 years ago
Jörg Thalheim
ceaee84401
ncurses: fix cross-build by disable stripping
...
Ncurses uses `install -s` to also strip the binaries while installing.
This broke the cross build because the wrong strip command was chosen.
6 years ago
Matthew Bauer
53a67891ab
ncurses: make shared linking optinoal
...
when enableShared = false, we set --without-shared flag.
6 years ago
c0bw3b
0498ccd076
Treewide: use HTTPS on GNU domains
...
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
6 years ago
Andrew Dunham
f485b2e71f
ncurses: upgrade from 6.1 -> 6.1-20181027
...
This includes fixes for CVE-2018-10754.
While we're changing things, also set the `--with-manpage-format=normal`
configure flag, which prevents the `configure` script from looking in
/usr to determine whether to compress manpages. This was already the
format on NixOS (where these directories don't exist), but making this
explicit makes the build more reproducible on other distros.
6 years ago
John Ericson
0828e2d8c3
treewide: Remove usage of remaining redundant platform compatability stuff
...
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
6 years ago
Eric Wolf
4df268d237
ncurses: patch wrong st-0.7 terminfo
6 years ago
Matthew Bauer
3530c39b97
ncurses: add windows configure flags
...
these two flags are needed for windows support to work
- sp-funcs
- term-driver
6 years ago
Shea Levy
af315bb6c8
ncurses: Fix static build.
6 years ago
Josef Kemetmüller
b4d9113fbf
ncurses: Fix shared library extension on darwin
...
This fixes #36898
6 years ago
Matthew Bauer
7ab8c886a4
all-packages: more overrides normalizing
6 years ago
John Ericson
3a672cb7d2
libiconv, ncurses: Add optional flags for minimal android variant
6 years ago
Will Dietz
be6e6d2e04
ncurses 6.1: fix URL, accomodate captoinfo/infotocap along with tic
6 years ago
Will Dietz
edf201583d
ncurses6: 20171125 -> 6.1
...
From my experience on slightly older tree,
a few *old* programs incorrectly rely on ncurses internal details
and may now require setting NCURSES_INTERNALS=1 to allow this badness.
Since this is release, we can grab it from gnu mirrors.
6 years ago
Tuomas Tynkkynen
ce8bd325e6
ncurses: Add temporary mirror for sources
...
Issue #35264
6 years ago
Tuomas Tynkkynen
3d24ae9b44
ncurses5: Use v6 sources but compiled with --with-abi-version=5
...
So we don't have to dig out why ncurses5.9 stops compiling with newer
compiler versions again and again.
Inspired by:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ncurses5-compat-libs
6 years ago
Will Dietz
48a5212c15
ncurses: use more complicated expression to avoid mass-rebuilds, note
7 years ago
Will Dietz
96f0d3b908
ncurses: simplify patch expr, fix ncurses6 build w/clang
...
Somewhat amusingly given its name, "clang.patch" applies to both 5 and 6
but is the cause of ncurses6 breakage on 6 but is required on 5...
gcc is happy in all four configurations:
5 5p 6 6p
gcc ✓ ✓ ✓ ✓
clang ✗ ✓ ✓ ✗
Which is why this commit enables the patch for 5 but not 6;
this matches behavior in Gentoo, for example.
For further simplification, we also use gcc-5 patch regardless.
7 years ago
Will Dietz
19f1fd14b3
invisible-island programs: Fix FTP URL's, use HTTPS, prefer ftp
...
FTP URL's should use ftp.invisible-island.net.
7 years ago
John Ericson
5b74540c5b
treewide: Use `depsBuildBuild` for buildPackges.stdenv.cc
7 years ago
Tuomas Tynkkynen
2da5de5479
ncurses: 6.0-20170902 -> 6.0-20171125
7 years ago
Franz Pletz
fea02e30f1
ncurses: 6.0-20170729 -> 6.0-20170902
...
Fixes issues with xterm terminfo.
7 years ago
Casey Rodarmor
555900081d
ncurses: put tic binary in bin
7 years ago
Guillaume Maudoux
e6661db29f
ncurses: 6.0 -> 6.0-20170729
...
Bump version to include a patch that fixes #19785 .
7 years ago
Daiderd Jordan
7e3a1a58cf
Revert "ncurses: look for terminfo entries in /etc"
...
This reverts commit b73a862f17
.
7 years ago
Guillaume Maudoux
b73a862f17
ncurses: look for terminfo entries in /etc
7 years ago
David McFarland
33eec8e105
ncurses: fix cygwin build
7 years ago
John Ericson
a19cf228d5
ncurses: Break hash to simplify derivation
7 years ago
John Ericson
8ad2c6a830
ncurses: Fix for cross
7 years ago
Aristid Breitkreuz
e4f23bc8af
ncurses: fix bug with libtinfo symlink that caused vim to fail
8 years ago
Sophie Taylor
c826ec6090
ncurses: Fix libtinfo for crossplatform
8 years ago
Sophie Taylor
41652f8ce5
ncurses: Create ABI-version'd libtinfo
8 years ago
Vladimír Čunát
2b883c6f56
Revert "Revert "Merge pull request #21350 from spacekitteh/patch-23""
...
This reverts commit 0c1382085b
.
Moved to staging.
8 years ago
Vladimír Čunát
0c1382085b
Revert "Merge pull request #21350 from spacekitteh/patch-23"
...
This reverts commit 81f2e4f378
, reversing
changes made to ebe19f5db0
.
Moving to staging.
8 years ago
Sophie Taylor
70424e1209
ncurses: Create libtinfo symlink
...
Some applications expect libtinfo to be a separate library to libncurses; this fixes that.
8 years ago