forked from mirrors/nixpkgs
* Added the Cairo graphics library.
* Updated GTK and friends to 2.8.x. svn path=/nixpkgs/trunk/; revision=4073
This commit is contained in:
parent
c077c7b67b
commit
e0eb3828bc
13
pkgs/development/libraries/gtk-libs-2.8/atk/default.nix
Normal file
13
pkgs/development/libraries/gtk-libs-2.8/atk/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{stdenv, fetchurl, pkgconfig, glib, perl}:
|
||||
|
||||
assert pkgconfig != null && glib != null && perl != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "atk-1.10.1";
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.gtk.org/pub/gtk/v2.8/atk-1.10.1.tar.bz2;
|
||||
md5 = "29df8fe9016083e7eaf129bdd65d8402";
|
||||
};
|
||||
buildInputs = [pkgconfig perl];
|
||||
propagatedBuildInputs = [glib];
|
||||
}
|
24
pkgs/development/libraries/gtk-libs-2.8/default.nix
Normal file
24
pkgs/development/libraries/gtk-libs-2.8/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gettext, perl, x11
|
||||
, libtiff, libjpeg, libpng, cairo
|
||||
}:
|
||||
|
||||
rec {
|
||||
|
||||
glib = (import ./glib) {
|
||||
inherit fetchurl stdenv pkgconfig gettext perl;
|
||||
};
|
||||
|
||||
atk = (import ./atk) {
|
||||
inherit fetchurl stdenv pkgconfig glib perl;
|
||||
};
|
||||
|
||||
pango = (import ./pango) {
|
||||
inherit fetchurl stdenv pkgconfig glib x11 cairo;
|
||||
};
|
||||
|
||||
gtk = (import ./gtk+) {
|
||||
inherit fetchurl stdenv pkgconfig glib atk pango perl
|
||||
libtiff libjpeg libpng x11 cairo;
|
||||
};
|
||||
|
||||
}
|
12
pkgs/development/libraries/gtk-libs-2.8/glib/default.nix
Normal file
12
pkgs/development/libraries/gtk-libs-2.8/glib/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl, pkgconfig, gettext, perl}:
|
||||
|
||||
assert pkgconfig != null && gettext != null && perl != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "glib-2.8.3";
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.gtk.org/pub/gtk/v2.8/glib-2.8.3.tar.bz2;
|
||||
md5 = "58177fe64c189b86bac1625350512159";
|
||||
};
|
||||
buildInputs = [pkgconfig gettext perl];
|
||||
}
|
12
pkgs/development/libraries/gtk-libs-2.8/glibmm/default.nix
Normal file
12
pkgs/development/libraries/gtk-libs-2.8/glibmm/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl, pkgconfig, glib, libsigcxx}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "glibmm-2.6.4";
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.6/glibmm-2.6.1.tar.bz2;
|
||||
md5 = "e37da352bf581503c5866f0231fd4a74";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig glib libsigcxx];
|
||||
}
|
||||
|
19
pkgs/development/libraries/gtk-libs-2.8/gtk+/default.nix
Normal file
19
pkgs/development/libraries/gtk-libs-2.8/gtk+/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ stdenv, fetchurl, pkgconfig, x11, glib, atk
|
||||
, pango, perl, libtiff, libjpeg, libpng, cairo
|
||||
}:
|
||||
|
||||
assert pkgconfig != null && x11 != null && glib != null && atk != null
|
||||
&& pango != null && perl != null && perl != null && libtiff != null
|
||||
&& libjpeg != null && libpng != null;
|
||||
assert x11.buildClientLibs;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtk+-2.8.6";
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.gtk.org/pub/gtk/v2.8/gtk+-2.8.6.tar.bz2;
|
||||
md5 = "2bcb9e3feb62ac895101cb8ee87ca49a";
|
||||
};
|
||||
buildInputs = [pkgconfig perl libtiff libjpeg libpng cairo];
|
||||
propagatedBuildInputs = [x11 glib atk pango];
|
||||
inherit libtiff libjpeg libpng;
|
||||
}
|
12
pkgs/development/libraries/gtk-libs-2.8/gtkmm/default.nix
Normal file
12
pkgs/development/libraries/gtk-libs-2.8/gtkmm/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gtk, atk, glibmm, libsigcxx}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtkmm-2.6.4";
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.6/gtkmm-2.6.4.tar.bz2;
|
||||
md5 = "f71d1c4a89c4f9e054400f12a82dec5f";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig gtk atk glibmm libsigcxx];
|
||||
}
|
||||
|
13
pkgs/development/libraries/gtk-libs-2.8/pango/default.nix
Normal file
13
pkgs/development/libraries/gtk-libs-2.8/pango/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{stdenv, fetchurl, pkgconfig, x11, glib, cairo}:
|
||||
|
||||
assert x11.buildClientLibs;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pango-1.10.1";
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.gtk.org/pub/gtk/v2.8/pango-1.10.1.tar.bz2;
|
||||
md5 = "1ff4c96982f61ea6f390d09a4febdf18";
|
||||
};
|
||||
buildInputs = [pkgconfig];
|
||||
propagatedBuildInputs = [x11 glib cairo];
|
||||
}
|
|
@ -785,7 +785,17 @@ rec {
|
|||
inherit fetchurl stdenv gettext;
|
||||
};
|
||||
|
||||
gtkLibs = gtkLibs26;
|
||||
cairo = (import ../development/libraries/cairo) {
|
||||
inherit fetchurl stdenv pkgconfig x11 freetype zlib libpng;
|
||||
inherit (xlibs) fontconfig;
|
||||
};
|
||||
|
||||
gtkLibs = gtkLibs28;
|
||||
|
||||
gtkLibs28 = import ../development/libraries/gtk-libs-2.8 {
|
||||
inherit fetchurl stdenv pkgconfig gettext perl x11
|
||||
libtiff libjpeg libpng cairo;
|
||||
};
|
||||
|
||||
gtkLibs26 = import ../development/libraries/gtk-libs-2.6 {
|
||||
inherit fetchurl stdenv pkgconfig gettext perl x11
|
||||
|
|
Loading…
Reference in a new issue