Bug #52274 [Opn->Asn]: Patch for building php-gtk with scintilla on Ubuntu
| From: | felipe@php.net | Date: | Sat, 10 Jul 2010 14:31:13 +0000 |
| Subject: | Bug #52274 [Opn->Asn]: Patch for building php-gtk with scintilla on Ubuntu | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-4472@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52274&edit=1
ID: 52274
Updated by: felipe@php.net
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