Re: gtksourceview (win32)

From: Date: Wed, 24 May 2006 13:28:08 +0000
Subject: Re: gtksourceview (win32)
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2891@lists.php.net to get a copy of this message
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


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