Re: gtksourceview (win32)

From: Date: Thu, 25 May 2006 13:29:05 +0000
Subject: Re: gtksourceview (win32)
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2898@lists.php.net to get a copy of this message
Thats my own, because i can not compile this with a other IDE/compiler. mfg kita Steph Fox schrieb:
I didn't find the VS version - is that your own, or someone else's work?
Here is my source: http://www.b0red.de/php-gtk2/gtksourceview/gtksourceview/ <-- gtksourceviw Source files http://www.b0red.de/php-gtk2/gtksourceview/gtksourceview-1.4.2/ <-- VS Studio Project files i can not compile gtksource view with: cygwin ./configure make
Heh, I wouldn't even have tried :)
There are many missing thinks. So i have put all files into a VisualStudio Project and i have try to compile. The tar.bz2 is a copy of the content (http://www.b0red.de/php-gtk2/gtksourceview/*). gtksourceview-1.4.2.tar.gz is the original source you can look with diff to find the differents.
I already have the original source here, but I'll check it out anyway - it could be a different version by now.
I have add for every non static function GTKSOURCEVIEW_API. gtksourceview-1.4.2/gtksourceview/x.php is the script who is generating changes to the code.
Uhuh... let me take a look into this over the (much lighter thanks to you) upcoming weekend... You may need to offer your changes back to the original project before we can reasonably adopt it. Thanks! -- Steph
mfg xxoes Steph Fox schrieb:
Brilliant, could you please tell me where you got hold of the source? I looked all over the net for _anything_ win32-related there! There weren't even makefiles for it, but then this was some weeks ago... ----- Original Message ----- From: "xxoes" <xxoes@nw7.de> To: "PHP-GTK Dev list" <php-gtk-dev@lists.php.net> Sent: Wednesday, May 24, 2006 8:28 AM Subject: [PHP-GTK-DEV] gtksourceview (win32)
hi, i have create a gtksourceview.lib and gtksourceview.dll from the gtksourceview-1.4.2 for win32. I have changed many header files an the c source but now it works. (only printing support is not been implemented) I can upload the source and lib/dll for php-gtk2. Now i can use gtksourceview under win32 with php-gtk2. Here is the config.w32 i have the same problem with the phpg_sourceview_register_classes and phpg_sourceview_register_constants like mozembed:
There is a bug in my config because the
phpg_gtkmozembed_register_classes and phpg_gtkmozembed_register_constants seems to be wrong. I changed this manualy to phpg_mozembed_register_classes and phpg_mozembed_register_constants. The define COMPILE_DL_MOZEMBED musst be COMPILE_DL_MOZEMBED2 in php_mozembed.c. Why??? ARG_WITH("sourceview", "sourceview support", "no"); if (PHP_GTK_SOURCEVIEW != "no" || PHP_GTK_ALL != "no") {
       if (CHECK_LIB("gtksourceview.lib", "sourceview")) {
               if (FSO.FileExists("win32\\temp.bat")) {
                       var temp = FSO.OpenTextFile("win32\\temp.bat", 8);
                       temp.WriteLine("php -q generator\\generator.php -l win32\\logs\\config_sourceview.log -o ext\\sourceview\\sourceview.overrides -p sourceview -r ext\\gtk+\\gtk.defs ext\\sourceview\\sourceview.defs > ext\\sourceview\\gen_sourceview.c");
                       temp.WriteLine('grep -h "^PHP_GTK_EXPORT_CE" ext\\sourceview\\gen_sourceview.c | sed -e "s/^/PHP_GTK_API extern /"
ext\\sourceview\\gen_sourceview.h');
                       temp.Close();
               }
               ADD_FLAG("CFLAGS_SOURCEVIEW", "/I ext\\sourceview /I ..\\ext\\sourceview /D HAVE_SOURCEVIEW=1");
               EXTENSION("sourceview", "gen_sourceview.c php_sourceview.c", true); // always shared
               AC_DEFINE("HAVE_SOURCEVIEW", 1, "sourceview enabled");
       } else {
               WARNING("sourceview not enabled; libraries and headers not found");
       }
} How can I print with php-gtk2 gtksourceview? I have no method found that can print with sourceview in the php-gtk2 overrides. sorry for my english ;) mfg xxoes -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com
__________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com


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