|
Home > Archive > Debian Developers > April 2004 > Re: Making packages of php pear modules
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Making packages of php pear modules
|
|
| Ian Eure 2004-02-24, 6:33 am |
| On Tuesday 24 February 2004 01:48 am, Uwe Steinmann wrote:
> Hi,
>
> I started to think about making the huge number of php pear modules
> available for debian. After looking at one which I will need myself
> real soon, it appears not to be very difficult.
> Anyway there are some questions:
>
> 1. Is there any naming convention already? There is one package
> called php4-pear-log. Should all packages start with php4-pear?
> The pear module which I already packaged is named
> php4-pear-http-webdav-server which is somewhat long.
>
I don't believe that there are any individual PEAR packages in Debian, aside
from php4-pear.
> 2. Has anybody thought about extending pear itself to make it
> create debian source packages just like rpm packages?
> A quick look at pear indicates that this will not be too
> difficult once a template is available.
>
I'd like to see something like dh-make-perl for PEAR packages. dh-make-pear?
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Steve Langasek 2004-02-25, 2:33 pm |
| On Tue, Feb 24, 2004 at 10:48:48AM +0100, Uwe Steinmann wrote:
> I started to think about making the huge number of php pear modules
> available for debian. After looking at one which I will need myself
> real soon, it appears not to be very difficult.
> Anyway there are some questions:
> 1. Is there any naming convention already? There is one package
> called php4-pear-log. Should all packages start with php4-pear?
> The pear module which I already packaged is named
> php4-pear-http-webdav-server which is somewhat long.
I would actually prefer that such PEAR packages *not* be prefixed with
'php4', since they normally are not at all specific to version 4 of the
engine and do not come from the php4 source package itself. But a
prefix of 'php-' seems fine.
There's no formal policy on any of this yet, but this is certainly the
way I personally lean right now.
> 2. Has anybody thought about extending pear itself to make it
> create debian source packages just like rpm packages?
> A quick look at pear indicates that this will not be too
> difficult once a template is available.
Probably worth looking into if somebody has interest in PEAR. I shudder
every time I see a bug report that includes the words "after running
pear upgrade-all..."
--
Steve Langasek
postmodern programmer
| |
| Uwe Steinmann 2004-03-01, 12:33 pm |
| On Tue, Feb 24, 2004 at 11:38:28AM -0800, Ian Eure wrote:
> On Tuesday 24 February 2004 01:48 am, Uwe Steinmann wrote:
> I'd like to see something like dh-make-perl for PEAR packages. dh-make-pear?
>
I made an initial debian package containing dh-make-pecl and
dh-make-pear. They are similar to dh-make-perl. I tested them for
several php extension (mostly from pecl) and they seem to work
reasonable well. You can get them at
deb http://people.debian.org/~steinm/debian/dists sid/all/
deb-src http://people.debian.org/~steinm/debian/dists sid/
Any comments appreciated.
Uwe
--
MMK GmbH, Universitaetsstr. 11, 58097 Hagen
Uwe.Steinmann@mmk-hagen.de
Tel: +2331 840446 Fax: +2331 843920
| |
| Jonathan Oxer 2004-04-08, 3:37 am |
| Sorry 'bout the slow response, just going through back-mail...
On Wed, 2004-02-25 at 06:38, Ian Eure wrote:
....[color=darkred]
> I don't believe that there are any individual PEAR packages in Debian, aside
> from php4-pear.
php4-apd
I was also thinking about packaging phpdocumentor because it's required
for an internal Deb package at my work, but didn't bother following it
up because all you have to do is put 'pear install foo' in the postinst
of anything that depends on it and you're done. No need for a Debian
package at all.
In fact, a Debian package of any PEAR module could be as simple as a
near-empty package with a 1-line postinst as above.
If there are other reasons for packaging PEAR stuff natively I'd be very
interested to hear it - I'd be happy to package phpdocumentor and other
PEAR stuff after all if there's a good reason to do it.
Cheers :-)
Jonathan Oxer
--
The Debian Universe: Installing, managing and using Debian GNU/Linux
http://www.debianuniverse.com/
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Uwe Steinmann 2004-04-08, 5:40 am |
| On Thu, Apr 08, 2004 at 04:41:47PM +1000, Jonathan Oxer wrote:
> Sorry 'bout the slow response, just going through back-mail...
>
> On Wed, 2004-02-25 at 06:38, Ian Eure wrote:
> ...
>
> php4-apd
>
> I was also thinking about packaging phpdocumentor because it's required
> for an internal Deb package at my work, but didn't bother following it
> up because all you have to do is put 'pear install foo' in the postinst
> of anything that depends on it and you're done. No need for a Debian
> package at all.
'pear install foo' will install the pear extension but debian package
management will not know of the new files. I personaly don't like
to spill files over my debian distribution not being covered by any
package.
> In fact, a Debian package of any PEAR module could be as simple as a
> near-empty package with a 1-line postinst as above.
>
> If there are other reasons for packaging PEAR stuff natively I'd be very
> interested to hear it - I'd be happy to package phpdocumentor and other
> PEAR stuff after all if there's a good reason to do it.
Before you start, you should have a look at my dh-make-php package which
does most of the work to build source packages from pear/pecl
extensions. It's not yet released because I am waiting for a debian helper
dh-pecl being added to debhelper.
Uwe
--
MMK GmbH, Universitaetsstr. 11, 58097 Hagen
Uwe.Steinmann@mmk-hagen.de
Tel: +2331 840446 Fax: +2331 843920
|
|
|
|
|