FS#64185 - [php-imagick] No version reported to PHP

Attached to Project: Community Packages
Opened by Simon R. (saymonz) - Saturday, 19 October 2019, 20:33 GMT
Last edited by David Runge (dvzrv) - Monday, 18 November 2019, 23:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In PHPInfo with this module, "imagick module version" show "@PACKAGE_VERSION@" instead of correct version (3.4.4 at this time).

Some PHP app (found the issue trying to setup ZenPhoto) rely on this version number for compatibility check.

The version number is not set in the source because it's downloaded from GitHub instead of PECL (as explained on https://github.com/Imagick/imagick/issues/194 ).

Solution: rebuilding the package with this source:

source=("$pkgname-$pkgver.tar.gz::https://pecl.php.net/get/imagick-${pkgver}.tgz")

worked for me. Had to remove the line about README.md in the install part too.

With the PECL hosted source, version number is reported as it should in PHPInfo and ZenPhoto is happy.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  David Runge (dvzrv)
Monday, 18 November 2019, 23:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in php-imagick 3.4.4-4

Loading...