add 2.12 GTK plus dependencies. I just took the latest of every dependency, so this might not be correct. Feel free to fix.

svn path=/nixpkgs/trunk/; revision=11612
This commit is contained in:
Armijn Hemel 2008-04-12 18:48:48 +00:00
parent 4579a2a530
commit 1898afa254
7 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,11 @@
args: with args;
stdenv.mkDerivation {
name = "atk-1.12.4";
src = fetchurl {
url = http://ftp.gnome.org/pub/gnome/sources/atk/1.22/atk-1.22.0.tar.bz2;
sha256 = "1sax4a63v7vy2f23lqgy33956nglas9vyh4dq91914gwl3lnczb7";
};
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,10 @@
args: with args;
stdenv.mkDerivation {
name = "glib-2.16.3";
src = fetchurl {
url = ftp://ftp.gnome.org/pub/GNOME/sources/glib/2.16/glib-2.16.3.tar.bz2;
sha256 = "0zc8irn9zx8j37ih3jiwhqrkq2ddpv4x93pcj7c45f676ji449sn";
};
buildInputs = [pkgconfig gettext perl];
}

View File

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

View File

@ -0,0 +1,13 @@
args: with args;
stdenv.mkDerivation {
name = "gtk+-2.12.9";
src = fetchurl {
url = ftp://ftp.gtk.org/pub/gtk/v2.12/gtk+-2.12.9.tar.bz2;
sha256 = "1j0fil4rzvkrlq3mwpb5mpwks1h5sk580qq54l69y99incgvznav";
};
buildInputs = [ pkgconfig perl ];
propagatedBuildInputs = [x11 glib atk pango libtiff libjpeg libpng cairo
libXrandr (if xineramaSupport then libXinerama else null)];
passthru = { inherit libtiff libjpeg libpng; };
}

View File

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

View File

@ -0,0 +1,11 @@
args: with args;
stdenv.mkDerivation {
name = "pango-1.20.2";
src = fetchurl {
url = ftp://ftp.gtk.org/pub/pango/1.20/pango-1.20.2.tar.bz2;
sha256 = "0kjqhlwm43ad8avxz4b8l4w37jjhfilv30ph8sklnqzjj5vz3ayk";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [x11 glib cairo libpng];
}