php.net |  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
Votes:5
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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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
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


Patches

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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-10 16:31 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: auroraeosrose
 [2016-10-16 17:16 UTC] auroraeosrose@php.net
-Assigned To: auroraeosrose +Assigned To: buhlerax
 [2016-10-23 15:56 UTC] buhlerax@php.net
-Status: Assigned +Status: Analyzed
 [2016-10-23 15:56 UTC] buhlerax@php.net
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] kalle@php.net
-Status: Analyzed +Status: Assigned
 [2017-10-24 07:22 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: buhlerax +Assigned To:
 [2017-10-24 23:13 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 23:13 UTC] kalle@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC