* Mesa 7.9.1.

svn path=/nixpkgs/branches/x-updates/; revision=25905
wip/yesman
Eelco Dolstra 14 years ago
parent e877e4dc13
commit 2c72c03de5
  1. 36
      pkgs/development/libraries/mesa/7.9.nix
  2. 18
      pkgs/development/libraries/mesa/default.nix
  3. 5
      pkgs/development/libraries/talloc/default.nix
  4. 4
      pkgs/top-level/all-packages.nix

@ -1,36 +0,0 @@
{ stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat, lipo ? null,
talloc, python, libxml2, libxml2Python}:
if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
throw "unsupported platform for Mesa"
else
stdenv.mkDerivation rec {
version = "7.9";
name = "mesa-${version}";
src = fetchurl {
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
sha256 = "1wr927mdghn7w1cmp0bxswjda5s2x0hwfpf8zcc9x03da7s6gkg0";
};
configureFlags =
"--disable-gallium"
+ (if stdenv.system == "mips64-linux" then
" --with-dri-drivers=swrast --with-driver=dri" else "")
+ (if stdenv.isDarwin then " --disable-egl" else "");
buildInputs =
[ pkgconfig expat x11 libdrm xlibs.glproto
xlibs.libXxf86vm xlibs.libXfixes xlibs.libXdamage xlibs.dri2proto
lipo talloc python libxml2 libxml2Python
];
passthru = { inherit libdrm; };
meta = {
description = "An open source implementation of OpenGL";
homepage = http://www.mesa3d.org/;
license = "bsd";
};
}

@ -1,27 +1,29 @@
{ stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat, lipo ? null }:
{ stdenv, fetchurl, pkgconfig, x11, xlibs, libdrm, expat, lipo ? null, talloc }:
if ! stdenv.lib.lists.elem stdenv.system stdenv.lib.platforms.mesaPlatforms then
throw "unsupported platform for Mesa"
else
let version = "7.9.1"; in
stdenv.mkDerivation {
name = "mesa-7.8.2";
name = "mesa-${version}";
src = fetchurl {
url = ftp://ftp.freedesktop.org/pub/mesa/7.8.2/MesaLib-7.8.2.tar.bz2;
md5 = "6be2d343a0089bfd395ce02aaf8adb57";
url = "ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2";
md5 = "07dc6cfb5928840b8b9df5bd1b3ae434";
};
configureFlags =
"--disable-gallium"
+ (if stdenv.system == "mips64-linux" then
" --with-dri-drivers=swrast --with-driver=dri" else "")
+ (if stdenv.isDarwin then " --disable-egl" else "");
+ stdenv.lib.optionalString (stdenv.system == "mips64-linux")
" --with-dri-drivers=swrast --with-driver=dri"
+ stdenv.lib.optionalString stdenv.isDarwin " --disable-egl";
buildInputs =
[ pkgconfig expat x11 libdrm xlibs.glproto
xlibs.libXxf86vm xlibs.libXfixes xlibs.libXdamage xlibs.dri2proto
lipo
lipo talloc
];
passthru = { inherit libdrm; };

@ -1,4 +1,4 @@
{ fetchurl, stdenv}:
{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "talloc-2.0.1";
@ -9,12 +9,11 @@ stdenv.mkDerivation rec {
};
configureFlags = "--enable-talloc-compat1 --enable-largefile";
meta = {
description = "talloc is a hierarchical pool based memory allocator with destructors";
homepage = http://tdb.samba.org/;
license = "GPLv3";
platforms = stdenv.lib.platforms.all;
};
}

@ -3773,10 +3773,6 @@ let
mesa = callPackage ../development/libraries/mesa {
lipo = if stdenv.isDarwin then darwinLipoUtility else null;
};
mesa_7_9 = callPackage ../development/libraries/mesa/7.9.nix {
lipo = if stdenv.isDarwin then darwinLipoUtility else null;
};
metaEnvironment = recurseIntoAttrs (let callPackage = newScope pkgs.metaEnvironment; in rec {
sdfLibrary = callPackage ../development/libraries/sdf-library { aterm = aterm28; };

Loading…
Cancel
Save