Package: php5
Version: 5.3.5-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch


Forwarded from Ubuntu:

https://launchpad.net/bugs/634359

In Ubuntu, the attached patch was applied to achieve the following:

Binary package hint: php-pear

Quoting from the bug report:
> Most of PECL packages require /usr/bin/phpize and some other php5-dev
> files to get installed/compiled (i.e. pecl/fribidi), but php5-dev is
> not always installed.
> 
> The worst issue is that /usr/bin/pecl (or "/usr/bin/pear install
> pecl/...") doesn't give user any clue on how to resolve the problem.
> 
> A simple solution is to add php5-dev to php-pear's dependencies. Another
> one is to introduce another package, php-pecl, that contains /usr/bin/pecl
> and set php5-dev as a dep of php-pecl.

  * debian/control: Recommend php5-dev for php-pear. (LP: #634359)


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u php5-5.3.5/debian/changelog php5-5.3.5/debian/changelog
diff -u php5-5.3.5/debian/control php5-5.3.5/debian/control
--- php5-5.3.5/debian/control
+++ php5-5.3.5/debian/control
@@ -228,9 +228,8 @@
 Package: php-pear
 Architecture: all
 Depends: ${misc:Depends}, php5-common (>= ${source:Version}), php5-cli
-Recommends: gnupg
+Recommends: gnupg, php5-dev
 Conflicts: php-xml-util
-Suggests: php5-dev
 Replaces: php4-pear (<< 4:4.4.0-0), php-xml-util
 Provides: php-xml-util
 Description: PEAR - PHP Extension and Application Repository

Reply via email to