Commit Graph

73 Commits

Author SHA1 Message Date
Danny Wilson
98180e3bb2 Fix ncurses 5.9 build on SmartOS.
Has been fixed before, but now includes C++ support.
2015-11-16 17:20:17 +01:00
taku0
63385e9712 ncurses: revived clang patch (close #10622) 2015-11-10 09:08:09 +01:00
Eelco Dolstra
741bf840da Revert "Merge pull request #9543 from NixOS/staging.post-15.06"
This reverts commit f61176c539, reversing
changes made to a27ca029ee.

Conflicts:
	pkgs/development/libraries/ncurses/default.nix
2015-10-06 15:24:20 +02:00
Jude Taylor
0a32eab91e fix LLVM packages to work in darwin stdenv 2015-10-05 08:46:56 -07:00
William A. Kennington III
3f1d497fbe ncurses: 5.9 -> 6.0 2015-09-15 12:14:12 -07:00
William A. Kennington III
fb0bc10de4 ncurses: Fix includedir in the pkgconfig referencing ${out} 2015-06-22 23:45:10 -07:00
William A. Kennington III
bdd88582e3 ncurses: Add a symlink to the fully suffixed directory which was incorrectly skipped when this code was modified 2015-06-22 20:25:26 -07:00
William A. Kennington III
282d03befa Merge branch 'master.upstream' into staging.upstream 2015-06-22 10:57:36 -07:00
Michael Raitza
7907a8bcba dialog: init at 1.2-20150225, closes #8457
Generate ncurses dialogs from shell scripts.
2015-06-22 18:11:05 +02:00
Jude Taylor
d28e5f1c61 fix ncurses pkgconfig path a final time 2015-06-21 00:57:17 -07:00
William A. Kennington III
c49301b2f7 ncurses: Cleanup some old hacks 2015-06-20 13:59:11 -07:00
Jude Taylor
faf33749ce install ncurses headers in the correct place 2015-06-20 13:13:42 -07:00
William A. Kennington III
5191f5be2e ncurses: Fix up library linking 2015-06-18 20:04:46 -07:00
Jude Taylor
9fd1920d8f fix ncurses renames on darwin 2015-06-18 17:04:09 -07:00
William A. Kennington III
33e70ad68a ncurses: Add gcc-5 patch 2015-06-11 17:59:51 -07:00
Vladimír Čunát
317f4ea72d ncurses: header location fixes
- move headers directly to $out/include and set up symlinks.
Some packages were failing to find them (e.g. mariadb).
- postInstall was failing, only it was ignored due to a bug;
now it succeeds.
2015-06-07 09:22:35 +02:00
Eelco Dolstra
3096d03435 Revert "Refactor mkFlag / shouldUsePkg into the nixpkgs libraries"
This reverts commit 25a148fa19.
2015-06-04 14:54:48 +02:00
Eelco Dolstra
cb9429bd31 ncurses: Don't install static libraries
Nixpkgs convention is not to install static libraries.
2015-06-01 20:47:08 +02:00
Eelco Dolstra
779ab6bfc7 ncurses: Revert to normal style
Also re-enable building shared libraries on Mac OS X as these worked
fine in the past.
2015-06-01 20:38:19 +02:00
Marko Durkovic
a02799cd78 cygwin: fix ncurses
1. Fix linking against ncurses.dll
2. Fix segfaults with threaded code
2015-05-28 10:53:36 +02:00
Vladimír Čunát
f83d12a382 Merge 'master' into staging 2015-05-24 20:39:58 +02:00
William A. Kennington III
5a89a87cc5 ncurses: Always symlink to a real .so and add symlinks for major versions 2015-05-22 15:31:53 -07:00
William A. Kennington III
25a148fa19 Refactor mkFlag / shouldUsePkg into the nixpkgs libraries 2015-05-22 13:26:55 -07:00
Shea Levy
82ba13111c ncurses: Fix shouldUsePkg on darwin 2015-05-12 06:26:31 -07:00
William A. Kennington III
f73682c526 ncurses: Cleanup abi version 2015-05-03 20:30:09 -07:00
Thomas Tuegel
5535793302 ncurses5: add old ABI version for binary packages 2015-05-02 14:43:16 -05:00
William A. Kennington III
23f836615d ncurses: Fix gpm typo 2015-05-01 19:13:40 -07:00
William A. Kennington III
ee78173b21 ncurses: Modernize build 2015-04-30 18:49:28 -07:00
Ludovic Courtès
41b53577a8 unmaintain a bunch of packages 2015-01-13 22:33:49 +01:00
Joel Taylor
3e8344d334 suitable clang stdenv 2014-09-09 13:54:24 -07:00
Bjørn Forsman
c9baba9212 Fix many package descriptions
(My OCD kicked in today...)

Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.

I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.

I've tried to stay away from generated expressions (and I think I
succeeded).

Some specifics worth mentioning:
 * cron, has "Vixie Cron" in its description. The "Vixie" part is not
   mentioned anywhere else. I kept it in a parenthesis at the end of the
   description.

 * ctags description started with "Exuberant Ctags ...", and the
   "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
   at the end of description.

 * nix has the description "The Nix Deployment System". Since that
   doesn't really say much what it is/does (especially after removing
   the package name!), I changed that to "Powerful package manager that
   makes package management reliable and reproducible" (borrowed from
   nixos.org).

 * Tons of "GNU Foo, Foo is a [the important bits]" descriptions
   is changed to just [the important bits]. If the package name doesn't
   contain GNU I don't think it's needed to say it in the description
   either.
2014-08-24 22:31:37 +02:00
Eelco Dolstra
777617f987 ncurses: Build with standard gcc 2014-08-08 19:28:24 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
John Wiegley
f39471a873 ncurses: apply a patch on Darwin for a clang bug 2014-06-16 16:39:20 -07:00
Vladimír Čunát
267d0a5ab6 Merge #1633: --enable-symlinks in ncurses and e2fsprogs 2014-04-02 19:05:56 +02:00
Bjørn Forsman
2b2c55e34a ncurses: add ncurses5-config -> ncursesw5-config symlink
We already have backward compatibility symlinks for ncurses libraries
and pkg-config files (when built in unicode/wide mode). The last bit is
to add a symlink from ncurses5-config to ncursesw5-config, which is what
this commit does.
2013-12-26 18:51:48 +01:00
Bjørn Forsman
50253a3e84 ncurses: install *.pc files (for pkg-config)
To make e.g. "pkg-config --cflags ncursesw" work.

The ncurses expression, when built in unicode/wide char mode, provides
backward compatibility symlinks from lib<name>.so to lib<name>w.so.
Provide similar symlinks for the *.pc files: <name>.pc -> <name>w.pc.
2013-12-26 18:31:24 +01:00
Bjørn Forsman
3227c1d215 ncurses: fix includedir setting
${out} in configureFlags isn't expanded, so ncursesw5-config ends up
expanding ${out} at *runtime*. Here is the relevant ncursesw5-config
snippet showing how includedir gets its value at runtime.

  bindir="${exec_prefix}/bin"
  includedir="${out}/include"
  libdir="${exec_prefix}/lib"
  datadir="${prefix}/share"
  mandir="${prefix}/man"

When running in a plain shell you get this:
  $ ncursesw5-config --cflags
  -I/include/ncursesw -I/include

And when run in a nix-build shell for e.g. gpsd:
  $ ncursesw5-config --cflags
  -I/nix/store/HASH-gpsd-3.10/include/ncursesw -I/nix/store/HASH-gpsd-3.10/include

This is clearly wrong.

Q: How come this has gone undetected for years?
A: It seems few packages use ncursesw5-config to get the compiler
flags. For example, our python curses module builds its own compiler
flags.

Fix this by moving the --includedir setting to preConfigure where shell
variables are expanded.
2013-12-10 19:47:52 +01:00
Gergely Risko
8326038d2b Add ncursesw compatibility link also for includes
This is needed for the ncurses cabal package to compile.  It uses
include/ncursesw/curses.h, without trying include/curses.h first.  The
files are provided through include/ncursesw on a clean Debian too, in
the unicode case (when the libncursesw5-dev is installed).

Signed-off-by: Domen Kozar <domen@dev.si>
2013-05-27 18:16:00 +02:00
Danny Wilson
99a14f378c Fix ncurses build on Illumos. 2013-02-28 20:04:05 +01:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Ludovic Courtès
29bc53265d Darwin: Use GCC 4.6 in `stdenvNix'.
svn path=/nixpkgs/trunk/; revision=33894
2012-04-23 15:47:37 +00:00
Ludovic Courtès
0b6223cff2 GNU Ncurses: Remove patch that no longer applies.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32728
2012-03-01 21:48:25 +00:00
Eelco Dolstra
eda3fd1730 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30852
2011-12-12 16:54:35 +00:00
Eelco Dolstra
5abed12234 * i386-sunos -> i686-solaris.
svn path=/nixpkgs/trunk/; revision=30507
2011-11-21 14:11:04 +00:00
Ludovic Courtès
3e8b08d2fc GNU Ncurses 5.9.
svn path=/nixpkgs/branches/stdenv-updates/; revision=29587
2011-10-02 20:35:44 +00:00
Ludovic Courtès
ec042dad00 GNU Ncurses: Fix C++-less builds.
svn path=/nixpkgs/trunk/; revision=25649
2011-01-20 23:32:09 +00:00
Ludovic Courtès
11679ebe4b GNU Ncurses: Attempt to fix Solaris builds.
svn path=/nixpkgs/trunk/; revision=25594
2011-01-17 09:16:30 +00:00
Lluís Batlle i Rossell
61e9f9cede Cross-building ncursesw was not that easy; it needed this patch, at least for
the current nixpkgs (gcc, glibc)

svn path=/nixpkgs/branches/stdenv-updates/; revision=24246
2010-10-12 19:39:30 +00:00
Peter Simons
aec027e2ec pkgs/development/libraries/ncurses: enable parallel building for ncurses
svn path=/nixpkgs/branches/stdenv-updates/; revision=22674
2010-07-20 13:14:03 +00:00