PHp-gtk Extension And widget Repository (PHEAR)

From: Date: Mon, 15 Oct 2001 14:53:15 +0000
Subject: PHp-gtk Extension And widget Repository (PHEAR)
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-130@lists.php.net to get a copy of this message
Ok, well, lets start discussing it. I think everyone agrees with Andrei not to bloat php-gtk and move external widgets out of the core. Andrei, yet you haven't told us which mechanism will be available: loadable with a shared module, e.g. gl_gtk('php-gtk_glarea.so'); or built-in or both? So we want a new cvs module then? php-gtk-ext ? Or does it still lives somewhere inside php-gtk? (probably not I guess) The buildprocess shall meet the following requirements: .) work under win32 & linux(unix) For linux, its obviously to use configure and friends. For windows maybe we can make a similar facility which doesn't have too much dependencies. I don't know if it can be done with batch files only'; probably not. So we have to depend on something bigger which is cygwin then? Then I think we can use configure or a similar process too. .) externals must be intelligently capable of having different capabilities depending on the platform. For example, the only win32 binary for gtkglarea doesn't support all function which are available from the windows build. So it should be easy to write one source which handles both (problem with differnt defs and override files right now) .) depending on the first question, define which you want external and which built-in .) extension AND widget source (if license permits it) can be put in there Example layout: php-gtk-ext/ glarea/ gdkgl/ sqpane/ scintilla/ A widget dependency system seems also necessary. For example, glarea depends on gdkgl. If possible, windows binary distribution should always ship with all working widget if possible. Or at least, two sets of binaries. One with the php-gtk core and one with all widgets (if the dl() mechanism works out) Lets roll the dices. - Markus

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