Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support of libmagickwand #922

Open
jeff1326 opened this issue May 14, 2024 · 1 comment
Open

Support of libmagickwand #922

jeff1326 opened this issue May 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jeff1326
Copy link

On copied the script install-php-extensions and modified it our side to support libmagickwand. We added imagemagick-dev in persistent instead of volatile.

imagick@alpine)
  buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent imagemagick libgomp imagemagick-dev"
  buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile"
  if [ $DISTRO_MAJMIN_VERSION -ge 319 ]; then
	  buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ghostscript libheif libjxl libraw librsvg"
  fi
;;
imagick@debian)
  buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent imagemagick ^libmagickwand-6.q16-[0-9]+$ ^libmagickcore-6.q16-[0-9]+-extra$"
  buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libmagickwand-dev"
;;

Unfortunately we lose update from this repos with this strategy.

This may not be the ideal how we did it but we didn't know how to support libmagickwand with a better way.
Could we install it via https://github.com/mlocati/docker-php-extension-installer?tab=readme-ov-file#installing-specific-versions-of-an-extension ?
Can libmagickwand can be added in this repository ?

Thanks

@jeff1326 jeff1326 added the enhancement New feature or request label May 14, 2024
@mlocati
Copy link
Owner

mlocati commented May 14, 2024

If I understand correctly, you need the imagemagick-dev system package for your own needs (and not for executing PHP), right?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants