Bug #52274 [Ana->Asn]: Patch for building php-gtk with scintilla on Ubuntu

[email protected] Tue, 24 Oct 2017 05:45:47 GMT
Newsgroups php.gtk.dev
Message-ID <[email protected]>
Edit report at https://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:             Analyzed
+Status:             Assigned
 Type:               Bug
 Package:            PHP-GTK related
 Operating System:   Ubuntu 10.04
 PHP Version:        5.3.2
 Assigned To:        buhlerax
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2016-10-23 15:56:04] [email protected]

The 2.0.1 version of php-gtk will no longer fixes.
We will work on version 3 of the php-gtk with gtk 3.

------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=52274&edit=1