Commit Graph

63 Commits

Author SHA1 Message Date
aszlig
f4edebfa12
gettext: Check for existence of stdenv.ccCross.
Should only affect cross-builds, however I didn't test whether
cross-building gettext actually works. But if it's broken now, it was
broken before as well and this at least unbreaks the non-cross-built
nixpkgs tarball job :-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-01-03 18:27:41 +01:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Mateusz Kowalczyk
b186aa8f80 gettext-0.17: meta.branch 2014-09-30 10:56:12 +01: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
Peter Simons
2456150c1e gettext: strip trailing whitespace 2013-09-23 11:14:42 +02:00
Peter Simons
46a7b1ea0a gettext: fix minor errors after merge 2013-09-23 11:14:27 +02:00
Peter Simons
9407832de4 Merge remote-tracking branch 'origin/master' into stdenv-updates.
Conflicts:
	pkgs/development/libraries/gettext/default.nix
2013-09-23 10:59:44 +02:00
Vladimír Čunát
961c2fe7c3 coreutils,gettext: don't change hash except for darwin
Also some style cleanup.
Note that defining an empty-string variable *does* change the hash.
I would like to change this behaviour one day
(clean up attrs when compiling the derivation).
2013-09-14 14:56:10 +02:00
Danie Roux
14109047bd gettext: Guard against compiler not supporting __builtin_stpncpy
From https://lists.macosforge.org/pipermail/macports-dev/2011-July/015263.html:

5) Building with a compiler that doesn't support newer __builtins

If your port uses MacPorts compilers rather than the default compiler,
you may run into trouble with string functions.  You'll see errors at
link time about undefined __builtin_* functions.  If this happens, you
may want to compile with -D_FORTIFY_SOURCE=0 to tell the headers to
use unfortified versions which do not use compiler builtins.
2013-09-14 14:45:06 +02:00
Peter Simons
0d7118814b Merge branch 'origin/master' into stdenv. 2013-08-17 10:00:16 +02:00
Ludovic Courtès
2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Danny Wilson
66798d7aaf gettext: Remove old patch. Enable xz compression. 2013-02-28 20:04:11 +01:00
Danny Wilson
5436ca4d87 Update gettext to 0.18.2 2013-02-28 20:04:06 +01:00
Danny Wilson
15e865ac09 GCC 4.7.2 + updated libraries compiles on Illumos/SmartOS!
- Add solaris native ld support to GCC build wrapper
- Add solaris ld wrapper that fixes -L argument order
2013-02-28 20:04:02 +01:00
Danny Wilson
bcaea92a12 Attempt at getting GCC 4.7 compiled on Illumos...
No success yet :-(
2013-02-28 20:04:01 +01:00
Eelco Dolstra
5be0a9acd7 Rename hostDrv -> crossDrv, buildDrv -> nativeDrv
This is for consistency with terminology in stdenv (and the terms
"hostDrv" and "buildDrv" are not very intuitive, even if they're
consistent with GNU terminology).
2012-12-28 19:08:19 +01:00
Eelco Dolstra
fcc18aad0a Fix some packages that referred to gets()
Glibc no longer defines gets() if _GNU_SOURCE is defined.
2012-09-18 14:05:23 -04:00
Ludovic Courtès
ae23a33b9a GNU Gettext: Fix Cygwin build.
svn path=/nixpkgs/trunk/; revision=34270
2012-05-29 10:13:23 +00:00
Eelco Dolstra
adcb6d6a13 * Cleanup.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30887
2011-12-14 13:37:17 +00:00
Rob Vermaas
523c1de575 re-add gettext 0.17
svn path=/nixpkgs/branches/stdenv-updates/; revision=24663
2010-11-11 14:42:35 +00:00
Lluís Batlle i Rossell
da3ba13fb5 Trying to make gcc 4.5 cross-buildable
svn path=/nixpkgs/branches/stdenv-updates/; revision=22848
2010-08-01 21:21:26 +00:00
Lluís Batlle i Rossell
5cc46602ce Updating gettext to that decided in nixpkgs trunk (0.17 to 0.18)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22842
2010-08-01 21:01:54 +00:00
Lluís Batlle i Rossell
86345919c2 Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=22254
2010-06-14 09:28:10 +00:00
Ludovic Courtès
2727c9dac4 GNU Gettext 0.18.1.1.
svn path=/nixpkgs/trunk/; revision=22222
2010-06-10 21:53:01 +00:00
Lluís Batlle i Rossell
6d88da9a23 Merging from trunk (conflict on glibc, I think I resolved it)
svn path=/nixpkgs/branches/stdenv-updates/; revision=21879
2010-05-19 15:26:00 +00:00
Ludovic Courtès
86e3de70e1 GNU gettext 0.18 (not in stdenv).
svn path=/nixpkgs/trunk/; revision=21704
2010-05-10 12:57:10 +00:00
Ludovic Courtès
d15d6267fa GNU gettext 0.18.
svn path=/nixpkgs/branches/stdenv-updates/; revision=21702
2010-05-10 12:33:43 +00:00
Lluís Batlle i Rossell
6f9a783232 Trying to get coreutils cross-built with uclibc.
This involved fixing some buildInputs/buildNativeInputs in acl/attr,
and adding a libiconv in some places.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20510
2010-03-09 18:05:38 +00:00
Lluís Batlle i Rossell
fce5b7fe78 Adding a hack for gettext to cross-build with gcc+glibc in linux.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18568
2009-11-23 19:38:34 +00:00
Ludovic Courtès
37a65be4ff gettext: Build on non-GNU systems.
svn path=/nixpkgs/trunk/; revision=17775
2009-10-13 10:03:44 +00:00
Ludovic Courtès
e3351fb625 Add GNU libiconv as a stand-alone package.
svn path=/nixpkgs/trunk/; revision=17282
2009-09-19 22:03:24 +00:00
Ludovic Courtès
bf4162eb0b GNU gettext: Fix {Cyg,Dar}win hack (again).
svn path=/nixpkgs/trunk/; revision=17276
2009-09-19 13:21:16 +00:00
Ludovic Courtès
4e029cf721 GNU gettext: Fix {Cyg,Dar}win hack.
svn path=/nixpkgs/trunk/; revision=17274
2009-09-19 12:21:39 +00:00
Ludovic Courtès
dc176f6a2b GNU gettext: Try building on Darwin.
svn path=/nixpkgs/trunk/; revision=17271
2009-09-19 11:04:33 +00:00
Eelco Dolstra
94d7d1fdbb * Got rid of all --disable-static flags; they're redundant now.
* Also a bunch of style cleanups (tabs, with args, ...).

svn path=/nixpkgs/branches/stdenv-updates/; revision=15235
2009-04-21 23:18:09 +00:00
Michael Raskin
8ea6496a10 -
svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10823
2008-02-22 03:06:12 +00:00
Eelco Dolstra
e12b421add * Merged most of the stdenv-updates branch. Some stuff didn't
merge cleanly right away (kde-4, kernel stuff) so it should be
  merged later.  But the stdenv stuff is all there.

svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10793
2008-02-20 23:02:41 +00:00
Yury G. Kudryashov
cc0430ca4b gettext: shared
svn path=/nixpkgs/branches/stdenv-updates/; revision=10608
2008-02-10 17:41:35 +00:00
Yury G. Kudryashov
d52ed394ae gettext: removed old versions, added 0.17
svn path=/nixpkgs/branches/stdenv-updates/; revision=10454
2008-02-02 20:39:21 +00:00
Yury G. Kudryashov
45b91c969c gettext: using selectVersion
svn path=/nixpkgs/branches/stdenv-updates/; revision=10453
2008-02-02 20:39:12 +00:00
Yury G. Kudryashov
a76f4ff7e2 Reverted default gettext to 0.14.6
svn path=/nixpkgs/trunk/; revision=10366
2008-01-28 20:01:12 +00:00
Yury G. Kudryashov
b3cd1e644a Changed version-related syntax in python, gettext and ocaml
svn path=/nixpkgs/trunk/; revision=10316
2008-01-28 19:30:57 +00:00
Yury G. Kudryashov
0aef28a212 Rewritten gettext-version stuff.
I've added listOfListsToAttrs to lib because I don't like to type "name =" and
"value =".


svn path=/nixpkgs/trunk/; revision=10315
2008-01-28 19:30:13 +00:00
Yury G. Kudryashov
bc5974fb89 Changed syntax of getVersion
svn path=/nixpkgs/trunk/; revision=10314
2008-01-28 19:29:28 +00:00
Yury G. Kudryashov
85ebf00cab Changed version-related syntax in python, gettext and ocaml
svn path=/nixpkgs/branches/stdenv-updates/; revision=9743
2007-11-17 15:19:03 +00:00
Yury G. Kudryashov
606b413f1f Rewritten gettext-version stuff.
I've added listOfListsToAttrs to lib because I don't like to type "name =" and
"value =".

svn path=/nixpkgs/branches/stdenv-updates/; revision=9734
2007-11-17 14:05:55 +00:00
Yury G. Kudryashov
ebc6bb79cd Changed syntax of getVersion
svn path=/nixpkgs/branches/stdenv-updates/; revision=9733
2007-11-17 14:05:39 +00:00
Yury G. Kudryashov
245655b7a1 Added support for overridable variants of package.
For details read comments near getVersion function, gettext is the current
example.

svn path=/nixpkgs/trunk/; revision=9235
2007-09-01 18:26:13 +00:00
Eelco Dolstra
544cb9cb83 * Rewrite all URLs to GNU mirrors to mirror://gnu/.
svn path=/nixpkgs/trunk/; revision=9201
2007-08-27 13:42:00 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00