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

List:       php-gtk-dev
Subject:    [PHP-GTK-DEV] [PHP-BUG] Bug #52274 [NEW]: Patch for building php-gtk with scintilla on Ubuntu
From:       "thomas dot sahlin at invented dot se"<php-bugs () lists ! php ! net>
Date:       2010-07-07 11:05:05
Message-ID: bug-52274 () bugs ! php ! net
[Download RAW message or body]

From:             
Operating system: Ubuntu 10.04
PHP version:      5.3.2
Package:          PHP-GTK related
Bug Type:         Bug
Bug description:Patch for building php-gtk with scintilla on Ubuntu

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 bug report at http://bugs.php.net/bug.php?id=52274&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=52274&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=52274&r=trysnapshot53
Try a snapshot (trunk):              http://bugs.php.net/fix.php?id=52274&r=trysnapshottrunk
Fixed in SVN:                        http://bugs.php.net/fix.php?id=52274&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52274&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=52274&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=52274&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=52274&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=52274&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=52274&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=52274&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=52274&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=52274&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=52274&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=52274&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=52274&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=52274&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=52274&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=52274&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=52274&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=52274&r=mysqlcfg


-- 
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