* Finished getting rid of gtk-libs.
svn path=/nixpkgs/trunk/; revision=18010
This commit is contained in:
parent
4c5fcfb0a8
commit
5682b2e9ea
@ -1,4 +1,4 @@
|
|||||||
args: with args;
|
{ stdenv, fetchurl, pkgconfig, perl, glib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "atk-1.28.0";
|
name = "atk-1.28.0";
|
@ -1,4 +1,4 @@
|
|||||||
args: with args;
|
{ stdenv, fetchurl, pkgconfig, gettext, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "glib-2.22.2";
|
name = "glib-2.22.2";
|
@ -1,4 +1,4 @@
|
|||||||
args: with args;
|
{ stdenv, fetchurl, pkgconfig, glib, libsigcxx }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "glibmm-2.22.1";
|
name = "glibmm-2.22.1";
|
@ -1,10 +1,10 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, x11, glib, atk, pango, libtiff, libjpeg
|
{ stdenv, fetchurl, pkgconfig, glib, atk, pango, libtiff, libjpeg
|
||||||
, libpng, cairo, libXrandr, perl, jasper
|
, libpng, cairo, perl, jasper, xlibs
|
||||||
, xineramaSupport ? true, libXinerama ? null
|
, xineramaSupport ? true
|
||||||
, cupsSupport ? true, cups ? null, openssl ? null
|
, cupsSupport ? true, cups ? null, openssl ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert xineramaSupport -> libXinerama != null;
|
assert xineramaSupport -> xlibs.libXinerama != null;
|
||||||
assert cupsSupport -> cups != null && openssl != null;
|
assert cupsSupport -> cups != null && openssl != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ pkgconfig perl jasper ];
|
buildInputs = [ pkgconfig perl jasper ];
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ x11 glib atk pango libtiff libjpeg libpng cairo libXrandr ]
|
[ xlibs.xlibs glib atk pango libtiff libjpeg libpng cairo xlibs.libXrandr ]
|
||||||
++ stdenv.lib.optional xineramaSupport libXinerama
|
++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
|
||||||
++ stdenv.lib.optionals cupsSupport [ cups openssl ];
|
++ stdenv.lib.optionals cupsSupport [ cups openssl ];
|
||||||
|
|
||||||
passthru = { inherit libtiff libjpeg libpng; };
|
passthru = { inherit libtiff libjpeg libpng; };
|
@ -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; });
|
|
||||||
}
|
|
@ -1,11 +1,11 @@
|
|||||||
args: with args;
|
{ stdenv, fetchurl, pkgconfig, gtk, atk, glibmm, cairomm, pangomm }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gtkmm-2.18.1";
|
name = "gtkmm-2.18.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gtkmm/2.18/${name}.tar.bz2";
|
url = "mirror://gnome/sources/gtkmm/2.18/${name}.tar.bz2";
|
||||||
sha256 = "09d66g7i6acfy5gijml54kw5gvynmrq04zl02x2k9aixpa9xybql";
|
sha256 = "0kj71db6qwgybmrs0myaz6hfz1zdfzh286vkmv5ldh6d5vi07h6z";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [pkgconfig];
|
buildInputs = [pkgconfig];
|
@ -1,4 +1,4 @@
|
|||||||
args: with args;
|
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pango-1.26.0";
|
name = "pango-1.26.0";
|
@ -1,7 +1,7 @@
|
|||||||
args: with args;
|
{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm, libpng }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name ="pangomm-2.26.0";
|
name = "pangomm-2.26.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/pangomm/2.26/${name}.tar.bz2";
|
url = "mirror://gnome/sources/pangomm/2.26/${name}.tar.bz2";
|
@ -3614,12 +3614,37 @@ let
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gtkLibs218 = import ../development/libraries/gtk-libs/2.18 {
|
gtkLibs218 = rec {
|
||||||
inherit fetchurl stdenv pkgconfig gettext perl x11 jasper
|
|
||||||
libtiff libjpeg libpng cairo libsigcxx cairomm cups
|
glib = import ../development/libraries/glib/2.22.x.nix {
|
||||||
openssl;
|
inherit fetchurl stdenv pkgconfig gettext perl;
|
||||||
inherit (xlibs) libXinerama libXrandr;
|
};
|
||||||
xineramaSupport = true;
|
|
||||||
|
glibmm = import ../development/libraries/glibmm/2.22.x.nix {
|
||||||
|
inherit fetchurl stdenv pkgconfig glib libsigcxx;
|
||||||
|
};
|
||||||
|
|
||||||
|
atk = import ../development/libraries/atk/1.28.x.nix {
|
||||||
|
inherit fetchurl stdenv pkgconfig perl glib;
|
||||||
|
};
|
||||||
|
|
||||||
|
pango = import ../development/libraries/pango/1.26.x.nix {
|
||||||
|
inherit fetchurl stdenv pkgconfig gettext x11 glib cairo libpng;
|
||||||
|
};
|
||||||
|
|
||||||
|
pangomm = import ../development/libraries/pangomm/2.26.x.nix {
|
||||||
|
inherit fetchurl stdenv pkgconfig pango glibmm cairomm libpng;
|
||||||
|
};
|
||||||
|
|
||||||
|
gtk = import ../development/libraries/gtk+/2.18.x.nix {
|
||||||
|
inherit fetchurl stdenv pkgconfig perl jasper glib atk pango
|
||||||
|
libtiff libjpeg libpng cairo xlibs cups openssl;
|
||||||
|
};
|
||||||
|
|
||||||
|
gtkmm = import ../development/libraries/gtkmm/2.18.x.nix {
|
||||||
|
inherit fetchurl stdenv pkgconfig gtk atk glibmm cairomm pangomm;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gtkmozembedsharp = import ../development/libraries/gtkmozembed-sharp {
|
gtkmozembedsharp = import ../development/libraries/gtkmozembed-sharp {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user