Commit Graph

270135 Commits

Author SHA1 Message Date
Eelco Dolstra
6b66d16116 * Provide an ld-wrapper that sets the linker search path correctly (just like
gcc-wrapper).  Useful for builds that call ld directly.

svn path=/nixpkgs/trunk/; revision=363
2003-08-27 12:37:38 +00:00
Eelco Dolstra
1edcca4322 * Build version.h before installing the header files.
svn path=/nixpkgs/trunk/; revision=362
2003-08-26 20:05:56 +00:00
Eelco Dolstra
e83fe5ee78 * Patched gcc so that it doesn't search the standard include directories
(/usr/include, /usr/local/include, etc.).

* Immediate pay-off: we see that the glibc header files depend on the Linux
  kernel header files.  So I've added a package that extracts the appropriate
  headers from Linux 2.4.22.

svn path=/nixpkgs/trunk/; revision=361
2003-08-26 15:25:26 +00:00
Eelco Dolstra
3638af3cab * gcc: ensure that the compilers past stage-1 and the libraries are linked
against our glibc.

svn path=/nixpkgs/trunk/; revision=360
2003-08-26 13:55:30 +00:00
Eelco Dolstra
d6cbd38bfb * Patched Perl's configure script to stop it from scanning well-known system
directories for libraries.  (Fortunately, the build would still fail because
  Perl's idea of "standard" library directories no longer matched that of the
  linker.)

* `stdenv-linux/setup.sh' now puts the path of glibc in an environment
  variable so that it can be used by other packages (for example, we need to
  pass it to Perl's configure, because otherwise it will think that, e.g.,
  libm.so doesn't exist).

svn path=/nixpkgs/trunk/; revision=359
2003-08-26 10:34:51 +00:00
Eelco Dolstra
0de9e19de7 * Added zlib.
* Use zlib in libxml2.

svn path=/nixpkgs/trunk/; revision=358
2003-08-25 19:41:37 +00:00
Eelco Dolstra
23d90c2324 * Patched binutils so that ld no longer searches any of the "default" directories
(/lib, ...).  So unless a directory is explicitly added using `-L' it won't we 
  searched.  This has already revealed that libxml has a hidden dependance on libz.

svn path=/nixpkgs/trunk/; revision=357
2003-08-25 19:26:46 +00:00
Eelco Dolstra
12e195f313 * Forgot to add zip.
svn path=/nixpkgs/trunk/; revision=355
2003-08-25 18:37:44 +00:00
Eelco Dolstra
dbe0f07b5b * Don't build the Python bindings for Subversion for now (because I'm too lazy to
make a Python package).

svn path=/nixpkgs/trunk/; revision=354
2003-08-25 18:35:21 +00:00
Eelco Dolstra
f18c7333ba * Fix a typo.
svn path=/nixpkgs/trunk/; revision=352
2003-08-25 14:39:11 +00:00
Eelco Dolstra
ab2b43ae50 * Use stdenv.
svn path=/nixpkgs/trunk/; revision=350
2003-08-25 13:53:55 +00:00
Eelco Dolstra
ff423a1129 * Apache depends on Perl.
svn path=/nixpkgs/trunk/; revision=349
2003-08-25 13:34:41 +00:00
Eelco Dolstra
6a70252255 * Firebird depends on zip/unzip.
* Turn off pedantic checking because of a bug in Firebird.

svn path=/nixpkgs/trunk/; revision=348
2003-08-25 13:34:12 +00:00
Eelco Dolstra
eb545b5142 * Amazingly, sdf2 is still dependent on the non-standard `getopt' tool. So
getopt has been added.

  As part of the build of sdf2 we patch sdf2table to store the full path of
  getopt.  This is so that packages that use sdf2 do not have to declare
  getopt as an input.

svn path=/nixpkgs/trunk/; revision=347
2003-08-25 13:24:48 +00:00
Eelco Dolstra
4de36e3b50 * OpenSSL, Firebird require Perl.
svn path=/nixpkgs/trunk/; revision=345
2003-08-22 15:09:51 +00:00
Eelco Dolstra
55c1068263 * Remove absolute path.
svn path=/nixpkgs/trunk/; revision=344
2003-08-22 15:08:32 +00:00
Eelco Dolstra
84245ad51e * Remove absolute path.
svn path=/nixpkgs/trunk/; revision=343
2003-08-22 15:07:57 +00:00
Eelco Dolstra
f11574c91d * gmake -> make (the stdenv gives us GNU make).
svn path=/nixpkgs/trunk/; revision=342
2003-08-22 15:07:21 +00:00
Eelco Dolstra
33555f6a4d * Added the GNU findutils to the stdenv.
svn path=/nixpkgs/trunk/; revision=341
2003-08-22 15:06:24 +00:00
Eelco Dolstra
3467585b1b * Split off the native build init into setup-nativetools.sh.
* Add the $gcc/lib to the library path in the Nixified stdenv.  (This
  include libgcc.so and libstdc++.so.)

svn path=/nixpkgs/trunk/; revision=340
2003-08-22 13:42:21 +00:00
Eelco Dolstra
ce22795c1c * libIDL requires flex, which requires bison, which requires m4...
svn path=/nixpkgs/trunk/; revision=339
2003-08-22 13:39:36 +00:00
Eelco Dolstra
a78e923fe7 * Some more stuff that needs perl.
svn path=/nixpkgs/trunk/; revision=332
2003-08-20 11:15:07 +00:00
Eelco Dolstra
eaadea1e2a * Initialise the PATH immediately at the start of stdenv-linux, otherwise
baseenv won't work properly (because it can't find programs such as `cat').

svn path=/nixpkgs/trunk/; revision=331
2003-08-20 11:13:13 +00:00
Eelco Visser
ea7ab23109 use natively installed subversion to avoid build problems for subversion
svn path=/nixpkgs/trunk/; revision=330
2003-08-19 21:18:24 +00:00
Eelco Visser
dc35a28b03 use natively installed subversion to avoid build problems for subversion
svn path=/nixpkgs/trunk/; revision=329
2003-08-19 21:17:54 +00:00
Eelco Visser
90778a120c gcc-wrapper moved to baseenv
svn path=/nixpkgs/trunk/; revision=328
2003-08-19 20:52:46 +00:00
Eelco Dolstra
11b6d0629a * I can't believe that anybody is still using `ed', but there you
have it...

svn path=/nixpkgs/trunk/; revision=327
2003-08-19 15:05:02 +00:00
Eelco Dolstra
4ec5cab7a5 * ATK and GLib need Perl.
TODO: clean up the Perl build.  Currently it's still using some external
  libraries, and it doesn't pass all its unit tests.

svn path=/nixpkgs/trunk/; revision=326
2003-08-19 14:52:52 +00:00
Eelco Dolstra
0dc6fd3204 * Added bash.
* Separated stdenv.fix and stdenv-nativetools.fix.

svn path=/nixpkgs/trunk/; revision=324
2003-08-19 10:40:54 +00:00
Eelco Dolstra
6ad771156c * Added GNU gettext. Nixification is paying off: e.g., it revealed that glib
has a dependency on gettext (and Perl; that's next).

svn path=/nixpkgs/trunk/; revision=323
2003-08-19 09:41:43 +00:00
Eelco Dolstra
6da1ac69b5 * Added GNU awk.
svn path=/nixpkgs/trunk/; revision=322
2003-08-19 09:40:09 +00:00
Eelco Dolstra
af9c2a534d * Added bzip2.
Note that I added bzip2 to stdenv, but not unzip.  This raises an interesting 
  point: what packages should be in stdenv?

svn path=/nixpkgs/trunk/; revision=320
2003-08-18 20:58:51 +00:00
Eelco Visser
5c09abea7d * pkgs/strategoxt/pkg-build.sh: generic build script for packages
with the standard untar; bootstrap; configure; make; make install
interface.  The script is parameterized with arguments for
configure. That is, all arguments are passed verbatim to
configure.

* asfix-tools, gpp, sc, srts, stratego-front, xtc: Fix expressions
and (trivial) build script for basic strategoxt packages. All
packages are abstracted on subversion revision.

svn path=/nixpkgs/trunk/; revision=319
2003-08-18 20:56:59 +00:00
Eelco Visser
397901e36f creating tar after obtaining exported subversion directory
svn path=/nixpkgs/trunk/; revision=318
2003-08-18 20:47:12 +00:00
Eelco Dolstra
b86f5facff * Added Info-ZIP UnZip.
svn path=/nixpkgs/trunk/; revision=317
2003-08-18 20:05:23 +00:00
Eelco Dolstra
23154d034f * Get rid of all `-S' flags (to remove debug info); this is now the default.
* Remove all references to set-env.sh; it has been merged into stdenv.fix (actually 
  baseenv.fix).

svn path=/nixpkgs/trunk/; revision=316
2003-08-18 19:52:54 +00:00
Eelco Dolstra
287225e1e1 * Added binutils. The aterm library now builds in a fully Nixified environment.
svn path=/nixpkgs/trunk/; revision=315
2003-08-18 19:41:45 +00:00
Eelco Dolstra
d343a357f1 * Added GCC (C and C++ variant; include libstdc++).
svn path=/nixpkgs/trunk/; revision=314
2003-08-18 17:49:30 +00:00
Eelco Dolstra
185464700d * Added GNU make.
svn path=/nixpkgs/trunk/; revision=313
2003-08-18 17:08:09 +00:00
Eelco Dolstra
5bfb7b04d4 * Added the GNU diffutils.
svn path=/nixpkgs/trunk/; revision=312
2003-08-18 17:04:07 +00:00
Eelco Dolstra
86ac7b60b0 * Added GNU grep, and the Perl Compatible Regular Expressions library used by
grep.

svn path=/nixpkgs/trunk/; revision=311
2003-08-18 16:59:39 +00:00
Eelco Dolstra
aab301d701 * Added GNU sed.
svn path=/nixpkgs/trunk/; revision=310
2003-08-18 16:44:50 +00:00
Eelco Dolstra
4a104ba060 * Added gzip.
svn path=/nixpkgs/trunk/; revision=309
2003-08-18 16:40:22 +00:00
Eelco Dolstra
f6e0983d44 * Added GNU tar.
* Some refactoring on stdenv-linux to prevent unnecessary rebuilds.

svn path=/nixpkgs/trunk/; revision=308
2003-08-18 16:33:38 +00:00
Eelco Dolstra
5cf73363ea * No longer need this.
svn path=/nixpkgs/trunk/; revision=306
2003-08-18 15:32:31 +00:00
Eelco Dolstra
40bc2cc9b6 * Started on working towards the fully Nixified build environment, i.e., one
where we don't use any tools from outside the Nix environment.  For this we
  need the basic POSIX utilities (e.g., GNU coreutils), a shell, GCC, and the
  binutils.

  Normal packages just need to include stdenv/stdenv.fix, which on Linux will
  use the Nixified environment.  However, for the tools in the build
  environment itself we have a bootstrapping problem.  Therefore, these depend
  on the external environment (and include stdenv-linux/stdenv-nativetools).

  The package `baseenv' provides some generic setup and GCC wrappers used by
  both fully Nixified and native environments.

svn path=/nixpkgs/trunk/; revision=305
2003-08-18 15:32:13 +00:00
Eelco Dolstra
53fa95e3ad * Subversion: upgraded to 0.27.0.
svn path=/nixpkgs/trunk/; revision=303
2003-08-18 13:27:44 +00:00
Eelco Dolstra
1445fe4a26 * A package that builds source distributions of Nix. It fetches the
source from Subversion, runs autoreconf and configure, and does a `make 
  dist'.

  The revision number is currently hard-coded into `nix-dist.fix'.

svn path=/nixpkgs/trunk/; revision=302
2003-08-18 10:08:27 +00:00
Eelco Dolstra
dd19f0b526 * Make fetchsvn dependent on Subversion.
svn path=/nixpkgs/trunk/; revision=301
2003-08-18 10:06:23 +00:00
Eelco Dolstra
c173a50869 * Activate libxml (xmllint).
svn path=/nixpkgs/trunk/; revision=291
2003-08-14 17:59:10 +00:00