* Latest GTK+, glib, ATK, Pango, FreeType, Cairo, Fontconfig.

svn path=/nixpkgs/branches/stdenv-updates/; revision=11017
This commit is contained in:
Eelco Dolstra
2008-03-07 15:43:43 +00:00
parent 7ba8833f14
commit 5ebab60b5e
11 changed files with 167 additions and 15 deletions

View File

@@ -0,0 +1,11 @@
args: with args;
stdenv.mkDerivation {
name = "atk-1.20.0";
src = fetchurl {
url = mirror://gnome/sources/atk/1.20/atk-1.20.0.tar.bz2;
sha256 = "1ja76wd40ibmvgqhl2rnwk217znb7rnccw29jah8s3avpcn2yfqz";
};
buildInputs = [pkgconfig perl];
propagatedBuildInputs = [glib];
}

View File

@@ -0,0 +1,16 @@
args: with args;
rec {
glib = (import ./glib) args;
atk = (import ./atk) (args // { inherit glib; });
pango = (import ./pango) (args // { inherit glib; });
gtk = (import ./gtk+) (args // { inherit glib atk pango; } );
glibmm = (import ./glibmm) (args // { inherit glib; });
gtkmm = (import ./gtkmm) (args // { inherit gtk atk glibmm; });
}

View File

@@ -0,0 +1,17 @@
args: with args;
stdenv.mkDerivation {
name = "glib-2.14.6";
src = fetchurl {
url = mirror://gnome/sources/glib/2.14/glib-2.14.6.tar.bz2;
sha256 = "1fi4xb07d7bfnfi65snvbi6i5kzhr3kad8knbwklj47z779vppvq";
};
buildInputs = [pkgconfig gettext perl];
meta = {
description = "A C library providing non-GUI functionality";
homepage = http://www.gtk.org/;
};
}

View File

@@ -0,0 +1,13 @@
args: with args;
stdenv.mkDerivation {
name = "glibmm-2.12.10";
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.12/glibmm-2.12.10.tar.bz2;
sha256 = "02rjjdh0f6kafa1sn4y5ykvm4f2qn3yh4kr4lngcv7vzasqn1dr1";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [glib libsigcxx];
}

View File

@@ -0,0 +1,23 @@
args: with args;
stdenv.mkDerivation {
name = "gtk+-2.12.8";
src = fetchurl {
url = mirror://gnome/sources/gtk+/2.12/gtk+-2.12.8.tar.bz2;
sha256 = "1vzh73lxpp4m85zxhwjkigc28qnfxfjppxmywvwqj86ablnm8bzz";
};
buildInputs = [pkgconfig perl];
propagatedBuildInputs = [
x11 glib atk pango libtiff libjpeg libpng cairo libXrandr
] ++ stdenv.lib.optional xineramaSupport [libXinerama];
passthru = { inherit libtiff libjpeg libpng; };
meta = {
description = "A multi-platform toolkit for creating graphical user interfaces";
homepage = http://www.gtk.org/;
};
}

View File

@@ -0,0 +1,13 @@
args: with args;
stdenv.mkDerivation {
name = "gtkmm-2.10.11";
src = fetchurl {
url = http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.10/gtkmm-2.10.11.tar.bz2;
sha256 = "1bri9r0k69dmi5xgzrlfllp3adfzhz8dh9zkcvi6sjkgfwi594vx";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [glibmm gtk atk cairomm];
}

View File

@@ -0,0 +1,24 @@
args: with args;
stdenv.mkDerivation {
name = "pango-1.18.4";
src = fetchurl {
url = mirror://gnome/sources/pango/1.18/pango-1.18.4.tar.bz2;
sha256 = "1pggwyvklj5pbfwab0dki8nqhph90nq8j4g2rl8d87xanwpcilvg";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [x11 glib cairo libpng];
# The configure script doesn't seem to pick up the Cairo cflags.
preConfigure = ''
CAIRO_CFLAGS=$(pkg-config --cflags cairo --debug)
'';
meta = {
description = "A library for laying out and rendering of text, with an emphasis on internationalization";
homepage = http://www.pango.org/;
};
}