FS#59142 - [openjpeg2] PNG and TIFF support not enabled
Attached to Project:
Arch Linux
Opened by Emil Vanherp (emil) - Monday, 25 June 2018, 10:29 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 27 June 2018, 09:31 GMT
Opened by Emil Vanherp (emil) - Monday, 25 June 2018, 10:29 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 27 June 2018, 09:31 GMT
|
Details
Description:
openjpeg2 can not read PNG and TIFF files, was probably not enabled during compilation. Additional info: * package version: 2.3.0-1 Steps to reproduce: opj_compress -i testfile.png -o testfile.j2k and opj_compress -i testfile.tif -o testfile.j2k give "Unable to load file: got no image" error output. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 27 June 2018, 09:31 GMT
Reason for closing: Fixed
Additional comments about closing: 2.3.0-2
Wednesday, 27 June 2018, 09:31 GMT
Reason for closing: Fixed
Additional comments about closing: 2.3.0-2
Try to build using -DBUILD_THIRDPARTY:bool=on and comment out the sed line removing third party libs will fix it. So far I haven't found why linking system libs is broken.
sed -i '/add_subdirectory(thirdparty)/d' openjpeg-${pkgver}/CMakeLists.txt
in the PKGBUILD. This makes it not use any third-party library, neither from the system nor bundled. Removing this line *without* setting -DBUILD_THIRDPARTY=on will make it link to system libs.