2005-02-26 23:45:19 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, mono
|
|
|
|
, glib
|
|
|
|
, pango
|
2016-01-24 12:43:13 +00:00
|
|
|
, gtk3
|
2005-06-17 21:00:12 +01:00
|
|
|
, GConf ? null
|
2005-02-26 23:45:19 +00:00
|
|
|
, libglade ? null
|
|
|
|
, libgtkhtml ? null
|
|
|
|
, gtkhtml ? null
|
|
|
|
, libgnomecanvas ? null
|
|
|
|
, libgnomeui ? null
|
|
|
|
, libgnomeprint ? null
|
|
|
|
, libgnomeprintui ? null
|
2005-03-03 17:19:58 +00:00
|
|
|
, libxml2
|
|
|
|
, monoDLLFixer
|
|
|
|
}:
|
2005-02-22 20:54:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-01-24 12:43:13 +00:00
|
|
|
name = "gtk-sharp-2.99.3";
|
2005-02-22 20:54:26 +00:00
|
|
|
|
2005-03-03 17:19:58 +00:00
|
|
|
builder = ./builder.sh;
|
2005-02-22 20:54:26 +00:00
|
|
|
src = fetchurl {
|
2016-01-24 12:43:13 +00:00
|
|
|
#"mirror://gnome/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.tar.xz";
|
|
|
|
url = "http://ftp.gnome.org/pub/GNOME/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.tar.xz";
|
|
|
|
sha256 = "18n3l9zcldyvn4lwi8izd62307mkhz873039nl6awrv285qzah34";
|
2005-02-22 20:54:26 +00:00
|
|
|
};
|
|
|
|
|
2013-02-23 23:14:58 +00:00
|
|
|
# patch bad usage of glib, which wasn't tolerated anymore
|
2016-01-24 12:43:13 +00:00
|
|
|
# prePatch = ''
|
|
|
|
# for f in glib/glue/{thread,list,slist}.c; do
|
|
|
|
# sed -i 's,#include <glib/.*\.h>,#include <glib.h>,g' "$f"
|
|
|
|
# done
|
|
|
|
# '';
|
2013-02-23 23:14:58 +00:00
|
|
|
|
2005-02-26 23:45:19 +00:00
|
|
|
buildInputs = [
|
2016-01-24 12:43:13 +00:00
|
|
|
pkgconfig mono glib pango gtk3 GConf libglade libgnomecanvas
|
2005-02-26 23:45:19 +00:00
|
|
|
libgtkhtml libgnomeui libgnomeprint libgnomeprintui gtkhtml libxml2
|
|
|
|
];
|
|
|
|
|
2010-06-22 22:07:09 +01:00
|
|
|
dontStrip = true;
|
|
|
|
|
2005-03-03 17:19:58 +00:00
|
|
|
inherit monoDLLFixer;
|
2010-06-22 22:07:09 +01:00
|
|
|
|
|
|
|
passthru = {
|
2016-01-24 12:43:13 +00:00
|
|
|
inherit gtk3;
|
2010-06-22 22:07:09 +01:00
|
|
|
};
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2005-03-03 17:19:58 +00:00
|
|
|
}
|