alt-php53-pecl-imagick (3.4.4-2) stable; urgency=medium

  * ALTEAPLN-46: refresh tests/024-ispixelsimilar.phpt for ImageMagick >= 7.1.2-0.
    IsFuzzyEquivalencePixelInfo() now sums both wands' squared fuzz instead of
    taking the maximum, and IsPixelWandSimilar() sets the same fuzz on both, so
    the fuzz at which two colours count as similar dropped by sqrt(2). All six
    "not similar" probes sat inside that gap and reported similar, failing the
    test on Ubuntu 26 (ImageMagick 7.1.2-18). Each is lowered to half its paired
    "similar" probe, which stays false on every ImageMagick the matrix ships --
    verified on 6.9.7-4, 6.9.12-98, 7.1.1-43, 7.1.2-18 and 7.1.2-30.

 -- Nikolai Mardanov <nmardanov@cloudlinux.com>  Fri, 04 Sep 2026 11:00:00 +0400

alt-php53-pecl-imagick (3.4.4-1) stable; urgency=medium

  * ALTPHP-2397: allow php53/54/55 on Debian 13. The blanket "PHP55 and
    earlier are not supported on Debian systems" halt predates the
    alt-php53/54/55 base runtimes landing on deb13 (ALTPHP-2492). Replaced
    with per-(php_version, platform) guards so only combos without a base
    -dev package are excluded.
  * ALTPHP-2397: split this changelog per version lineup and add the lineup
    macros to debian/0_defines.macros. The deb side had no lineup selection,
    so the 3.8.1 top entry applied to every build; with php53/54/55 enabled
    that would version a 3.7.0 or 3.4.4 build as 3.8.1.
  * ALTPHP-2397: cast the php_stream_locate_url_wrapper() path_for_open argument
    for php<56. That parameter is "char **" up to PHP 5.5 and "const char **"
    from 5.6 on, while imagick passes a const char ** in both 3.4.4 and 3.7.0;
    Debian 13's GCC makes the mismatch an error. Gated below 56 deliberately --
    the cast reintroduces the error on php56+.
  * ALTPHP-2397: drop two ImageMagick-version-sensitive tests. 316_Imagick_
    getImageKurtosis.phpt is calibrated for an older ImageMagick than deb13
    ships and alt.spec already removes it (php<56 here, so php56+ keeps the
    test it currently passes). 009_properties.phpt expects a lowercase format
    string, but imagick 3.4.4 returns ImageMagick's verbatim "PNG" (php53 only;
    3.7.0+ normalise it).
  * ALTPHP-2397: drop four more tests for the 3.4.4 lineup (php52/53) --
    274_imagick_setImageAlpha (IM7 pixel semantics; 3.4.4 predates ImageMagick 7)
    plus 275/279/280, the only three of 3.4.4's 276 packaged tests that use
    PHP 5.4+ short-array syntax and so cannot parse on PHP 5.3.

 -- Sergey Fokin <sfokin@cloudlinux.com>  Mon, 10 Aug 2026 12:00:00 +0200

