On 2016-12-07 07:43 AM, Asif Aaron Amin wrote:
All,
Thanks for the quick responses! I regenerated the configure script as suggested:
gtk_modules="$gtk_package >= $gtk_min_version glib-2.0 >= 2.28" gtk_modules_private="gio-2.0 >= 2.28 gmodule-no-export-2.0"
And it looks like most of this compiled!
It failed here however because G_TYPE_KEY_FILE was not defined: CC libgeany_la-geanyobject.lo
I tried hacking up a quick solution by putting this at the top of geanyobject.cc:
#include <glib-object.h> #define G_TYPE_KEY_FILE (g_key_file_get_type ())
but this caused a linker failure.
Do a search and replace of G_TYPE_KEY_FILE for G_TYPE_POINTER (all in geanyobject.c I think). The only reason G_TYPE_KEY_FILE is needed is because GObject-introspection is broken. You might need to pass --disable-gtkdoc-header to configure script as well.
Regards, Matthew Brush