| load("//crowbar", "crowbar_workflow") | |
| crowbar_workflow( | |
| origin_files = [ | |
| "LICENSE.md", | |
| "libtiff/t4.h", | |
| "libtiff/tif_aux.c", | |
| "libtiff/tif_close.c", | |
| "libtiff/tif_codec.c", | |
| "libtiff/tif_color.c", | |
| "libtiff/tif_compress.c", | |
| "libtiff/tif_dir.c", | |
| "libtiff/tif_dir.h", | |
| "libtiff/tif_dirinfo.c", | |
| "libtiff/tif_dirread.c", | |
| "libtiff/tif_dirwrite.c", | |
| "libtiff/tif_dumpmode.c", | |
| "libtiff/tif_error.c", | |
| "libtiff/tif_extension.c", | |
| "libtiff/tif_fax3.c", | |
| "libtiff/tif_fax3.h", | |
| "libtiff/tif_fax3sm.c", | |
| "libtiff/tif_flush.c", | |
| "libtiff/tif_getimage.c", | |
| "libtiff/tif_hash_set.c", | |
| "libtiff/tif_hash_set.h", | |
| "libtiff/tif_jpeg.c", | |
| "libtiff/tif_luv.c", | |
| "libtiff/tif_lzw.c", | |
| "libtiff/tif_next.c", | |
| "libtiff/tif_open.c", | |
| "libtiff/tif_packbits.c", | |
| "libtiff/tif_pixarlog.c", | |
| "libtiff/tif_predict.c", | |
| "libtiff/tif_predict.h", | |
| "libtiff/tif_print.c", | |
| "libtiff/tif_read.c", | |
| "libtiff/tif_strip.c", | |
| "libtiff/tif_swab.c", | |
| "libtiff/tif_thunder.c", | |
| "libtiff/tif_tile.c", | |
| "libtiff/tif_version.c", | |
| "libtiff/tif_warning.c", | |
| "libtiff/tif_write.c", | |
| "libtiff/tiff.h", | |
| "libtiff/tiffio.h", | |
| "libtiff/tiffiop.h", | |
| "libtiff/uvcode.h", | |
| ], | |
| transformations = [ | |
| core.move("src/libtiff", "src"), | |
| patch.apply( | |
| patches = [ | |
| "patches/0000-build-config.patch", | |
| "patches/0001-no-error-handlers.patch", | |
| "patches/0028-nstrips-OOM.patch", | |
| "patches/0031-safe_size_ingtStripContig.patch", | |
| "patches/0033-avail-out-overflow.patch", | |
| "patches/0034-shrink-TIFFFaxTabEnt.patch", | |
| ], | |
| ), | |
| ], | |
| ) |