mingw32-nsiswrapper with gtk3
Nerijus Baliunas
nerijus at users.sourceforge.net
Wed Jul 13 20:50:42 UTC 2011
Hello,
I used nsiswrapper --run --with-gtk and it was unable to find 2 gtk-2.0 directories.
My application depends on gtk3, so I had to use this patch for /usr/bin/nsiswrapper:
--- nsiswrapper.orig 2011-02-08 21:55:05.000000000 +0200
+++ nsiswrapper 2011-07-13 21:23:54.452033666 +0300
@@ -515,12 +515,12 @@
sub do_gtk
{
add_file_unless_exists (
- "$mingw32_libdir/gtk-2.0",
+ "$mingw32_libdir/gtk-3.0",
root => 0,
dir => 1,
exec => 0,
install_dir => "lib",
- install_name => "gtk-2.0"
+ install_name => "gtk-3.0"
);
add_file_unless_exists (
@@ -542,12 +542,12 @@
);
add_file_unless_exists (
- "$mingw32_sysconfdir/gtk-2.0",
+ "$mingw32_sysconfdir/gtk-3.0",
root => 0,
dir => 1,
exec => 0,
install_dir => "etc",
- install_name => "gtk-2.0"
+ install_name => "gtk-3.0"
);
add_file_unless_exists (
Could nsiswrapper be extended to support gtk3 too?
Regards,
Nerijus
More information about the mingw
mailing list