GTK+ 2.16 and companion libraries.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15079
This commit is contained in:
parent
87ae78331a
commit
93e56fc27c
|
@ -0,0 +1,30 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "atk-1.24.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/atk/1.24/${name}.tar.bz2";
|
||||
sha256 = "0mjxliarzcy7iksh6v1npxsqdpc9sjj3q4wcl567asbdzdpbd803";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig perl];
|
||||
propagatedBuildInputs = [glib];
|
||||
|
||||
meta = {
|
||||
description = "ATK, the accessibility toolkit";
|
||||
|
||||
longDescription = ''
|
||||
ATK is the Accessibility Toolkit. It provides a set of generic
|
||||
interfaces allowing accessibility technologies such as screen
|
||||
readers to interact with a graphical user interface. Using the
|
||||
ATK interfaces, accessibility tools have full access to view and
|
||||
control running applications.
|
||||
'';
|
||||
|
||||
homepage = http://library.gnome.org/devel/atk/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
};
|
||||
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
args: with args;
|
||||
|
||||
rec {
|
||||
|
||||
glib = (import ./glib) 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; });
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glib-2.20.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/glib/2.20/${name}.tar.bz2";
|
||||
sha256 = "0ndgshcqzpj3piwmag3vrsv3rg4pnr12y70knl7z0k2i03cy5bav";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig gettext perl];
|
||||
|
||||
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+";
|
||||
};
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glibmm-2.18.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/glibmm/2.18/${name}.tar.bz2";
|
||||
sha256 = "0jg65hv6pwxqk4fabsjjz2zwn5hb6rgy3szj956avliarbliyr3r";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig];
|
||||
propagatedBuildInputs = [glib libsigcxx];
|
||||
|
||||
meta = {
|
||||
description = "C++ interface to the GLib library";
|
||||
|
||||
homepage = http://gtkmm.org/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
};
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtk+-2.16.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtk+/2.16/${name}.tar.bz2";
|
||||
sha256 = "0l3dfznv07nmzavqp0shr5qf66alb6xyzmiq728hgygmnayky7rg";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig perl jasper ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
x11 glib atk pango libtiff libjpeg libpng cairo libXrandr
|
||||
] ++ stdenv.lib.optional xineramaSupport libXinerama;
|
||||
|
||||
passthru = { inherit libtiff libjpeg libpng; };
|
||||
|
||||
meta = {
|
||||
description = "A multi-platform toolkit for creating graphical user interfaces";
|
||||
|
||||
longDescription = ''
|
||||
GTK+ is a highly usable, feature rich toolkit for creating
|
||||
graphical user interfaces which boasts cross platform
|
||||
compatibility and an easy to use API. GTK+ it is written in C,
|
||||
but has bindings to many other popular programming languages
|
||||
such as C++, Python and C# among others. GTK+ is licensed
|
||||
under the GNU LGPL 2.1 allowing development of both free and
|
||||
proprietary software with GTK+ without any license fees or
|
||||
royalties.
|
||||
'';
|
||||
|
||||
homepage = http://www.gtk.org/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
};
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtkmm-2.14.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtkmm/2.14/${name}.tar.bz2";
|
||||
sha256 = "18jral2lv9jv02d3balh0mi0wgbqhrz5y2laclri1skccc2q3c94";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig];
|
||||
propagatedBuildInputs = [ glibmm gtk atk cairomm pangomm ];
|
||||
|
||||
meta = {
|
||||
description = "C++ interface to the GTK+ graphical user interface library";
|
||||
|
||||
longDescription = ''
|
||||
gtkmm is the official C++ interface for the popular GUI library
|
||||
GTK+. Highlights include typesafe callbacks, and a
|
||||
comprehensive set of widgets that are easily extensible via
|
||||
inheritance. You can create user interfaces either in code or
|
||||
with the Glade User Interface designer, using libglademm.
|
||||
There's extensive documentation, including API reference and a
|
||||
tutorial.
|
||||
'';
|
||||
|
||||
homepage = http://gtkmm.org/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
};
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pango-1.24.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/pango/1.24/${name}.tar.bz2";
|
||||
sha256 = "1cls9cbk6sx81101gh2pkiri8v14shqpvy37cydbh8scs4yk8370";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig];
|
||||
|
||||
propagatedBuildInputs = [x11 glib cairo libpng];
|
||||
|
||||
meta = {
|
||||
description = "A library for laying out and rendering of text, with an emphasis on internationalization";
|
||||
|
||||
longDescription = ''
|
||||
Pango is a library for laying out and rendering of text, with an
|
||||
emphasis on internationalization. Pango can be used anywhere
|
||||
that text layout is needed, though most of the work on Pango so
|
||||
far has been done in the context of the GTK+ widget toolkit.
|
||||
Pango forms the core of text and font handling for GTK+-2.x.
|
||||
'';
|
||||
|
||||
homepage = http://www.pango.org/;
|
||||
license = "LGPLv2+";
|
||||
};
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name ="pangomm-2.14.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/pangomm/2.14/${name}.tar.bz2";
|
||||
sha256 = "0mrm5hv8kb84qzb97lqbipzzc8g0b97pfgz2hqq33xs2ha3lswnp";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ pango glibmm cairomm libpng ];
|
||||
|
||||
meta = {
|
||||
description = "C++ interface to the Pango text rendering library";
|
||||
|
||||
longDescription = ''
|
||||
Pango is a library for laying out and rendering of text, with an
|
||||
emphasis on internationalization. Pango can be used anywhere
|
||||
that text layout is needed, though most of the work on Pango so
|
||||
far has been done in the context of the GTK+ widget toolkit.
|
||||
Pango forms the core of text and font handling for GTK+-2.x.
|
||||
'';
|
||||
|
||||
homepage = http://www.pango.org/;
|
||||
license = "LGPLv2+";
|
||||
};
|
||||
}
|
|
@ -3157,6 +3157,13 @@ let
|
|||
xineramaSupport = true;
|
||||
};
|
||||
|
||||
gtkLibs216 = import ../development/libraries/gtk-libs/2.16 {
|
||||
inherit fetchurl stdenv pkgconfig gettext perl x11 jasper
|
||||
libtiff libjpeg libpng cairo libsigcxx cairomm;
|
||||
inherit (xlibs) libXinerama libXrandr;
|
||||
xineramaSupport = true;
|
||||
};
|
||||
|
||||
gtkmozembedsharp = import ../development/libraries/gtkmozembed-sharp {
|
||||
inherit fetchurl stdenv mono pkgconfig monoDLLFixer;
|
||||
inherit (gnome) gtk;
|
||||
|
|
Loading…
Reference in New Issue