Commit graph

523 commits

Author SHA1 Message Date
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
Eelco Dolstra de13527000 * Finally got stdenv-nix-linux working again. Still not perfect,
though.
* libxml2: upgrade to latest.
* octavefront/rna: keep debug info.

svn path=/nixpkgs/trunk/; revision=830
2004-03-11 17:26:14 +00:00
Eelco Dolstra a1b3ae0c81 * stdenv-nix-linux should more-or-less work again now.
svn path=/nixpkgs/trunk/; revision=826
2004-03-09 17:16:02 +00:00
Eelco Dolstra d74192ee38 * propagated-build-inputs should now be placed in $out/nix-support.
svn path=/nixpkgs/trunk/; revision=823
2004-03-09 10:59:55 +00:00
Eelco Dolstra c8455be838 * Use a setup hook to set PKG_CONFIG_PATH.
svn path=/nixpkgs/trunk/; revision=822
2004-03-09 10:45:01 +00:00
Eelco Dolstra 287edecf42 * Added gperf, texinfo, ncurses.
* Started moving the gcc wrapper stuff out of stdenv.
* Added octavefront and rna.

svn path=/nixpkgs/trunk/; revision=814
2004-03-05 10:13:23 +00:00
Eelco Dolstra 3f6bf521fc * Flex required M4 at runtime.
svn path=/nixpkgs/trunk/; revision=734
2004-01-30 17:23:34 +00:00
Eelco Dolstra 9249f4c892 * Bleeding edge Bison.
svn path=/nixpkgs/trunk/; revision=730
2004-01-30 15:52:17 +00:00
Eelco Dolstra c0bdcfe274 * A much newer version of flex. The old (GNU) one was from 1997.
svn path=/nixpkgs/trunk/; revision=727
2004-01-30 10:10:06 +00:00
Martin Bravenboer d9cebb072f Added Apache Ant, including configuration of JAVA_HOME and ANT_HOME. Currently only the shell script is patched, but this one is used most in practice.
svn path=/nixpkgs/trunk/; revision=718
2004-01-25 00:50:00 +00:00
Martin Bravenboer 7e813f0999 Added all indivudual packages of the sdf2-bundle
svn path=/nixpkgs/trunk/; revision=708
2004-01-22 19:55:37 +00:00
Martin Bravenboer 4c14c369fe Added sglr
svn path=/nixpkgs/trunk/; revision=707
2004-01-22 19:09:49 +00:00
Martin Bravenboer 362cba8ada Added pt-support 1.0
svn path=/nixpkgs/trunk/; revision=706
2004-01-22 18:57:34 +00:00
Martin Bravenboer 3d0e24c639 Added toolbuslib. This is fun
svn path=/nixpkgs/trunk/; revision=705
2004-01-22 18:46:26 +00:00
Eelco Dolstra 7bee8f0414 * Added Valgrind.
svn path=/nixpkgs/trunk/; revision=685
2004-01-21 14:50:18 +00:00
Eelco Visser 02a743eb7a junk
svn path=/nixpkgs/trunk/; revision=598
2003-12-23 21:32:25 +00:00
Eelco Visser d5ec705667 Apparently libtool cannot be installed separately from autoconf
and automake. Copying the files in $libtool/share/aclocal to 
$autoconf/share/aclocal does not work (and causes collisions when
installing the tools in the user environment). The solution seems to
be to install the three distributions in one single $out directory,
i.e., consider them as one package.
 

svn path=/nixpkgs/trunk/; revision=597
2003-12-23 21:31:06 +00:00
Eelco Visser b4ce40af2b added packages: which, libtool
aggregation in all-packages-generic: autotools
building strategoxt from svn

not complete yet since autconf cannot find libtool


svn path=/nixpkgs/trunk/; revision=596
2003-12-23 20:51:58 +00:00
Eelco Dolstra 480d68ece3 * Added some missing semicolons.
* Some packages needed for the Subversion server.

svn path=/nixpkgs/trunk/; revision=586
2003-12-21 20:52:13 +00:00
Eelco Visser e995558293 Nix expressions for sdf, strategoxt, and tiger.
svn path=/nixpkgs/trunk/; revision=581
2003-12-12 14:46:30 +00:00
Eelco Dolstra 58c20ef428 * Added autoconf/automake.
svn path=/nixpkgs/trunk/; revision=540
2003-11-25 13:46:24 +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