Re: Policy/thoughts on running/bundling C binaries with PHP package?

From: Date: Thu, 15 Dec 2005 23:53:18 +0000
Subject: Re: Policy/thoughts on running/bundling C binaries with PHP package?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-40745@lists.php.net to get a copy of this message
On 12/15/05, Keith Palmer Jr. <keith@uglyslug.com> wrote: > I'm going to propose a Net_CDDB package soon which is used to access the > FreeDB.org audio-cd database to get audio-cd songs names/artist/cd info. > for a CD in your cd-drive. In order to do this I need to be able to > read the table of contents from the cd-drive. As far as I know I can't > do this with just PHP. > > > The best thought I have so far (other ideas?) is to use an external > program like 'cd-discid' (http://lly.org/~rcw/cd-discid/) to read the > TOC and return the info. to the PHP script. My thoughts are this: Isnt that program open source? Why can't you read throu it and check how it access the cd? From the sound of it, I think it would make a neat PECL extension rather then PEAR package... > Check if the cd-discid program is actually installed (which > cd-discid) > If it is, execute that one, otherwise, run a bundled executable > (Can I bundle executables with PEAR packages? License is GPL, author > said its fine to do this) Afaik PEAR doesn't accept GPL license. > If I can bundle executables with the PEAR package, where do they get > placed? Pear extension directory or in the packages directory or...? > Distributing binary files with PEAR packages sounds awful and I'd rather not allow it. - Hannes

« previous php.pear.dev (#40745) next »