On 9/6/07, Nick Treleaven nick.treleaven@btinternet.com wrote:
This is amazing, great work!
Thanks, it wouldn't have been possible without a great editor like Geany, and all your hard work on the plugin system!
I have Gtk+ 2.8, and GTK_MESSAGE_OTHER isn't defined (also for 2.6). Also Geany requires 2.6, maybe you meant >= 6. So I just commented out the #if and #endif lines, so it would build.
OK, in that case I guess it should be GTK_MINOR_VERSION<=8. I developed the plugin on a Gtk+ 2.10 system and I didn't even notice the missing define until I tried compiling the Windows DLL using 2.6.
Really, I only wanted to keep the dialogs as generic-looking as possible, and using GTK_MESSAGE_OTHER on 2.10 gets rid of that silly light bulb icon.
Is there some other simple way to keep the dialogs from displaying an icon?
Also, the plugin ABI version may change before the Geany 0.12 release, so unfortunately you might need to recompile the plugin binaries.
No problem, there will likely be some changes and/or bug fixes to the plugin as well.
how do you build 'universal' .so's for Linux, and how are they limited (e.g. glibc, kernel version)?
I just built it with the supplied Makefile, and I can't even make a guess as to how "universal" it is, but my system looks something like this: SuSE-10.2 - kernel-2.6.18 gcc-4.1.2 - libc-2.5-25 glib-2.14.0 - gtk+-2.10.14 Lua-5.1.2
Hopefully that works for a lot of people, but no doubt there will still be some who will need to compile their own.
I'm also interested to know how the Win32 DLL works for other users. It was cross-compiled on the same machine, but I had some problems getting a "geany.exe" cross-compiled to test it with. I think my MinGW environment isn't well enough isolated from the Linux tool chain as it should be.
Anyway thanks for this plugin :)
Thanks for your feedback!
- Jeff