Commit Graph

93 Commits

Author SHA1 Message Date
John Wiegley
195800e881 Do not use static-libgcc flag on Darwin 2014-06-16 14:26:40 -07:00
aszlig
625d7b9043
Merge pull request #1928 from 'cross-win-osx'.
This includes a lot of fixes for cross-building to Windows and Mac OS X
and could possibly fix things even for non-cross-builds, like for
example OpenSSL on Windows.

The main reason for merging this in 14.04 already is that we already
have runInWindowsVM in master and it doesn't work until we actually
cross-build Cygwin's setup binary as the upstream version is a fast
moving target which gets _overwritten_ on every new release.

Conflicts:
	pkgs/top-level/all-packages.nix
2014-04-21 10:00:35 +02:00
aszlig
33acfbe917
minizip: New package based on zlib derivation.
This is needed by Chromium and is part of the zlib source tree in
contrib/, so let's propagate the version of zlib and use the same source
tree.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-04-19 03:58:40 +02:00
aszlig
8c053312b5
zlib/cross: Fix build for Darwin.
Provide the correct cross ranlib, because native ranlib will fail.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:47 +01:00
Vladimír Čunát
3e3f70713f zlib: minor update 1.2.7 -> 1.2.8 2013-04-30 09:15:15 +02:00
Eelco Dolstra
88b11196c1 Clean up redundant "if condition then true else false" 2012-12-28 19:57:47 +01:00
Eelco Dolstra
b5fa2175db * Zlib updated to 1.2.7.
svn path=/nixpkgs/branches/stdenv-updates/; revision=34009
2012-05-07 20:10:50 +00:00
Yury G. Kudryashov
3fa0cbb011 zlib_latest == zlib, so remove zlib/latest.nix
svn path=/nixpkgs/trunk/; revision=32828
2012-03-06 14:35:37 +00:00
Eelco Dolstra
a753c4a170 * GCC 4.6.3 and 4.5.3.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32734
2012-03-01 23:15:21 +00:00
Eelco Dolstra
11d1104a88 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32731
2012-03-01 22:22:24 +00:00
Yury G. Kudryashov
0210e20b5a svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32713
2012-03-01 07:04:39 +00:00
Lluís Batlle i Rossell
cb5bbe00fe Adding the latest zlib, otherwise vlc does not build.
This also could be used for a newer cmake, or some trouble there was with libxml2.


svn path=/nixpkgs/trunk/; revision=32598
2012-02-26 20:06:01 +00:00
Eelco Dolstra
d575666a12 * Fix building zlib on Cygwin.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32358
2012-02-17 17:02:18 +00:00
Yury G. Kudryashov
0de0994bc4 zlib: largefile_source problem fixed upstream
svn path=/nixpkgs/branches/stdenv-updates/; revision=32135
2012-02-08 05:05:46 +00:00
Lluís Batlle i Rossell
1f3f0e6b65 Updating zlib. The zlib.net site is down, but I could pick the file from a gentoo distfiles mirror.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32133
2012-02-07 21:51:03 +00:00
Eelco Dolstra
ef7b97bade * Fix the zlib build (the patch didn't apply).
svn path=/nixpkgs/branches/stdenv-updates/; revision=30847
2011-12-12 13:45:24 +00:00
Lluís Batlle i Rossell
32b3de1f96 Updating the zlib patch to the patch proposed in the zlib-devel list regarding this issue.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30349
2011-11-08 22:51:11 +00:00
Eelco Dolstra
0880b96a3d * Apply the zlib/cmake updates from the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30309
2011-11-07 22:54:45 +00:00
Eelco Dolstra
bb889c3605 * Revert both r30278 (cmake upgrade) and r30307 (zlib fix to get cmake
to build).  These are more appropriate to the stdenv branch.  I'll
  apply them there.

svn path=/nixpkgs/trunk/; revision=30308
2011-11-07 22:05:46 +00:00
David Guibert
f5a2998c03 fix _LARGEFILE64_SOURCE in zlib
svn path=/nixpkgs/trunk/; revision=30307
2011-11-07 21:33:37 +00:00
Lluís Batlle i Rossell
706b80c282 I wrote bad my attempt at -static-libgcc. Retrying.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30024
2011-10-25 18:52:32 +00:00
Lluís Batlle i Rossell
3fa51ac56a Trying to disable the references to the bootstrap-tools libgcc
svn path=/nixpkgs/branches/stdenv-updates/; revision=30022
2011-10-25 18:35:17 +00:00
Yury G. Kudryashov
0bfc84b0aa Cross-compile zlib for Windows
svn path=/nixpkgs/trunk/; revision=26928
2011-04-23 06:59:04 +00:00
Eelco Dolstra
3c57f1fd8a * Fix zlib 1.2.5 on Cygwin. (The Makefile doesn't support building
just a static library.)

svn path=/nixpkgs/trunk/; revision=22748
2010-07-27 11:37:29 +00:00
Eelco Dolstra
b7324318cf * zlib updated to 1.2.5.
svn path=/nixpkgs/branches/x-updates/; revision=22637
2010-07-18 21:52:39 +00:00
Michael Raskin
aadb898a0b Implementing a fix allowing deepOverride without changing dependency-tree-leaf packages
svn path=/nixpkgs/trunk/; revision=22533
2010-07-08 15:31:59 +00:00
Michael Raskin
ccc497f80d Make WebKit use libsoup 2.31.2 via deepOverride. Edit a few packages that were overridable but did not allow extra arguments. Remove a catch with deepOverride that pkgs.lib had this attribute in a different sense.
svn path=/nixpkgs/trunk/; revision=22529
2010-07-08 13:25:52 +00:00
Lluís Batlle i Rossell
12e960f592 Adding dropbear, a small implementation of ssh2 client and server.
I made it statically build by default

I had to fix the zlib static cross-build, because the native stripping corrupted the target
static library. It is not the first time I see this.

I add drobear to the cross-built packages for hydra.


svn path=/nixpkgs/trunk/; revision=20518
2010-03-09 23:11:12 +00:00
Lluís Batlle i Rossell
ca5d91aa60 Made more libraries cross compile. fontconfig, libxcb, bzip2, libdrm, zlib...
I was trying to cross compile SDL. Many dependencies work, but I ended seeing
libX11 not ready for cross compilation. Other xorg libraries cross-compile
well. libX11 may need a small patch. The problem is the usual "configure test
cannot be run in cross compilation", so the configure script halts.

I made the pkgconfig expression always return buildDrv, as I think it rarely
will be needed as buildInput. So to avoid rewriting all its mentions to use
it as buildNativeInput, I prefered this small change.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18500
2009-11-21 10:44:22 +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
Eelco Dolstra
659023aa97 * Hack for building zlib on Cygwin (NIXPKGS-28).
svn path=/nixpkgs/trunk/; revision=8768
2007-05-24 16:05:40 +00:00
Armijn Hemel
55e322ca6c variability, add a static variant, default is to use shared libraries
svn path=/nixpkgs/trunk/; revision=5932
2006-07-25 08:24:22 +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
c9ac877503 * ZLib updated to 1.2.3.
svn path=/nixpkgs/trunk/; revision=3415
2005-07-23 21:00:06 +00:00
Eelco Dolstra
7775caaa35 * Evacuate tarballs.
svn path=/nixpkgs/trunk/; revision=2527
2005-04-11 13:09:01 +00:00
Eelco Dolstra
67140c410f * Zlib updated to 1.2.2.
svn path=/nixpkgs/trunk/; revision=2517
2005-04-11 08:53:48 +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
a801ea32a8 * Merge zlib mac patch.
svn path=/nixpkgs/trunk/; revision=1445
2004-09-18 17:58:42 +00:00
Eelco Dolstra
68327c3a9d * Fix brokenness due to automatic transformations.
svn path=/nixpkgs/trunk/; revision=879
2004-03-30 12:40:55 +00:00
Eelco Dolstra
12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra
5941f66f0e * The stdenv setup script now defines a generic builder that allows
builders for typical Autoconf-style to be much shorten, e.g.,

    . $stdenv/setup
    genericBuild

  The generic builder does lots of stuff automatically:

  - Unpacks source archives specified by $src or $srcs (it knows about
    gzip, bzip2, tar, zip, and unpacked source trees).
  - Determines the source tree.
  - Applies patches specified by $patches.
  - Fixes libtool not to search for libraries in /lib etc.
  - Runs `configure'.
  - Runs `make'.
  - Runs `make install'.
  - Strips debug information from static libraries.
  - Writes nested log information (in the format accepted by
    `log2xml').

  There are also lots of hooks and variables to customise the generic
  builder.  See `stdenv/generic/docs.txt'.

* Adapted the base packages (i.e., the ones used by stdenv) to use the
  generic builder.

* We now use `curl' instead of `wget' to download files in `fetchurl'.

* Neither `curl' nor `wget' are part of stdenv.  We shouldn't
  encourage people to download stuff in builders (impure!).

* Updated some packages.

* `buildinputs' is now `buildInputs' (but the old name also works).

* `findInputs' in the setup script now prevents inputs from being
  processed multiple times (which could happen, e.g., if an input was
  a propagated input of several other inputs; this caused the size
  variables like $PATH to blow up exponentially in the worst case).

* Patched GNU Make to write nested log information in the format
  accepted by `log2xml'.  Also, prior to writing the build command,
  Make now writes a line `building X' to indicate what is being
  built.  This is unfortunately often obscured by the gigantic tool
  invocations in many Makefiles.  The actual build commands are marked
  `unimportant' so that they don't clutter pages generated by
  `log2html'.


svn path=/nixpkgs/trunk/; revision=845
2004-03-19 16:53:04 +00:00
Eelco Dolstra
026ff9466a * Rename .fix -> .nix.
svn path=/nixpkgs/trunk/; revision=511
2003-11-18 12:12:56 +00:00
Eelco Dolstra
48c3faca51 * Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
2003-11-14 09:59:13 +00:00