[Pkg-php-pear] On PEAR packaging

Mathieu Parent math.parent at gmail.com
Tue Jun 7 18:21:28 UTC 2011


(my previous mail was rejected)

> Hi Mathieu,
>
> > Comments, suggestions, feedback ... ?
>
> Works! ;)

Good.

>
> At least to a large extent. Thanks for providing the build helper.
>
> I generated a first set of Horde4 packages here:
>
> http://files.pardus.de/horde4-debian-20110607/

Great! Can you also provide the sources?

> These are not yet complete and installable. This is currently just a
> smoke test for the build machinery but it should evolve into something
> installable rather soon.
>
> Feedback from this first build run:
>
>   - I had a problem with the "download_dir" not being writeable and
> added '"-d", "download_dir=/tmp",' in the phppear.pm file. I still
> need to check why this happened.

What is the content of your /etc/pear/pear.conf file? I thought that
the download_dir was not used (because the tarball is already here).

>   - Horde_Role: This package failed to build as '$pf =
> $pkg->fromAnyFile($packagefilename, PEAR_VALIDATE_NORMAL);' failed in
> phppkginfo. I believe '$pf = $pkg->fromAnyFile($packagefilename,
> PEAR_VALIDATE_DOWNLOADING);' is sufficient and fixed the problem here.

Perhaps "0" is event better. Can you try the following command from
the unzipped source (with PEAR_VALIDATE_NORMAL) :
 /usr/share/pkg-php-tools/scripts/phppkginfo -d . package

The -d should print any error message.

>   - Files in "horde_dir": The purpose of Horde_Role is to add a new
> PEAR configuration variable "horde_dir". This one specifies the target
> location for files that need to be served by the web server. For now I
> hacked this by adding '"-d", "horde_dir=/usr/share/horde4",' in the
> phppear.pm file. Definitely not the way to solve the underlying
> problem and I assume the way how this might work on Debian still needs
> discussion.

Yes, this should probably be set on php-horde-role installation. And
Horde apps should builddep on it.

> What is required to get this process moving along? So far both
> pkg-php-pear and pkg-horde-hackers have been very, very quiet.

Sadly, yes. Let's assume there are no objection. I'm preparing a
release of pkg-php-tools. I will upload it to Debian once your remarks
have been solved.

> Cheers,
>
> Gunnar
>

Cheers

Mathieu



More information about the Pkg-php-pear mailing list