2007-03-05 19:52:31 +01:00
|
|
|
{ input, stdenv, fetchurl, gnome, pkgconfig, perl, perlXMLParser
|
|
|
|
, libjpeg, libpng, libXmu, libXau, dbus_glib, gettext, libxslt
|
2005-03-08 19:51:37 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (input) name src;
|
2007-03-05 19:52:31 +01:00
|
|
|
|
2005-03-08 19:51:37 +01:00
|
|
|
buildInputs = [
|
2007-03-05 19:52:31 +01:00
|
|
|
pkgconfig perl perlXMLParser gnome.gtk gnome.glib gnome.ORBit2
|
|
|
|
gnome.libgnome gnome.libgnomeui gnome.gnomedesktop gnome.libglade
|
|
|
|
gnome.libwnck libjpeg libpng gnome.scrollkeeper libXmu libXau
|
|
|
|
dbus_glib gnome.gnomemenus gnome.gnomedocutils gettext libxslt
|
2005-03-08 19:51:37 +01:00
|
|
|
];
|
2007-03-05 19:52:31 +01:00
|
|
|
|
|
|
|
configureFlags = "--disable-scrollkeeper";
|
2007-04-27 00:00:01 +02:00
|
|
|
|
|
|
|
preConfigure = "
|
|
|
|
mkdir wrapper
|
|
|
|
echo \"#! $SHELL\" >> wrapper/xsltproc
|
|
|
|
echo \"exec `type -tp xsltproc` --nonet \\\"\\$@\\\"\" >> wrapper/xsltproc
|
|
|
|
chmod +x wrapper/xsltproc
|
|
|
|
PATH=$(pwd)/wrapper:$PATH
|
|
|
|
";
|
2005-03-08 19:51:37 +01:00
|
|
|
}
|