Commit Graph

9 Commits

Author SHA256 Message Date
Arjen de Korte
05f282e7d6 Accepting request 1142010 from home:adkorte:branches:server:php:extensions
- Expect test to fail as the values ImageMagick will accept are limited
  by the policy.xml of the system which is more restrictive now
  + imagick-xfail-test014.patch
- Fix test failing since ImageMagick 7.1.1.24 due to changed calculation
  of kurtosis and skewness values
  + imagick-fix-test316.patch

OBS-URL: https://build.opensuse.org/request/show/1142010
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=14
2024-01-27 21:02:09 +00:00
Johannes Weberhofer
9dab651cdd Accepting request 1041979 from home:adkorte:branches:server:php:extensions
- Remove php7 build for Tumbleweed (PHP 7.4 has reached EOL)

OBS-URL: https://build.opensuse.org/request/show/1041979
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=12
2022-12-12 13:27:40 +00:00
Arjen de Korte
7cf6e14b15 - Upgrade to version 3.7.0
- Added:
    * Imagick::COMPOSITE_SALIENCY_BLEND
- Upgrade to version 3.7.0RC1
  - Added:
    * function Imagick::deleteOption(string $option): bool {}
    * function Imagick::getBackgroundColor(): ImagickPixel {}
    * function Imagick::getImageArtifacts(string $pattern = "*"): array {}
    * function Imagick::getImageKurtosis(): array {}
    * function Imagick::getImageMean(): array {}
    * function Imagick::getImageRange(): array {}
    * function Imagick::getInterpolateMethod(): int {}
    * function Imagick::getOptions(string $pattern = "*"): array {}
    * function Imagick::getOrientation(): int {}
    * function Imagick::getResolution(): array {}
    * function Imagick::getType(): int {}
    * function Imagick::implodeImageWithMethod(float $radius,
      int $pixel_interpolate_method): bool {}
    * function Imagick::oilPaintImageWithSigma(float $radius, float $sigma)
    * function Imagick::polaroidWithTextAndMethod(ImagickDraw $settings,
      float $angle, string $caption, int $method): bool {}
    * function Imagick::polynomialImage(array $terms): bool {}
    * function Imagick::setDepth(int $depth): bool {}
    * function Imagick::setExtract(string $geometry): bool {}
    * function Imagick::setInterpolateMethod(int $method): bool{}
    * function Imagick::setOrientation(int $orientation): bool {}
    * function Imagick::spreadImageWithMethod(float $radius,
      int $interpolate_method): bool {}
    * function Imagick::swirlImageWithMethod(float $degrees,
      int $interpolate_method): bool {}

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=11
2022-01-12 20:26:09 +00:00
Johannes Weberhofer
a71658e5f3 Accepting request 939062 from home:adkorte:branches:server:php:extensions
- Upgrade to version 3.6.0
  - No change from 3.6.0RC2
  - removed imagick-fix-457-ensure-format-is-always-lowercase.patch
    (upstreamed)
- Upgrade to version 3.6.0RC2
  - Fixes:
    * Remove deprecated message from Imagick::roundCorners()
  - Added:
    * Imagick::addNoiseImageWithAttenuate()
- Upgrade to version 3.6.0RC1
  - Imagick::getImageInterlaceScheme is undeprecated. It's the
    appropriate function to call to get the image interlace setting.
  - Image formats are now normalised to lower case.
  - Imagick::getImageIndex and Imagick::setImageIndex are undeprecated
    and work on ImageMagick 7. They call MagickGetIteratorIndex and
    MagickSetIteratorIndex internally.
  - Imagick::averageImages is undeprecated. For IM 7 it now calls
    EvaluateImages(wand->images,MeanEvaluateOperator).
  - Imagick::flattenImages is undeprecated. For IM 7 it now calls
    MagickMergeImageLayers(intern->magick_wand, FlattenLayer);
    internally.
  - Imagick::getImageSize is undeprecated. For IM 7 it now calls
    MagickGetImageLength internally.
  - Imagick::roundCornersImage is undeprecated and available on IM7.
  - Fixes:
    * Imagick::borderImage() changed internally to use OverCompositeOp
      rather than AtopCompositeOp for ImageMagick > 7. If you need the
      old behaviour, please use Imagick::borderImageWithComposite()
      instead, which allows you to set the composite method.
    * Imagick::frameImage() changed internally to use OverCompositeOp

OBS-URL: https://build.opensuse.org/request/show/939062
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=10
2021-12-10 10:53:15 +00:00
Johannes Weberhofer
1d8c4fd636 Accepting request 930642 from home:weberho:branches:server:php:extensions
added imagick-fix-457-ensure-format-is-always-lowercase.patch to fix test-failures in latest tumbleweed/factory builds #gh/Imagick/imagick#457

OBS-URL: https://build.opensuse.org/request/show/930642
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=9
2021-11-10 11:47:57 +00:00
Johannes Weberhofer
bce185c666 Accepting request 930564 from home:adkorte:branches:server:php:extensions
- Upgrade to version 3.5.1
  - Better detection of appropriate OpenMP library to use, i.e. GCC
    or Clang.

OBS-URL: https://build.opensuse.org/request/show/930564
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=8
2021-11-10 06:45:55 +00:00
Arjen de Korte
10af2cb5a5 Accepting request 901056 from home:munix9:branches:server:php:extensions
- Upgrade to version 3.5.0
  - Fixed multiple parameter information issues found in 3.5.0RC1.
  - ImageMagick 7 is still not widely available on systems.
    So contrary to previous plans, ImageMagick 6 support will
    continue for now. 
    But users are recommeded to use ImageMagick 7 if possible.
  - Method names have been changed to not be all lower case. Both
    method names and parameter information is built from the 
    Imagick*.stub.php files.
  - Prevent accidental creation of zero dimension images.
    ImageMagick doesn't prevent creation of zero dimension images,
    but will give an error when that image is used. I don't think
    this will affect any correctly program, but if it does, and
    you need to re-enable zero dimension images, please open an
    issue at https://phpimagick.com/issues
  - Various pieces of work have been done to make GOMP not
    segfault including:
    * Call omp_pause_resource_all when available during shutdown.
    * Added the 'imagick.shutdown_sleep_count' (default 10) and
      'imagick.set_single_thread' (default On). Both of these
      exist to mitigate the segaults on shutdown.
  - Fixes:
    * Correct version check to make RemoveAlphaChannel and
      FlattenAlphaChannel be available when using Imagick with
      ImageMagick version 6.7.8-x
    * Imagick::morphology now no longer ignores channel parameter
  - Added:
    * PHP 8.0 support.
    * Location check for ImageMagick 7 for NixOS and Brew.
    * Imagick::houghLineImage(int $width, int $height, float $threshold): bool {}
    * Imagick::setImagePixelColor(int $x, int $y, ImagickPixel|string $color)
    * Imagick::setImageMask(Imagick $clip_mask, int $pixelmask_type)
    * Imagick::getImageMask(int $pixelmask_type)
    * Imagick::VIRTUALPIXELMETHOD_DITHER
    * Imagick::VIRTUALPIXELMETHOD_RANDOM
    * Imagick::COMPOSITE_FREEZE
    * Imagick::COMPOSITE_INTERPOLATE
    * Imagick::COMPOSITE_NEGATE
    * Imagick::COMPOSITE_REFLECT
    * Imagick::COMPOSITE_SOFTBURN
    * Imagick::COMPOSITE_SOFTDODGE
    * Imagick::COMPOSITE_STAMP
    * Imagick::COMPOSITE_RMSE
    * Imagick::COMPRESSION_DWAA
    * Imagick::COMPRESSION_DWAB
    * Imagick::EVALUATE_INVERSE_LOG
    * Imagick::COLORSPACE_DISPLAYP3
    * Imagick::COLORSPACE_ADOBE98
    * Imagick::COLORSPACE_PROPHOTO
    * Imagick::COLORSPACE_JZAZBZ
    * Imagick::DISTORTION_RIGID_AFFINE
    * Imagick::DISTORTION_BARRELINVERSE
    * Imagick::STATISTIC_ROOT_MEAN_SQUARE

OBS-URL: https://build.opensuse.org/request/show/901056
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=6
2021-06-21 05:29:58 +00:00
Arjen de Korte
b978bdd944 Cleanup specfile
OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=4
2021-02-19 10:07:23 +00:00
Arjen de Korte
fe97ee8178 - Use _multibuild (prepare to build for php8)
- Use php_cfgdir and php_extdir macros to determine location of files

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-imagick?expand=0&rev=3
2021-02-18 23:11:30 +00:00