Re: GtkSourceView

From: Date: Fri, 14 Apr 2006 22:42:35 +0000
Subject: Re: GtkSourceView
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2764@lists.php.net to get a copy of this message
Hi Steph, > 1) --enable-whatever is usually used when no external libs/headers are > needed. Given that I had to download three separate projects > (gtksourceview itself, libgnomeprint and libart_lgpl) to get anywhere at > all; it should really be --with-sourceview in this case. Didn't know that! Will switch it to --with-sourceview. Likewise with the #include "php_gtk_api.h". > As far as the win32 thing goes, I got as far as failed links - in other > words, if I'd had a static libsourceview sitting there to link against > it would've worked. So I need to figure how to build that library. Someone had already tried to do that, I think it was when they were trying to port MonoDevelop to Windows. Don't know how far they got and don't know if it'll help you though: http://forge.novell.com/modules/xfref_library/detail.php?reference_id=616 > I'm not sure the libgnomeprint part is 100% needed under win32, but I'll > have a go at building it that way anyway tomorrow and see where we go > from there. It'll most likely get ifdef'd out in the end - not least to > keep the number of files for download to a minimum! It actually isn't needed. libgnomeprint is only required when someone is trying to print out some content from the sourceview. It interfaces with the GnomePrintConfig module (on the Gnome desktop environment of course) to handle the printing part. In fact, those print functions don't work currently on *nix too, not until I commit the Bonobo and Gnome extensions atleast :) I should probably remove those functions from the .defs file, what do you say? Regards, - Anant

« previous php.gtk.dev (#2764) next »