FS#70163 - [php-imagick] add librsvg to depends/optdepends
Attached to Project:
Community Packages
Opened by leuko (leuko) - Thursday, 25 March 2021, 20:26 GMT
Last edited by David Runge (dvzrv) - Friday, 26 March 2021, 18:50 GMT
Opened by leuko (leuko) - Thursday, 25 March 2021, 20:26 GMT
Last edited by David Runge (dvzrv) - Friday, 26 March 2021, 18:50 GMT
|
Details
Description:
`librsvg` should be at least an optional dependency. I have nextcloud with php-imagick installed. If librsvg is not available I get the error described in the following post: https://bbs.archlinux.org/viewtopic.php?pid=1960949#p1960949 Additional info: * 3.4.4.r66.g448c1cd-2 Steps to reproduce: * install nextcloud with php-imagick but make sure librsvg is not installed * go to to the overview page of your nextcloud https://cloud.EXAMPLE.com/settings/admin/overview * you will see the error 'Module php-imagick in this instance has no SVG support. For better compatibility it is recommended to install it' --- Thanks for this convenient package David! |
This task depends upon
Closed by David Runge (dvzrv)
Friday, 26 March 2021, 18:50 GMT
Reason for closing: Not a bug
Additional comments about closing: The optdepends is introduced via imagemagick.
Friday, 26 March 2021, 18:50 GMT
Reason for closing: Not a bug
Additional comments about closing: The optdepends is introduced via imagemagick.
I am a bit unsure whether this is really the sensible thing to do. php-imagick depends on imagemagick, which has librsvg (and many others) in optdepends for additional file type support. To me it does not make a lot of sense to add and track duplicate optdepends with php-imagick, as it is a dependant of imagemagick which provides all this information already.