Re: [PHP-GTK] PHP-GTK Standalone Kit

[email protected] (Anant Narayanan)
Newsgroups php.gtk.general
Message-ID <[email protected]>
On 02-Aug-07, at 6:17 AM, Elizabeth Smith wrote:
> bob majdak jr wrote:
>> So every single program is going to install its own PHP, and GTK?  
>> 11MB for every PHP-GTK application, when the code itself weights  
>> probably 3KB. Granted there are advantages to self contained  
>> systems (like updates not breaking a program) but there are just  
>> as many disadvantages (like updating every single program one by  
>> one, and 11MB download per 'script'). I know hard drives are  
>> measured in gigabytes and sometimes terrabytes... but meh.  
>> Australians will cry about their use of bandwidth, and dialup  
>> users will cry about spending an hour, all for a simple app.
>
> I have to second this "I have a bad feeling about this" - first of  
> all how many windows installers for php-gtk2 do we need?  Secondly  
> - it's bad enough that php-gtk2 has to use it's own version of the  
> gtk libraries to avoid conflicts with versioning (theoretically you  
> really should only have one gtk install, like Pidgin puts one in % 
> program filse%\common\gtk - but this breaks things on so many  
> levels on windows) - but to have five or six different php-gtk  
> installs is just overkill Remember a full php-gtk install is NOT  
> SMALL.  If you're that nuts over distributing a single binary,  
> maybe you need to rewrite your php-gtk app in C and compile it.

I'm not a Windows person, but I think we (as in the PHP-GTK  
developers) ought to agree upon *one standard location* for PHP-GTK  
to reside in. That may not be practically possible, as users may want  
to install PHP-GTK in customized locations, but the problem can be  
solved by creating a registry key upon installation which stores the  
location of the installed PHP-GTK binaries. After this, we could  
release a tiny helper-app that developers using PHP-GTK could use to  
build their installers. All that installer would really contain is  
the source code of the program itself and some code to retrieve the  
registry entry and set the PATHs correctly.

Any developers using PHP-GTK who choose not to use our helper-app to  
release (windows versions) of their software lose out on the  
convenience.

How feasible is this?

--
Anant
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.