Commit graph

41 commits

Author SHA1 Message Date
Eelco Dolstra 06d295f51b * Urgh. Get ATerm 2.4.2-fixes to build with the -fno-strict-aliasing
flag.  Note that ATerm 2.5 causes Nix to segfault, and ATerm 2.8
  doesn't even build on x86_64-linux (see
  http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=1042).

svn path=/nixpkgs/branches/stdenv-updates/; revision=19020
2009-12-17 21:22:58 +00:00
Rob Vermaas f1aa958c0a enabled static lib for aterm-2.5
svn path=/nixpkgs/trunk/; revision=15504
2009-05-08 08:21:35 +00:00
Eelco Dolstra da4fb573a7 * Added ATerm 2.8. Also removed some old versions and patches that
were no longer in use.

* A patch for compiling the ATerm library with GCC 4.3.  Without it,
  the code for resizing ATerm tables gets stuck in an infinite loop
  (http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841).  The problem
  is in this bit of code in hash.c, which tries to dynamically figure
  out the maximum signed integer:

    long try_long_max;
    long long_max;
    long delta;

    try_long_max = 1;
    do {
      long_max = try_long_max;
      try_long_max = long_max * 2;
    } while (try_long_max > 0);

  At -O2, GCC 4.3 determines that 1 * 2 * 2 * ... can never be <= 0,
  and so it optimises this into a 1-instruction infinite loop:

    0x0805a782 <keyPut+1282>: jmp  0x805a782 <keyPut+1282>

  Quite beautiful really. ;-)

  The fix is to use the LONG_MAX macro instead.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13888
2009-01-27 17:46:07 +00:00
Eelco Dolstra d15a5e9625 * Get rid of references to losser.st-lab.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13707
2009-01-05 14:01:42 +00:00
Eelco Dolstra aa84bce64d * Get rid of all references to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Eelco Dolstra 5d9dfc1e60 * Removed $installCommand, it's no longer needed since we split the
install and fixup phases.  You can just override installPhase.

svn path=/nixpkgs/trunk/; revision=12787
2008-09-02 13:51:32 +00:00
Eelco Dolstra a0e87d6123 * Added ATerm 2.7. It doesn't work though (make check fails on x86_64).
svn path=/nixpkgs/trunk/; revision=12764
2008-08-29 11:48:44 +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 316b5505cd Added aterm 2.5
svn path=/nixpkgs/branches/stdenv-updates/; revision=10381
2008-01-29 13:17:02 +00:00
Sander van der Burg 87ff8a8869 Added aterm 2.5
svn path=/nixpkgs/trunk/; revision=10370
2008-01-29 09:32:56 +00:00
Eelco Dolstra db0e9e16c9 * Use a patched ATerm library that fixes another GC bug.
svn path=/nixpkgs/trunk/; revision=9065
2007-08-07 23:27:38 +00:00
Eelco Dolstra a6ca6b0612 * Doh!
svn path=/nixpkgs/trunk/; revision=7342
2006-12-13 21:15:31 +00:00
Eelco Dolstra cd8a033c15 * Remove some obsolete wxGTK/wxPython versions.
svn path=/nixpkgs/trunk/; revision=7337
2006-12-13 15:53:36 +00:00
Eelco Dolstra 82888b7a20 * New version that integrates the MinGW patch.
svn path=/nixpkgs/trunk/; revision=7034
2006-11-14 18:50:17 +00:00
Eelco Dolstra 1cddeefb30 * Provide a patched ATerm library that works on 64-bit systems and on
systems with Glibc 2.5 or GCC 4.1.x.

svn path=/nixpkgs/trunk/; revision=7032
2006-11-14 15:55:57 +00:00
Eelco Dolstra 23b840f5bd * Refactor a bit.
svn path=/nixpkgs/trunk/; revision=7030
2006-11-14 15:49:07 +00:00
Eelco Dolstra 61391a8721 * Grmbl.
svn path=/nixpkgs/trunk/; revision=6382
2006-08-30 17:43:08 +00:00
Eelco Dolstra b8bf2ba379 * Testing the build farm a bit more...
svn path=/nixpkgs/trunk/; revision=6379
2006-08-30 17:27:55 +00:00
Martin Bravenboer f0129a3f44 Fixes to support the new stdenvType
svn path=/nixpkgs/trunk/; revision=6242
2006-08-25 20:58:02 +00:00
Martin Bravenboer 97202ee3b7 Patch for aterm library on mingw (see meta-devel-list)
Moved all the shell fixes to fix-builder.sh, which is now always invoked.

Added aterm to the list of packages provided by mingw.nix

svn path=/nixpkgs/trunk/; revision=6152
2006-08-17 15:33:49 +00:00
Eelco Dolstra ac41a46f6e * ATerm aliasing patch (from
http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=470).

svn path=/nixpkgs/trunk/; revision=5486
2006-06-22 09:02:54 +00:00
Eelco Dolstra baec8f5b38 * stdenv.mkDerivation now takes an optional attribute "meta" that
contains arbitrary information about a package, like this:

  meta = {
    homepage = "http://gcc.gnu.org/";
    license = "GPL/LGPL";
    description = "GNU Compiler Collection, 4.0.x";
  };

  The "meta" attribute is not passed to the actual derivation
  operation, so it's not a dependency --- changes to "meta" attributes
  don't trigger a recompilation.

  Now we have to standardise some useful attributes ;-)

svn path=/nixpkgs/branches/usability/; revision=5024
2006-03-10 16:12:46 +00:00
Eelco Dolstra 3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra 1cc9ec7f6d * ATerm updated to 2.4.2.
svn path=/nixpkgs/trunk/; revision=4051
2005-10-11 12:42:48 +00:00
Eelco Dolstra 454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Martin Bravenboer 3ea317784f Upgraded aterm to aterm 2.4. Removed the dynamic variant.
svn path=/nixpkgs/trunk/; revision=3611
2005-08-17 14:29:04 +00:00
Eelco Dolstra ea1f32f822 * Move to a more stable location.
svn path=/nixpkgs/trunk/; revision=3420
2005-07-25 10:05:44 +00:00
Martin Bravenboer e1084ff400 Upgrade of aterm-dynamic
svn path=/nixpkgs/trunk/; revision=3388
2005-07-20 19:41:29 +00:00
Martin Bravenboer c59283c2f6 Added aterm-dynamic
svn path=/nixpkgs/trunk/; revision=3373
2005-07-19 21:42:56 +00:00
Eelco Dolstra ca96422b7d * Don't patch configure.in.
svn path=/nixpkgs/trunk/; revision=2981
2005-05-03 13:28:46 +00:00
Eelco Dolstra fe6f8b45e6 * A fix to get the higher optimisation levels (-O2, -O3) to work again
for the ATerm library.  I'm adding it to Nixpkgs so we can get some
  testing ;-)

svn path=/nixpkgs/trunk/; revision=2979
2005-05-02 16:57:13 +00:00
Eelco Dolstra e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Martin Bravenboer ba47211900 ATerm update
svn path=/nixpkgs/trunk/; revision=1928
2004-12-23 08:51:15 +00:00
Martin Bravenboer 6315d6d923 New version of ATerm library and SDF packages
svn path=/nixpkgs/trunk/; revision=1127
2004-07-03 10:47:58 +00:00
Martin Bravenboer 487be25ceb Upgraded aterm to 2.1
svn path=/nixpkgs/trunk/; revision=1010
2004-05-12 13:53:53 +00:00
Eelco Dolstra 5862e56f26 * For simple Autotools-style packages (such as the ATerm library), the
builder may now be omitted entirely; the function `mkDerivation'
  will then use a default build script.

svn path=/nixpkgs/trunk/; revision=868
2004-03-28 21:17:56 +00:00
Eelco Dolstra 892b119c9d * It is now possible to execute a builder using a shell inside the Nix
store, rather than outside (such as /bin/sh).

  For instance, the Nix expression for the ATerm library now looks
  like this:

    {stdenv, fetchurl}:

    stdenv.mkDerivation {
      name = "aterm-2.0.5";
      builder = ./builder.sh;
      ...
    }

  where `mkDerivation' is a helper function in `stdenv' that massages
  the given attribute set into using the bash shell that is part of
  the standard environment:

    mkDerivation = attrs: derivation (att s // {
      builder = pkgs.bash ~ /bin/sh;
      args = ["-e" attrs.builder];
      stdenv = (...);
      system = (...).system;
    });

  Note that this makes it unnecessary to set the `stdenv' and `system'
  attributes, since `mkDerivation' already does that.


svn path=/nixpkgs/trunk/; revision=866
2004-03-28 21:07:43 +00:00
Eelco Dolstra 5941f66f0e * The stdenv setup script now defines a generic builder that allows
builders for typical Autoconf-style to be much shorten, e.g.,

    . $stdenv/setup
    genericBuild

  The generic builder does lots of stuff automatically:

  - Unpacks source archives specified by $src or $srcs (it knows about
    gzip, bzip2, tar, zip, and unpacked source trees).
  - Determines the source tree.
  - Applies patches specified by $patches.
  - Fixes libtool not to search for libraries in /lib etc.
  - Runs `configure'.
  - Runs `make'.
  - Runs `make install'.
  - Strips debug information from static libraries.
  - Writes nested log information (in the format accepted by
    `log2xml').

  There are also lots of hooks and variables to customise the generic
  builder.  See `stdenv/generic/docs.txt'.

* Adapted the base packages (i.e., the ones used by stdenv) to use the
  generic builder.

* We now use `curl' instead of `wget' to download files in `fetchurl'.

* Neither `curl' nor `wget' are part of stdenv.  We shouldn't
  encourage people to download stuff in builders (impure!).

* Updated some packages.

* `buildinputs' is now `buildInputs' (but the old name also works).

* `findInputs' in the setup script now prevents inputs from being
  processed multiple times (which could happen, e.g., if an input was
  a propagated input of several other inputs; this caused the size
  variables like $PATH to blow up exponentially in the worst case).

* Patched GNU Make to write nested log information in the format
  accepted by `log2xml'.  Also, prior to writing the build command,
  Make now writes a line `building X' to indicate what is being
  built.  This is unfortunately often obscured by the gigantic tool
  invocations in many Makefiles.  The actual build commands are marked
  `unimportant' so that they don't clutter pages generated by
  `log2html'.


svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
Martin Bravenboer ffa5434646 Expression for aterm 2.0.5 at CWI
svn path=/nixpkgs/trunk/; revision=704
2004-01-22 18:13:16 +00:00
Eelco Dolstra 026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra 48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00