[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-dev
Subject:    [PHP-GTK-DEV] Bug #52274 [Opn->Asn]: Patch for building php-gtk with scintilla on Ubuntu
From:       felipe () php ! net
Date:       2010-07-10 14:31:13
Message-ID: 20100710143114.1F755DCA () ez1 ! php ! net
[Download RAW message or body]

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

-- 
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic