Re: "turn on" GtkSourceView feature

From: Date: Mon, 30 Oct 2006 14:43:41 +0000
Subject: Re: "turn on" GtkSourceView feature
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7404@lists.php.net to get a copy of this message
Some additional notes for linux users... 1. Assuming you have gtk+ 2.x in place, download 2 more packages. Compile libgnomeprint first, then gtksourceview. a) libgnomeprint-2.12.1 http://www.linuxfromscratch.org/blfs/view/cvs/gnome/libgnomeprint.html b) gtksourceview-1.6.0 http://gtksourceview.sourceforge.net/ 2. Remove the previously compiled php_gtk2.so rm /usr/local/php-5.1.6/lib/php/extensions/no-debug-non-zts-20050922/php_gtk2.so Note: if you don't remove this, you will get an error when running ./configure 3. Recompile php-gtk2 Note: remember to add the switch "--enable-sourceview" ./configure --prefix=/usr/local/php-gtk-2.0.0 --enable-sourceview --with-php-config=/usr/local/php-5.1.6/bin/php-config make make install If you use the default configure, the language-specs will be stored in /usr/local/share/gtksourceview-1.0/language-specs Additional notes in: http://www.kksou.com/php-gtk2/articles/install-php-gtk2-on-linux.php Regards, /kksou Sample output: http://www.kksou.com/php-gtk2/gif/gtksourceview_linux.gif p.s. linux uses the latest version of gtksourceview (v1.6), whereas the sourceview.dll that comes bundled with Gnope Installer is v1.4. If you have played with the windows version, it is somewhat buggy. Initial display of syntax highlighting is ok. But as you type in more text, sometimes syntax highlighting just stop working. Would be great if anyone could point us to an updated win32 binary of gtksourceview-1.6.0. -- View this message in context: http://www.nabble.com/%22turn-on%22-GtkSourceView-feature-tf2532413.html#a7075798 Sent from the Php - GTK - General mailing list archive at Nabble.com.

« previous php.gtk.general (#7404) next »