* Sync with the trunk.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31739
This commit is contained in:
Eelco Dolstra 2012-01-20 15:29:04 +00:00
commit bafc4ff59d
11 changed files with 61 additions and 23 deletions

View File

@ -10,6 +10,8 @@ stdenv.mkDerivation {
sha256 = s.hash; sha256 = s.hash;
}; };
patches = [ ./ftbfs.patch ];
buildNativeInputs = [ perl ]; buildNativeInputs = [ perl ];
buildInputs = [ zlib libjpeg freetype giflib libpng ] buildInputs = [ zlib libjpeg freetype giflib libpng ]

View File

@ -0,0 +1,25 @@
From: André Draszik <andre.draszik@st.com>
Date: Wed, 28 Sep 2011 17:36:00 +0000 (+0100)
Subject: generic_stretch_blit: fix compilation due to undefined reference to DSPF_ARGBF88871
X-Git-Url: http://git.directfb.org/?p=core%2FDirectFB.git;a=commitdiff_plain;h=ef5e1398fe4037b63d6513e450f107fcfe91047f
generic_stretch_blit: fix compilation due to undefined reference to DSPF_ARGBF88871
../../../../DirectFB/src/gfx/generic/generic_stretch_blit.c: In function 'stretch_hvx':
../../../../DirectFB/src/gfx/generic/generic_stretch_blit.c:444:21: error: 'DSPF_ARGBF88871' undeclared (first use in this function)
../../../../DirectFB/src/gfx/generic/generic_stretch_blit.c:444:21: note: each undeclared identifier is reported only once for each function it appears in
---
diff --git a/src/gfx/generic/generic_stretch_blit.c b/src/gfx/generic/generic_stretch_blit.c
index 65076f4..6dd987b 100644
--- a/src/gfx/generic/generic_stretch_blit.c
+++ b/src/gfx/generic/generic_stretch_blit.c
@@ -441,7 +441,7 @@ stretch_hvx( CardState *state, DFBRectangle *srect, DFBRectangle *drect )
}
break;
- case DSPF_ARGBF88871:
+ case DSPF_RGBAF88871:
if (state->blittingflags & DSBLIT_SRC_PREMULTIPLY) {
for (i=0; i<gfxs->Blut->num_entries; i++) {
int alpha = entries[i].a + 1;

View File

@ -1,9 +1,9 @@
rec { rec {
version="1.4.3"; version="1.5.3";
name="directfb-1.4.3"; name="directfb-1.5.3";
hash="0y79lwzq7srlbgrva7b5y8klbp6gmr8hxrayq8njaw7by3jald8l"; hash="1w2i4az6v4sh086s27qbyn5w02s67a7dfm2xdpdm4r2zpgl7axg5";
url="http://directfb.org/downloads/Core/DirectFB-1.4/DirectFB-${version}.tar.gz"; url="http://directfb.org/downloads/Core/DirectFB-1.5/DirectFB-${version}.tar.gz";
advertisedUrl="http://directfb.org/downloads/Core/DirectFB-1.4/DirectFB-1.4.3.tar.gz"; advertisedUrl="http://directfb.org/downloads/Core/DirectFB-1.5/DirectFB-1.5.3.tar.gz";
} }

View File

@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
buildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv; buildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
buildNativeInputs = [ perl pkgconfig gettext ]; buildNativeInputs = [ perl pkgconfig gettext ];
propagatedBuildInputs = [ zlib ]; propagatedBuildInputs = [ zlib ]
++ stdenv.lib.optional (!stdenv.isLinux) gettext;
# glib buildsystem fails to find python, thus hardcodes python2.4 in #! # glib buildsystem fails to find python, thus hardcodes python2.4 in #!
postInstall = '' postInstall = ''

View File

@ -5,8 +5,8 @@
cabal.mkDerivation (self: { cabal.mkDerivation (self: {
pname = "hakyll"; pname = "hakyll";
version = "3.2.4.0"; version = "3.2.4.1";
sha256 = "1hyvvcq4hvbwz8zaswi8949sqzjkby6754b0y5zp2cpax2ykkbgx"; sha256 = "0ijym3k8f9za6cd1dnf8qx0jk85r5kz4f8gy7bn50jclcslnfl0n";
buildDepends = [ buildDepends = [
binary blazeHtml citeprocHs cryptohash hamlet mtl pandoc parsec binary blazeHtml citeprocHs cryptohash hamlet mtl pandoc parsec
regexBase regexPcre snapCore snapServer tagsoup time regexBase regexPcre snapCore snapServer tagsoup time

View File

@ -42,9 +42,14 @@ rec {
in newDrv // in newDrv //
{ meta = if drv ? meta then drv.meta else {}; { meta = if drv ? meta then drv.meta else {};
passthru = if drv ? passthru then drv.passthru else {}; passthru = if drv ? passthru then drv.passthru else {};
hostDrv = overrideDerivation drv.hostDrv f; }
buildDrv = overrideDerivation drv.buildDrv f; //
}; (if (drv ? hostDrv && drv ? buildDrv)
then {
hostDrv = overrideDerivation drv.hostDrv f;
buildDrv = overrideDerivation drv.buildDrv f;
}
else { });
# usage: (you can use override multiple times) # usage: (you can use override multiple times)

View File

@ -1,9 +1,9 @@
args: with args; args: with args;
rec { rec {
name = "moderncv-2007.05.28"; name = "moderncv-2012.01.16";
src = fetchurl { src = fetchurl {
url = "http://mirror.ctan.org/macros/latex/contrib/moderncv.zip"; url = "http://mirror.ctan.org/macros/latex/contrib/moderncv.zip";
sha256 = "d479141e9ae6dad745b03af47541b1bf7d312613de42bb7984eb4b556854cb51"; sha256 = "a9d2de7fc03c35c4084915b2788c8d7acfb695f9e27f6cd81427a7dd1a64cb54";
}; };
buildInputs = [texLive unzip]; buildInputs = [texLive unzip];

View File

@ -3,11 +3,11 @@
# Note: zlib is not required; MySQL can use an internal zlib. # Note: zlib is not required; MySQL can use an internal zlib.
stdenv.mkDerivation { stdenv.mkDerivation {
name = "mysql-5.5.15"; name = "mysql-5.5.20";
src = fetchurl { src = fetchurl {
url = ftp://mirror.leaseweb.com/mysql/Downloads/MySQL-5.5/mysql-5.5.15.tar.gz; url = ftp://mirror.leaseweb.com/mysql/Downloads/MySQL-5.5/mysql-5.5.20.tar.gz;
sha256 = "10jwkkmp231swc986z01nsp0q67kp0zdkfb4q4v9if2vn6a51ldy"; sha256 = "03jl60mzrsd1jb8fvkz6c8j2239b37k8n1i07jk1q4yk58aq8ynh";
}; };
buildInputs = [ cmake bison ncurses openssl readline zlib ]; buildInputs = [ cmake bison ncurses openssl readline zlib ];

View File

@ -1,7 +1,7 @@
{stdenv, fetchurl, autoconf, automake, buggyBiosCDSupport ? true}: {stdenv, fetchurl, autoconf, automake, buggyBiosCDSupport ? true}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "grub-0.97-patch-1.10"; name = "grub-0.97-patch-1.12";
src = fetchurl { src = fetchurl {
url = ftp://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz; url = ftp://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz;
@ -13,8 +13,8 @@ stdenv.mkDerivation {
# failures on systems with more than 2 GiB RAM, and for booting from # failures on systems with more than 2 GiB RAM, and for booting from
# ext3 filesystems with 256-byte inodes as well as ext4 filesystems. # ext3 filesystems with 256-byte inodes as well as ext4 filesystems.
gentooPatches = fetchurl { gentooPatches = fetchurl {
url = mirror://gentoo/distfiles/grub-0.97-patches-1.10.tar.bz2; url = mirror://gentoo/distfiles/grub-0.97-patches-1.12.tar.bz2;
sha256 = "015hkmb2jd6jfzkfr13cdh16frvva04rwr4yahzyw5xhl634d1h9"; sha256 = "15xc5349hkzl03lbn2cadrmvjrf3s8sn147vv2142cwys9sdzkl0";
}; };
patches = [ patches = [

View File

@ -5,11 +5,11 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "nix-1.0pre31616"; name = "nix-1.0pre31729";
src = fetchurl { src = fetchurl {
url = "http://hydra.nixos.org/build/1823251/download/4/${name}.tar.bz2"; url = "http://hydra.nixos.org/build/1867511/download/4/${name}.tar.bz2";
sha256 = "34d95cee3a931666f358f18557f884b6bc7fade83092eef021e52db7ba5e2af1"; sha256 = "c2e33d5837a686c42deaab1cfcf8ec0e13b0c841d936086d773a2415e4141d2d";
}; };
buildNativeInputs = [ perl pkgconfig ]; buildNativeInputs = [ perl pkgconfig ];

View File

@ -332,6 +332,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
self : self.haskellPlatformArgs_2010_2_0_0 self // { self : self.haskellPlatformArgs_2010_2_0_0 self // {
haskellPlatform = self.haskellPlatform_2010_2_0_0; haskellPlatform = self.haskellPlatform_2010_2_0_0;
repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u repaExamples = null; # don't pick this version of 'repa-examples' during nix-env -u
deepseq = self.deepseq_1_1_0_2;
# deviating from Haskell platform here, to make some packages (notably statistics) compile
}; };
haskellPlatform_2010_2_0_0 = haskellPlatform_2010_2_0_0 =
@ -553,7 +555,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
cprngAes = callPackage ../development/libraries/haskell/cprng-aes {}; cprngAes = callPackage ../development/libraries/haskell/cprng-aes {};
criterion = callPackage ../development/libraries/haskell/criterion {}; criterion = callPackage ../development/libraries/haskell/criterion {
mtl = self.mtl2;
parsec = self.parsec3;
};
Crypto = callPackage ../development/libraries/haskell/Crypto {}; Crypto = callPackage ../development/libraries/haskell/Crypto {};