2005-02-26 23:45:19 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, mono
|
|
|
|
, glib
|
|
|
|
, pango
|
2016-09-11 21:24:51 +00:00
|
|
|
, gtk2
|
2005-06-17 20:00:12 +00: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 {
|
2010-06-22 21:07:09 +00:00
|
|
|
name = "gtk-sharp-2.12.10";
|
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 {
|
2013-07-14 02:23:06 +00:00
|
|
|
url = mirror://gnome/sources/gtk-sharp/2.12/gtk-sharp-2.12.10.tar.gz;
|
2010-06-22 21:07:09 +00:00
|
|
|
sha256 = "1y55vc2cp4lggmbil2lb28d0gn71iq6wfyja1l9mya5xll8svzwc";
|
2005-02-22 20:54:26 +00:00
|
|
|
};
|
|
|
|
|
2010-06-18 08:16:21 +00:00
|
|
|
# patches = [ ./dllmap-glue.patch ];
|
2005-03-08 11:46:02 +00:00
|
|
|
|
2013-02-23 23:14:58 +00:00
|
|
|
# patch bad usage of glib, which wasn't tolerated anymore
|
|
|
|
prePatch = ''
|
|
|
|
for f in glib/glue/{thread,list,slist}.c; do
|
|
|
|
sed -i 's,#include <glib/.*\.h>,#include <glib.h>,g' "$f"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2017-09-14 19:24:37 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2005-02-26 23:45:19 +00:00
|
|
|
buildInputs = [
|
2017-09-14 19:24:37 +00:00
|
|
|
mono glib pango gtk2 GConf libglade libgnomecanvas
|
2005-02-26 23:45:19 +00:00
|
|
|
libgtkhtml libgnomeui libgnomeprint libgnomeprintui gtkhtml libxml2
|
|
|
|
];
|
|
|
|
|
2010-06-22 21:07:09 +00:00
|
|
|
dontStrip = true;
|
|
|
|
|
2005-03-03 17:19:58 +00:00
|
|
|
inherit monoDLLFixer;
|
2010-06-22 21:07:09 +00:00
|
|
|
|
|
|
|
passthru = {
|
2016-09-11 21:24:51 +00:00
|
|
|
gtk = gtk2;
|
2010-06-22 21:07:09 +00:00
|
|
|
};
|
2016-08-02 16:06:29 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2005-03-03 17:19:58 +00:00
|
|
|
}
|