| load("//crowbar", "crowbar_workflow") | |
| crowbar_workflow( | |
| origin_files = [ | |
| "LICENSE", | |
| "include/lcms2.h", | |
| "include/lcms2_plugin.h", | |
| "src/cmsalpha.c", | |
| "src/cmscam02.c", | |
| "src/cmscgats.c", | |
| "src/cmscnvrt.c", | |
| "src/cmserr.c", | |
| "src/cmsgamma.c", | |
| "src/cmsgmt.c", | |
| "src/cmshalf.c", | |
| "src/cmsintrp.c", | |
| "src/cmsio0.c", | |
| "src/cmsio1.c", | |
| "src/cmslut.c", | |
| "src/cmsmd5.c", | |
| "src/cmsmtrx.c", | |
| "src/cmsnamed.c", | |
| "src/cmsopt.c", | |
| "src/cmspack.c", | |
| "src/cmspcs.c", | |
| "src/cmsplugin.c", | |
| "src/cmsps2.c", | |
| "src/cmssamp.c", | |
| "src/cmssm.c", | |
| "src/cmstypes.c", | |
| "src/cmsvirt.c", | |
| "src/cmswtpnt.c", | |
| "src/cmsxform.c", | |
| "src/lcms2_internal.h", | |
| ], | |
| transformations = [ | |
| patch.apply( | |
| patches = [ | |
| "patches/0000-cmserr-changes.patch", | |
| "patches/0001-fix-include.patch", | |
| "patches/0003-old-uninitialized-in-LUTevalFloat.patch", | |
| "patches/0004-old-uninitialized-in-LUTeval16.patch", | |
| "patches/0006-tag-type-confusion.patch", | |
| "patches/0027-changes-from-beginning-of-time.patch", | |
| "patches/0028-do-not-quickfloor.patch", | |
| "patches/0029-drop-register-keyword.patch", | |
| "patches/0033-opt-integer-overflow.patch", | |
| "patches/0035-func-ptr-mixup.patch", | |
| "patches/0037-theoretical-overflow.patch", | |
| ], | |
| ), | |
| ], | |
| ) |