add gtk 2.10 and update a lot of its dependencies

svn path=/nixpkgs/trunk/; revision=5571
This commit is contained in:
Armijn Hemel 2006-07-04 13:24:26 +00:00
parent 3427d88e96
commit b37f994407
7 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,13 @@
{stdenv, fetchurl, pkgconfig, glib, perl}:
assert pkgconfig != null && glib != null && perl != null;
stdenv.mkDerivation {
name = "atk-1.10.3";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/atk-1.10.3.tar.bz2;
md5 = "c84a01fea567b365c0d44b227fead948";
};
buildInputs = [pkgconfig perl];
propagatedBuildInputs = [glib];
}

View File

@ -0,0 +1,26 @@
{ xineramaSupport ? false
, stdenv, fetchurl, pkgconfig, gettext, perl, x11
, libtiff, libjpeg, libpng, cairo, libXinerama ? null
}:
rec {
glib = (import ./glib) {
inherit fetchurl stdenv pkgconfig gettext perl;
};
atk = (import ./atk) {
inherit fetchurl stdenv pkgconfig glib perl;
};
pango = (import ./pango) {
inherit fetchurl stdenv pkgconfig glib x11 cairo;
};
gtk = (import ./gtk+) {
inherit fetchurl stdenv pkgconfig glib atk pango perl
libtiff libjpeg libpng x11 cairo libXinerama
xineramaSupport;
};
}

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl, pkgconfig, gettext, perl}:
assert pkgconfig != null && gettext != null && perl != null;
stdenv.mkDerivation {
name = "glib-2.10.3";
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.10/glib-2.10.3.tar.bz2;
md5 = "87206e721c12d185d17dd9ecd7e30369";
};
buildInputs = [pkgconfig gettext perl];
}

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl, pkgconfig, glib, libsigcxx}:
stdenv.mkDerivation {
name = "glibmm-2.8.9";
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.8/glibmm-2.8.9.tar.bz2;
md5 = "6d23ba91546f51530421de5a1dc81fa8";
};
buildInputs = [pkgconfig glib libsigcxx];
}

View File

@ -0,0 +1,22 @@
{ xineramaSupport ? false
, stdenv, fetchurl, pkgconfig, x11, glib, atk
, pango, perl, libtiff, libjpeg, libpng, cairo, libXinerama ? null
}:
assert x11.buildClientLibs;
assert xineramaSupport -> libXinerama != null;
stdenv.mkDerivation {
name = "gtk+-2.10.0";
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.0.tar.bz2;
md5 = "37cdf73719e8b2af6b0d065df6236542";
};
buildInputs = [
pkgconfig perl libtiff libjpeg libpng cairo
(if xineramaSupport then libXinerama else null)
];
propagatedBuildInputs = [x11 glib atk pango];
inherit libtiff libjpeg libpng;
}

View File

@ -0,0 +1,12 @@
{ stdenv, fetchurl, pkgconfig, gtk, atk, glibmm, libsigcxx}:
stdenv.mkDerivation {
name = "gtkmm-2.8.8";
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.8/gtkmm-2.8.8.tar.bz2;
md5 = "319a7847f67c5099a78afb495e148143";
};
buildInputs = [pkgconfig gtk atk glibmm libsigcxx];
}

View File

@ -0,0 +1,13 @@
{stdenv, fetchurl, pkgconfig, x11, glib, cairo}:
assert x11.buildClientLibs;
stdenv.mkDerivation {
name = "pango-1.12.3";
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.10/pango-1.12.3.tar.bz2;
md5 = "c8178e11a895166d86990bb2c38d831b";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [x11 glib cairo];
}