|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52274 Patch for building php-gtk with scintilla on Ubuntu
Submitted: 2010-07-07 13:05 UTC Modified: 2017-10-24 23:13 UTC
Avg. Score:3.2 ± 1.8
Reproduced:5 of 5 (100.0%)
Same Version:4 (80.0%)
Same OS:4 (80.0%)
From: thomas dot sahlin at invented dot se Assigned:
Status: Suspended Package: PHP-GTK related
PHP Version: 5.3.2 OS: Ubuntu 10.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: thomas dot sahlin at invented dot se
New email:
PHP Version: OS:


 [2010-07-07 13:05 UTC] thomas dot sahlin at invented dot se
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:

    Added missing source files for scintilla

    Set #define PLAT_GTK 1 - this is not done automatically for some reason.

    Removed EXT_LEXER_DECL definition from typedefs.

    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


scintilla.patch (last revision 2010-07-07 11:06 UTC by thomas dot sahlin at invented dot se)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-10 16:31 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: auroraeosrose
 [2016-10-16 17:16 UTC]
-Assigned To: auroraeosrose +Assigned To: buhlerax
 [2016-10-23 15:56 UTC]
-Status: Assigned +Status: Analyzed
 [2016-10-23 15:56 UTC]
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.
 [2017-10-24 05:45 UTC]
-Status: Analyzed +Status: Assigned
 [2017-10-24 07:22 UTC]
-Status: Assigned +Status: Open -Assigned To: buhlerax +Assigned To:
 [2017-10-24 23:13 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 23:13 UTC]
I'm gonna suspend this report as the PHP GTK project activity seems halted, if the activity picks backup for the project then this report should be re-opened.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 30 07:01:25 2023 UTC