Commit Graph

2142 Commits

Author SHA1 Message Date
Peter Simons
785e9630f0 gmp: use standard GNU config.guess
libgmp comes with an extended config.guess script that features more
accurate CPU detection. Unfortunately, use of that script causes the
configure phase to choose fairly aggressive optimization flags and the
resulting binaries might not work on architectures other than the
machine those binaries were built on.

The standard GNU config.guess script, however, recognizes a CPU type of
'x86' only. Thus, libgmp chooses the following settings:

  ABI="32"
  CC="gcc"
  CFLAGS="-m32 -O2 -pedantic -fomit-frame-pointer -mtune=pentiumpro -march=pentiumpro"
  CPPFLAGS=""
  MPN_PATH=" x86/p6 x86 generic"

svn path=/nixpkgs/branches/stdenv-updates/; revision=16084
2009-06-29 11:01:10 +00:00
Peter Simons
8bd6a26806 Removed misleading comment that no longer applies.
svn path=/nixpkgs/branches/stdenv-updates/; revision=16038
2009-06-24 20:10:59 +00:00
Peter Simons
7534cbe4b8 Define "brokenRedHatKernel = true" in $NIXPKGS_CONFIG to build a system that
works on Red Hat Linux, i.e. that is based on glibc version 2.5.

Furthermore, this patch fixes a number of gcc 4.3.3 build errors in glibc 2.5
that occur on both x86 and x86_64. The older version of this library is still
useful for running Nix on a Red Hat host. Newer version of glibc fail to detect
the kernel's capabilities correctly (due to mad patches applied to the kernel
by Red Hat).

The individual changes are:

 * Re-activated glibc 2.5 in all-packages.nix.

 * Fix incomplete header search path in bootstrap tools.

   Gcc-wrapper sets "-B<prefix>" to tell the compiler about its installation
   root. Unfortunately, the setting doesn't add $gcc/lib/gcc/*/*/include-fixed
   to the search path. That directory is required, however, because it contains
   the system-specific "limits.h" file, and the glibc 2.5 builds tries to find
   that file via #include_next.

 * Support intrinsic functions like __signbit() or atof() correctly to avoid
   compile-time conflicts.

 * Switch to NPTL. Linuxthreads is no longer supported.

 * Added a meta attribute to glibc package.

 * Updated nixUnstable to version 0.13pre15614 from trunk. The previous version
   failed regression tests.

 * Fix more strict type checking in binutils since 2.18.50.0.3.

   Without this patch, the build failed on x86, saying:

     ../sysdeps/i386/fpu/ftestexcept.c: Assembler messages:
     ../sysdeps/i386/fpu/ftestexcept.c:33: Error: suffix or operands invalid for `fnstsw'

svn path=/nixpkgs/branches/stdenv-updates/; revision=16037
2009-06-24 20:10:51 +00:00
Eelco Dolstra
8f0f5c403d * gmp 4.3.1. Hopefully this fixes those weird build errors people
have been reporting.

svn path=/nixpkgs/branches/stdenv-updates/; revision=16030
2009-06-22 19:55:47 +00:00
Eelco Dolstra
a830968c53 * New bootstrap binaries (from r16022 in the trunk). Don't set
LD_LIBRARY_PATH since it breaks /bin/sh on non-NixOS platforms (and
  reverted the previous "fix" in r15470).

svn path=/nixpkgs/branches/stdenv-updates/; revision=16029
2009-06-22 19:49:42 +00:00
Eelco Dolstra
5f70884dd3 * Slight purity improvement.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15471
2009-05-06 14:03:26 +00:00
Andres Löh
f51b3b5550 Haskell platform is now released (different URI).
svn path=/nixpkgs/trunk/; revision=15465
2009-05-06 11:42:57 +00:00
Andres Löh
33b76a9312 added json Haskell package; improved gtk2hs
svn path=/nixpkgs/trunk/; revision=15460
2009-05-05 23:06:01 +00:00
Michael Raskin
67066d1c56 Update erlang
svn path=/nixpkgs/trunk/; revision=15452
2009-05-05 15:46:03 +00:00
Andres Löh
88ada9468b Version bump for Haskell Platform.
svn path=/nixpkgs/trunk/; revision=15447
2009-05-05 08:50:17 +00:00
Michael Raskin
6314e2f2ad Update cl-ppcre
svn path=/nixpkgs/trunk/; revision=15446
2009-05-05 03:05:10 +00:00
Andres Löh
b6626b7aac Updated Haskell Platform to 2009.1.1.
svn path=/nixpkgs/trunk/; revision=15445
2009-05-04 23:29:38 +00:00
Andres Löh
39ec9d91f4 Added new version of wx package for Haskell.
svn path=/nixpkgs/trunk/; revision=15444
2009-05-04 13:33:04 +00:00
Andres Löh
393286fd47 Added Hipmunk (Haskell chipmunk binding).
svn path=/nixpkgs/trunk/; revision=15443
2009-05-04 13:33:01 +00:00
Andres Löh
9a216af770 Updating wxHaskell (in progress).
svn path=/nixpkgs/trunk/; revision=15442
2009-05-04 13:32:59 +00:00
Lluís Batlle i Rossell
3b3799f4c2 I forgot a file for the new tk. Here it is.
svn path=/nixpkgs/trunk/; revision=15435
2009-05-03 14:36:26 +00:00
Lluís Batlle i Rossell
ef25944cdb Updating tcl/tk
svn path=/nixpkgs/trunk/; revision=15434
2009-05-03 14:35:56 +00:00
Lluís Batlle i Rossell
63c8ccf84c Adding spin
svn path=/nixpkgs/trunk/; revision=15433
2009-05-03 14:35:43 +00:00
Marc Weber
75244dffaf update jdk because jdk-1.6.0_13 provides a mozilla plugin for x86_64
svn path=/nixpkgs/trunk/; revision=15422
2009-05-01 19:34:56 +00:00
Marc Weber
94a01668a1 cleaned up and fixed autofs v5
svn path=/nixpkgs/trunk/; revision=15419
2009-05-01 05:42:32 +00:00
Ludovic Courtès
5773834497 GnuTLS 2.6.6, with Guile bindings by default.
svn path=/nixpkgs/trunk/; revision=15416
2009-04-30 18:43:48 +00:00
Armijn Hemel
7445bc765c update python to 2.5.4
update scummvm to 0.13.1

svn path=/nixpkgs/trunk/; revision=15414
2009-04-30 14:01:25 +00:00
Eelco Dolstra
210ba6316e * Urgh. Some files that had been deleted in the trunk came back
through the stdenv-updates merge (probably because they had been
  modified in the branch).

svn path=/nixpkgs/trunk/; revision=15403
2009-04-29 16:19:57 +00:00
Andres Löh
3202338268 Improved package config installation for gtk2hs (still not working completely).
svn path=/nixpkgs/trunk/; revision=15383
2009-04-28 18:58:34 +00:00
Ludovic Courtès
54d3ce4b61 Agg: Fix compilation.
svn path=/nixpkgs/trunk/; revision=15352
2009-04-28 12:37:09 +00:00
Rob Vermaas
3f9e764096 DBD-Pg 2.13.1
svn path=/nixpkgs/trunk/; revision=15350
2009-04-28 11:57:34 +00:00
Lluís Batlle i Rossell
621b56e233 Radare version bump
svn path=/nixpkgs/trunk/; revision=15349
2009-04-28 10:31:16 +00:00
Eelco Dolstra
dbc8b414be * Urgh.
svn path=/nixpkgs/trunk/; revision=15331
2009-04-27 09:27:15 +00:00
Eelco Dolstra
03844a3d9b * Revert to Qt 4.4.3. 4.5.1 breaks KDE 4.2.2. See e.g.
http://rdieter.fedorapeople.org/qt451_oxygen_borkage-2.jpg
  and also https://bugs.kde.org/show_bug.cgi?id=190485
  ("You're not meant to use Qt 4.5.1 with KDE 4.2.2.").
  Apparently this will be fixed in Qt 4.5.2.

svn path=/nixpkgs/trunk/; revision=15330
2009-04-27 09:25:48 +00:00
Marc Weber
761e653515 reenable curl support for php
-lssl was missing

svn path=/nixpkgs/trunk/; revision=15327
2009-04-27 01:18:03 +00:00
Eelco Dolstra
5a2284ac61 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15313
2009-04-25 22:45:32 +00:00
Lluís Batlle i Rossell
1f8e1f296d Updating freeimage and vxl.
svn path=/nixpkgs/trunk/; revision=15307
2009-04-25 16:21:56 +00:00
Andres Löh
922c14e372 Added MonadRandom Haskell package.
svn path=/nixpkgs/trunk/; revision=15305
2009-04-25 15:33:37 +00:00
Andres Löh
2a1fae29f8 Added some SDL-related Haskell libs.
svn path=/nixpkgs/trunk/; revision=15304
2009-04-25 15:33:29 +00:00
Sander van der Burg
d1a57e454e Fixed version number of qt
svn path=/nixpkgs/branches/stdenv-updates/; revision=15303
2009-04-25 15:07:46 +00:00
Sander van der Burg
5ad095f5ed Upgraded to qt-4.5.1
svn path=/nixpkgs/branches/stdenv-updates/; revision=15302
2009-04-25 14:54:14 +00:00
Andres Löh
66f3af0bdd ghc-wrapper now detects installed pkgs automatically.
svn path=/nixpkgs/trunk/; revision=15301
2009-04-25 14:23:00 +00:00
Eelco Dolstra
96443f794e * Unfortunately, the Gentoo mirror of the attr library is no more
stable than the SGI source.  So we'll mirror it ourselves.  Thanks
  to Matthew Curry for reporting this.

svn path=/nixpkgs/trunk/; revision=15289
2009-04-24 20:27:54 +00:00
Andres Löh
2bb2373cf9 Try to link readline Haskell package against ncursesw.
svn path=/nixpkgs/trunk/; revision=15284
2009-04-23 17:48:06 +00:00
Andres Löh
cea9c12283 Trying to update haxr, but not finished.
svn path=/nixpkgs/trunk/; revision=15283
2009-04-23 17:48:03 +00:00
Andres Löh
cd018e50d4 64bit support in Cabal builder
svn path=/nixpkgs/trunk/; revision=15282
2009-04-23 17:21:14 +00:00
Eelco Dolstra
7689a348c4 * Got rid of a lot of "postInstall=postInstall" and similar lines in
builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
2009-04-23 13:31:10 +00:00
Eelco Dolstra
0f10222e4e * Merge libjpeg and libjpeg-static.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15275
2009-04-23 13:26:14 +00:00
Eelco Dolstra
7a891eabe2 * Apparently the pythondir hack isn't needed with libxml2 2.7.3.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15272
2009-04-23 12:35:36 +00:00
Eelco Dolstra
f762b50991 * Another sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15269
2009-04-23 11:59:43 +00:00
Eelco Dolstra
acd26a3353 * Fixed the gphoto2 build.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15267
2009-04-23 11:12:25 +00:00
Michael Raskin
35bb7d6412 Python-not-2.4 support for libxml2
svn path=/nixpkgs/trunk/; revision=15265
2009-04-23 10:24:40 +00:00
Eelco Dolstra
686ed295da * Disable curl support in PHP - it breaks for some reason.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15263
2009-04-23 09:56:15 +00:00
Eelco Dolstra
c274d068e4 * Fix neon.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15261
2009-04-22 23:15:00 +00:00
Eelco Dolstra
7ec61219db * lib/site_perl -> lib/perl5/site_perl.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15258
2009-04-22 23:04:18 +00:00