* Finished getting rid of gtk-libs.

svn path=/nixpkgs/trunk/; revision=18010
This commit is contained in:
Eelco Dolstra
2009-10-29 10:53:54 +00:00
parent 4c5fcfb0a8
commit 5682b2e9ea
9 changed files with 46 additions and 43 deletions

View File

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

View File

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

View File

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

View File

@@ -1,10 +1,10 @@
{ stdenv, fetchurl, pkgconfig, x11, glib, atk, pango, libtiff, libjpeg
, libpng, cairo, libXrandr, perl, jasper
, xineramaSupport ? true, libXinerama ? null
{ stdenv, fetchurl, pkgconfig, glib, atk, pango, libtiff, libjpeg
, libpng, cairo, perl, jasper, xlibs
, xineramaSupport ? true
, cupsSupport ? true, cups ? null, openssl ? null
}:
assert xineramaSupport -> libXinerama != null;
assert xineramaSupport -> xlibs.libXinerama != null;
assert cupsSupport -> cups != null && openssl != null;
stdenv.mkDerivation rec {
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig perl jasper ];
propagatedBuildInputs =
[ x11 glib atk pango libtiff libjpeg libpng cairo libXrandr ]
++ stdenv.lib.optional xineramaSupport libXinerama
[ xlibs.xlibs glib atk pango libtiff libjpeg libpng cairo xlibs.libXrandr ]
++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
++ stdenv.lib.optionals cupsSupport [ cups openssl ];
passthru = { inherit libtiff libjpeg libpng; };

View File

@@ -1,22 +0,0 @@
args: with args;
rec {
glib = (import ./glib) args;
atk = (import ./atk) (args // { inherit glib; });
pango = (import ./pango) (args // { inherit glib cairo; });
gtk = import ./gtk+ {
inherit stdenv fetchurl pkgconfig x11 glib atk pango libtiff
libjpeg libpng cairo libXrandr libXinerama perl jasper
cups openssl;
};
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,11 +1,11 @@
args: with args;
{ stdenv, fetchurl, pkgconfig, gtk, atk, glibmm, cairomm, pangomm }:
stdenv.mkDerivation rec {
name = "gtkmm-2.18.1";
name = "gtkmm-2.18.2";
src = fetchurl {
url = "mirror://gnome/sources/gtkmm/2.18/${name}.tar.bz2";
sha256 = "09d66g7i6acfy5gijml54kw5gvynmrq04zl02x2k9aixpa9xybql";
sha256 = "0kj71db6qwgybmrs0myaz6hfz1zdfzh286vkmv5ldh6d5vi07h6z";
};
buildInputs = [pkgconfig];

View File

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

View File

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