[Pkg-php-pecl] Clarification on updated packages with updated binary packages

Nish Aravamudan nish.aravamudan at canonical.com
Tue Mar 15 15:32:50 UTC 2016


On 04.03.2016 [18:33:12 +0100], Ondřej Surý wrote:
> New php-pear package depend on php-xml, so you are safe here. Not sure
> about mbstring though.

Thanks, Ondřej!

> There might be something in package.xml that could be automatically
> parsed.

I wonder about something else related to this. php-sabre-http's
composer.json says:

        "ext-mbstring" : "*",

Since that's now not builtin to the PHP core, does dh_phpcomposer need
an update to translate that to php-mbstring?

Otherwise, at least php-sabre-http needs something like the following.

-Nish


diff --git a/debian/control b/debian/control
index fa87d90..316ca4a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9),
                php-cli,
                php-codesniffer,
                php-curl,
+               php-mbstring,
                php-sabre-event,
                php-sabre-uri,
                php-xdebug,
diff --git a/debian/tests/control b/debian/tests/control
index f53078c..400b483 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -3,4 +3,4 @@ Depends: @, php-codesniffer
 
 Tests: phpunit
 Restrictions: rw-build-tree
-Depends: @, patch, php-curl, php-xdebug, phpunit
+Depends: @, patch, php-curl, php-msbstring, php-xdebug, phpunit

-- 
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd



More information about the Pkg-php-pecl mailing list