Package Details: lcms 1.19-9

Git Clone URL: https://aur.archlinux.org/lcms.git (read-only, click to copy)
Package Base: lcms
Description: Lightweight color management library (legacy version 1)
Upstream URL: https://www.littlecms.com
Licenses: MIT
Submitter: arojas
Maintainer: None
Last Packager: MarsSeed
Votes: 22
Popularity: 0.000094
First Submitted: 2018-09-18 18:51 (UTC)
Last Updated: 2024-04-26 13:07 (UTC)

Latest Comments

Gotit commented on 2024-05-19 17:08 (UTC) (edited on 2024-05-19 17:14 (UTC) by Gotit)

Getting an error when building:

cmsio1.c: In function 'AdjustEndianessArray16':
cmsio1.c:74:15: error: implicit declaration of function 'swab'; did you mean 'xswab'? [-Wimplicit-function-declaration]
   74 | #define xswab swab
      |               ^~~~
cmsio1.c:118:8: note: in expansion of macro 'xswab'
  118 |        xswab((char*) p, (char*)p, (int) num_words * sizeof(WORD));
      |        ^~~~~
make[1]: *** [Makefile:357: cmsio1.lo] Error 1

MarsSeed commented on 2024-04-27 08:45 (UTC) (edited on 2024-04-27 08:46 (UTC) by MarsSeed)

Yes, testing uncovers errors in the code. Someone with sufficient knowledge could fix it. (I do not possess such knowledge.)

But actually lcms is not needed by either fbsplash or netsurf-git. So those packages need to be changed to remove their dependence on this insecure obsolete legacy package.

dpvpro commented on 2024-04-27 04:36 (UTC)

make[2]: Leaving directory '/home/dp/.cache/yay/lcms/src/lcms-1.19/testbed'
./testcms
little cms testbed. Ver 1.19 [build Apr 27 2024 04:35:11]

Testing fixed point:    2.884667 = 2.884672
Testing fixed scaling...pass.
Testing curves join ...pass.
Testing reversing of curves ... pass.
Testing linear interpolation ...Error in Linear interpolation (2p): Must be i=8000, But is n=8001
make[1]: *** [Makefile:489: check] Error 1
make[1]: Leaving directory '/home/dp/.cache/yay/lcms/src/lcms-1.19/testbed'
make: *** [Makefile:321: check-recursive] Error 1