Commit Graph

3894 Commits

Author SHA1 Message Date
Michael Raskin
d352d54b11 Added a new setup proposal, builder is no more derived from shell script (where edit=glibc rebuild), but is composed from a nix attribute set with strings and dependencies - so if you add a function, old expressions ignore it; collateral damage are packages in this style: Fastest Fourier Transform in the West, Audacity sound editor, Falling Sand game. Also added string equality that ignores dependencies to lib. Note that hasSuffixHack is now the more predictable version, but hasSuffix is left to remind us to fix the bug.
svn path=/nixpkgs/trunk/; revision=9549
2007-10-29 10:52:04 +00:00
Michael Raskin
4ff2543e03 The Falling Sand Game itself.
svn path=/nixpkgs/trunk/; revision=9544
2007-10-27 17:56:24 +00:00
Eelco Dolstra
607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00
Eelco Dolstra
45a2c87402 * Support for mirror:// URLs a la Gentoo (NIXPKGS-70). Instead of
fetchurl {
      url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.9.6.tar.bz2;
      md5 = "8306775c6a11de4d72345b5eee970ea6";
    };

  you can write

    fetchurl {
      url = mirror://sourceforge/zapping/zapping-0.9.6.tar.bz2;
      md5 = "8306775c6a11de4d72345b5eee970ea6";
    };

  which causes fetchurl to try the SourceForge mirrors listed in the
  `sourceforge' attribute in build-support/fetchurl/mirrors.nix.
  (They're currently tried in sequence, and the lists of mirrors are
  not configurable yet.)

  The syntax for mirror URLs is mirror://site/path/to/file, where
  `site' is currently one of `sourceforge', `gnu' (mirrors of
  ftp://ftp.gnu.org/pub/gnu) and `kernel' (mirrors of
  http://www.all.kernel.org/pub/).

svn path=/nixpkgs/trunk/; revision=9197
2007-08-27 12:44:01 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Michael Raskin
822a3e4ead Added ThePenguinMachine. Build technically broken (but dumps compile dir to /tmp, and it runs from there.. I want to fix it first), and it crashes in a very strage way.
svn path=/nixpkgs/trunk/; revision=9084
2007-08-09 18:11:57 +00:00
Armijn Hemel
a40edab035 update to 0.10.0
svn path=/nixpkgs/trunk/; revision=8918
2007-06-25 22:48:45 +00:00
Eelco Dolstra
ec882e97d5 * Use a non-corrupt copy of linuxq3apoint-1.31.x86.run.
* Make the baseq3 files a fixed-output derivation, so that if
  (say) stdenv changes, it doesn't have to be rebuilt.  This
  is nice because the baseq3 directory is pretty big.

svn path=/nixpkgs/trunk/; revision=8781
2007-05-27 14:57:59 +00:00
Eelco Dolstra
cee7711f32 * Fixed the Q3A URLs.
svn path=/nixpkgs/trunk/; revision=8778
2007-05-27 10:36:02 +00:00
Eelco Dolstra
1171d3e22c * Added GemRB, a reimplementation of the Infinity Engine.
svn path=/nixpkgs/trunk/; revision=8695
2007-05-14 21:47:11 +00:00
Eelco Dolstra
f2da0ba2c4 svn path=/nixpkgs/trunk/; revision=8653 2007-05-03 16:13:14 +00:00
Eelco Dolstra
a533c69b39 * Latest ScummVM.
svn path=/nixpkgs/trunk/; revision=8652
2007-05-03 15:24:13 +00:00
Eelco Dolstra
735bad8c32 * Now Nixpkgs is officially complete.
svn path=/nixpkgs/trunk/; revision=7573
2007-01-08 21:19:15 +00:00
Eelco Dolstra
bbe62e266b * Remove references to dontMakeInstall.
svn path=/nixpkgs/trunk/; revision=7500
2006-12-27 18:24:26 +00:00
Eelco Dolstra
2bfcec0e04 * Oops, don't assume dosbox to be in $PATH.
svn path=/nixpkgs/trunk/; revision=7135
2006-11-26 14:10:28 +00:00
Eelco Dolstra
ef4fe4f102 * Use a proper distribution.
svn path=/nixpkgs/trunk/; revision=6896
2006-10-28 22:31:46 +00:00
Eelco Dolstra
c391e5855b * An example of supporting legacy applications using dosbox ;-)
svn path=/nixpkgs/trunk/; revision=6895
2006-10-28 22:28:35 +00:00
Eelco Dolstra
b90781ec21 * Renamed orig-glibc -> orig-libc in some places, and in others, use
the new $NIX_GCC/nix-support/dynamic-linker file to locate the
  dynamic linker directly (don't hardcode ld-linux.so.2).

svn path=/nixpkgs/trunk/; revision=6873
2006-10-27 12:43:32 +00:00
Eelco Dolstra
76405f2b7f * `drv + /path' is deprecated, so don't do that anymore.
svn path=/nixpkgs/trunk/; revision=6754
2006-10-17 14:06:18 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra
368c196a62 * More descriptions.
svn path=/nixpkgs/trunk/; revision=6709
2006-10-12 10:53:16 +00:00
Eelco Dolstra
6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Eelco Dolstra
2ad0491113 * Exult now with glorious Roland MT-32 music!
svn path=/nixpkgs/trunk/; revision=6503
2006-09-12 15:23:28 +00:00
Eelco Dolstra
1dedc5ef87 * Added Exult.
svn path=/nixpkgs/trunk/; revision=6501
2006-09-12 00:15:05 +00:00
Eelco Dolstra
bf1e734f85 * Don't use the subpath operator (~) anymore, it's subsumed by normal
concatenation (+).

svn path=/nixpkgs/trunk/; revision=6080
2006-08-09 15:05:30 +00:00
Armijn Hemel
d9ec01e77f add scummvm (scummvm.sf.net)
svn path=/nixpkgs/trunk/; revision=6079
2006-08-08 23:39:03 +00:00
Eelco Dolstra
9f898a586b * Copy even more files (in particular from losser.st-lab.cs.uu.nl,
can't assume that it will live forever).

svn path=/nixpkgs/trunk/; revision=4624
2006-01-30 16:11:00 +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
3ba77c1b40 * Get the Unreal Tournament 2004 demo to work with the new scheme for
handling OpenGL.

svn path=/nixpkgs/trunk/; revision=4616
2006-01-30 11:44:39 +00:00
Eelco Dolstra
7f74c406c4 * In Quake 3, by default use Mesa as the OpenGL implementation. But
allow the OpenGL implementation to be overriden through the
  OPENGL_DRIVER environment variable.  If it is not set, we use the
  implementation installed in the profile
  /nix/var/nix/profiles/opengl, allowing easy late binding by the
  user, e.g.,

    $ nix-env -p /nix/var/nix/profiles/opengl -i nvidia-sys-opengl

  might install the NVidia OpenGL implementation.

  The code that does this is not specific to Quake 3: it has been
  factored out into build-support/opengl/mesa-switch.sh.  Presumably
  any application that requires hardware-accelerated OpenGL needs it.

* Add the Quake 3 demo to the cache.

svn path=/nixpkgs/trunk/; revision=4612
2006-01-28 00:41:16 +00:00
Eelco Dolstra
3263d078dd * Get the Quake 3 demo data to work with the open source Quake 3.
quake3/demo takes care of downloading and patching the required PAK
  files.  quake3/wrapper calls the Quake binary with a synthesised
  directory of symlinks to activated PAK files.  This should make it
  easy to plug in the commercial PAKs, or third-party mods.

svn path=/nixpkgs/trunk/; revision=4611
2006-01-27 23:51:36 +00:00
Eelco Dolstra
6557c84b19 * Fix the fix.
svn path=/nixpkgs/trunk/; revision=4601
2006-01-26 18:53:45 +00:00
Armijn Hemel
691e719ef0 fix the Nix expression, so it evaluates correctly...
svn path=/nixpkgs/trunk/; revision=4599
2006-01-26 18:50:25 +00:00
Eelco Dolstra
d24417654c * Put a tarball of the Quake 3 sources somewhere.
svn path=/nixpkgs/trunk/; revision=4596
2006-01-26 15:31:37 +00:00
Eelco Dolstra
059858741c * Added basic Quake 3. Some wrapper stuff is still needed to get it
to work "out of the box" with hardware acceleration and either the
  shareware or full PAK files.  But with some hackery, I have gotten
  it to work with both Mesa software rendering and NVidia hardware
  rendering.

svn path=/nixpkgs/trunk/; revision=4595
2006-01-26 14:43:05 +00:00
Eelco Dolstra
82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Eelco Dolstra
b6befed50e * Updated SDL, NASM and Generator to the latest versions.
* Moved Generator to the misc/emulators directory.

svn path=/nixpkgs/trunk/; revision=4330
2005-12-03 01:33:18 +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
Eelco Dolstra
023e502340 * The latest Generator (Genesis / Mega Drive emulator). No longer
crashes when not started in full-screen mode.

svn path=/nixpkgs/trunk/; revision=3316
2005-07-12 11:40:16 +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
Eelco Dolstra
dc29a4ac48 * Added SDL, Simple DirectMedia Layer.
* Added NASM, the Netwide Assembler.
* Added Generator, an emulator for Sega Genesis / Mega Drive machines.
  Built with XVideo patch. Strangely it crashes with a GDK error when
  started in normal mode.  However, with the "-a" switch (arcade mode)
  it works, and subsequently switching back to windowed mode (Ctrl-F)
  also works.

svn path=/nixpkgs/trunk/; revision=1509
2004-09-26 18:12:51 +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
57c5759250 * Missing file.
svn path=/nixpkgs/trunk/; revision=902
2004-04-01 20:20:09 +00:00