Commit graph

22435 commits

Author SHA1 Message Date
Eelco Dolstra
0c7969f9c8 * Allow a build to finish "succesfully" as far as Nix is concerned
even if some build phase failed if the variable `$succeedOnFailure'
  is set to 1.  If that happens, the file `$out/nix-support/failed' is
  created to mark the build result as bad.  This is useful for release
  management systems that might want to publish failed releases.

svn path=/nixpkgs/trunk/; revision=1163
2004-07-12 12:34:02 +00:00
Eelco Dolstra
8b0e40b3d4 * Always make source writable.
svn path=/nixpkgs/trunk/; revision=1153
2004-07-11 20:02:57 +00:00
Eelco Dolstra
93efdb400a * Log support in the generic builder. Just set $logPhases to 1 and
it will write the output of each phase to a separate log file in
  $out/log/.

svn path=/nixpkgs/trunk/; revision=1152
2004-07-11 18:52:25 +00:00
Eelco Dolstra
331f913861 * Add write permission to sources copied from the store.
* A new `distPhase' to build source distributions (enabled when
  $doDist = 1).
* A new `checkPhase' to perform `make check' (enabled when $doCheck =
  1).
* Allow the prefix to be redirected, either by setting $prefix or by
  setting $useTempPrefix to 1.  Useful when making distributions.
* Allow the build or install phases to be skipped by setting
  $dontBuild $dontInstall to 1.
* Allow the order of phases to be changed by setting $phases.

svn path=/nixpkgs/trunk/; revision=1151
2004-07-11 16:32:34 +00:00
Martin Bravenboer
e86a4a1112 Added the Ant wrapper. The ant script in this wrapper sets the config in environment variables and invokes core-ant.
svn path=/nixpkgs/trunk/; revision=1149
2004-07-10 16:17:48 +00:00
Martin Bravenboer
feeff4dfb1 Working on improved Ant package in Nix: do configuration in wrapper scripts. This is the 'core' Ant.
svn path=/nixpkgs/trunk/; revision=1148
2004-07-10 13:59:21 +00:00
Eelco Dolstra
d91c216e2c * Include gcc 3.4.x in the nixpkgs release.
* Remove precompiled headers, which are nice except that
  A) they don't work; and
  B) they make gcc take up 270% more disk space.

svn path=/nixpkgs/trunk/; revision=1129
2004-07-05 12:20:23 +00:00
Eelco Dolstra
2bf90b3fbf * gcc-wrapper: inherit gcc's name by default.
* gcc: upgraded to 3.4.1.

  Zie je wel, Martin, gcc is niet eng :-)

svn path=/nixpkgs/trunk/; revision=1128
2004-07-05 12:00:19 +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
Eelco Dolstra
5a00ba432c * Don't strip debug info on Darwin, otherwise links by libtool fail
("/usr/bin/ld: can't use -s with -r (resulting file would not be
  relocatable)").
* Since stdenv/generic had to be modified for this, I forked it in
  situ.  This should be merged later.

svn path=/nixpkgs/trunk/; revision=1121
2004-07-02 10:05:53 +00:00
Eelco Dolstra
ec6eb9c473 * On Darwin, use the system Perl instead of building our own for now.
* Build Subversion for Darwin.

svn path=/nixpkgs/trunk/; revision=1120
2004-07-01 16:57:31 +00:00
Eelco Dolstra
770e57d27c * Don't apply the libtool fix in Darwin, since it's not a pure build
environment.

svn path=/nixpkgs/trunk/; revision=1119
2004-07-01 16:56:19 +00:00
Eelco Dolstra
656151af3f * Ugh, let's not build GNU Hello.
svn path=/nixpkgs/trunk/; revision=1116
2004-07-01 14:55:23 +00:00
Eelco Dolstra
28c503f90f * Include all packages in powerpc-darwin.
svn path=/nixpkgs/trunk/; revision=1115
2004-07-01 14:43:41 +00:00
Eelco Dolstra
8884c47b3e * Start building packages for Mac OS X.
svn path=/nixpkgs/trunk/; revision=1113
2004-07-01 14:00:42 +00:00
Eelco Dolstra
d92fa0bf37 * Add an option to GCC to build a profiled compiler (which is about
5-10% faster).

svn path=/nixpkgs/trunk/; revision=1108
2004-07-01 12:17:53 +00:00
Eelco Dolstra
56fd464a72 * GCC 3.4 now seems to work.
svn path=/nixpkgs/trunk/; revision=1105
2004-06-29 17:33:54 +00:00
Eelco Dolstra
62981b617d * Started adding gcc 3.4.
svn path=/nixpkgs/trunk/; revision=1103
2004-06-29 08:25:55 +00:00
Eelco Dolstra
49c1176ec6 * Upgraded Bison to the latest alpha release. This fixes a segfault
in Nix.

svn path=/nixpkgs/trunk/; revision=1092
2004-06-28 12:23:07 +00:00
Eelco Dolstra
b8f20e51f4 * Added rte (real-time encoder) library.
svn path=/nixpkgs/trunk/; revision=1071
2004-06-21 20:41:32 +00:00
Eelco Dolstra
59bf3545de * Add libXext again.
svn path=/nixpkgs/trunk/; revision=1070
2004-06-21 18:56:26 +00:00
Eelco Dolstra
41548ccdab * Upgraded some xlibs.
* Upgraded zapping (probably doesn't build yet).

svn path=/nixpkgs/trunk/; revision=1069
2004-06-21 18:13:45 +00:00
Eelco Dolstra
3f9a589d53 * More updates.
svn path=/nixpkgs/trunk/; revision=1068
2004-06-21 17:00:00 +00:00
Eelco Dolstra
5503e2fc33 * Upgraded Glib, GTK, Sylpheed.
* Tried to upgrade Firefox to 0.9, but it's too broken.  It's
  basically impossible to build it automatically.  Firefox must be
  started once as a user with write permission to the Firefox
  directory to generate some files, and this can only be done
  interactively (apparently).  Hopefully 0.10 fixes this.  Firefox
  also barfs with link errors if the flag `--enable-single-profile' is
  not used.

svn path=/nixpkgs/trunk/; revision=1067
2004-06-21 15:49:03 +00:00
Martin Bravenboer
6ade14473a Latest daily distribution of StrategoXT in Nix
svn path=/nixpkgs/trunk/; revision=1066
2004-06-21 13:17:20 +00:00
Eelco Dolstra
8e22f2f58b * Unreal Tournament 2004 Demo. Also a binary-only component.
An interesting complication is that we have to change the ELF type
  of the executable from `Linux' to `SVR4', otherwise the
  `ld-linux.so.2' trick to override the glibc used doesn't work
  (apparently `Linux' is not a recognised ELF type!).

  UT doesn't work with software Mesa, so right now we impurily use
  `/usr/lib/libGL.so'.  I cannot really test whether it works with
  hardware Mesa, since it barfs with an error about missing OpenGL
  extensions.  But that's probably because I'm testing this on an
  iBook over an SSH connection to a Linux machine.

svn path=/nixpkgs/trunk/; revision=1047
2004-06-09 18:06:29 +00:00
Eelco Dolstra
ce53f3736e * Quake 3 Arena Demo. The goal is to show that Nix can also be used
to deploy existing binary-only components.

  We use the `ld-linux.so.2 PROGRAM' trick to force the use of our own
  glibc, and set LD_LIBRARY_PATH to point to the required libraries
  (X11, Mesa).

  Since Mesa is software-only, Q3A is rather slow.  I'll have to
  figure out how to use the Mesa from XFree86 (X.Org), since it knows
  how to use DRI (or at least speak the GLX protocol).  Unfortunately
  the xlibs people haven't modularised that part of XFree86 yet.

  Also, the flag `+set s_initsound 0' has to be passed to Quake to
  disable sound, otherwise it segfaults on startup.  It doesn't do
  this with the normal glibc, which is strange.  Maybe it tries to
  dynamically load some sound library or something.

svn path=/nixpkgs/trunk/; revision=1046
2004-06-09 17:59:46 +00:00
Eelco Dolstra
7bbd1fd535 * Mesa (an OpenGL implementation).
svn path=/nixpkgs/trunk/; revision=1045
2004-06-09 17:53:30 +00:00
Eelco Dolstra
3ac1041bfa * Added libXi (Xinerama? In any case Mesa needs it).
svn path=/nixpkgs/trunk/; revision=1044
2004-06-09 17:52:19 +00:00
Martin Bravenboer
3d90f961b4 Added Happy parser generator and HaRP: Haskell Regular Patterns
svn path=/nixpkgs/trunk/; revision=1043
2004-06-09 14:23:05 +00:00
Eelco Dolstra
7226e94466 * Added GNU enscript.
svn path=/nixpkgs/trunk/; revision=1040
2004-06-03 17:16:16 +00:00
Martin Bravenboer
ef73044b61 Upgrade to beta2
svn path=/nixpkgs/trunk/; revision=1039
2004-06-01 19:36:45 +00:00
Eelco Dolstra
106567146f * Subversion 1.0.4.
svn path=/nixpkgs/trunk/; revision=1038
2004-06-01 14:52:57 +00:00
Eelco Dolstra
1b47486557 * Darwin (Mac OS X) standard environment.
svn path=/nixpkgs/trunk/; revision=1031
2004-05-18 10:59:18 +00:00
Martin Bravenboer
6b2348542a Added asf library
svn path=/nixpkgs/trunk/; revision=1022
2004-05-13 18:33:12 +00:00
Martin Bravenboer
1d7474bae9 Moved the sdf2 distribution 2.0 packages to a separate Nix attribute set
svn path=/nixpkgs/trunk/; revision=1021
2004-05-13 18:16:56 +00:00
Martin Bravenboer
fec8c962ab Added the packages that constitute the sdf2 distribution 2.1 as separate packages, collected in a Nix attribute set
svn path=/nixpkgs/trunk/; revision=1020
2004-05-13 18:06:09 +00:00
Martin Bravenboer
201a93cb13 Use propagated build inputs
svn path=/nixpkgs/trunk/; revision=1019
2004-05-12 16:26:48 +00:00
Martin Bravenboer
172421635c Upgraded all SDF packages
svn path=/nixpkgs/trunk/; revision=1018
2004-05-12 16:10:43 +00:00
Martin Bravenboer
100e0387e5 More upgrades
svn path=/nixpkgs/trunk/; revision=1017
2004-05-12 15:57:23 +00:00
Martin Bravenboer
b410599fc4 More upgrades
svn path=/nixpkgs/trunk/; revision=1016
2004-05-12 15:48:39 +00:00
Martin Bravenboer
9ba11d2be6 Upgrade to generic build
svn path=/nixpkgs/trunk/; revision=1015
2004-05-12 15:35:06 +00:00
Martin Bravenboer
ffade7689e Added j2sdk-1.5.0-beta
svn path=/nixpkgs/trunk/; revision=1014
2004-05-12 15:06:23 +00:00
Martin Bravenboer
ecdac2b804 Upgrade strategoxt to 0.10
svn path=/nixpkgs/trunk/; revision=1013
2004-05-12 14:34:12 +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
7dd8485e5f * Bump version number.
svn path=/nixpkgs/trunk/; revision=992
2004-05-03 14:36:37 +00:00
Eelco Dolstra
d811b4c9d8 * Added libXv (XVideo).
* Zapping/VLC/MPlayer: use libXv.
* MPlayer: upgrade to 1.0pre4.
* Zapping: add libXext to the rpath.  I don't understand why this is
  necessary.  Zapping doesn't itself link against libXext, though some
  of its dependencies do.  (Maybe this is due to `--export-dynamic'?)

svn path=/nixpkgs/trunk/; revision=990
2004-05-01 18:17:56 +00:00
Eelco Dolstra
d357f1a8ed * The contents of this file determines whether to build a stable (`1')
or unstable (`0') release.

svn path=/nixpkgs/trunk/; revision=984
2004-04-27 10:50:05 +00:00
Eelco Dolstra
163a382727 * Don't use gettext. Also use an internal (GNU) version of getopt.
This allows it to build on non-glibc platforms (e.g., Mac OS X).

svn path=/nixpkgs/trunk/; revision=970
2004-04-23 16:29:53 +00:00
Eelco Dolstra
ec232441a2 * Valgrind: upgrade to 2.1.1.
svn path=/nixpkgs/trunk/; revision=966
2004-04-22 14:38:43 +00:00