* Idem for gtk-libs/2.16.

svn path=/nixpkgs/trunk/; revision=17993
This commit is contained in:
Eelco Dolstra
2009-10-28 15:31:52 +00:00
parent 5398eceff3
commit 82baac23a7
11 changed files with 46 additions and 68 deletions

View File

@@ -1,4 +1,4 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, perl, glib }:
stdenv.mkDerivation rec {
name = "atk-1.24.0";

View File

@@ -1,4 +1,4 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, gettext, perl }:
stdenv.mkDerivation rec {
name = "glib-2.20.1";

View File

@@ -1,4 +1,4 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, glib, libsigcxx }:
stdenv.mkDerivation rec {
name = "glibmm-2.18.1";

View File

@@ -1,4 +1,7 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, perl, jasper, x11, glib, atk, pango
, libtiff, libjpeg, libpng, cairo, xlibs
, xineramaSupport ? true
}:
stdenv.mkDerivation rec {
name = "gtk+-2.16.2";
@@ -11,8 +14,8 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig perl jasper ];
propagatedBuildInputs = [
x11 glib atk pango libtiff libjpeg libpng cairo libXrandr
] ++ stdenv.lib.optional xineramaSupport libXinerama;
x11 glib atk pango libtiff libjpeg libpng cairo xlibs.libXrandr
] ++ stdenv.lib.optional xineramaSupport xlibs.libXinerama;
passthru = { inherit libtiff libjpeg libpng; };

View File

@@ -1,21 +0,0 @@
args: with args;
rec {
glib = (import ./glib) args;
glib_2_21 = (import ./glib/2.21.4.nix) args;
atk = (import ./atk) (args // { inherit glib; });
pango = (import ./pango) (args // { inherit glib cairo; });
gtk = (import ./gtk+) (args // {
inherit glib atk pango;
});
glibmm = (import ./glibmm) (args // { inherit glib; });
pangomm = (import ./pangomm) (args // { inherit pango glibmm cairomm; });
gtkmm = (import ./gtkmm) (args // { inherit gtk atk glibmm pangomm; });
}

View File

@@ -1,32 +0,0 @@
args: with args;
stdenv.mkDerivation rec {
name = "glib-2.21.4";
src = fetchurl {
url = "mirror://gnome/sources/glib/2.21/${name}.tar.bz2";
sha256 = "b772e4bdf1b28dd23cdb4c4d7f1d219ddb748226d0207e57c75992bf0100182d";
};
buildInputs = [pkgconfig gettext perl];
# The nbd package depends on a static version of this library; hence
# the default configure flag --disable-static is switched off.
dontDisableStatic = true;
configureFlags = "--enable-static --enable-shared";
meta = {
description = "GLib, a C library of programming buildings blocks";
longDescription = ''
GLib provides the core application building blocks for libraries
and applications written in C. It provides the core object
system used in GNOME, the main loop implementation, and a large
set of utility functions for strings and common data structures.
'';
homepage = http://www.gtk.org/;
license = "LGPLv2+";
};
}

View File

@@ -1,4 +1,4 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, gtk, atk, glibmm, cairomm, pangomm }:
stdenv.mkDerivation rec {
name = "gtkmm-2.14.3";

View File

@@ -1,4 +1,4 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
stdenv.mkDerivation rec {
name = "pango-1.24.1";

View File

@@ -1,7 +1,7 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm, libpng }:
stdenv.mkDerivation rec {
name ="pangomm-2.14.1";
name = "pangomm-2.14.1";
src = fetchurl {
url = "mirror://gnome/sources/pangomm/2.14/${name}.tar.bz2";