* Added a tool `mono-dll-fixer' to absolutise the DLL maps in the
`*.dll.config' files corresponding to CLR assemblies. I.e., the full path to native libraries is included in the maps. In effect this allows us to set the equivalent of an RPATH for assemblies. * gtk-sharp: use the DLL fixer. It's not perfect yet: I still have to set the LD_LIBRARY_PATH for monodoc to include the gtk-sharp lib directory itself, so that it can find the `*sharpglue.so' files. This seems to be gtk-sharp's fault; it doesn't have an entry for those libraries in its DLL maps. svn path=/nixpkgs/trunk/; revision=2330
This commit is contained in:
11
pkgs/development/libraries/gtk-sharp/builder.sh
Normal file
11
pkgs/development/libraries/gtk-sharp/builder.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
. $stdenv/setup
|
||||
|
||||
genericBuild
|
||||
|
||||
# !!! hack
|
||||
export ALL_INPUTS=$pkgs
|
||||
|
||||
find $out -name "*.dll.config" | while read configFile; do
|
||||
echo "modifying config file $configFile"
|
||||
$monoDLLFixer "$configFile"
|
||||
done
|
||||
@@ -10,22 +10,23 @@
|
||||
, libgnomeui ? null
|
||||
, libgnomeprint ? null
|
||||
, libgnomeprintui ? null
|
||||
, libxml2 } :
|
||||
, libxml2
|
||||
, monoDLLFixer
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtk-sharp-1.0.6";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.go-mono.com/archive/1.0.6/gtk-sharp-1.0.6.tar.gz;
|
||||
md5 = "2651d14fe77174ab20b8af53d150ee11";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
pkgconfig mono glib pango gtk gconf libglade libgnomecanvas
|
||||
libgtkhtml libgnomeui libgnomeprint libgnomeprintui gtkhtml libxml2
|
||||
|
||||
];
|
||||
|
||||
inherit monoDLLFixer;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user