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

From: Date: Wed, 07 Jul 2010 11:05:05 +0000
Subject: Bug #52274 [NEW]: Patch for building php-gtk with scintilla on Ubuntu
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-4471@lists.php.net to get a copy of this message
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

« previous php.gtk.dev (#4471) next »