sure it can be done better, but this works.
- Moved all calls of macros and such from php_gtk.m4 to config.m4 and ext/gtk+/config.m4 files - Nuked unnecessary creation of ext.m4 - Bye bye aclocal: aclocal.m4 is generated "manually" by concatenating acinclude.m4, build/libtool.m4 and php_gtk.m4
- Fix silly bug in ignore-glob processing
full GdkRectangle object or 4-element array instead.
work to be done.
* Add atk*.defs to the mix. * Simplify building even more via implicit rules: gen_*.h is now generated right after gen_*.c. Thus, adding 'atk' definitions was a snap. # Damn, it pays to learn GNU make rules.
GTK/GDK defs are in and parsing works. So does object registration, but that's about it for now. If this compiles for you, you can do var_dump(get_declared_classes()) and see all the Gtk classes there.
so that each property gets its own function. This saves us from having to do a bunch of strcmp() calls. Only one class is implemented now, GType, manually at that. But it provides an example.
system. - Start using external aclocal macros for Gtk+ checks. This requires gathering all extension config.m4 files and configure.in into configure.ac, because aclocal won't find them otherwise. This might result in a warning from aclocal too but it's okay for now.
…cally with either old or new PHP build system. It also updates copyright years and fixes loading of rc files by test/gtk.php. Extension writers should take notice of the changes in the build system.
- Fix comparison test in genext.sh. - Make sure that ext/gtk+ always comes first in compilation.
system and is necessary in order to keep adding support for GtkObject based extensions such as GtkHtml, Bonobo, GtkScintilla and others. The only currently implemented extensions are Gtk+ and libglade. Each extension (except for Gtk+, obviously) can be enabled or disabled from the 'configure' command-line. The new build process for CVS versions of PHP-GTK is such: ./buildconf ./configure make