[Pkg-php-pecl] Bug#826998: php-imagick: properly avoid openmp threads and use a non-soname dependency

Nishanth Aravamudan nish.aravamudan at canonical.com
Sat Jun 11 00:40:29 UTC 2016


Package: php-imagick
Version: 3.4.2-2
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

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

  * Merge with Debian unstable (LP: #1590618). Remaining changes:
    - Use libmagickwand-6.q16-dev | libmagickwand-dev as the test
      dependency instead of hard-coding an soname that will require us
      to update the tests file for each new ABI.

  [ This is ostensibly cleaner than what I provided to Debian in Bug
    #816724 ]

    - debian/patches/no-openmp-threads.patch: limit the number of openmp
      threads used to 1.

  [ As is this. If we can't trust the tests to run with > 1 OpenMP
    threads, we should probably limit it at all times with this library.
  ]

    - Fix failures in autopkgtests (LP #1549942)
      + imagick-3.4.0RC6/tests/025-get-color.phpt: Do not do version
        check, as Ubuntu has backported the referenced fixes.

  [ I did not include this delta here, but I would like to. I do not
    believe there has been any movement in Debian wrt. my submissions in
    Debian #811308 or #816701.
    And, in fact, #811308 has been re-marked fix, but that seems false,
    as the version that fixes it is wheezy-security upload? I might just
    missing something in the Debian process. ]

  * Do not manually set MAGICK_THREAD_LIMIT in d/t/control, as the
    number of threads are limited in the source.

  [ superseded by the source change ]

  * d/patches/: update 3.4.0RC6 to 3.4.2 for new upstream version.

  [ if the imagemagick changes get picked by Debian, I'll send this with
    a follow-on debdiff. ]


Thanks for considering the patch.


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-22-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-imagick_3.4.2-2ubuntu1.debdiff
Type: text/x-diff
Size: 2067 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pecl/attachments/20160610/73c71493/attachment.diff>


More information about the Pkg-php-pecl mailing list