Commit Graph

10571 Commits

Author SHA1 Message Date
Vladimír Čunát 42ef963cd2 libarchive: *permanently* fix patch source and hash
Unfortunately github's *.patch URIs contain version of git generating them,
which changes from time to time. It seems that *.diff doesn't suffer from that.

Conflicts:
	pkgs/development/libraries/libarchive/default.nix
2014-03-30 20:40:25 +02:00
aszlig c7bac81c66
Merge 'mingw-w64' and 'darwin' into cross-win-osx.
Both branches have quite a lot in common, so it's time for a merge and
do the cleanups with respect to both implementations and also generalize
both implementations as much as possible.

This also closes #1876.

Conflicts:
	pkgs/development/interpreters/lua-5/5.2.nix
	pkgs/development/libraries/SDL/default.nix
	pkgs/development/libraries/glew/default.nix
	pkgs/top-level/all-packages.nix
2014-03-12 10:16:51 +01:00
aszlig 6998a866a8
SDL: Refactor package and fix Darwin cross-builds.
First of all, this needs two upstream patches for supporting OS X 10.9,
also the cross-gcc doesn't accept -fpascal-strings, so drop the flag.

And except putting all configure flags into a multiline string, we're
now using a list, which is easier when it comes to handling optional
components.

As X isn't used on recent Mac OS X versions and Windows, I'm temporarily
using --without-x for cross-builds until we have a better way to check
for those things.

Also, don't add audiofile to buildInputs if we're cross-compiling for
MinGW.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:48 +01:00
aszlig cdaced58ae
libpng12/cross: Don't add zlib for Darwin builds.
Cross builds for Darwin already include the CoreFoundation and the
libraries from XCode, so zlib already exists on that platform.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:48 +01:00
aszlig f73851710e
audiofile: Use alsaLib for native Linux only.
Using ALSA for non-Linux systems really doesn't make much sense, so
using buildNativeInputs to ensure it won't be used for cross-builds.

Of course, if you're cross-building to Linux, the dependency won't be
used, but right now we don't have a good way to easily check whether the
cross target is Linux.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:48 +01:00
aszlig 5e95800f26
openssl: Use Darwin patch for cross-builds too.
Might be better to have something like stdenv.isDarwinTarget, which can
be used to test for native Darwin _and_ cross-built Darwin as a target.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:47 +01: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
aszlig 30962765e0
openssl/cross: Fix build for Darwin.
This is just a minor fix, because when using "darwin64-x86_64-cc" for
config.openssl.system, the OpenSSL build scripts try to compile with
$prefix-cc, which is not available with the gcc-cross-wrapper.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:47 +01:00
aszlig 3d73bf6c57
glew/cross: Fix build for Darwin.
The Makefile still contained calls to install with the -s (strip)
option, which we don't want because it uses the native strip utility and
we're going to crossStrip in fixupPhase later anyway.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:46 +01:00
Rickard Nilsson 773d886f51 libvirt: Clean up nix file, update meta 2014-03-12 08:27:05 +01:00
Vladimír Čunát 4a0d464384 glib_networking: big update, cleanup, meta added 2014-03-11 21:56:28 +01:00
Rickard Nilsson 28437226ae libvirt: Update from 1.2.0 to 1.2.2 2014-03-11 18:27:09 +01:00
Peter Simons 4c226fb88a haskell-hledger-web: jailbreak to fix build with recent versions of yesod 2014-03-11 17:33:09 +01:00
Peter Simons d35e61913b haskell-ghcjs-codemirror: add version 0.0.0.1 2014-03-11 13:50:51 +01:00
Peter Simons 27247b0325 haskell-ghcjs-dom: add version 0.0.4 2014-03-11 13:50:51 +01:00
Peter Simons b46aac7d79 haskell-vado: add version 0.0.1 2014-03-11 13:50:51 +01:00
Peter Simons 1e662766fb haskell-vcsgui: add version 0.0.2 2014-03-11 13:50:51 +01:00
Peter Simons d0734f8aaa haskell-vcswrapper: add version 0.0.3 2014-03-11 13:50:50 +01:00
Peter Simons 902d57fe40 haskell-http-reverse-proxy: update to version 0.3.1 2014-03-11 13:50:50 +01:00
Peter Simons 55f2f3b465 haskell-alsa-mixer: update to version 0.2.0.1 2014-03-11 13:50:50 +01:00
Peter Simons 66729b6dea haskell-lens: remove obsolete version 3.10.2 2014-03-11 13:50:50 +01:00
Peter Simons 4139ea10be haskell-zip-archive: update to version 0.2.2 2014-03-11 13:50:50 +01:00
Peter Simons 46145143fc haskell-yesod-form: update to version 1.3.6 2014-03-11 13:50:50 +01:00
Peter Simons f1120ff4b5 haskell-yesod-core: update to version 1.2.7 2014-03-11 13:50:50 +01:00
Peter Simons e5cf206741 haskell-yesod-bin: update to version 1.2.7 2014-03-11 13:50:50 +01:00
Peter Simons b48704974a haskell-yesod-auth: update to version 1.2.7 2014-03-11 13:50:50 +01:00
Peter Simons ccac7c5dca haskell-x509: update to version 1.4.11 2014-03-11 13:50:50 +01:00
Peter Simons 5acfd49d17 haskell-warp: update to version 2.1.0 2014-03-11 13:50:50 +01:00
Peter Simons def8957c30 haskell-warp-tls: update to version 2.0.3.1 2014-03-11 13:50:50 +01:00
Peter Simons 6455c132c3 haskell-wai: update to version 2.1.0 2014-03-11 13:50:50 +01:00
Peter Simons 0c478ecb40 haskell-wai-test: update to version 2.0.0.2 2014-03-11 13:50:49 +01:00
Peter Simons 8a8dbb1682 haskell-wai-handler-launch: update to version 2.0.1.1 2014-03-11 13:50:49 +01:00
Peter Simons 04db259288 haskell-wai-handler-fastcgi: update to version 2.0.0.1 2014-03-11 13:50:49 +01:00
Peter Simons 5e2c633a51 haskell-wai-extra: update to version 2.1.0 2014-03-11 13:50:49 +01:00
Peter Simons 7f7b9b0fc5 haskell-wai-app-static: update to version 2.0.0.3 2014-03-11 13:50:49 +01:00
Peter Simons aee9e450ed haskell-vector-space-points: update to version 0.2 2014-03-11 13:50:49 +01:00
Peter Simons d944d6a7f1 haskell-stm-conduit: update to version 2.2.2 2014-03-11 13:50:49 +01:00
Peter Simons c43e1b9e91 haskell-scientific: update to version 0.2.0.2 2014-03-11 13:50:49 +01:00
Peter Simons d80bad8c21 haskell-pipes-bytestring: update to version 2.0.1 2014-03-11 13:50:49 +01:00
Peter Simons c843c7bb9b haskell-network-conduit: update to version 1.0.3 2014-03-11 13:50:49 +01:00
Peter Simons 585743a043 haskell-monoid-extras: update to version 0.3.3.1 2014-03-11 13:50:49 +01:00
Peter Simons 0612b4bb76 haskell-mono-traversable: update to version 0.4.0.1 2014-03-11 13:50:49 +01:00
Peter Simons aa12a34502 haskell-lifted-base: update to version 0.2.2.1 2014-03-11 13:50:49 +01:00
Peter Simons e1c9e94a6b haskell-http-conduit: update to version 2.0.0.8 2014-03-11 13:50:49 +01:00
Peter Simons 856ed85f3c haskell-hint: update to version 0.4.0.0 2014-03-11 13:50:49 +01:00
Peter Simons d675c97e65 haskell-haskell-names: update to version 0.3.2.8 2014-03-11 13:50:48 +01:00
Peter Simons 953776280c haskell-happstack-server: update to version 7.3.4 2014-03-11 13:50:48 +01:00
Peter Simons 558910cb26 haskell-ghc-mtl: update to version 1.1.0.0 2014-03-11 13:50:48 +01:00
Peter Simons 617ae22563 haskell-force-layout: update to version 0.3.0.2 2014-03-11 13:50:48 +01:00
Peter Simons 220150c6cf haskell-diagrams-svg: update to version 1.0.2 2014-03-11 13:50:48 +01:00