Re: Re: nix shared ext

From: Date: Thu, 24 Jan 2008 10:57:56 +0000
Subject: Re: Re: nix shared ext
References: 1 2 3 4  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-4099@lists.php.net to get a copy of this message
The Windows ones are php_gtk_sexy2.dll. If you want to change the naming of the .so ones to match that you'll probably need to fiddle with a single line in php_gtk.m4 - with Andrei's agreement of course. Let me know if it turns out to affect all (e.g. if there needs to be a 2 at the end of the constant in the sources) because that will require a minor change at the doze end too. Thanks, - Steph ----- Original Message ----- From: "Bob Majdak Jr" <bob@kateos.org> To: "PHP-GTK Developers" <php-gtk-dev@lists.php.net> Sent: Thursday, January 24, 2008 3:08 AM Subject: Re: [PHP-GTK-DEV] Re: nix shared ext
I consider it a bug in that, what if for example there was a /real/ PHP extension called Sexy? PHP-GTK would overwrite it with it's own libsexy extension. I've talked about this before with Elizabeth and Anant and I think we were in agreement that that should be fixed. I think at the time though none of us really had a clue about what exactly needs the tweak, nor time to investigate it. Really it should be the same as the Windows DLL's with the prefix, IMHO. -- Bob Majdak Jr KateOS Rofflecopter Pilot http://www.kateos.org Steph Fox wrote:
OK, that needs a *nix build merchant - if you agree that it's a bug. I would've expected it to be sourceview.so from the code, but I don't know if that's wrong or not. And I don't have any way to check it out anyways. Thanks for testing Bob, thousands don't. - Steph ----- Original Message ----- From: "Bob Majdak Jr" <bob@kateos.org> To: "PHP-GTK Developers" <php-gtk-dev@lists.php.net> Sent: Wednesday, January 23, 2008 9:54 PM Subject: [PHP-GTK-DEV] Re: nix shared ext
Steph Fox Wrote:
Theoretically, *nix shared extension builds should work now. Please let me know if they needed a '2' on the end...
I tested it with GtkSourceView only and it worked. Built, installed, and ran it fine. However it still has the "wrong" filename, it ends up as sourceview.so instead of php_gtk2_sourceview.so. changelog wrote:
changelog Wed Jan 23 01:31:44 2008 UTC
  Modified files:              /php-gtk ChangeLog Log:
ChangeLog update http://cvs.php.net/viewvc.cgi/php-gtk/ChangeLog?r1=1.568&r2=1.569&diff_format=u Index: php-gtk/ChangeLog diff -u php-gtk/ChangeLog:1.568 php-gtk/ChangeLog:1.569 --- php-gtk/ChangeLog:1.568 Tue Jan 22 01:31:40 2008 +++ php-gtk/ChangeLog Wed Jan 23 01:31:44 2008 @@ -1,3 +1,40 @@ +2008-01-22 Steph Fox <steph.fox@virgin.net> +
+    * ext/extra/php_gtkextra.c
+      ext/html/php_html.c
+      ext/libglade/php_libglade.c
+      ext/libsexy/php_libsexy.c
+      ext/mozembed/php_mozembed.c
+      ext/scintilla/php_scintilla.c
+      ext/sourceview/php_sourceview.c
+      ext/spell/php_spell.c
+      win32/confutils.js:
+      Theoretically, *nix shared extension builds should work now. Please let me
+      know if they needed a '2' on the end...
+
+    * ext/gtk+/gdk-2.10.defs
+      ext/gtk+/gdk-2.12.defs
+      ext/gtk+/gdk.defs
+      ext/gtk+/gtk-2.10.defs
+      ext/gtk+/gtk-2.12.defs
+      ext/gtk+/gtk-2.8.defs
+      ext/gtk+/gtk.defs
+      generator/override.php
+      generator/scheme.php:
+      Defs should only include the previous version .defs file and the current
+      types.defs file, if one exists. Note that def caches are now versioned.
+
+    * ext/gtk+/gdk-2.12.overrides
+      ext/gtk+/gdk.overrides
+      ext/gtk+/gtk-2.10.overrides
+      ext/gtk+/gtk-2.12.overrides
+      ext/gtk+/gtk-2.8.overrides
+      ext/gtk+/gtk.overrides
+      generator/override.php
+      generator/scheme.php:
+      This works fine, but I forgot to move the defs to the new scheme. (Cue
+      much confusion here - until now.)
+ 2008-01-21 Bob Majdak Jr <bob@kateos.org> * ext/sourceview/sourceview.defs
-- Bob Majdak Jr KateOS Rofflecopter Pilot http://www.kateos.org -- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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