Bug #52274 [Opn->Asn]: Patch for building php-gtk with scintilla on Ubuntu
[email protected] Sat, 10 Jul 2010 16:31:13 +0200 (CEST)
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
Edit report at http://bugs.php.net/bug.php?id=52274&edit=1 ID: 52274 Updated by: [email protected] Reported by: thomas dot sahlin at invented dot se Summary: Patch for building php-gtk with scintilla on Ubuntu -Status: Open +Status: Assigned Type: Bug Package: PHP-GTK related Operating System: Ubuntu 10.04 PHP Version: 5.3.2 -Assigned To: +Assigned To: auroraeosrose Previous Comments: ------------------------------------------------------------------------ [2010-07-07 13:05:03] thomas dot sahlin at invented dot se Description: ------------ I've created a patch which makes it possible to build php-gtk with scintilla on Ubuntu/Linux. The patch will break things on other platforms, so someone with better knowledge of configure/make will have to figure out a proper fix. Description of changes: ext/scintilla/config.m4 Added missing source files for scintilla ext/scintilla/libscintilla/include/Platform.h Set #define PLAT_GTK 1 - this is not done automatically for some reason. ext/scintilla/libscintilla/src/ExternalLexer.h Removed EXT_LEXER_DECL definition from typedefs. ext/scintilla/sci_generator.php Fixed to be compatible with the new LineOutput class. Also removed deprecated functions and warnings. There is also some dependency problem in the makefile, so one has to manually make gen_scintilla.c: make ext/scintilla/gen_scintilla.c make ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52274&edit=1