laag-libtiff 4.0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (629) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +57 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.org +34 -0
  5. data/ext/laag/libtiff/extconf.rb +13 -0
  6. data/laag-libtiff.gemspec +20 -0
  7. data/lib/laag/libtiff.rb +29 -0
  8. data/vendor/gitlab.com/libtiff/libtiff/.appveyor.yml +109 -0
  9. data/vendor/gitlab.com/libtiff/libtiff/.cvsignore +4 -0
  10. data/vendor/gitlab.com/libtiff/libtiff/.travis.yml +34 -0
  11. data/vendor/gitlab.com/libtiff/libtiff/CMakeLists.txt +764 -0
  12. data/vendor/gitlab.com/libtiff/libtiff/COMMITTERS +19 -0
  13. data/vendor/gitlab.com/libtiff/libtiff/COPYRIGHT +21 -0
  14. data/vendor/gitlab.com/libtiff/libtiff/ChangeLog +8073 -0
  15. data/vendor/gitlab.com/libtiff/libtiff/HOWTO-RELEASE +119 -0
  16. data/vendor/gitlab.com/libtiff/libtiff/HOWTO-SECURITY-RELEASE +19 -0
  17. data/vendor/gitlab.com/libtiff/libtiff/Makefile.am +91 -0
  18. data/vendor/gitlab.com/libtiff/libtiff/Makefile.in +995 -0
  19. data/vendor/gitlab.com/libtiff/libtiff/Makefile.vc +58 -0
  20. data/vendor/gitlab.com/libtiff/libtiff/README +61 -0
  21. data/vendor/gitlab.com/libtiff/libtiff/README.vms +12 -0
  22. data/vendor/gitlab.com/libtiff/libtiff/RELEASE-DATE +1 -0
  23. data/vendor/gitlab.com/libtiff/libtiff/SConstruct +171 -0
  24. data/vendor/gitlab.com/libtiff/libtiff/TODO +12 -0
  25. data/vendor/gitlab.com/libtiff/libtiff/VERSION +1 -0
  26. data/vendor/gitlab.com/libtiff/libtiff/aclocal.m4 +1194 -0
  27. data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/bmp2tiff.1.html +121 -0
  28. data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/gif2tiff.1.html +141 -0
  29. data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/ras2tiff.1.html +139 -0
  30. data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/sgi2tiff.1.html +147 -0
  31. data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/tiffsv.1.html +207 -0
  32. data/vendor/gitlab.com/libtiff/libtiff/archive/man/bmp2tiff.1 +85 -0
  33. data/vendor/gitlab.com/libtiff/libtiff/archive/man/gif2tiff.1 +81 -0
  34. data/vendor/gitlab.com/libtiff/libtiff/archive/man/ras2tiff.1 +96 -0
  35. data/vendor/gitlab.com/libtiff/libtiff/archive/man/sgi2tiff.1 +93 -0
  36. data/vendor/gitlab.com/libtiff/libtiff/archive/man/tiffsv.1 +142 -0
  37. data/vendor/gitlab.com/libtiff/libtiff/archive/tools/bmp2tiff.c +937 -0
  38. data/vendor/gitlab.com/libtiff/libtiff/archive/tools/gif2tiff.c +591 -0
  39. data/vendor/gitlab.com/libtiff/libtiff/archive/tools/ras2tiff.c +338 -0
  40. data/vendor/gitlab.com/libtiff/libtiff/archive/tools/rasterfile.h +44 -0
  41. data/vendor/gitlab.com/libtiff/libtiff/archive/tools/sgi2tiff.c +337 -0
  42. data/vendor/gitlab.com/libtiff/libtiff/archive/tools/sgisv.c +318 -0
  43. data/vendor/gitlab.com/libtiff/libtiff/archive/tools/ycbcr.c +168 -0
  44. data/vendor/gitlab.com/libtiff/libtiff/autogen.sh +8 -0
  45. data/vendor/gitlab.com/libtiff/libtiff/build/.cvsignore +1 -0
  46. data/vendor/gitlab.com/libtiff/libtiff/build/CMakeLists.txt +25 -0
  47. data/vendor/gitlab.com/libtiff/libtiff/build/Makefile.am +32 -0
  48. data/vendor/gitlab.com/libtiff/libtiff/build/Makefile.in +680 -0
  49. data/vendor/gitlab.com/libtiff/libtiff/build/README +3 -0
  50. data/vendor/gitlab.com/libtiff/libtiff/build/travis-ci +108 -0
  51. data/vendor/gitlab.com/libtiff/libtiff/commit +233 -0
  52. data/vendor/gitlab.com/libtiff/libtiff/config/compile +347 -0
  53. data/vendor/gitlab.com/libtiff/libtiff/config/config.guess +1526 -0
  54. data/vendor/gitlab.com/libtiff/libtiff/config/config.sub +1658 -0
  55. data/vendor/gitlab.com/libtiff/libtiff/config/depcomp +791 -0
  56. data/vendor/gitlab.com/libtiff/libtiff/config/install-sh +507 -0
  57. data/vendor/gitlab.com/libtiff/libtiff/config/ltmain.sh +11156 -0
  58. data/vendor/gitlab.com/libtiff/libtiff/config/missing +215 -0
  59. data/vendor/gitlab.com/libtiff/libtiff/config/mkinstalldirs +161 -0
  60. data/vendor/gitlab.com/libtiff/libtiff/config/test-driver +127 -0
  61. data/vendor/gitlab.com/libtiff/libtiff/configure +23612 -0
  62. data/vendor/gitlab.com/libtiff/libtiff/configure.ac +1112 -0
  63. data/vendor/gitlab.com/libtiff/libtiff/configure.com +1357 -0
  64. data/vendor/gitlab.com/libtiff/libtiff/contrib/.cvsignore +2 -0
  65. data/vendor/gitlab.com/libtiff/libtiff/contrib/CMakeLists.txt +35 -0
  66. data/vendor/gitlab.com/libtiff/libtiff/contrib/Makefile.am +31 -0
  67. data/vendor/gitlab.com/libtiff/libtiff/contrib/Makefile.in +679 -0
  68. data/vendor/gitlab.com/libtiff/libtiff/contrib/README +2 -0
  69. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/.cvsignore +5 -0
  70. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/CMakeLists.txt +34 -0
  71. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/Makefile.am +39 -0
  72. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/Makefile.in +652 -0
  73. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/Makefile.vc +28 -0
  74. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/README +142 -0
  75. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/addtiffo.c +181 -0
  76. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/tif_overview.c +916 -0
  77. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/tif_ovrcache.c +344 -0
  78. data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/tif_ovrcache.h +103 -0
  79. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/.cvsignore +8 -0
  80. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/CMakeLists.txt +43 -0
  81. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/Makefile.am +46 -0
  82. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/Makefile.in +798 -0
  83. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/README +7 -0
  84. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/tiff-bi.c +91 -0
  85. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/tiff-grayscale.c +147 -0
  86. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/tiff-palette.c +284 -0
  87. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/tiff-rgb.c +201 -0
  88. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/.cvsignore +2 -0
  89. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/CMakeLists.txt +29 -0
  90. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/Makefile.am +47 -0
  91. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/Makefile.in +516 -0
  92. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/README +6 -0
  93. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/patchlevel.h +8 -0
  94. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/xtiff.c +1290 -0
  95. data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/xtifficon.h +21 -0
  96. data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/.cvsignore +5 -0
  97. data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/CMakeLists.txt +35 -0
  98. data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/Makefile.am +40 -0
  99. data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/Makefile.in +650 -0
  100. data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/README +25 -0
  101. data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/iptcutil.c +954 -0
  102. data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/test.iptc +0 -0
  103. data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/test.txt +32 -0
  104. data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/.cvsignore +2 -0
  105. data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/CMakeLists.txt +27 -0
  106. data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/Makefile.am +29 -0
  107. data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/Makefile.in +499 -0
  108. data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/README +37 -0
  109. data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/mfs_file.c +586 -0
  110. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/.cvsignore +2 -0
  111. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/CMakeLists.txt +30 -0
  112. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/Makefile.am +32 -0
  113. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/Makefile.in +502 -0
  114. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/README +90 -0
  115. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/tif_imageiter.c +525 -0
  116. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/tif_imageiter.h +64 -0
  117. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/tif_pdsdirread.c +1131 -0
  118. data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/tif_pdsdirwrite.c +971 -0
  119. data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/.cvsignore +2 -0
  120. data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/CMakeLists.txt +28 -0
  121. data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/Makefile.am +30 -0
  122. data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/Makefile.in +500 -0
  123. data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/README +10 -0
  124. data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/ras2tif.c +254 -0
  125. data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/tif2ras.c +344 -0
  126. data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/.cvsignore +2 -0
  127. data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/CMakeLists.txt +28 -0
  128. data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/Makefile.am +30 -0
  129. data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/Makefile.in +500 -0
  130. data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/README +30 -0
  131. data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/tiffstream.cpp +238 -0
  132. data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/tiffstream.h +70 -0
  133. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/.cvsignore +2 -0
  134. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/CMakeLists.txt +32 -0
  135. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/Makefile.am +33 -0
  136. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/Makefile.in +503 -0
  137. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/README +132 -0
  138. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/listtif.c +39 -0
  139. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/maketif.c +77 -0
  140. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/xtif_dir.c +350 -0
  141. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/xtiffio.h +59 -0
  142. data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/xtiffiop.h +72 -0
  143. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/.cvsignore +2 -0
  144. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/CMakeLists.txt +30 -0
  145. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/Makefile.am +32 -0
  146. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/Makefile.in +502 -0
  147. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/Makefile.w95 +134 -0
  148. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/README.Tiffile +31 -0
  149. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/README.tiff2dib +51 -0
  150. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/Tiffile.cpp +449 -0
  151. data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/tiff2dib.c +379 -0
  152. data/vendor/gitlab.com/libtiff/libtiff/html/.cvsignore +5 -0
  153. data/vendor/gitlab.com/libtiff/libtiff/html/BigTIFFProposal.html +99 -0
  154. data/vendor/gitlab.com/libtiff/libtiff/html/CMakeLists.txt +87 -0
  155. data/vendor/gitlab.com/libtiff/libtiff/html/Makefile.am +96 -0
  156. data/vendor/gitlab.com/libtiff/libtiff/html/Makefile.in +798 -0
  157. data/vendor/gitlab.com/libtiff/libtiff/html/TIFFTechNote2.html +707 -0
  158. data/vendor/gitlab.com/libtiff/libtiff/html/addingtags.html +292 -0
  159. data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffdesign.html +80 -0
  160. data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr.html +77 -0
  161. data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr_images/esri.png +0 -0
  162. data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr_images/leica.png +0 -0
  163. data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr_images/safe.png +0 -0
  164. data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr_images/weogeo.png +0 -0
  165. data/vendor/gitlab.com/libtiff/libtiff/html/bugs.html +61 -0
  166. data/vendor/gitlab.com/libtiff/libtiff/html/build.html +737 -0
  167. data/vendor/gitlab.com/libtiff/libtiff/html/contrib.html +209 -0
  168. data/vendor/gitlab.com/libtiff/libtiff/html/document.html +52 -0
  169. data/vendor/gitlab.com/libtiff/libtiff/html/images.html +41 -0
  170. data/vendor/gitlab.com/libtiff/libtiff/html/images/.cvsignore +2 -0
  171. data/vendor/gitlab.com/libtiff/libtiff/html/images/CMakeLists.txt +46 -0
  172. data/vendor/gitlab.com/libtiff/libtiff/html/images/Makefile.am +49 -0
  173. data/vendor/gitlab.com/libtiff/libtiff/html/images/Makefile.in +572 -0
  174. data/vendor/gitlab.com/libtiff/libtiff/html/images/back.gif +0 -0
  175. data/vendor/gitlab.com/libtiff/libtiff/html/images/bali.jpg +0 -0
  176. data/vendor/gitlab.com/libtiff/libtiff/html/images/cat.gif +0 -0
  177. data/vendor/gitlab.com/libtiff/libtiff/html/images/cover.jpg +0 -0
  178. data/vendor/gitlab.com/libtiff/libtiff/html/images/cramps.gif +0 -0
  179. data/vendor/gitlab.com/libtiff/libtiff/html/images/dave.gif +0 -0
  180. data/vendor/gitlab.com/libtiff/libtiff/html/images/info.gif +0 -0
  181. data/vendor/gitlab.com/libtiff/libtiff/html/images/jello.jpg +0 -0
  182. data/vendor/gitlab.com/libtiff/libtiff/html/images/jim.gif +0 -0
  183. data/vendor/gitlab.com/libtiff/libtiff/html/images/note.gif +0 -0
  184. data/vendor/gitlab.com/libtiff/libtiff/html/images/oxford.gif +0 -0
  185. data/vendor/gitlab.com/libtiff/libtiff/html/images/quad.jpg +0 -0
  186. data/vendor/gitlab.com/libtiff/libtiff/html/images/ring.gif +0 -0
  187. data/vendor/gitlab.com/libtiff/libtiff/html/images/smallliz.jpg +0 -0
  188. data/vendor/gitlab.com/libtiff/libtiff/html/images/strike.gif +0 -0
  189. data/vendor/gitlab.com/libtiff/libtiff/html/images/warning.gif +0 -0
  190. data/vendor/gitlab.com/libtiff/libtiff/html/index.html +122 -0
  191. data/vendor/gitlab.com/libtiff/libtiff/html/internals.html +572 -0
  192. data/vendor/gitlab.com/libtiff/libtiff/html/intro.html +68 -0
  193. data/vendor/gitlab.com/libtiff/libtiff/html/libtiff.html +747 -0
  194. data/vendor/gitlab.com/libtiff/libtiff/html/man/.cvsignore +2 -0
  195. data/vendor/gitlab.com/libtiff/libtiff/html/man/CMakeLists.txt +108 -0
  196. data/vendor/gitlab.com/libtiff/libtiff/html/man/HtmlDoc.cmake +50 -0
  197. data/vendor/gitlab.com/libtiff/libtiff/html/man/Makefile.am +122 -0
  198. data/vendor/gitlab.com/libtiff/libtiff/html/man/Makefile.in +642 -0
  199. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFClose.3tiff.html +87 -0
  200. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFDataWidth.3tiff.html +98 -0
  201. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFError.3tiff.html +106 -0
  202. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldDataType.3tiff.html +89 -0
  203. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldName.3tiff.html +86 -0
  204. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldPassCount.3tiff.html +98 -0
  205. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldReadCount.3tiff.html +101 -0
  206. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldTag.3tiff.html +88 -0
  207. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldWriteCount.3tiff.html +108 -0
  208. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFlush.3tiff.html +113 -0
  209. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFGetField.3tiff.html +1969 -0
  210. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFOpen.3tiff.html +421 -0
  211. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFPrintDirectory.3tiff.html +225 -0
  212. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFRGBAImage.3tiff.html +319 -0
  213. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadDirectory.3tiff.html +218 -0
  214. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadEncodedStrip.3tiff.html +133 -0
  215. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadEncodedTile.3tiff.html +130 -0
  216. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRGBAImage.3tiff.html +301 -0
  217. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRGBAStrip.3tiff.html +208 -0
  218. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRGBATile.3tiff.html +261 -0
  219. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRawStrip.3tiff.html +109 -0
  220. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRawTile.3tiff.html +111 -0
  221. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadScanline.3tiff.html +157 -0
  222. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadTile.3tiff.html +133 -0
  223. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFSetDirectory.3tiff.html +122 -0
  224. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFSetField.3tiff.html +1865 -0
  225. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWarning.3tiff.html +108 -0
  226. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteDirectory.3tiff.html +176 -0
  227. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteEncodedStrip.3tiff.html +153 -0
  228. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteEncodedTile.3tiff.html +147 -0
  229. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteRawStrip.3tiff.html +144 -0
  230. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteRawTile.3tiff.html +128 -0
  231. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteScanline.3tiff.html +206 -0
  232. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteTile.3tiff.html +115 -0
  233. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFbuffer.3tiff.html +116 -0
  234. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFcodec.3tiff.html +116 -0
  235. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFcolor.3tiff.html +975 -0
  236. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFmemory.3tiff.html +110 -0
  237. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFquery.3tiff.html +148 -0
  238. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFsize.3tiff.html +95 -0
  239. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFstrip.3tiff.html +129 -0
  240. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFswab.3tiff.html +110 -0
  241. data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFtile.3tiff.html +141 -0
  242. data/vendor/gitlab.com/libtiff/libtiff/html/man/fax2ps.1.html +252 -0
  243. data/vendor/gitlab.com/libtiff/libtiff/html/man/fax2tiff.1.html +607 -0
  244. data/vendor/gitlab.com/libtiff/libtiff/html/man/index.html +64 -0
  245. data/vendor/gitlab.com/libtiff/libtiff/html/man/libtiff.3tiff.html +1150 -0
  246. data/vendor/gitlab.com/libtiff/libtiff/html/man/pal2rgb.1.html +189 -0
  247. data/vendor/gitlab.com/libtiff/libtiff/html/man/ppm2tiff.1.html +141 -0
  248. data/vendor/gitlab.com/libtiff/libtiff/html/man/raw2tiff.1.html +510 -0
  249. data/vendor/gitlab.com/libtiff/libtiff/html/man/rgb2ycbcr.1.html +155 -0
  250. data/vendor/gitlab.com/libtiff/libtiff/html/man/thumbnail.1.html +148 -0
  251. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiff2bw.1.html +161 -0
  252. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiff2pdf.1.html +609 -0
  253. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiff2ps.1.html +639 -0
  254. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiff2rgba.1.html +162 -0
  255. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffcmp.1.html +156 -0
  256. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffcp.1.html +569 -0
  257. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffcrop.1.html +684 -0
  258. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffdither.1.html +196 -0
  259. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffdump.1.html +145 -0
  260. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffgt.1.html +551 -0
  261. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffinfo.1.html +196 -0
  262. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffmedian.1.html +183 -0
  263. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffset.1.html +176 -0
  264. data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffsplit.1.html +102 -0
  265. data/vendor/gitlab.com/libtiff/libtiff/html/misc.html +117 -0
  266. data/vendor/gitlab.com/libtiff/libtiff/html/support.html +655 -0
  267. data/vendor/gitlab.com/libtiff/libtiff/html/tools.html +137 -0
  268. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta007.html +112 -0
  269. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta016.html +122 -0
  270. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta018.html +84 -0
  271. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta024.html +139 -0
  272. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta028.html +146 -0
  273. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta029.html +86 -0
  274. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta031.html +94 -0
  275. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta032.html +90 -0
  276. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta033.html +82 -0
  277. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta034.html +68 -0
  278. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta035.html +63 -0
  279. data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta036.html +117 -0
  280. data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.1.html +75 -0
  281. data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.2.html +108 -0
  282. data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.3.html +132 -0
  283. data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.4.html +88 -0
  284. data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.5.html +155 -0
  285. data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.6-beta.html +185 -0
  286. data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.7.html +259 -0
  287. data/vendor/gitlab.com/libtiff/libtiff/html/v3.6.0.html +434 -0
  288. data/vendor/gitlab.com/libtiff/libtiff/html/v3.6.1.html +199 -0
  289. data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.0.html +144 -0
  290. data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.0alpha.html +249 -0
  291. data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.0beta.html +162 -0
  292. data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.0beta2.html +131 -0
  293. data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.1.html +233 -0
  294. data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.2.html +222 -0
  295. data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.3.html +230 -0
  296. data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.4.html +133 -0
  297. data/vendor/gitlab.com/libtiff/libtiff/html/v3.8.0.html +199 -0
  298. data/vendor/gitlab.com/libtiff/libtiff/html/v3.8.1.html +217 -0
  299. data/vendor/gitlab.com/libtiff/libtiff/html/v3.8.2.html +137 -0
  300. data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.0.html +261 -0
  301. data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.0beta.html +304 -0
  302. data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.1.html +115 -0
  303. data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.2.html +122 -0
  304. data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.3.html +160 -0
  305. data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.4.html +125 -0
  306. data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.5.html +270 -0
  307. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.0.html +269 -0
  308. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.1.html +113 -0
  309. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.2.html +118 -0
  310. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.3.html +125 -0
  311. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.4.html +274 -0
  312. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.4beta.html +291 -0
  313. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.5.html +148 -0
  314. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.6.html +139 -0
  315. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.7.html +411 -0
  316. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.8.html +445 -0
  317. data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.9.html +373 -0
  318. data/vendor/gitlab.com/libtiff/libtiff/libtiff-4.pc.in +11 -0
  319. data/vendor/gitlab.com/libtiff/libtiff/libtiff/.cvsignore +22 -0
  320. data/vendor/gitlab.com/libtiff/libtiff/libtiff/CMakeLists.txt +165 -0
  321. data/vendor/gitlab.com/libtiff/libtiff/libtiff/Makefile.am +154 -0
  322. data/vendor/gitlab.com/libtiff/libtiff/libtiff/Makefile.in +966 -0
  323. data/vendor/gitlab.com/libtiff/libtiff/libtiff/Makefile.lcc +129 -0
  324. data/vendor/gitlab.com/libtiff/libtiff/libtiff/Makefile.vc +102 -0
  325. data/vendor/gitlab.com/libtiff/libtiff/libtiff/SConstruct +73 -0
  326. data/vendor/gitlab.com/libtiff/libtiff/libtiff/libtiff.def +168 -0
  327. data/vendor/gitlab.com/libtiff/libtiff/libtiff/libtiff.map +4 -0
  328. data/vendor/gitlab.com/libtiff/libtiff/libtiff/libtiffxx.map +4 -0
  329. data/vendor/gitlab.com/libtiff/libtiff/libtiff/mkg3states.c +454 -0
  330. data/vendor/gitlab.com/libtiff/libtiff/libtiff/mkspans.c +82 -0
  331. data/vendor/gitlab.com/libtiff/libtiff/libtiff/t4.h +292 -0
  332. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_aux.c +376 -0
  333. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_close.c +140 -0
  334. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_codec.c +165 -0
  335. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_color.c +309 -0
  336. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_compress.c +304 -0
  337. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.h-vms +46 -0
  338. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.h.cmake.in +261 -0
  339. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.h.in +410 -0
  340. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.vc.h +137 -0
  341. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.wince.h +71 -0
  342. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dir.c +1767 -0
  343. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dir.h +309 -0
  344. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dirinfo.c +1070 -0
  345. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dirread.c +5803 -0
  346. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dirwrite.c +3024 -0
  347. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dumpmode.c +143 -0
  348. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_error.c +88 -0
  349. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_extension.c +118 -0
  350. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_fax3.c +1648 -0
  351. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_fax3.h +540 -0
  352. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_fax3sm.c +1260 -0
  353. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_flush.c +118 -0
  354. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_getimage.c +3048 -0
  355. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_jbig.c +214 -0
  356. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_jpeg.c +2601 -0
  357. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_jpeg_12.c +69 -0
  358. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_luv.c +1765 -0
  359. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_lzma.c +495 -0
  360. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_lzw.c +1218 -0
  361. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_next.c +189 -0
  362. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_ojpeg.c +2563 -0
  363. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_open.c +725 -0
  364. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_packbits.c +311 -0
  365. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_pixarlog.c +1485 -0
  366. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_predict.c +881 -0
  367. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_predict.h +79 -0
  368. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_print.c +722 -0
  369. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_read.c +1572 -0
  370. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_stream.cxx +430 -0
  371. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_strip.c +389 -0
  372. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_swab.c +312 -0
  373. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_thunder.c +208 -0
  374. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_tile.c +322 -0
  375. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_unix.c +386 -0
  376. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_version.c +40 -0
  377. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_vms.c +611 -0
  378. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_warning.c +89 -0
  379. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_win32.c +476 -0
  380. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_wince.c +293 -0
  381. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_write.c +834 -0
  382. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_zip.c +476 -0
  383. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiff.h +681 -0
  384. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.h-vms +99 -0
  385. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.h.cmake.in +130 -0
  386. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.h.in +127 -0
  387. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.vc.h +161 -0
  388. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.wince.h +121 -0
  389. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffio.h +560 -0
  390. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffio.hxx +49 -0
  391. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffiop.h +445 -0
  392. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffvers.h +9 -0
  393. data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffvers.h.in +9 -0
  394. data/vendor/gitlab.com/libtiff/libtiff/libtiff/uvcode.h +180 -0
  395. data/vendor/gitlab.com/libtiff/libtiff/m4/acinclude.m4 +851 -0
  396. data/vendor/gitlab.com/libtiff/libtiff/m4/ice_find_athena.m4 +187 -0
  397. data/vendor/gitlab.com/libtiff/libtiff/m4/libtool.m4 +8388 -0
  398. data/vendor/gitlab.com/libtiff/libtiff/m4/ltoptions.m4 +437 -0
  399. data/vendor/gitlab.com/libtiff/libtiff/m4/ltsugar.m4 +124 -0
  400. data/vendor/gitlab.com/libtiff/libtiff/m4/ltversion.m4 +23 -0
  401. data/vendor/gitlab.com/libtiff/libtiff/m4/lt~obsolete.m4 +99 -0
  402. data/vendor/gitlab.com/libtiff/libtiff/man/.cvsignore +3 -0
  403. data/vendor/gitlab.com/libtiff/libtiff/man/CMakeLists.txt +97 -0
  404. data/vendor/gitlab.com/libtiff/libtiff/man/Makefile.am +94 -0
  405. data/vendor/gitlab.com/libtiff/libtiff/man/Makefile.in +684 -0
  406. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFClose.3tiff +53 -0
  407. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFDataWidth.3tiff +74 -0
  408. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFError.3tiff +69 -0
  409. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldDataType.3tiff +53 -0
  410. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldName.3tiff +52 -0
  411. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldPassCount.3tiff +73 -0
  412. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldReadCount.3tiff +77 -0
  413. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldTag.3tiff +56 -0
  414. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldWriteCount.3tiff +88 -0
  415. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFlush.3tiff +64 -0
  416. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFGetField.3tiff +229 -0
  417. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFOpen.3tiff +279 -0
  418. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFPrintDirectory.3tiff +70 -0
  419. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFRGBAImage.3tiff +286 -0
  420. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadDirectory.3tiff +164 -0
  421. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadEncodedStrip.3tiff +78 -0
  422. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadEncodedTile.3tiff +76 -0
  423. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRGBAImage.3tiff +218 -0
  424. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRGBAStrip.3tiff +170 -0
  425. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRGBATile.3tiff +171 -0
  426. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRawStrip.3tiff +64 -0
  427. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRawTile.3tiff +65 -0
  428. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadScanline.3tiff +94 -0
  429. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadTile.3tiff +84 -0
  430. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFSetDirectory.3tiff +79 -0
  431. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFSetField.3tiff +217 -0
  432. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWarning.3tiff +70 -0
  433. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteDirectory.3tiff +138 -0
  434. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteEncodedStrip.3tiff +102 -0
  435. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteEncodedTile.3tiff +96 -0
  436. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteRawStrip.3tiff +96 -0
  437. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteRawTile.3tiff +84 -0
  438. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteScanline.3tiff +154 -0
  439. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteTile.3tiff +77 -0
  440. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFbuffer.3tiff +77 -0
  441. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFcodec.3tiff +82 -0
  442. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFcolor.3tiff +268 -0
  443. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFmemory.3tiff +90 -0
  444. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFquery.3tiff +142 -0
  445. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFsize.3tiff +59 -0
  446. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFstrip.3tiff +99 -0
  447. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFswab.3tiff +80 -0
  448. data/vendor/gitlab.com/libtiff/libtiff/man/TIFFtile.3tiff +131 -0
  449. data/vendor/gitlab.com/libtiff/libtiff/man/fax2ps.1 +159 -0
  450. data/vendor/gitlab.com/libtiff/libtiff/man/fax2tiff.1 +286 -0
  451. data/vendor/gitlab.com/libtiff/libtiff/man/libtiff.3tiff +545 -0
  452. data/vendor/gitlab.com/libtiff/libtiff/man/pal2rgb.1 +111 -0
  453. data/vendor/gitlab.com/libtiff/libtiff/man/ppm2tiff.1 +105 -0
  454. data/vendor/gitlab.com/libtiff/libtiff/man/raw2tiff.1 +196 -0
  455. data/vendor/gitlab.com/libtiff/libtiff/man/rgb2ycbcr.1 +99 -0
  456. data/vendor/gitlab.com/libtiff/libtiff/man/thumbnail.1 +90 -0
  457. data/vendor/gitlab.com/libtiff/libtiff/man/tiff2bw.1 +94 -0
  458. data/vendor/gitlab.com/libtiff/libtiff/man/tiff2pdf.1 +254 -0
  459. data/vendor/gitlab.com/libtiff/libtiff/man/tiff2ps.1 +294 -0
  460. data/vendor/gitlab.com/libtiff/libtiff/man/tiff2rgba.1 +97 -0
  461. data/vendor/gitlab.com/libtiff/libtiff/man/tiffcmp.1 +87 -0
  462. data/vendor/gitlab.com/libtiff/libtiff/man/tiffcp.1 +317 -0
  463. data/vendor/gitlab.com/libtiff/libtiff/man/tiffcrop.1 +571 -0
  464. data/vendor/gitlab.com/libtiff/libtiff/man/tiffdither.1 +135 -0
  465. data/vendor/gitlab.com/libtiff/libtiff/man/tiffdump.1 +81 -0
  466. data/vendor/gitlab.com/libtiff/libtiff/man/tiffgt.1 +245 -0
  467. data/vendor/gitlab.com/libtiff/libtiff/man/tiffinfo.1 +88 -0
  468. data/vendor/gitlab.com/libtiff/libtiff/man/tiffmedian.1 +112 -0
  469. data/vendor/gitlab.com/libtiff/libtiff/man/tiffset.1 +99 -0
  470. data/vendor/gitlab.com/libtiff/libtiff/man/tiffsplit.1 +69 -0
  471. data/vendor/gitlab.com/libtiff/libtiff/nmake.opt +229 -0
  472. data/vendor/gitlab.com/libtiff/libtiff/port/.cvsignore +7 -0
  473. data/vendor/gitlab.com/libtiff/libtiff/port/CMakeLists.txt +60 -0
  474. data/vendor/gitlab.com/libtiff/libtiff/port/Makefile.am +35 -0
  475. data/vendor/gitlab.com/libtiff/libtiff/port/Makefile.in +656 -0
  476. data/vendor/gitlab.com/libtiff/libtiff/port/Makefile.vc +44 -0
  477. data/vendor/gitlab.com/libtiff/libtiff/port/dummy.c +12 -0
  478. data/vendor/gitlab.com/libtiff/libtiff/port/getopt.c +125 -0
  479. data/vendor/gitlab.com/libtiff/libtiff/port/lfind.c +62 -0
  480. data/vendor/gitlab.com/libtiff/libtiff/port/libport.h +60 -0
  481. data/vendor/gitlab.com/libtiff/libtiff/port/snprintf.c +38 -0
  482. data/vendor/gitlab.com/libtiff/libtiff/port/strcasecmp.c +51 -0
  483. data/vendor/gitlab.com/libtiff/libtiff/port/strtoul.c +109 -0
  484. data/vendor/gitlab.com/libtiff/libtiff/port/strtoull.c +116 -0
  485. data/vendor/gitlab.com/libtiff/libtiff/test/.cvsignore +12 -0
  486. data/vendor/gitlab.com/libtiff/libtiff/test/CMakeLists.txt +382 -0
  487. data/vendor/gitlab.com/libtiff/libtiff/test/Makefile.am +334 -0
  488. data/vendor/gitlab.com/libtiff/libtiff/test/Makefile.in +1987 -0
  489. data/vendor/gitlab.com/libtiff/libtiff/test/TiffSplitTest.cmake +34 -0
  490. data/vendor/gitlab.com/libtiff/libtiff/test/TiffTest.cmake +63 -0
  491. data/vendor/gitlab.com/libtiff/libtiff/test/TiffTestCommon.cmake +108 -0
  492. data/vendor/gitlab.com/libtiff/libtiff/test/ascii_tag.c +177 -0
  493. data/vendor/gitlab.com/libtiff/libtiff/test/check_tag.c +91 -0
  494. data/vendor/gitlab.com/libtiff/libtiff/test/common.sh +122 -0
  495. data/vendor/gitlab.com/libtiff/libtiff/test/custom_dir.c +247 -0
  496. data/vendor/gitlab.com/libtiff/libtiff/test/images/README.txt +29 -0
  497. data/vendor/gitlab.com/libtiff/libtiff/test/images/logluv-3c-16b.tiff +0 -0
  498. data/vendor/gitlab.com/libtiff/libtiff/test/images/minisblack-1c-16b.tiff +0 -0
  499. data/vendor/gitlab.com/libtiff/libtiff/test/images/minisblack-1c-8b.pgm +0 -0
  500. data/vendor/gitlab.com/libtiff/libtiff/test/images/minisblack-1c-8b.tiff +0 -0
  501. data/vendor/gitlab.com/libtiff/libtiff/test/images/minisblack-2c-8b-alpha.tiff +0 -0
  502. data/vendor/gitlab.com/libtiff/libtiff/test/images/miniswhite-1c-1b.pbm +0 -0
  503. data/vendor/gitlab.com/libtiff/libtiff/test/images/miniswhite-1c-1b.tiff +0 -0
  504. data/vendor/gitlab.com/libtiff/libtiff/test/images/palette-1c-1b.tiff +0 -0
  505. data/vendor/gitlab.com/libtiff/libtiff/test/images/palette-1c-4b.tiff +0 -0
  506. data/vendor/gitlab.com/libtiff/libtiff/test/images/palette-1c-8b.tiff +0 -0
  507. data/vendor/gitlab.com/libtiff/libtiff/test/images/quad-lzw-compat.tiff +0 -0
  508. data/vendor/gitlab.com/libtiff/libtiff/test/images/quad-tile.jpg.tiff +0 -0
  509. data/vendor/gitlab.com/libtiff/libtiff/test/images/rgb-3c-16b.tiff +0 -0
  510. data/vendor/gitlab.com/libtiff/libtiff/test/images/rgb-3c-8b.ppm +0 -0
  511. data/vendor/gitlab.com/libtiff/libtiff/test/images/rgb-3c-8b.tiff +0 -0
  512. data/vendor/gitlab.com/libtiff/libtiff/test/long_tag.c +156 -0
  513. data/vendor/gitlab.com/libtiff/libtiff/test/ppm2tiff_pbm.sh +7 -0
  514. data/vendor/gitlab.com/libtiff/libtiff/test/ppm2tiff_pgm.sh +7 -0
  515. data/vendor/gitlab.com/libtiff/libtiff/test/ppm2tiff_ppm.sh +7 -0
  516. data/vendor/gitlab.com/libtiff/libtiff/test/raw_decode.c +304 -0
  517. data/vendor/gitlab.com/libtiff/libtiff/test/rewrite_tag.c +344 -0
  518. data/vendor/gitlab.com/libtiff/libtiff/test/short_tag.c +205 -0
  519. data/vendor/gitlab.com/libtiff/libtiff/test/strip.c +290 -0
  520. data/vendor/gitlab.com/libtiff/libtiff/test/strip_rw.c +157 -0
  521. data/vendor/gitlab.com/libtiff/libtiff/test/test_arrays.c +829 -0
  522. data/vendor/gitlab.com/libtiff/libtiff/test/test_arrays.h +63 -0
  523. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2bw-palette-1c-8b.sh +7 -0
  524. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2bw-quad-lzw-compat.sh +7 -0
  525. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2bw-rgb-3c-8b.sh +7 -0
  526. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2pdf.sh +6 -0
  527. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2ps-EPS1.sh +6 -0
  528. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2ps-PS1.sh +6 -0
  529. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2ps-PS2.sh +6 -0
  530. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2ps-PS3.sh +6 -0
  531. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-logluv-3c-16b.sh +7 -0
  532. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-minisblack-1c-16b.sh +7 -0
  533. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-minisblack-1c-8b.sh +7 -0
  534. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-minisblack-2c-8b-alpha.sh +7 -0
  535. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-miniswhite-1c-1b.sh +7 -0
  536. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-palette-1c-1b.sh +7 -0
  537. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-palette-1c-4b.sh +7 -0
  538. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-palette-1c-8b.sh +7 -0
  539. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-quad-tile.jpg.sh +7 -0
  540. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-rgb-3c-16b.sh +7 -0
  541. data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-rgb-3c-8b.sh +7 -0
  542. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3-1d-fill.sh +7 -0
  543. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3-1d.sh +6 -0
  544. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3-2d-fill.sh +7 -0
  545. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3-2d.sh +6 -0
  546. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3.sh +6 -0
  547. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g4.sh +6 -0
  548. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-logluv.sh +7 -0
  549. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-lzw-compat.sh +6 -0
  550. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-split-join.sh +16 -0
  551. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-split.sh +13 -0
  552. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-thumbnail.sh +10 -0
  553. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-logluv-3c-16b.sh +7 -0
  554. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-minisblack-1c-16b.sh +7 -0
  555. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-minisblack-1c-8b.sh +7 -0
  556. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-minisblack-2c-8b-alpha.sh +7 -0
  557. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-miniswhite-1c-1b.sh +7 -0
  558. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-palette-1c-1b.sh +7 -0
  559. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-palette-1c-4b.sh +7 -0
  560. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-palette-1c-8b.sh +7 -0
  561. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-quad-tile.jpg.sh +7 -0
  562. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-rgb-3c-16b.sh +7 -0
  563. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-rgb-3c-8b.sh +7 -0
  564. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-logluv-3c-16b.sh +7 -0
  565. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-minisblack-1c-16b.sh +7 -0
  566. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-minisblack-1c-8b.sh +7 -0
  567. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh +7 -0
  568. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-miniswhite-1c-1b.sh +7 -0
  569. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-palette-1c-1b.sh +7 -0
  570. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-palette-1c-4b.sh +7 -0
  571. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-palette-1c-8b.sh +7 -0
  572. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-quad-tile.jpg.sh +7 -0
  573. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-rgb-3c-16b.sh +7 -0
  574. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-rgb-3c-8b.sh +7 -0
  575. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-logluv-3c-16b.sh +7 -0
  576. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-minisblack-1c-16b.sh +7 -0
  577. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-minisblack-1c-8b.sh +7 -0
  578. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-minisblack-2c-8b-alpha.sh +7 -0
  579. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-miniswhite-1c-1b.sh +7 -0
  580. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-palette-1c-1b.sh +7 -0
  581. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-palette-1c-4b.sh +7 -0
  582. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-palette-1c-8b.sh +7 -0
  583. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-quad-tile.jpg.sh +7 -0
  584. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-rgb-3c-16b.sh +7 -0
  585. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-rgb-3c-8b.sh +7 -0
  586. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-logluv-3c-16b.sh +7 -0
  587. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-minisblack-1c-16b.sh +7 -0
  588. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-minisblack-1c-8b.sh +7 -0
  589. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-minisblack-2c-8b-alpha.sh +7 -0
  590. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-miniswhite-1c-1b.sh +7 -0
  591. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-palette-1c-1b.sh +7 -0
  592. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-palette-1c-4b.sh +7 -0
  593. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-palette-1c-8b.sh +7 -0
  594. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-quad-tile.jpg.sh +7 -0
  595. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-rgb-3c-16b.sh +7 -0
  596. data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-rgb-3c-8b.sh +7 -0
  597. data/vendor/gitlab.com/libtiff/libtiff/test/tiffdump.sh +6 -0
  598. data/vendor/gitlab.com/libtiff/libtiff/test/tiffinfo.sh +6 -0
  599. data/vendor/gitlab.com/libtiff/libtiff/test/tifftest.h +42 -0
  600. data/vendor/gitlab.com/libtiff/libtiff/tiff.spec +68 -0
  601. data/vendor/gitlab.com/libtiff/libtiff/tools/.cvsignore +27 -0
  602. data/vendor/gitlab.com/libtiff/libtiff/tools/CMakeLists.txt +125 -0
  603. data/vendor/gitlab.com/libtiff/libtiff/tools/Makefile.am +138 -0
  604. data/vendor/gitlab.com/libtiff/libtiff/tools/Makefile.in +955 -0
  605. data/vendor/gitlab.com/libtiff/libtiff/tools/Makefile.lcc +133 -0
  606. data/vendor/gitlab.com/libtiff/libtiff/tools/Makefile.vc +52 -0
  607. data/vendor/gitlab.com/libtiff/libtiff/tools/fax2ps.c +463 -0
  608. data/vendor/gitlab.com/libtiff/libtiff/tools/fax2tiff.c +491 -0
  609. data/vendor/gitlab.com/libtiff/libtiff/tools/pal2rgb.c +438 -0
  610. data/vendor/gitlab.com/libtiff/libtiff/tools/ppm2tiff.c +397 -0
  611. data/vendor/gitlab.com/libtiff/libtiff/tools/raw2tiff.c +690 -0
  612. data/vendor/gitlab.com/libtiff/libtiff/tools/rgb2ycbcr.c +397 -0
  613. data/vendor/gitlab.com/libtiff/libtiff/tools/thumbnail.c +691 -0
  614. data/vendor/gitlab.com/libtiff/libtiff/tools/tiff2bw.c +501 -0
  615. data/vendor/gitlab.com/libtiff/libtiff/tools/tiff2pdf.c +5594 -0
  616. data/vendor/gitlab.com/libtiff/libtiff/tools/tiff2ps.c +3106 -0
  617. data/vendor/gitlab.com/libtiff/libtiff/tools/tiff2rgba.c +569 -0
  618. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffcmp.c +659 -0
  619. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffcp.c +1913 -0
  620. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffcrop.c +9231 -0
  621. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffdither.c +347 -0
  622. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffdump.c +889 -0
  623. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffgt.c +486 -0
  624. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffinfo.c +488 -0
  625. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffinfoce.c +472 -0
  626. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffmedian.c +918 -0
  627. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffset.c +356 -0
  628. data/vendor/gitlab.com/libtiff/libtiff/tools/tiffsplit.c +305 -0
  629. metadata +692 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bd8ac631c562bc957814cbf82b05a4c13ec510d79951a38319c161227830ebd9
4
+ data.tar.gz: b4317637ae217c85954c5ecd02f41a6e1754f82b86c11f16feefb97c95fa80b7
5
+ SHA512:
6
+ metadata.gz: 6ab2d29219df8bd56cf84ad4fd84bf0379fee29c90d3a9c3f0a14c0b75bd7088c3c376c81877794687e46338866ccabdc9f95211ec089728e7a19a1a4a2d3547
7
+ data.tar.gz: 32ae0a7ab2ad5e16c3ea4d990f4ba919f96f8ab419750d46331369ae6715a427090273bf8a0e83835b33d8a85d747a2109a407d9791ad4e5b4f98e43850355fd
data/.gitignore ADDED
@@ -0,0 +1,57 @@
1
+
2
+ # Created by https://www.gitignore.io/api/ruby
3
+
4
+ ### Ruby ###
5
+ *.gem
6
+ *.rbc
7
+ /.config
8
+ /coverage/
9
+ /InstalledFiles
10
+ /pkg/
11
+ /spec/reports/
12
+ /spec/examples.txt
13
+ /test/tmp/
14
+ /test/version_tmp/
15
+ /tmp/
16
+
17
+ # Used by dotenv library to load environment variables.
18
+ # .env
19
+
20
+ ## Specific to RubyMotion:
21
+ .dat*
22
+ .repl_history
23
+ build/
24
+ *.bridgesupport
25
+ build-iPhoneOS/
26
+ build-iPhoneSimulator/
27
+
28
+ ## Specific to RubyMotion (use of CocoaPods):
29
+ #
30
+ # We recommend against adding the Pods directory to your .gitignore. However
31
+ # you should judge for yourself, the pros and cons are mentioned at:
32
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
33
+ #
34
+ # vendor/Pods/
35
+
36
+ ## Documentation cache and generated files:
37
+ /.yardoc/
38
+ /_yardoc/
39
+ /doc/
40
+ /rdoc/
41
+
42
+ ## Environment normalization:
43
+ /.bundle/
44
+ /vendor/bundle
45
+ /lib/bundler/man/
46
+
47
+ # for a library or gem, you might want to ignore these files since the code is
48
+ # intended to run in multiple environments; otherwise, check them in:
49
+ # Gemfile.lock
50
+ # .ruby-version
51
+ # .ruby-gemset
52
+
53
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
54
+ .rvmrc
55
+
56
+
57
+ # End of https://www.gitignore.io/api/ruby
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) 1988-1997 Sam Leffler
2
+ Copyright (c) 1991-1997 Silicon Graphics, Inc.
3
+
4
+ Permission to use, copy, modify, distribute, and sell this software and
5
+ its documentation for any purpose is hereby granted without fee, provided
6
+ that (i) the above copyright notices and this permission notice appear in
7
+ all copies of the software and related documentation, and (ii) the names of
8
+ Sam Leffler and Silicon Graphics may not be used in any advertising or
9
+ publicity relating to the software without the specific, prior written
10
+ permission of Sam Leffler and Silicon Graphics.
11
+
12
+ THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
13
+ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
14
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
15
+
16
+ IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
17
+ ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
18
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
19
+ WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
20
+ LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
21
+ OF THIS SOFTWARE.
data/README.org ADDED
@@ -0,0 +1,34 @@
1
+ #+TITLE: Library as a Gem - libtiff
2
+ #+LATEX: \pagebreak
3
+
4
+ * Overview
5
+
6
+ ~laag-libtiff~ packages [[https://gitlab.com/libtiff/libtiff][libtiff]] as a Ruby Gem, using [[https://github.com/colstrom/laag][laag]].
7
+
8
+ * Updating this Package
9
+
10
+ This gem uses Brett Langdon's excellent [[https://github.com/brettlangdon/git-vendor][git-vendor]] for managing the vendored
11
+ library. Updating is as simple as:
12
+
13
+ #+BEGIN_SRC shell
14
+ git-vendor update libtiff Release-v4-0-9
15
+ #+END_SRC
16
+
17
+ So fork, clone, run that command, and submit a Pull Request.
18
+
19
+ * Versioning
20
+
21
+ This gem does not conform to Semantic Versioning. Rather, it defers to the
22
+ versioning of the vendored library, with an additional digit indicating the
23
+ number of packaging-related commits. This is a deliberate choice, so that
24
+ version constraints in dependent libraries may be expressed in terms of the
25
+ vendored library, and packaging details ignored.
26
+
27
+ * License
28
+
29
+ This gem adopts the license used by the vendored library. See =LICENSE.txt=
30
+ for the full text.
31
+
32
+ * Contributors
33
+
34
+ - [[https://colstrom.github.io/][Chris Olstrom]] | [[mailto:chris@olstrom.com][e-mail]] | [[https://twitter.com/ChrisOlstrom][Twitter]]
@@ -0,0 +1,13 @@
1
+
2
+ # -*- ruby -*-
3
+
4
+ require 'mkmf' # Ruby Standard Library
5
+
6
+ require 'laag' # MIT License
7
+ require_relative '../../../lib/laag/libtiff'
8
+
9
+ LAAG::BuildEnvironment
10
+ .new(LAAG.libtiff)
11
+ .script { default! }
12
+
13
+ create_makefile 'laag/libtiff'
@@ -0,0 +1,20 @@
1
+
2
+ # -*- ruby -*-
3
+
4
+ Gem::Specification.new do |spec|
5
+ tag = %x{git describe --tags --abbrev=0}.chomp
6
+ commits = %x{git rev-list --count #{tag}..HEAD}.chomp
7
+
8
+ spec.name = "laag-libtiff"
9
+ spec.version = "#{tag}.#{commits}"
10
+ spec.authors = ["Chris Olstrom"]
11
+ spec.email = ["chris@olstrom.com"]
12
+ spec.summary = "Library as a Gem - libtiff"
13
+ spec.homepage = "https://github.com/colstrom/laag-libtiff"
14
+ spec.licenses = ['libtiff']
15
+ spec.files = `git ls-files -z`.split("\x0")
16
+ spec.require_paths = ["lib"]
17
+ spec.extensions = ["ext/laag/libtiff/extconf.rb"]
18
+
19
+ spec.add_runtime_dependency 'laag', '~> 0.4', '>= 0.4.4'
20
+ end
@@ -0,0 +1,29 @@
1
+
2
+ # -*- ruby -*-
3
+
4
+ require 'laag/library' # MIT License
5
+
6
+ module LAAG
7
+ LIBTIFF_GEM_ROOT = File.expand_path(File.join(__dir__, %w[.. ..]))
8
+ LIBTIFF_ORIGIN = 'gitlab.com/libtiff/libtiff'
9
+ LIBTIFF_VERSION = (
10
+ $LOADED_FEATURES
11
+ .map { |f| f.match %r{/laag-libtiff-(?<version>[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)} }
12
+ .compact
13
+ .map { |gem| gem['version'] }
14
+ .uniq
15
+ .first
16
+ ) || (
17
+ File
18
+ .basename(LIBTIFF_GEM_ROOT)
19
+ .match(%r{^laag-libtiff-(?<version>[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)})['version']
20
+ )
21
+
22
+ def self.libtiff
23
+ @@libtiff ||= Library.new(
24
+ gem_root: LIBTIFF_GEM_ROOT,
25
+ origin: LIBTIFF_ORIGIN,
26
+ version: LIBTIFF_VERSION
27
+ )
28
+ end
29
+ end
@@ -0,0 +1,109 @@
1
+ environment:
2
+ AV_PROJECTS: 'c:\projects'
3
+ AV_TIFF_DOWNLOAD: 'c:\projects\download'
4
+ AV_TIFF_SOURCE: 'c:\projects\libtiff'
5
+ AV_TIFF_BUILD: 'c:\projects\build'
6
+ AV_TIFF_INSTALL: 'c:\projects\install'
7
+
8
+ matrix:
9
+ - compiler: cygwin-cmake
10
+ configuration: Release
11
+ generator: Unix Makefiles
12
+ shared: ON
13
+ - compiler: cygwin-cmake
14
+ configuration: Debug
15
+ generator: Unix Makefiles
16
+ shared: OFF
17
+ - compiler: mingw64-cmake
18
+ configuration: Release
19
+ generator: Unix Makefiles
20
+ shared: ON
21
+ - compiler: mingw64-cmake
22
+ configuration: Debug
23
+ generator: Unix Makefiles
24
+ shared: OFF
25
+ - compiler: vc14-cmake
26
+ configuration: Release
27
+ generator: Visual Studio 14 2015 Win64
28
+ shared: ON
29
+ - compiler: vc14-cmake
30
+ configuration: Debug
31
+ generator: Visual Studio 14 2015 Win64
32
+ shared: OFF
33
+ - compiler: vc14-nmake
34
+ configuration: Release
35
+
36
+ cache:
37
+ - 'c:\projects\download -> appveyor.yml'
38
+
39
+ # Operating system (build VM template)
40
+ os: 'Visual Studio 2015'
41
+
42
+ # clone directory
43
+ clone_folder: 'c:\projects\libtiff'
44
+ clone_depth: 5
45
+
46
+ platform: x64
47
+
48
+ init:
49
+ - git config --global core.autocrlf input
50
+ - 'FOR /F "tokens=* USEBACKQ" %%F IN (`C:\cygwin64\bin\cygpath -u %AV_TIFF_SOURCE%`) DO SET AV_TIFF_CYG_SOURCE=%%F'
51
+ - 'FOR /F "tokens=* USEBACKQ" %%F IN (`C:\cygwin64\bin\cygpath -u %AV_TIFF_INSTALL%`) DO SET AV_TIFF_CYG_INSTALL=%%F'
52
+ - 'if %compiler%==cygwin-cmake C:\Cygwin64\setup-x86_64 -q -R C:\Cygwin64 -s http://cygwin.mirror.constant.com -l %AV_TIFF_DOWNLOAD%\cygwin -P cmake,libjpeg-devel,zlib-devel'
53
+ - 'if %compiler%==cygwin-cmake set "PATH=C:\Cygwin64\bin;%PATH%"'
54
+ - 'if %compiler%==mingw64-cmake set "PATH=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%"'
55
+ - set "AV_CMAKE_ARGS=-DBUILD_SHARED_LIBS:BOOL=%shared%"
56
+ - 'if %compiler%==mingw64-cmake set "PATH=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%"'
57
+ - 'if %compiler%==mingw64-cmake set "AV_CMAKE_ARGS=%AV_CMAKE_ARGS% -DCMAKE_MAKE_PROGRAM=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin\mingw32-make"'
58
+ - set "AV_TIFF_CMAKE_SOURCE=%AV_TIFF_SOURCE%"
59
+ - set "AV_TIFF_CMAKE_INSTALL=%AV_TIFF_INSTALL%"
60
+ - 'if %compiler%==cygwin-cmake set "AV_TIFF_CMAKE_SOURCE=%AV_TIFF_CYG_SOURCE%'
61
+ - 'if %compiler%==cygwin-cmake set "AV_TIFF_CMAKE_INSTALL=%AV_TIFF_CYG_INSTALL%'
62
+ - 'if %compiler%==vc14-nmake call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" %platform%'
63
+
64
+ before_build:
65
+ - mkdir %AV_TIFF_BUILD%
66
+ - cd %AV_TIFF_BUILD%
67
+ - if NOT %compiler%==vc14-nmake echo Running cmake -G "%generator%" -DCMAKE_INSTALL_PREFIX=%AV_TIFF_CMAKE_INSTALL% -DCMAKE_BUILD_TYPE=%configuration% %AV_TIFF_CMAKE_SOURCE%
68
+ - 'if %compiler%==cygwin-cmake bash -c "cmake -G \"%generator%\" -DCMAKE_INSTALL_PREFIX:PATH=%AV_TIFF_CMAKE_INSTALL% -DCMAKE_BUILD_TYPE=%configuration% %AV_CMAKE_ARGS% %AV_TIFF_CMAKE_SOURCE%"'
69
+ - 'if %compiler%==mingw64-cmake cmake -G "%generator%" -DCMAKE_INSTALL_PREFIX:PATH=%AV_TIFF_CMAKE_INSTALL% -DCMAKE_BUILD_TYPE=%configuration% %AV_CMAKE_ARGS% %AV_TIFF_CMAKE_SOURCE%'
70
+ - 'if %compiler%==vc14-cmake cmake -G "%generator%" -DCMAKE_INSTALL_PREFIX:PATH=%AV_TIFF_CMAKE_INSTALL% -DCMAKE_BUILD_TYPE=%configuration% %AV_CMAKE_ARGS% %AV_TIFF_CMAKE_SOURCE%'
71
+
72
+ build_script:
73
+ - if NOT %compiler%==vc14-nmake cd %AV_TIFF_BUILD%
74
+ - if %compiler%==vc14-nmake cd %AV_TIFF_SOURCE%
75
+ - 'if %compiler%==cygwin-cmake bash -c "cmake --build . --config %configuration% --target install"'
76
+ - 'if %compiler%==mingw64-cmake cmake --build . --config %configuration% --target install'
77
+ - 'if %compiler%==vc14-cmake cmake --build . --config %configuration% --target install'
78
+ - 'if %compiler%==vc14-nmake nmake /f Makefile.vc EXTRAFLAGS=/DHAVE_SNPRINTF=1'
79
+ - 'if %compiler%==vc14-nmake mkdir %AV_TIFF_INSTALL%'
80
+ - 'if %compiler%==vc14-nmake mkdir %AV_TIFF_INSTALL%\bin'
81
+ - 'if %compiler%==vc14-nmake mkdir %AV_TIFF_INSTALL%\lib'
82
+ - 'if %compiler%==vc14-nmake mkdir %AV_TIFF_INSTALL%\include'
83
+ - 'if %compiler%==vc14-nmake copy tools\*.exe %AV_TIFF_INSTALL%\bin'
84
+ - 'if %compiler%==vc14-nmake copy port\*.lib %AV_TIFF_INSTALL%\lib'
85
+ - 'if %compiler%==vc14-nmake copy libtiff\tiff.h %AV_TIFF_INSTALL%\include'
86
+ - 'if %compiler%==vc14-nmake copy libtiff\tiffio.h %AV_TIFF_INSTALL%\include'
87
+ - 'if %compiler%==vc14-nmake copy libtiff\tiffvers.h %AV_TIFF_INSTALL%\include'
88
+ - 'if %compiler%==vc14-nmake copy libtiff\tiffconf.h %AV_TIFF_INSTALL%\include'
89
+ - 'if %compiler%==vc14-nmake copy libtiff\tiffio.hxx %AV_TIFF_INSTALL%\include'
90
+
91
+ # scripts to run after build
92
+ after_build:
93
+ - cd %AV_TIFF_BUILD%
94
+ - '7z a %AV_TIFF_SOURCE%\libtiff-build.zip * -tzip'
95
+ - cd %AV_TIFF_INSTALL%
96
+ - '7z a %AV_TIFF_SOURCE%\libtiff.zip * -tzip'
97
+
98
+ before_test:
99
+ - cd %AV_TIFF_BUILD%
100
+ - 'if %compiler%==cygwin-cmake bash -c "ctest -V -C %configuration%"'
101
+ - 'if %compiler%==mingw64-cmake ctest -V -C %configuration%'
102
+ - 'if %compiler%==vc14-cmake ctest -V -C %configuration%'
103
+ # vc14-nmake does not support unit tests
104
+
105
+ artifacts:
106
+ - path: libtiff.zip
107
+ name: libtiff.zip
108
+ - path: libtiff-build.zip
109
+ name: libtiff-build.zip
@@ -0,0 +1,4 @@
1
+ config.log
2
+ config.status
3
+ libtool
4
+ Makefile
@@ -0,0 +1,34 @@
1
+ language: c
2
+
3
+ sudo: false
4
+ dist: trusty
5
+
6
+ cache:
7
+ directories:
8
+ - download
9
+
10
+ addons:
11
+ apt_packages:
12
+ - libjpeg8-dev
13
+ - libjbig-dev
14
+ - liblzma-dev
15
+ - zlib1g-dev
16
+
17
+ os:
18
+ - linux
19
+ - osx
20
+
21
+ env:
22
+ matrix:
23
+ - BUILD=autoconf
24
+ - BUILD=cmake TOOL="Unix Makefiles" TYPE=Release
25
+ - BUILD=cmake TOOL="Ninja" TYPE=Debug
26
+
27
+ matrix:
28
+ fast_finish: true
29
+ exclude:
30
+ - os: linux
31
+ env: BUILD=cmake TOOL="Ninja" TYPE=Debug NETACCESSOR=cfurl TRANSCODER=macosunicodeconverter
32
+
33
+ script:
34
+ - sh ./build/travis-ci "$BUILD" "$TOOL" "$TYPE"
@@ -0,0 +1,764 @@
1
+ # CMake build for libtiff
2
+ # Run "cmake" to generate the build files for your platform
3
+ #
4
+ # Copyright © 2015 Open Microscopy Environment / University of Dundee
5
+ # Written by Roger Leigh <rleigh@codelibre.net>
6
+ #
7
+ # Permission to use, copy, modify, distribute, and sell this software and
8
+ # its documentation for any purpose is hereby granted without fee, provided
9
+ # that (i) the above copyright notices and this permission notice appear in
10
+ # all copies of the software and related documentation, and (ii) the names of
11
+ # Sam Leffler and Silicon Graphics may not be used in any advertising or
12
+ # publicity relating to the software without the specific, prior written
13
+ # permission of Sam Leffler and Silicon Graphics.
14
+ #
15
+ # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
16
+ # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
17
+ # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18
+ #
19
+ # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
20
+ # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
21
+ # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
22
+ # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
23
+ # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
24
+ # OF THIS SOFTWARE.
25
+
26
+ cmake_minimum_required(VERSION 2.8.9)
27
+
28
+ # Default policy is from 2.8.9
29
+ cmake_policy(VERSION 2.8.9)
30
+ # Set MacOSX @rpath usage globally.
31
+ if (POLICY CMP0020)
32
+ cmake_policy(SET CMP0020 NEW)
33
+ endif(POLICY CMP0020)
34
+ if (POLICY CMP0042)
35
+ cmake_policy(SET CMP0042 NEW)
36
+ endif(POLICY CMP0042)
37
+ # Use new variable expansion policy.
38
+ if (POLICY CMP0053)
39
+ cmake_policy(SET CMP0053 NEW)
40
+ endif(POLICY CMP0053)
41
+ if (POLICY CMP0054)
42
+ cmake_policy(SET CMP0054 NEW)
43
+ endif(POLICY CMP0054)
44
+
45
+ # Read version information from configure.ac.
46
+ FILE(READ "${CMAKE_CURRENT_SOURCE_DIR}/configure.ac" configure)
47
+ STRING(REGEX REPLACE ";" "\\\\;" configure "${configure}")
48
+ STRING(REGEX REPLACE "\n" ";" configure "${configure}")
49
+ foreach(line ${configure})
50
+ foreach(var LIBTIFF_MAJOR_VERSION LIBTIFF_MINOR_VERSION LIBTIFF_MICRO_VERSION LIBTIFF_ALPHA_VERSION
51
+ LIBTIFF_CURRENT LIBTIFF_REVISION LIBTIFF_AGE)
52
+ if(NOT ${var})
53
+ string(REGEX MATCH "^${var}=(.*)" ${var}_MATCH "${line}")
54
+ if(${var}_MATCH)
55
+ string(REGEX REPLACE "^${var}=(.*)" "\\1" ${var} "${line}")
56
+ endif()
57
+ endif()
58
+ endforeach()
59
+ endforeach()
60
+
61
+ math(EXPR SO_MAJOR "${LIBTIFF_CURRENT} - ${LIBTIFF_AGE}")
62
+ set(SO_MINOR "${LIBTIFF_AGE}")
63
+ set(SO_REVISION "${LIBTIFF_REVISION}")
64
+
65
+ message(STATUS "Building tiff version ${LIBTIFF_MAJOR_VERSION}.${LIBTIFF_MINOR_VERSION}.${LIBTIFF_MICRO_VERSION}${LIBTIFF_ALPHA_VERSION}")
66
+ message(STATUS "libtiff library version ${SO_MAJOR}.${SO_MINOR}.${SO_REVISION}")
67
+
68
+ set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries")
69
+
70
+ # Project version
71
+ project(tiff C)
72
+ set(VERSION "${LIBTIFF_MAJOR_VERSION}.${LIBTIFF_MINOR_VERSION}.${LIBTIFF_MICRO_VERSION}")
73
+ set(tiff_VERSION "${VERSION}")
74
+ set(tiff_VERSION_MAJOR "${LIBTIFF_MAJOR_VERSION}")
75
+ set(tiff_VERSION_MINOR "${LIBTIFF_MINOR_VERSION}")
76
+ set(tiff_VERSION_PATCH "${LIBTIFF_MICRO_VERSION}")
77
+
78
+ # the other tiff_VERSION_* variables are set automatically
79
+ set(tiff_VERSION_ALPHA "${LIBTIFF_ALPHA_VERSION}")
80
+ # Library version (unlike libtool's baroque scheme, WYSIWYG here)
81
+ set(SO_COMPATVERSION "${SO_MAJOR}")
82
+ set(SO_VERSION "${SO_MAJOR}.${SO_MINOR}.${SO_REVISION}")
83
+
84
+ # For autotools header compatibility
85
+ set(PACKAGE_NAME "LibTIFF Software")
86
+ set(PACKAGE_TARNAME "${PROJECT_NAME}")
87
+ set(PACKAGE_VERSION "${PROJECT_VERSION}${tiff_VERSION_ALPHA}")
88
+ set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
89
+ set(PACKAGE_BUGREPORT "tiff@lists.maptools.org")
90
+
91
+ include(GNUInstallDirs)
92
+ include(CheckCCompilerFlag)
93
+ include(CheckCSourceCompiles)
94
+ include(CheckIncludeFile)
95
+ include(CheckTypeSize)
96
+ include(CheckFunctionExists)
97
+ enable_testing()
98
+
99
+ macro(current_date var)
100
+ if(UNIX)
101
+ execute_process(COMMAND "date" +"%Y%m%d" OUTPUT_VARIABLE ${var})
102
+ endif()
103
+ endmacro()
104
+
105
+ current_date(RELEASE_DATE)
106
+
107
+ macro(extra_dist)
108
+ foreach(file ${ARGV})
109
+ file(RELATIVE_PATH relfile "${PROJECT_SOURCE_DIR}"
110
+ "${CMAKE_CURRENT_SOURCE_DIR}/${file}")
111
+ list(APPEND EXTRA_DIST "${relfile}")
112
+ endforeach()
113
+ set(EXTRA_DIST "${EXTRA_DIST}" PARENT_SCOPE)
114
+ endmacro()
115
+
116
+ set(EXTRA_DIST
117
+ HOWTO-RELEASE
118
+ Makefile.vc
119
+ SConstruct
120
+ autogen.sh
121
+ configure.com
122
+ nmake.opt
123
+ libtiff-4.pc.in)
124
+
125
+ # These are annoyingly verbose, produce false positives or don't work
126
+ # nicely with all supported compiler versions, so are disabled unless
127
+ # explicitly enabled.
128
+ option(extra-warnings "Enable extra compiler warnings" OFF)
129
+
130
+ # This will cause the compiler to fail when an error occurs.
131
+ option(fatal-warnings "Compiler warnings are errors" OFF)
132
+
133
+ # Check if the compiler supports each of the following additional
134
+ # flags, and enable them if supported. This greatly improves the
135
+ # quality of the build by checking for a number of common problems,
136
+ # some of which are quite serious.
137
+ if(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR
138
+ CMAKE_C_COMPILER_ID MATCHES "Clang")
139
+ set(test_flags
140
+ -Wall
141
+ -Winline
142
+ -W
143
+ -Wformat-security
144
+ -Wpointer-arith
145
+ -Wdisabled-optimization
146
+ -Wno-unknown-pragmas
147
+ -Wdeclaration-after-statement
148
+ -fstrict-aliasing)
149
+ if(extra-warnings)
150
+ list(APPEND test_flags
151
+ -Wfloat-equal
152
+ -Wmissing-prototypes
153
+ -Wunreachable-code)
154
+ endif()
155
+ if(fatal-warnings)
156
+ list(APPEND test_flags
157
+ -Werror)
158
+ endif()
159
+ elseif(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
160
+ set(test_flags)
161
+ if(extra-warnings)
162
+ list(APPEND test_flags
163
+ /W4)
164
+ else()
165
+ list(APPEND test_flags
166
+ /W3)
167
+ endif()
168
+ if (fatal-warnings)
169
+ list(APPEND test_flags
170
+ /WX)
171
+ endif()
172
+ endif()
173
+
174
+ foreach(flag ${test_flags})
175
+ string(REGEX REPLACE "[^A-Za-z0-9]" "_" flag_var "${flag}")
176
+ set(test_c_flag "C_FLAG${flag_var}")
177
+ CHECK_C_COMPILER_FLAG(${flag} "${test_c_flag}")
178
+ if (${test_c_flag})
179
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${flag}")
180
+ endif (${test_c_flag})
181
+ endforeach(flag ${test_flags})
182
+
183
+ if(MSVC)
184
+ set(CMAKE_DEBUG_POSTFIX "d")
185
+ endif()
186
+
187
+ option(ld-version-script "Enable linker version script" ON)
188
+ # Check if LD supports linker scripts.
189
+ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/conftest.map" "VERS_1 {
190
+ global: sym;
191
+ };
192
+
193
+ VERS_2 {
194
+ global: sym;
195
+ } VERS_1;
196
+ ")
197
+ set(CMAKE_REQUIRED_FLAGS_SAVE ${CMAKE_REQUIRED_FLAGS})
198
+ set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} "-Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/conftest.map")
199
+ check_c_source_compiles("int main(void){return 0;}" HAVE_LD_VERSION_SCRIPT)
200
+ set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS_SAVE})
201
+ file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/conftest.map")
202
+ if (ld-version-script AND HAVE_LD_VERSION_SCRIPT)
203
+ set(HAVE_LD_VERSION_SCRIPT TRUE)
204
+ else()
205
+ set(HAVE_LD_VERSION_SCRIPT FALSE)
206
+ endif()
207
+
208
+ # Find libm, if available
209
+ find_library(M_LIBRARY m)
210
+
211
+ check_include_file(assert.h HAVE_ASSERT_H)
212
+ check_include_file(dlfcn.h HAVE_DLFCN_H)
213
+ check_include_file(fcntl.h HAVE_FCNTL_H)
214
+ check_include_file(inttypes.h HAVE_INTTYPES_H)
215
+ check_include_file(io.h HAVE_IO_H)
216
+ check_include_file(limits.h HAVE_LIMITS_H)
217
+ check_include_file(malloc.h HAVE_MALLOC_H)
218
+ check_include_file(memory.h HAVE_MEMORY_H)
219
+ check_include_file(search.h HAVE_SEARCH_H)
220
+ check_include_file(stdint.h HAVE_STDINT_H)
221
+ check_include_file(string.h HAVE_STRING_H)
222
+ check_include_file(strings.h HAVE_STRINGS_H)
223
+ check_include_file(sys/time.h HAVE_SYS_TIME_H)
224
+ check_include_file(sys/types.h HAVE_SYS_TYPES_H)
225
+ check_include_file(unistd.h HAVE_UNISTD_H)
226
+
227
+ # Inspired from /usr/share/autoconf/autoconf/c.m4
228
+ foreach(inline_keyword "inline" "__inline__" "__inline")
229
+ if(NOT DEFINED C_INLINE)
230
+ set(CMAKE_REQUIRED_DEFINITIONS_SAVE ${CMAKE_REQUIRED_DEFINITIONS})
231
+ set(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
232
+ "-Dinline=${inline_keyword}")
233
+ check_c_source_compiles("
234
+ typedef int foo_t;
235
+ static inline foo_t static_foo() {return 0;}
236
+ foo_t foo(){return 0;}
237
+ int main(int argc, char *argv[]) {return 0;}"
238
+ C_HAS_${inline_keyword})
239
+ set(CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS_SAVE})
240
+ if(C_HAS_${inline_keyword})
241
+ set(C_INLINE TRUE)
242
+ set(INLINE_KEYWORD "${inline_keyword}")
243
+ endif()
244
+ endif()
245
+ endforeach()
246
+ if(NOT DEFINED C_INLINE)
247
+ set(INLINE_KEYWORD)
248
+ endif()
249
+
250
+ # off_t and size_t checks omitted; not clear they are used at all
251
+ # Are off_t and size_t checks strictly necessary?
252
+
253
+ # Check if sys/time.h and time.h allow use together
254
+ check_c_source_compiles("
255
+ #include <sys/time.h>
256
+ #include <time.h>
257
+ int main(void){return 0;}"
258
+ TIME_WITH_SYS_TIME)
259
+
260
+ # Check if struct tm is in sys/time.h
261
+ check_c_source_compiles("
262
+ #include <sys/types.h>
263
+ #include <time.h>
264
+
265
+ int main(void){
266
+ struct tm tm;
267
+ int *p = &tm.tm_sec;
268
+ return !p;
269
+ }"
270
+ TM_IN_SYS_TIME)
271
+
272
+ # Check type sizes
273
+ # NOTE: Could be replaced with C99 <stdint.h>
274
+ check_type_size("signed short" SIZEOF_SIGNED_SHORT)
275
+ check_type_size("unsigned short" SIZEOF_UNSIGNED_SHORT)
276
+ check_type_size("signed int" SIZEOF_SIGNED_INT)
277
+ check_type_size("unsigned int" SIZEOF_UNSIGNED_INT)
278
+ check_type_size("signed long" SIZEOF_SIGNED_LONG)
279
+ check_type_size("unsigned long" SIZEOF_UNSIGNED_LONG)
280
+ check_type_size("signed long long" SIZEOF_SIGNED_LONG_LONG)
281
+ check_type_size("unsigned long long" SIZEOF_UNSIGNED_LONG_LONG)
282
+ check_type_size("unsigned char *" SIZEOF_UNSIGNED_CHAR_P)
283
+
284
+ set(CMAKE_EXTRA_INCLUDE_FILES_SAVE ${CMAKE_EXTRA_INCLUDE_FILES})
285
+ set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES} "stddef.h")
286
+ check_type_size("size_t" SIZEOF_SIZE_T)
287
+ check_type_size("ptrdiff_t" SIZEOF_PTRDIFF_T)
288
+ set(CMAKE_EXTRA_INCLUDE_FILES ${CMAKE_EXTRA_INCLUDE_FILES_SAVE})
289
+
290
+ macro(report_values)
291
+ foreach(val ${ARGV})
292
+ message(STATUS "${val} set to ${${val}}")
293
+ endforeach()
294
+ endmacro()
295
+
296
+ set(TIFF_INT8_T "signed char")
297
+ set(TIFF_UINT8_T "unsigned char")
298
+
299
+ set(TIFF_INT16_T "signed short")
300
+ set(TIFF_UINT16_T "unsigned short")
301
+
302
+ if(SIZEOF_SIGNED_INT EQUAL 4)
303
+ set(TIFF_INT32_T "signed int")
304
+ set(TIFF_INT32_FORMAT "%d")
305
+ elseif(SIZEOF_SIGNED_LONG EQUAL 4)
306
+ set(TIFF_INT32_T "signed long")
307
+ set(TIFF_INT32_FORMAT "%ld")
308
+ endif()
309
+
310
+ if(SIZEOF_UNSIGNED_INT EQUAL 4)
311
+ set(TIFF_UINT32_T "unsigned int")
312
+ set(TIFF_UINT32_FORMAT "%u")
313
+ elseif(SIZEOF_UNSIGNED_LONG EQUAL 4)
314
+ set(TIFF_UINT32_T "unsigned long")
315
+ set(TIFF_UINT32_FORMAT "%lu")
316
+ endif()
317
+
318
+ if(SIZEOF_SIGNED_LONG EQUAL 8)
319
+ set(TIFF_INT64_T "signed long")
320
+ set(TIFF_INT64_FORMAT "%ld")
321
+ elseif(SIZEOF_SIGNED_LONG_LONG EQUAL 8)
322
+ set(TIFF_INT64_T "signed long long")
323
+ if (MINGW)
324
+ set(TIFF_INT64_FORMAT "%I64d")
325
+ else()
326
+ set(TIFF_INT64_FORMAT "%lld")
327
+ endif()
328
+ endif()
329
+
330
+ if(SIZEOF_UNSIGNED_LONG EQUAL 8)
331
+ set(TIFF_UINT64_T "unsigned long")
332
+ set(TIFF_UINT64_FORMAT "%lu")
333
+ elseif(SIZEOF_UNSIGNED_LONG_LONG EQUAL 8)
334
+ set(TIFF_UINT64_T "unsigned long long")
335
+ if (MINGW)
336
+ set(TIFF_UINT64_FORMAT "%I64u")
337
+ else()
338
+ set(TIFF_UINT64_FORMAT "%llu")
339
+ endif()
340
+ endif()
341
+
342
+ if(SIZEOF_UNSIGNED_INT EQUAL SIZEOF_SIZE_T)
343
+ set(TIFF_SIZE_T "unsigned int")
344
+ set(TIFF_SIZE_FORMAT "%u")
345
+ elseif(SIZEOF_UNSIGNED_LONG EQUAL SIZEOF_SIZE_T)
346
+ set(TIFF_SIZE_T "unsigned long")
347
+ set(TIFF_SIZE_FORMAT "%lu")
348
+ elseif(SIZEOF_UNSIGNED_LONG_LONG EQUAL SIZEOF_SIZE_T)
349
+ set(TIFF_SIZE_T "unsigned long")
350
+ if (MINGW)
351
+ set(TIFF_SIZE_FORMAT "%I64u")
352
+ else()
353
+ set(TIFF_SIZE_FORMAT "%llu")
354
+ endif()
355
+ endif()
356
+
357
+ if(SIZEOF_SIGNED_INT EQUAL SIZEOF_UNSIGNED_CHAR_P)
358
+ set(TIFF_SSIZE_T "signed int")
359
+ set(TIFF_SSIZE_FORMAT "%d")
360
+ elseif(SIZEOF_SIGNED_LONG EQUAL SIZEOF_UNSIGNED_CHAR_P)
361
+ set(TIFF_SSIZE_T "signed long")
362
+ set(TIFF_SSIZE_FORMAT "%ld")
363
+ elseif(SIZEOF_SIGNED_LONG_LONG EQUAL SIZEOF_UNSIGNED_CHAR_P)
364
+ set(TIFF_SSIZE_T "signed long long")
365
+ if (MINGW)
366
+ set(TIFF_SSIZE_FORMAT "%I64d")
367
+ else()
368
+ set(TIFF_SSIZE_FORMAT "%lld")
369
+ endif()
370
+ endif()
371
+
372
+ if(NOT SIZEOF_PTRDIFF_T)
373
+ set(TIFF_PTRDIFF_T "${TIFF_SSIZE_T}")
374
+ set(TIFF_PTRDIFF_FORMAT "${SSIZE_FORMAT}")
375
+ else()
376
+ set(TIFF_PTRDIFF_T "ptrdiff_t")
377
+ set(TIFF_PTRDIFF_FORMAT "%ld")
378
+ endif()
379
+
380
+ #report_values(TIFF_INT8_T TIFF_INT8_FORMAT
381
+ # TIFF_UINT8_T TIFF_UINT8_FORMAT
382
+ # TIFF_INT16_T TIFF_INT16_FORMAT
383
+ # TIFF_UINT16_T TIFF_UINT16_FORMAT
384
+ # TIFF_INT32_T TIFF_INT32_FORMAT
385
+ # TIFF_UINT32_T TIFF_UINT32_FORMAT
386
+ # TIFF_INT64_T TIFF_INT64_FORMAT
387
+ # TIFF_UINT64_T TIFF_UINT64_FORMAT
388
+ # TIFF_SSIZE_T TIFF_SSIZE_FORMAT
389
+ # TIFF_PTRDIFF_T TIFF_PTRDIFF_FORMAT)
390
+
391
+ # Nonstandard int types
392
+ check_type_size(INT8 int8)
393
+ set(HAVE_INT8 ${INT8})
394
+ check_type_size(INT16 int16)
395
+ set(HAVE_INT16 ${INT16})
396
+ check_type_size(INT32 int32)
397
+ set(HAVE_INT32 ${INT32})
398
+
399
+ # Check functions
400
+ set(CMAKE_REQUIRED_LIBRARIES_SAVE ${CMAKE_REQUIRED_LIBRARIES})
401
+ set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${M_LIBRARY})
402
+ check_function_exists(floor HAVE_FLOOR)
403
+ check_function_exists(pow HAVE_POW)
404
+ check_function_exists(sqrt HAVE_SQRT)
405
+ set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_SAVE})
406
+
407
+ check_function_exists(isascii HAVE_ISASCII)
408
+ check_function_exists(memmove HAVE_MEMMOVE)
409
+ check_function_exists(memset HAVE_MEMSET)
410
+ check_function_exists(mmap HAVE_MMAP)
411
+ check_function_exists(setmode HAVE_SETMODE)
412
+ check_function_exists(strcasecmp HAVE_STRCASECMP)
413
+ check_function_exists(strchr HAVE_STRCHR)
414
+ check_function_exists(strrchr HAVE_STRRCHR)
415
+ check_function_exists(strstr HAVE_STRSTR)
416
+ check_function_exists(strtol HAVE_STRTOL)
417
+ check_function_exists(strtol HAVE_STRTOUL)
418
+ check_function_exists(strtoull HAVE_STRTOULL)
419
+ check_function_exists(getopt HAVE_GETOPT)
420
+ check_function_exists(lfind HAVE_LFIND)
421
+
422
+ # May be inlined, so check it compiles:
423
+ check_c_source_compiles("
424
+ #include <stdio.h>
425
+ int main(void) {
426
+ char buf[10];
427
+ snprintf(buf, 10, \"Test %d\", 1);
428
+ return 0;
429
+ }"
430
+ HAVE_SNPRINTF)
431
+
432
+ if(NOT HAVE_SNPRINTF)
433
+ add_definitions(-DNEED_LIBPORT)
434
+ endif()
435
+
436
+ # CPU bit order
437
+ set(fillorder FILLORDER_MSB2LSB)
438
+ if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "i.*86.*" OR
439
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "amd64.*" OR
440
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "x86_64.*")
441
+ set(fillorder FILLORDER_LSB2MSB)
442
+ endif()
443
+ set(HOST_FILLORDER ${fillorder} CACHE STRING "Native CPU bit order")
444
+ mark_as_advanced(HOST_FILLORDER)
445
+
446
+ # CPU endianness
447
+ include(TestBigEndian)
448
+ test_big_endian(bigendian)
449
+ if (bigendian)
450
+ set(bigendian ON)
451
+ else()
452
+ set(bigendian OFF)
453
+ endif()
454
+ set(HOST_BIG_ENDIAN ${bigendian} CACHE STRING "Native CPU bit order")
455
+ mark_as_advanced(HOST_BIG_ENDIAN)
456
+ if (HOST_BIG_ENDIAN)
457
+ set(HOST_BIG_ENDIAN 1)
458
+ else()
459
+ set(HOST_BIG_ENDIAN 0)
460
+ endif()
461
+
462
+ # IEEE floating point
463
+ set(HAVE_IEEEFP 1 CACHE STRING "IEEE floating point is available")
464
+ mark_as_advanced(HAVE_IEEEFP)
465
+
466
+ report_values(CMAKE_HOST_SYSTEM_PROCESSOR HOST_FILLORDER
467
+ HOST_BIG_ENDIAN HAVE_IEEEFP)
468
+
469
+ # Large file support
470
+ if (UNIX OR MINGW)
471
+ # This might not catch every possibility catered for by
472
+ # AC_SYS_LARGEFILE.
473
+ add_definitions(-D_FILE_OFFSET_BITS=64)
474
+ set(FILE_OFFSET_BITS 64)
475
+ endif()
476
+
477
+ # Documentation install directory (default to cmake project docdir)
478
+ set(LIBTIFF_DOCDIR "${CMAKE_INSTALL_FULL_DOCDIR}")
479
+
480
+ # Options to enable and disable internal codecs
481
+
482
+ option(ccitt "support for CCITT Group 3 & 4 algorithms" ON)
483
+ set(CCITT_SUPPORT ${ccitt})
484
+
485
+ option(packbits "support for Macintosh PackBits algorithm" ON)
486
+ set(PACKBITS_SUPPORT ${packbits})
487
+
488
+ option(lzw "support for LZW algorithm" ON)
489
+ set(LZW_SUPPORT ${lzw})
490
+
491
+ option(thunder "support for ThunderScan 4-bit RLE algorithm" ON)
492
+ set(THUNDER_SUPPORT ${thunder})
493
+
494
+ option(next "support for NeXT 2-bit RLE algorithm" ON)
495
+ set(NEXT_SUPPORT ${next})
496
+
497
+ option(logluv "support for LogLuv high dynamic range algorithm" ON)
498
+ set(LOGLUV_SUPPORT ${logluv})
499
+
500
+ # Option for Microsoft Document Imaging
501
+ option(mdi "support for Microsoft Document Imaging" ON)
502
+ set(MDI_SUPPORT ${mdi})
503
+
504
+ # ZLIB
505
+ option(zlib "use zlib (required for Deflate compression)" ON)
506
+ if (zlib)
507
+ find_package(ZLIB)
508
+ endif()
509
+ set(ZLIB_SUPPORT 0)
510
+ if(ZLIB_FOUND)
511
+ set(ZLIB_SUPPORT 1)
512
+ endif()
513
+ set(ZIP_SUPPORT ${ZLIB_SUPPORT})
514
+ # Option for Pixar log-format algorithm
515
+
516
+ # Pixar log format
517
+ option(pixarlog "support for Pixar log-format algorithm (requires Zlib)" ON)
518
+ set(PIXARLOG_SUPPORT FALSE)
519
+ if (ZLIB_SUPPORT)
520
+ if(pixarlog)
521
+ set(PIXARLOG_SUPPORT TRUE)
522
+ endif()
523
+ endif()
524
+
525
+ # JPEG
526
+ option(jpeg "use libjpeg (required for JPEG compression)" ON)
527
+ if (jpeg)
528
+ find_package(JPEG)
529
+ endif()
530
+ set(JPEG_SUPPORT FALSE)
531
+ if(JPEG_FOUND)
532
+ set(JPEG_SUPPORT TRUE)
533
+ endif()
534
+
535
+ option(old-jpeg "support for Old JPEG compression (read-only)" ON)
536
+ set(OJPEG_SUPPORT FALSE)
537
+ if (JPEG_SUPPORT)
538
+ if (old-jpeg)
539
+ set(OJPEG_SUPPORT TRUE)
540
+ endif()
541
+ endif()
542
+
543
+ # JBIG-KIT
544
+ option(jbig "use ISO JBIG compression (requires JBIT-KIT library)" ON)
545
+ if (jbig)
546
+ set(JBIG_FOUND 0)
547
+ find_path(JBIG_INCLUDE_DIR jbig.h)
548
+ set(JBIG_NAMES ${JBIG_NAMES} jbig libjbig)
549
+ find_library(JBIG_LIBRARY NAMES ${JBIG_NAMES})
550
+ if (JBIG_INCLUDE_DIR AND JBIG_LIBRARY)
551
+ set(JBIG_FOUND 1)
552
+ set(JBIG_LIBRARIES ${JBIG_LIBRARY})
553
+ endif()
554
+ endif()
555
+ set(JBIG_SUPPORT 0)
556
+ if(JBIG_FOUND)
557
+ set(JBIG_FOUND TRUE)
558
+ set(JBIG_SUPPORT 1)
559
+ else()
560
+ set(JBIG_FOUND FALSE)
561
+ endif()
562
+
563
+ set(CMAKE_REQUIRED_LIBRARIES_SAVE ${CMAKE_REQUIRED_LIBRARIES})
564
+ set(CMAKE_REQUIRED_INCLUDES_SAVE ${CMAKE_REQUIRED_INCLUDES})
565
+ set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${JBIG_INCLUDE_DIR})
566
+ set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${JBIG_LIBRARY})
567
+ check_function_exists(jbg_newlen HAVE_JBG_NEWLEN)
568
+ set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES_SAVE})
569
+ set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES_SAVE})
570
+
571
+ # liblzma2
572
+ option(lzma "use liblzma (required for LZMA2 compression)" ON)
573
+ if (lzma)
574
+ find_package(LibLZMA)
575
+ endif()
576
+ set(LZMA_SUPPORT 0)
577
+ if(LIBLZMA_FOUND)
578
+ set(LZMA_SUPPORT 1)
579
+ endif()
580
+
581
+ # 8/12-bit jpeg mode
582
+ option(jpeg12 "enable libjpeg 8/12-bit dual mode (requires separate
583
+ 12-bit libjpeg build)" ON)
584
+ set(JPEG12_INCLUDE_DIR JPEG12_INCLUDE_DIR-NOTFOUND CACHE PATH "Include directory for 12-bit libjpeg")
585
+ set(JPEG12_LIBRARY JPEG12_LIBRARY-NOTFOUND CACHE FILEPATH "12-bit libjpeg library")
586
+ set(JPEG12_FOUND FALSE)
587
+ if (JPEG12_INCLUDE_DIR AND JPEG12_LIBRARY)
588
+ set(JPEG12_LIBRARIES ${JPEG12_LIBRARY})
589
+ set(JPEG12_FOUND TRUE)
590
+ endif()
591
+ if (JPEG12_FOUND)
592
+ set(JPEG_DUAL_MODE_8_12 1)
593
+ set(LIBJPEG_12_PATH "${JPEG12_INCLUDE_DIR}/jpeglib.h")
594
+ endif()
595
+
596
+ # C++ support
597
+ option(cxx "Enable C++ stream API building (requires C++ compiler)" ON)
598
+ set(CXX_SUPPORT FALSE)
599
+ if (cxx)
600
+ enable_language(CXX)
601
+ set(CXX_SUPPORT TRUE)
602
+ endif()
603
+
604
+ # OpenGL and GLUT
605
+ find_package(OpenGL)
606
+ find_package(GLUT)
607
+ set(HAVE_OPENGL FALSE)
608
+ if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
609
+ set(HAVE_OPENGL TRUE)
610
+ endif()
611
+ # Purely to satisfy the generated headers:
612
+ check_include_file(GL/gl.h HAVE_GL_GL_H)
613
+ check_include_file(GL/glu.h HAVE_GL_GLU_H)
614
+ check_include_file(GL/glut.h HAVE_GL_GLUT_H)
615
+ check_include_file(GLUT/glut.h HAVE_GLUT_GLUT_H)
616
+ check_include_file(OpenGL/gl.h HAVE_OPENGL_GL_H)
617
+ check_include_file(OpenGL/glu.h HAVE_OPENGL_GLU_H)
618
+
619
+ # Win32 IO
620
+ set(win32_io FALSE)
621
+ if(WIN32)
622
+ set(win32_io TRUE)
623
+ endif()
624
+ set(USE_WIN32_FILEIO ${win32_io} CACHE BOOL "Use win32 IO system (Microsoft Windows only)")
625
+ if (USE_WIN32_FILEIO)
626
+ set(USE_WIN32_FILEIO TRUE)
627
+ else()
628
+ set(USE_WIN32_FILEIO FALSE)
629
+ endif()
630
+
631
+ # Orthogonal features
632
+
633
+ # Strip chopping
634
+ option(strip-chopping "strip chopping (whether or not to convert single-strip uncompressed images to mutiple strips of specified size to reduce memory usage)" ON)
635
+ set(TIFF_DEFAULT_STRIP_SIZE 8192 CACHE STRING "default size of the strip in bytes (when strip chopping is enabled)")
636
+
637
+ set(STRIPCHOP_DEFAULT)
638
+ if(strip-chopping)
639
+ set(STRIPCHOP_DEFAULT TRUE)
640
+ if(TIFF_DEFAULT_STRIP_SIZE)
641
+ set(STRIP_SIZE_DEFAULT "${TIFF_DEFAULT_STRIP_SIZE}")
642
+ endif()
643
+ endif()
644
+
645
+ # Defer loading of strip/tile offsets
646
+ option(defer-strile-load "enable deferred strip/tile offset/size loading (experimental)" OFF)
647
+ set(DEFER_STRILE_LOAD ${defer-strile-load})
648
+
649
+ # CHUNKY_STRIP_READ_SUPPORT
650
+ option(chunky-strip-read "enable reading large strips in chunks for TIFFReadScanline() (experimental)" OFF)
651
+ set(CHUNKY_STRIP_READ_SUPPORT ${chunky-strip-read})
652
+
653
+ # SUBIFD support
654
+ set(SUBIFD_SUPPORT 1)
655
+
656
+ # Default handling of ASSOCALPHA support.
657
+ option(extrasample-as-alpha "the RGBA interface will treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many packages produce RGBA files but don't mark the alpha properly" ON)
658
+ if(extrasample-as-alpha)
659
+ set(DEFAULT_EXTRASAMPLE_AS_ALPHA 1)
660
+ endif()
661
+
662
+ # Default handling of YCbCr subsampling support.
663
+ # See Bug 168 in Bugzilla, and JPEGFixupTestSubsampling() for details.
664
+ option(check-ycbcr-subsampling "enable picking up YCbCr subsampling info from the JPEG data stream to support files lacking the tag" ON)
665
+ if (check-ycbcr-subsampling)
666
+ set(CHECK_JPEG_YCBCR_SUBSAMPLING 1)
667
+ endif()
668
+
669
+ # Generate pkg-config file
670
+ set(prefix "${CMAKE_INSTALL_PREFIX}")
671
+ set(exec_prefix "${CMAKE_INSTALL_PREFIX}")
672
+ set(libdir "${CMAKE_INSTALL_FULL_LIBDIR}")
673
+ set(includedir "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
674
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libtiff-4.pc.in
675
+ ${CMAKE_CURRENT_BINARY_DIR}/libtiff-4.pc)
676
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libtiff-4.pc
677
+ DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig")
678
+
679
+ # Includes used by libtiff (and tests)
680
+ if(ZLIB_INCLUDE_DIRS)
681
+ list(APPEND TIFF_INCLUDES ${ZLIB_INCLUDE_DIRS})
682
+ endif()
683
+ if(JPEG_INCLUDE_DIR)
684
+ list(APPEND TIFF_INCLUDES ${JPEG_INCLUDE_DIR})
685
+ endif()
686
+ if(JPEG12_INCLUDE_DIR)
687
+ list(APPEND TIFF_INCLUDES ${JPEG12_INCLUDE_DIR})
688
+ endif()
689
+ if(JBIG_INCLUDE_DIR)
690
+ list(APPEND TIFF_INCLUDES ${JBIG_INCLUDE_DIR})
691
+ endif()
692
+ if(LIBLZMA_INCLUDE_DIRS)
693
+ list(APPEND TIFF_INCLUDES ${LIBLZMA_INCLUDE_DIRS})
694
+ endif()
695
+
696
+ # Libraries required by libtiff
697
+ set(TIFF_LIBRARY_DEPS)
698
+ if(M_LIBRARY)
699
+ list(APPEND TIFF_LIBRARY_DEPS ${M_LIBRARY})
700
+ endif()
701
+ if(ZLIB_LIBRARIES)
702
+ list(APPEND TIFF_LIBRARY_DEPS ${ZLIB_LIBRARIES})
703
+ endif()
704
+ if(JPEG_LIBRARIES)
705
+ list(APPEND TIFF_LIBRARY_DEPS ${JPEG_LIBRARIES})
706
+ endif()
707
+ if(JPEG12_LIBRARIES)
708
+ list(APPEND TIFF_LIBRARY_DEPS ${JPEG12_LIBRARIES})
709
+ endif()
710
+ if(JBIG_LIBRARIES)
711
+ list(APPEND TIFF_LIBRARY_DEPS ${JBIG_LIBRARIES})
712
+ endif()
713
+ if(LIBLZMA_LIBRARIES)
714
+ list(APPEND TIFF_LIBRARY_DEPS ${LIBLZMA_LIBRARIES})
715
+ endif()
716
+
717
+ #report_values(TIFF_INCLUDES TIFF_LIBRARY_DEPS)
718
+
719
+ # Process subdirectories
720
+ add_subdirectory(port)
721
+ add_subdirectory(libtiff)
722
+ add_subdirectory(tools)
723
+ add_subdirectory(test)
724
+ add_subdirectory(contrib)
725
+ add_subdirectory(build)
726
+ add_subdirectory(man)
727
+ add_subdirectory(html)
728
+
729
+ #message(STATUS "EXTRA_DIST: ${EXTRA_DIST}")
730
+
731
+ message(STATUS "")
732
+ message(STATUS "Libtiff is now configured for ${host}")
733
+ message(STATUS "")
734
+ message(STATUS " Installation directory: ${prefix}")
735
+ message(STATUS " Documentation directory: ${LIBTIFF_DOCDIR}")
736
+ message(STATUS " C compiler: ${CMAKE_C_COMPILER}")
737
+ message(STATUS " C++ compiler: ${CMAKE_CXX_COMPILER}")
738
+ message(STATUS " Build shared libraries: ${BUILD_SHARED_LIBS}")
739
+ message(STATUS " Enable linker symbol versioning: ${HAVE_LD_VERSION_SCRIPT}")
740
+ message(STATUS " Support Microsoft Document Imaging: ${mdi}")
741
+ message(STATUS " Use win32 IO: ${USE_WIN32_FILEIO}")
742
+ message(STATUS "")
743
+ message(STATUS " Support for internal codecs:")
744
+ message(STATUS " CCITT Group 3 & 4 algorithms: ${ccitt}")
745
+ message(STATUS " Macintosh PackBits algorithm: ${packbits}")
746
+ message(STATUS " LZW algorithm: ${lzw}")
747
+ message(STATUS " ThunderScan 4-bit RLE algorithm: ${thunder}")
748
+ message(STATUS " NeXT 2-bit RLE algorithm: ${next}")
749
+ message(STATUS " LogLuv high dynamic range encoding: ${logluv}")
750
+ message(STATUS "")
751
+ message(STATUS " Support for external codecs:")
752
+ message(STATUS " ZLIB support: ${zlib} (requested) ${ZLIB_FOUND} (availability)")
753
+ message(STATUS " Pixar log-format algorithm: ${pixarlog} (requested) ${PIXARLOG_SUPPORT} (availability)")
754
+ message(STATUS " JPEG support: ${jpeg} (requested) ${JPEG_FOUND} (availability)")
755
+ message(STATUS " Old JPEG support: ${old-jpeg} (requested) ${JPEG_FOUND} (availability)")
756
+ message(STATUS " JPEG 8/12 bit dual mode: ${jpeg12} (requested) ${JPEG12_FOUND} (availability)")
757
+ message(STATUS " ISO JBIG support: ${jbig} (requested) ${JBIG_FOUND} (availability)")
758
+ message(STATUS " LZMA2 support: ${lzma} (requested) ${LIBLZMA_FOUND} (availability)")
759
+ message(STATUS "")
760
+ message(STATUS " C++ support: ${cxx} (requested) ${CXX_SUPPORT} (availability)")
761
+ message(STATUS "")
762
+ # message(STATUS " X Athena Widgets support: ${HAVE_XAW}")
763
+ message(STATUS " OpenGL support: ${HAVE_OPENGL}")
764
+ message(STATUS "")