alt-php81-pecl-imagick (3.8.1-14) 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-php81-pecl-imagick (3.8.1-13) stable; urgency=medium

  * ALTPHP-2483: build-depend on libpcre3-dev | libpcre2-dev so the extension
    builds on Ubuntu 26 (resolute), where libpcre3-dev was removed
  * ALTPHP-2483: depend on libmagickcore-7.q16-10-extra on Ubuntu 26 as well;
    resolute ships ImageMagick 7 only, so the ImageMagick 6 -extra alternatives
    are uninstallable there
  * ALTPHP-2483: extend the Debian-only build guards (ALTPHP-2305/2306) to
    Ubuntu 26 (resolute), which leaves the 13 macro unset and so got
    none of the include-path, $SED and header-install mitigations
  * ALTPHP-2483: also install alt-pcre-dev on Ubuntu 26 - the rules now add
    -I/opt/alt/pcre/usr/include there, but the build dependency was still
    Debian-only, so the build failed with `fatal error: pcre.h`

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

alt-php81-pecl-imagick (3.8.1-12) 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

alt-php81-pecl-imagick (3.8.1-11) stable; urgency=medium

  * ALTPHP-2352: drop redundant php8.5 smart-string patch (3.8.1 already includes the fix; patch rejected and broke the deb build)

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

alt-php81-pecl-imagick (3.8.1-10) stable; urgency=medium

  * ALTPHP-2352: install ini into php.d.std/ for standalone environments

 -- Sergey Fokin <sfokin@cloudlinux.com>  Sun, 21 Jun 2026 12:00:00 +0200

alt-php81-pecl-imagick (3.8.1-9) stable; urgency=medium

  * ALTPHP-2304: Fix Debian 13 build: copy util/ for IM7 test, fix pcre.h not found

 -- Davit Sargsyan <dsargsyan@cloudlinux.com>  Fri, 30 Jan 2026 18:00:00 +0400

alt-php81-pecl-imagick (3.8.1-8) stable; urgency=medium

  * ALTPHP-2214: Adding patch for php85

 -- Razmik Manvelyan <rmanvelyan@cloudlinux.com>  Thu, 30 Oct 2025 18:00:00 +0400

alt-php81-pecl-imagick (3.8.1-7) stable; urgency=medium

  * ALTPHP-2089: Updated to 3.8.0

 -- Ilya Voyskovsky <ivoyskovsky@cloudlinux.com>  Mon, 23 Jun 2025 17:20:00 +0200

