Commit graph

909 commits

Author SHA1 Message Date
Lluís Batlle i Rossell 9b977f5c60 Fixing many things related to the cross compilation in stdenvCross.
It still does not work, but I think I already get glibc cross compiled.
Next: gcc and g++, and set some setup script hooks on stdenvCross.

It took quite enough hours for this commit.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18351
2009-11-15 05:28:35 +00:00
Lluís Batlle i Rossell 2aba922d30 My first attempt at getting cross compilers in nixpkgs.
My idea is to provide special stdenv expressions that will contain in the path
additional cross compilers. As most expressions for programs accept a stdenv parameter, 
we could substitute this parameter with the special stdenv, which will have a
generic builder that attempts the usual "--target=..." and can additionally
have an env variable like "cross" with the target architecture set.
So, finally we could have additional expressions like this:

bashRealArm = makeOverridable (import ../shells/bash) {
    inherit fetchurl bison;
    stdenv = stdenvCross "armv5tel-unknown-linux-gnueabi";
};

Meanwhile it does not work - I still cannot get the cross-gcc to build.

I think it does not fill the previous expressions with a lot of noise, so I
think it may be a good path to follow.

I only touched some files of the current stdenv: gcc-4.3, kernel headers
2.6.28, glibc 2.9, ...

I tried to use the gcc-cross-wrapper, that may be very outdated. Maybe I will
update it, or update the gcc-wrapper expression to make it fit the cross tools,
but meanwhile I even cannot build gcc, so I have not tested the wrapper.

This new idea on cross compiling is not similar to that of the
nixpkgs/branches/cross-compilation, which mostly added bare new expressions for
anything to be cross compiled, if I understood it correctly.

I cared not to break anything of the usual stdenv in all this work.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18343
2009-11-14 08:11:30 +00:00
Lluís Batlle i Rossell 6864119104 Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18341
2009-11-13 19:19:34 +00:00
Lluís Batlle i Rossell 605b62da11 Enabling ipv6 at least as module in the zen5 arm kernel
svn path=/nixpkgs/branches/stdenv-updates/; revision=18315
2009-11-09 23:26:34 +00:00
Lluís Batlle i Rossell 6d092c3371 Adding kvm88, although without the patches kvm86 had for some nix advantages (samba, ...),
because they don't apply directly.

svn path=/nixpkgs/trunk/; revision=18309
2009-11-09 11:55:23 +00:00
Michael Raskin 6722c6c22f A package to feed to HAL to get synaptics support
svn path=/nixpkgs/trunk/; revision=18299
2009-11-08 22:12:55 +00:00
Lluís Batlle i Rossell 1b37fc42bb Updating options for the versatileARM kernel, so it matches something
usable and buildable from a sheevaplug.
I took the additional settings from:
http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu


svn path=/nixpkgs/branches/stdenv-updates/; revision=18296
2009-11-08 20:09:37 +00:00
Lluís Batlle i Rossell 7769ad11bd Updating the logic to put the resulting kernel image into its store path.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18289
2009-11-08 17:19:46 +00:00
Marco Maggesi e3204aa407 New version of cryopid.
Update package cryopid to a new (unstable) version.
The old (stable) version of cryopid works only with old linux kernels.

svn path=/nixpkgs/trunk/; revision=18286
2009-11-08 10:38:07 +00:00
Lluís Batlle i Rossell 4326d07c11 Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates2/; revision=18278
2009-11-08 01:57:40 +00:00
Lluís Batlle i Rossell f1ee14bfaf Removing fetchgit --depth and its usage. It does not provide much advantages...
I think it takes the recent N commits into the repository, which says very little,
even for wanting master/HEAD.

svn path=/nixpkgs/trunk/; revision=18277
2009-11-08 01:51:20 +00:00
Lluís Batlle i Rossell 4b27d28701 Porting changes from stdenv-updates into this branch.
This comes from:
svn diff  ^/nixpkgs/trunk/@18255 ^/nixpkgs/branches/stdenv-updates/ > diff
patch -p0 < diff
and then adding into svn all files new from the patch.

trunk@18255 comes from the last time I updated stdenv-updates from trunk.


svn path=/nixpkgs/stdenv-updates2/; revision=18272
2009-11-08 00:32:12 +00:00
Michael Raskin 6e86ca940f Make a medium-depth checkout
svn path=/nixpkgs/trunk/; revision=18266
2009-11-07 19:43:53 +00:00
Michael Raskin dca59abcca Update Zen Kernel
svn path=/nixpkgs/trunk/; revision=18174
2009-11-05 23:32:48 +00:00
Michael Raskin df69473bd2 Add directvnc. Not sure whether it works - for me it hangs, but I have known Radeon issues, it seems
svn path=/nixpkgs/trunk/; revision=18159
2009-11-05 21:10:51 +00:00
Peter Simons 4d675a283e pkgs/development/interpreters/python/2.6/default.nix: fixed build on Darwin
svn path=/nixpkgs/trunk/; revision=18136
2009-11-05 13:44:30 +00:00
Eelco Dolstra 4f839e9a54 * Sync with the trunk.
svn path=/nixpkgs/branches/xorg-7.5/; revision=18122
2009-11-04 22:37:24 +00:00
Eelco Dolstra 45ba16864f * Deleted some obsolete kernels (2.6.20, 2.6.21, 2.6.22, 2.6.23 and
the 2.6.31rcs).

svn path=/nixpkgs/trunk/; revision=18065
2009-11-01 17:17:40 +00:00
Eelco Dolstra c9b79a3d84 * Oops, wrong version.
svn path=/nixpkgs/trunk/; revision=18057
2009-10-30 18:13:08 +00:00
Eelco Dolstra 65d399ff81 * Upstart 0.6.2.
svn path=/nixpkgs/trunk/; revision=18056
2009-10-30 18:12:28 +00:00
Eelco Dolstra 97ea4b3375 * Updated ALSA.
svn path=/nixpkgs/branches/xorg-7.5/; revision=18055
2009-10-30 15:05:13 +00:00
Eelco Dolstra 35593f5cd5 * NVIDIA X11 driver updated to 190.42.
svn path=/nixpkgs/branches/xorg-7.5/; revision=18023
2009-10-29 13:47:44 +00:00
Eelco Dolstra 41879a5c74 * Linux 2.6.27.38.
svn path=/nixpkgs/trunk/; revision=17985
2009-10-28 12:07:00 +00:00
Michael Raskin ab85fbeec4 Updating fbterm
svn path=/nixpkgs/trunk/; revision=17981
2009-10-27 23:49:59 +00:00
Ludovic Courtès 37b42b3ab7 Linux: Enable `sdhci', for Ricoh SD readers.
svn path=/nixpkgs/trunk/; revision=17954
2009-10-25 15:22:54 +00:00
Michael Raskin c6c9129761 Removing references to old zen-kernels that are in archived branches; Updating from zen-sources.org to zen-kernel.org; Updating revision; Adding patch by Pierre to enable external hubs
svn path=/nixpkgs/trunk/; revision=17930
2009-10-23 05:21:54 +00:00
Eelco Dolstra 21ddf5e52e * Linux 2.6.27.37.
svn path=/nixpkgs/trunk/; revision=17909
2009-10-21 13:07:09 +00:00
Peter Simons 90dd9d14bf python-2.6: fixed build on Darwin
* Dropped "nolongdouble.patch". The patch no longer applies to Python 2.6, and
   apparently isn't required anymore either.

 * Added access to native Darwin arch utility. Python tries to run 'arch' in
   the configure stage, but that binary reside in /usr/bin. To make it
   available to the expression, the small wrapper darwinArchUtility is added as
   a buildInput if appropriate.

 * Don't pass --enable-shared. The build fails if we try to enable building of
   shared libraries, apparently because some required libraries aren't linked,
   i.e. the linker call isn't right.

TODO:

 * Figure out how to enable shared linking.

 * The resulting binary on Darwin seem to lack the binascii module.

svn path=/nixpkgs/trunk/; revision=17894
2009-10-20 12:13:49 +00:00
Lluís Batlle i Rossell 662dbb3cb4 Updating ipw2200 firmware from 3.0 to 3.1.
I found no benefit from it. This card worked at most at 500KB/s for me at bitrate 54Mb/s,
and it works the same way with the fw 3.1.

svn path=/nixpkgs/trunk/; revision=17812
2009-10-14 21:56:45 +00:00
Eelco Dolstra 257ffc8e73 * Fix broken meta attributes.
svn path=/nixpkgs/trunk/; revision=17773
2009-10-13 09:39:27 +00:00
Eelco Dolstra 55ad6675dc * Fix some packages that broke because libuuid can be null on Darwin.
buildDefs doesn't like buildInputs containing nulls.
* In all-packages.nix: xfsProgs -> xfsprogs, jfsUtils -> jfsutils to
  match the upstream name.

svn path=/nixpkgs/trunk/; revision=17726
2009-10-08 13:07:56 +00:00
Michael Raskin cd2e2948a8 Adding a zen-stable head version
svn path=/nixpkgs/trunk/; revision=17663
2009-10-06 06:12:08 +00:00
Michael Raskin edbbddce1d A case study in transitive overrides. WebKit needs fresh glib. This means it needs a whole slice of system built against glib-2.22.. Added overrides are generic enough, though. So the same way can be used to override everything. I have failed (so far?) to add mkOverridable into stdenv, though.
svn path=/nixpkgs/trunk/; revision=17661
2009-10-06 05:43:51 +00:00
Eelco Dolstra 68082057fe * Urgh.
svn path=/nixpkgs/trunk/; revision=17614
2009-10-02 15:15:18 +00:00
Eelco Dolstra e4672f42e5 svn path=/nixpkgs/trunk/; revision=17613 2009-10-02 15:06:07 +00:00
Michael Raskin be8eb4e6d7 Gw6c tarball is now uncompessed.. Do not ask me why
svn path=/nixpkgs/trunk/; revision=17515
2009-09-29 16:22:23 +00:00
Michael Raskin e2b05ffd3a Gw6c client got updated
svn path=/nixpkgs/trunk/; revision=17513
2009-09-29 15:59:37 +00:00
Eelco Dolstra 176c0e32b1 * net-tools: install the manpages in $out/share/man/manN instead of
$out/share/manN.  Cleaned up the expression at the same time.

svn path=/nixpkgs/trunk/; revision=17509
2009-09-29 15:33:03 +00:00
Michael Raskin 9bcea7563d Boost library reference change no longer needed
svn path=/nixpkgs/trunk/; revision=17487
2009-09-29 04:30:28 +00:00
Eelco Dolstra af88789507 * Bluez 4.54.
svn path=/nixpkgs/trunk/; revision=17473
2009-09-28 16:25:38 +00:00
Eelco Dolstra 06e126b48f * Latest libsmbios.
* Build HAL with libsmbios support.

svn path=/nixpkgs/trunk/; revision=17472
2009-09-28 15:33:42 +00:00
Eelco Dolstra 9bc85fda47 * qemu-kvm 0.11.0.
svn path=/nixpkgs/trunk/; revision=17468
2009-09-28 14:28:20 +00:00
Eelco Dolstra b642db4d0e * Build HAL with pm-utils support.
svn path=/nixpkgs/trunk/; revision=17450
2009-09-26 20:29:26 +00:00
Eelco Dolstra 77ba759b5a * Install HAL's umount helper. This is necessary to allow non-root
users to unmount or eject removable media mounted through HAL from
  the command-line.

svn path=/nixpkgs/trunk/; revision=17447
2009-09-26 18:56:53 +00:00
Eelco Dolstra 363f3fd1b9 * Use /etc/pm for the configuration.
svn path=/nixpkgs/trunk/; revision=17446
2009-09-26 17:09:51 +00:00
Eelco Dolstra a96c83d70e * Build HAL with ConsoleKit and PolicyKit support. Without it, HAL's
configure script prints out this ominous warning:

WARNING: PolicyKit is disabled. You need to manually edit the hal.conf
         file to lock down the service. Failure to do so allows any
         caller to make hald do work on their behalf which may be
         a huge SECURITY HOLE. I repeat: YOU NEED TO EDIT THE FILE
         hal.conf to match your distro/site to avoid NASTY SECURITY HOLES.

  Note that HAL only builds with the old PolicyKit (it looks for
  polkit.pc).  Reverted ConsoleKit to the last version that used the
  old PolicyKit for this reason.

svn path=/nixpkgs/trunk/; revision=17432
2009-09-25 23:05:53 +00:00
Eelco Dolstra ef2f9c1968 * Added pm-utils.
svn path=/nixpkgs/trunk/; revision=17430
2009-09-25 21:43:25 +00:00
Eelco Dolstra 90fc367427 * e2fsprogs 1.41.9.
svn path=/nixpkgs/trunk/; revision=17429
2009-09-25 20:53:21 +00:00
Eelco Dolstra 213519d327 * Linux 2.6.27.35.
svn path=/nixpkgs/trunk/; revision=17422
2009-09-25 18:59:07 +00:00
Eelco Dolstra 251c7207cf * Revert to KVM 76 in the VM build functions. The latest qemu-kvm has
weird performance and data corruption regressions in the build farm.

svn path=/nixpkgs/trunk/; revision=17364
2009-09-23 14:24:37 +00:00