Commit graph

181 commits

Author SHA1 Message Date
Eelco Dolstra d29fe5bfc1 * Remove dietgcc, use useDietLibC.
* glibc -> libc in some places.

svn path=/nixpkgs/trunk/; revision=6877
2006-10-27 13:52:37 +00:00
Eelco Dolstra 2d3cfb2058 * Put back in the code to do a profiled GCC build, but turn in off
(build ICEs).

svn path=/nixpkgs/trunk/; revision=6861
2006-10-26 20:23:49 +00:00
Eelco Dolstra dcebef7f8e * On powerpc-linux, use gcc-3.4 to compile dietlibc.
svn path=/nixpkgs/trunk/; revision=6856
2006-10-26 11:27:46 +00:00
Eelco Dolstra 4f03dec496 * Patch for a critical bug in bash.
svn path=/nixpkgs/trunk/; revision=6848
2006-10-25 12:38:57 +00:00
Eelco Dolstra 1080560215 * Remove old kernel headers, use 2.6.18.1.
svn path=/nixpkgs/trunk/; revision=6832
2006-10-24 22:26:09 +00:00
Eelco Dolstra 69ee353dc7 * glibc-2.5 is the default now.
* Remove gcc-static-3.4.

svn path=/nixpkgs/trunk/; revision=6831
2006-10-24 22:23:20 +00:00
Eelco Dolstra 60a9aa66bf * Switching.
svn path=/nixpkgs/trunk/; revision=6827
2006-10-24 20:53:54 +00:00
Eelco Dolstra b342dcb13b * gcc-wrapper: separately store the flags necessary to find GCC and
Glibc.  This is useful when building GCC.
* gcc-wrapper: the dynamic linker has a different name on x86_64 and
  powerpc.
* gcc-wrapper: "glibc" -> "libc", because someday we might support
  different C libraries.
* gcc: don't do a multilib build (e.g., 32-bit support on x86_64),
  don't need it.
* gcc: merge in support for static builds.
* gcc: various simplifications in the compiler/linker flags, hope they
  work.

svn path=/nixpkgs/trunk/; revision=6823
2006-10-24 18:26:23 +00:00
Eelco Dolstra d4578254b0 * Move.
svn path=/nixpkgs/trunk/; revision=6817
2006-10-24 08:07:15 +00:00
Eelco Dolstra f7b32f6bde * Firefox 2.0.
svn path=/nixpkgs/trunk/; revision=6816
2006-10-24 08:06:18 +00:00
Eelco Dolstra 461783c3a5 * useDietLibC: work properly on impure stdenvs.
* dietlibc: pass glibc explicitly.

svn path=/nixpkgs/trunk/; revision=6807
2006-10-23 17:43:55 +00:00
Eelco Dolstra 84dd812f33 Finally, the new stdenv-linux.
* The statically linked bootstrap tools are now automatically
  reproducable, just do:

  $ nix-build ./make-bootstrap-tools.nix

  The resulting binaries in result/in-nixpkgs go to
  stdenv/linux/bootstrap/<platform>/, and the tarballs in
  result/on-server go to
  https://svn.cs.uu.nl:12443/repos/trace/tarballs/trunk/stdenv-linux/<platform>/<revision>/.
  These are checked out on nix.cs.uu.nl under http://.../dist/tarballs.

* The statically linked libraries all use dietlibc now (except
  patchelf and glibc), so they are much smaller.  This is especially
  nice for the tools in the Nixpkgs tree, since it makes Nixpkgs
  tarballs smaller.

* Use Binutils 2.17 and GCC 4.1.1 for the bootstrap.

* The stdenv is now based on Glibc 2.5.  I hope it works ;-)

svn path=/nixpkgs/trunk/; revision=6803
2006-10-23 14:27:34 +00:00
Eelco Dolstra 766ff9059e * WMA plugin for BMP.
svn path=/nixpkgs/trunk/; revision=6798
2006-10-23 09:13:17 +00:00
Eelco Dolstra 3d2e573eff * GNU sed 4.1.5 compiled with dietlibc gives "Memory exhausted" errors
on trivial patterns, so use an older sed instead (4.1.2).  See
  http://linuxfromscratch.org/pipermail/hlfs-dev/2005-September/002447.html.

svn path=/nixpkgs/trunk/; revision=6792
2006-10-20 20:05:26 +00:00
Eelco Dolstra 65bbb45ab7 * Add findutils to the bootstrap tools.
svn path=/nixpkgs/trunk/; revision=6791
2006-10-20 16:01:38 +00:00
Eelco Dolstra 54c158cb84 * Function `makeStaticBinaries' that augments stdenv to produce
statically linked binaries.

svn path=/nixpkgs/trunk/; revision=6787
2006-10-20 11:49:47 +00:00
Eelco Dolstra 0bacb7b00d * Doh!
svn path=/nixpkgs/trunk/; revision=6786
2006-10-20 11:27:25 +00:00
Eelco Dolstra 63720cf493 * Add gzip, binutils. Getting there...
svn path=/nixpkgs/trunk/; revision=6784
2006-10-20 10:13:07 +00:00
Eelco Dolstra c6ecc900cf * Add more stuff to the bootstrap builder.
* Remove some redundant *Diet values in all-packages.nix.

svn path=/nixpkgs/trunk/; revision=6780
2006-10-19 21:36:51 +00:00
Eelco Dolstra 6b03da43d9 * binutils on dietlibc.
* Pass -lcompat by default in the dietlibc stdenv.

svn path=/nixpkgs/trunk/; revision=6770
2006-10-19 11:03:20 +00:00
Eelco Dolstra ce22859f8a * Bash on dietlibc.
* Pass -D_BSD_SOURCE=1 by default in the dietlibc stdenv.

svn path=/nixpkgs/trunk/; revision=6768
2006-10-18 16:16:07 +00:00
Eelco Dolstra f3619824a9 * bzip2 with dietlibc.
svn path=/nixpkgs/trunk/; revision=6767
2006-10-18 15:49:47 +00:00
Eelco Dolstra 6ff020ad3a * Build coreutils on dietlibc.
svn path=/nixpkgs/trunk/; revision=6765
2006-10-18 15:16:53 +00:00
Eelco Dolstra 5947d98f05 * Cleanup.
svn path=/nixpkgs/trunk/; revision=6764
2006-10-18 14:04:55 +00:00
Eelco Dolstra 5fb7ad141c * Notation.
svn path=/nixpkgs/trunk/; revision=6762
2006-10-18 12:52:20 +00:00
Eelco Dolstra 501ceef268 * A function `useDietLibC' that returns a modified stdenv that uses
dietlibc to produce small, statically linked binaries.  This stdenv
  also passes `-Os' to GCC automatically to optimise for size.  It
  also tries to prevent builders from linking against dynamic
  libraries (which dietlibc doesn't support).

* A function `addAttrsToDerivation' that returns a modified stdenv
  that always adds the specified attributes to the derivations that it
  produces.  Example (from curl):

    curlDiet =  import ../tools/networking/curl {
      inherit fetchurl zlib;
      stdenv = addAttrsToDerivation {
        CFLAGS = "-DHAVE_INET_NTOA_R_2_ARGS=1";
      } (useDietLibC stdenv);
    };

  (This is needed to get curl to build with dietlibc.  Also note the
  stacking of stdenv-modifying functions.)

* curl-diet: no longer necessary.

svn path=/nixpkgs/trunk/; revision=6761
2006-10-18 12:50:04 +00:00
Eelco Dolstra e643730bbf * Remove redundant parentheses.
svn path=/nixpkgs/trunk/; revision=6758
2006-10-18 10:32:45 +00:00
Eelco Dolstra 2e7e556d7e * Berkeley DB 4.5.20.
svn path=/nixpkgs/trunk/; revision=6729
2006-10-13 12:58:13 +00:00
Eelco Dolstra aa0dc058fe * Doh.
svn path=/nixpkgs/trunk/; revision=6717
2006-10-12 15:44:26 +00:00
Eelco Dolstra ef9b025dbe * Remove a bunch of unused Nix expressions.
svn path=/nixpkgs/trunk/; revision=6716
2006-10-12 15:43:01 +00:00
Eelco Dolstra d030e2fdd7 * Removed Harp.
svn path=/nixpkgs/trunk/; revision=6712
2006-10-12 14:29:05 +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 6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Eelco Dolstra 7d16a56b6f * Nix: no longer need a builder, use an external bzip2, removed
nix-unstable.

svn path=/nixpkgs/trunk/; revision=6702
2006-10-11 15:31:52 +00:00
Eelco Dolstra 29a457c5b0 * Use Nix 0.10.1.
svn path=/nixpkgs/trunk/; revision=6695
2006-10-11 12:25:40 +00:00
Armijn Hemel 7ac4f700a3 add libevent
svn path=/nixpkgs/trunk/; revision=6678
2006-10-08 10:31:55 +00:00
Eelco Dolstra 808846b2c9 * Firefox 2.0 RC 1.
svn path=/nixpkgs/trunk/; revision=6655
2006-10-04 13:59:41 +00:00
Eelco Dolstra ba02abde1f * Bison 2.1 -> 2.3.
svn path=/nixpkgs/trunk/; revision=6639
2006-10-02 16:18:04 +00:00
Eelco Dolstra 85230c348a * Some Bison/Flex refactoring.
* Added Bison 2.3.

svn path=/nixpkgs/trunk/; revision=6635
2006-10-02 15:14:17 +00:00
Eelco Dolstra d4f1a3ef86 * Opera 9.02.
svn path=/nixpkgs/trunk/; revision=6622
2006-09-29 09:06:56 +00:00
Eelco Dolstra 756d1aca79 * Export ../lib/default.nix.
svn path=/nixpkgs/trunk/; revision=6620
2006-09-28 14:12:09 +00:00
Eelco Dolstra b8cdbb94f8 * Put utility functions like fold in lib/default.nix.
svn path=/nixpkgs/trunk/; revision=6605
2006-09-25 10:07:59 +00:00
Eelco Dolstra dbda65a6f3 * Check for the existence of getEnv.
svn path=/nixpkgs/trunk/; revision=6600
2006-09-24 21:49:07 +00:00
Eelco Dolstra ed58e70864 * Rather than having the Nixpkgs config file as a flat set of
configuration switches, it should be structured.  For instance,

  {
    firefox = {
      enableRealPlayer = true;
    };
    quake3 = {
      dataFiles = "/windows/D/Program Files/Quake 3/baseq3";
    }
  }

  Configuration switches can be obtained using the function getConfig,
  e.g., `getConfig ["firefox" "enableRealPlayer"] false'.

svn path=/nixpkgs/trunk/; revision=6596
2006-09-24 18:59:49 +00:00
Eelco Dolstra 21025cb280 * Site-local configuration for Nixpkgs can now be stored in
$NIXPKGS_CONFIG or $HOME/.nixpkgs/config.nix.  E.g., a configuration
  file

    { enableRealPlayer = true; }

  will cause the RealPlayer plugin to be enabled in the Firefox
  wrapper, which isn't the default case.  Previously users had to
  modify all-packages.nix for this sort of thing, which made it tricky
  to keep an installation up-to-date without losing those local
  configuration changes (channels would override such changes
  completely, for instance).

svn path=/nixpkgs/trunk/; revision=6595
2006-09-24 18:38:12 +00:00
Armijn Hemel 1995e1265e add gnash, the GNU Flash Player. Might need some reworking with regard to the
location of the flash plugin. Also, is probably very impure (needs testing
on NixOS).

svn path=/nixpkgs/trunk/; revision=6591
2006-09-24 12:23:13 +00:00
Eelco Dolstra f772de22a1 * Updated the kernel to 2.6.17.13.
* Run `make oldconfig' before building.
* Split buildPhase into configure/build/installPhase.
* Strip the kernel modules for a huge space savings.

svn path=/nixpkgs/trunk/; revision=6555
2006-09-18 22:09:47 +00:00
Eelco Dolstra eb52c845f2 * Sorted the contents of all-packages.nix.
svn path=/nixpkgs/trunk/; revision=6535
2006-09-15 15:28:53 +00:00
Eelco Dolstra 2d9c5481cf * It compiles!
svn path=/nixpkgs/trunk/; revision=6522
2006-09-14 20:49:00 +00:00
Eelco Dolstra 8e5b302403 * Qt: enable OpenGL, Xrandr, Xinerama support.
* MythTV: add OpenGL stuff.

svn path=/nixpkgs/trunk/; revision=6520
2006-09-14 13:24:06 +00:00