node-liblzma 1.0.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (880) hide show
  1. package/History.md +5 -0
  2. package/README.md +65 -37
  3. package/binding.gyp +655 -49
  4. package/lib/lzma.js +326 -319
  5. package/package.json +36 -24
  6. package/prebuilds/darwin-x64/node.napi.node +0 -0
  7. package/prebuilds/linux-x64/node.napi.node +0 -0
  8. package/prebuilds/win32-x64/node.napi.node +0 -0
  9. package/scripts/download_extract_deps.py +29 -0
  10. package/scripts/prebuildify.py +13 -0
  11. package/scripts/walk_sources.py +7 -0
  12. package/.npmignore +0 -1
  13. package/.travis.yml +0 -35
  14. package/build/Makefile +0 -329
  15. package/build/Release/.deps/Release/node-liblzma.node.d +0 -1
  16. package/build/Release/.deps/Release/obj.target/action_after_build.stamp.d +0 -1
  17. package/build/Release/.deps/Release/obj.target/node-liblzma/src/bindings/module.o.d +0 -89
  18. package/build/Release/.deps/Release/obj.target/node-liblzma/src/bindings/node-liblzma.o.d +0 -89
  19. package/build/Release/.deps/Release/obj.target/node-liblzma.node.d +0 -1
  20. package/build/Release/.deps/home/o2/dev/node-liblzma/build/node-liblzma.node.d +0 -1
  21. package/build/Release/node-liblzma.node +0 -0
  22. package/build/Release/obj.target/action_after_build.stamp +0 -0
  23. package/build/Release/obj.target/node-liblzma/src/bindings/module.o +0 -0
  24. package/build/Release/obj.target/node-liblzma/src/bindings/node-liblzma.o +0 -0
  25. package/build/Release/obj.target/node-liblzma.node +0 -0
  26. package/build/action_after_build.target.mk +0 -32
  27. package/build/binding.Makefile +0 -6
  28. package/build/config.gypi +0 -143
  29. package/build/node-liblzma.node +0 -0
  30. package/build/node-liblzma.target.mk +0 -144
  31. package/build.yml +0 -65
  32. package/deps/xz/ABOUT-NLS +0 -1327
  33. package/deps/xz/AUTHORS +0 -27
  34. package/deps/xz/COPYING +0 -65
  35. package/deps/xz/COPYING.GPLv2 +0 -339
  36. package/deps/xz/COPYING.GPLv3 +0 -674
  37. package/deps/xz/COPYING.LGPLv2.1 +0 -502
  38. package/deps/xz/ChangeLog +0 -14953
  39. package/deps/xz/Doxyfile +0 -1234
  40. package/deps/xz/Doxyfile.in +0 -1234
  41. package/deps/xz/INSTALL +0 -554
  42. package/deps/xz/INSTALL.generic +0 -365
  43. package/deps/xz/Makefile +0 -1067
  44. package/deps/xz/Makefile.am +0 -109
  45. package/deps/xz/Makefile.in +0 -1067
  46. package/deps/xz/NEWS +0 -505
  47. package/deps/xz/PACKAGERS +0 -231
  48. package/deps/xz/README +0 -308
  49. package/deps/xz/THANKS +0 -116
  50. package/deps/xz/TODO +0 -111
  51. package/deps/xz/aclocal.m4 +0 -1225
  52. package/deps/xz/autogen.sh +0 -22
  53. package/deps/xz/autom4te.cache/output.0 +0 -21751
  54. package/deps/xz/autom4te.cache/output.1 +0 -21751
  55. package/deps/xz/autom4te.cache/requests +0 -415
  56. package/deps/xz/autom4te.cache/traces.0 +0 -6996
  57. package/deps/xz/autom4te.cache/traces.1 +0 -1783
  58. package/deps/xz/build-aux/compile +0 -347
  59. package/deps/xz/build-aux/config.guess +0 -1558
  60. package/deps/xz/build-aux/config.rpath +0 -672
  61. package/deps/xz/build-aux/config.sub +0 -1791
  62. package/deps/xz/build-aux/depcomp +0 -791
  63. package/deps/xz/build-aux/install-sh +0 -527
  64. package/deps/xz/build-aux/ltmain.sh +0 -9661
  65. package/deps/xz/build-aux/manconv.sh +0 -58
  66. package/deps/xz/build-aux/missing +0 -215
  67. package/deps/xz/build-aux/version.sh +0 -24
  68. package/deps/xz/config.h +0 -487
  69. package/deps/xz/config.h.in +0 -486
  70. package/deps/xz/config.h.in~ +0 -485
  71. package/deps/xz/config.log +0 -5446
  72. package/deps/xz/config.status +0 -2587
  73. package/deps/xz/configure +0 -21751
  74. package/deps/xz/configure.ac +0 -842
  75. package/deps/xz/debug/.deps/crc32.Po +0 -1
  76. package/deps/xz/debug/.deps/full_flush.Po +0 -1
  77. package/deps/xz/debug/.deps/hex2bin.Po +0 -1
  78. package/deps/xz/debug/.deps/known_sizes.Po +0 -1
  79. package/deps/xz/debug/.deps/memusage.Po +0 -1
  80. package/deps/xz/debug/.deps/repeat.Po +0 -1
  81. package/deps/xz/debug/.deps/sync_flush.Po +0 -1
  82. package/deps/xz/debug/Makefile +0 -691
  83. package/deps/xz/debug/Makefile.am +0 -30
  84. package/deps/xz/debug/Makefile.in +0 -691
  85. package/deps/xz/debug/README +0 -17
  86. package/deps/xz/debug/crc32.c +0 -39
  87. package/deps/xz/debug/full_flush.c +0 -103
  88. package/deps/xz/debug/hex2bin.c +0 -53
  89. package/deps/xz/debug/known_sizes.c +0 -129
  90. package/deps/xz/debug/memusage.c +0 -51
  91. package/deps/xz/debug/repeat.c +0 -36
  92. package/deps/xz/debug/sync_flush.c +0 -125
  93. package/deps/xz/debug/translation.bash +0 -100
  94. package/deps/xz/doc/examples/00_README.txt +0 -31
  95. package/deps/xz/doc/examples/01_compress_easy.c +0 -297
  96. package/deps/xz/doc/examples/02_decompress.c +0 -287
  97. package/deps/xz/doc/examples/03_compress_custom.c +0 -193
  98. package/deps/xz/doc/examples/04_compress_easy_mt.c +0 -206
  99. package/deps/xz/doc/examples/Makefile +0 -24
  100. package/deps/xz/doc/examples_old/xz_pipe_comp.c +0 -127
  101. package/deps/xz/doc/examples_old/xz_pipe_decomp.c +0 -123
  102. package/deps/xz/doc/faq.txt +0 -224
  103. package/deps/xz/doc/history.txt +0 -150
  104. package/deps/xz/doc/lzma-file-format.txt +0 -166
  105. package/deps/xz/doc/man/pdf-a4/lzmainfo-a4.pdf +0 -0
  106. package/deps/xz/doc/man/pdf-a4/xz-a4.pdf +0 -0
  107. package/deps/xz/doc/man/pdf-a4/xzdec-a4.pdf +0 -0
  108. package/deps/xz/doc/man/pdf-a4/xzdiff-a4.pdf +0 -0
  109. package/deps/xz/doc/man/pdf-a4/xzgrep-a4.pdf +0 -0
  110. package/deps/xz/doc/man/pdf-a4/xzless-a4.pdf +0 -0
  111. package/deps/xz/doc/man/pdf-a4/xzmore-a4.pdf +0 -0
  112. package/deps/xz/doc/man/pdf-letter/lzmainfo-letter.pdf +0 -0
  113. package/deps/xz/doc/man/pdf-letter/xz-letter.pdf +0 -0
  114. package/deps/xz/doc/man/pdf-letter/xzdec-letter.pdf +0 -0
  115. package/deps/xz/doc/man/pdf-letter/xzdiff-letter.pdf +0 -0
  116. package/deps/xz/doc/man/pdf-letter/xzgrep-letter.pdf +0 -0
  117. package/deps/xz/doc/man/pdf-letter/xzless-letter.pdf +0 -0
  118. package/deps/xz/doc/man/pdf-letter/xzmore-letter.pdf +0 -0
  119. package/deps/xz/doc/man/txt/lzmainfo.txt +0 -40
  120. package/deps/xz/doc/man/txt/xz.txt +0 -1483
  121. package/deps/xz/doc/man/txt/xzdec.txt +0 -80
  122. package/deps/xz/doc/man/txt/xzdiff.txt +0 -36
  123. package/deps/xz/doc/man/txt/xzgrep.txt +0 -39
  124. package/deps/xz/doc/man/txt/xzless.txt +0 -39
  125. package/deps/xz/doc/man/txt/xzmore.txt +0 -34
  126. package/deps/xz/doc/xz-file-format.txt +0 -1150
  127. package/deps/xz/dos/INSTALL.txt +0 -79
  128. package/deps/xz/dos/Makefile +0 -147
  129. package/deps/xz/dos/README.txt +0 -123
  130. package/deps/xz/dos/config.h +0 -130
  131. package/deps/xz/extra/7z2lzma/7z2lzma.bash +0 -115
  132. package/deps/xz/extra/scanlzma/scanlzma.c +0 -84
  133. package/deps/xz/include/lzma/base.h +0 -654
  134. package/deps/xz/include/lzma/bcj.h +0 -90
  135. package/deps/xz/include/lzma/block.h +0 -581
  136. package/deps/xz/include/lzma/check.h +0 -150
  137. package/deps/xz/include/lzma/container.h +0 -619
  138. package/deps/xz/include/lzma/delta.h +0 -77
  139. package/deps/xz/include/lzma/filter.h +0 -425
  140. package/deps/xz/include/lzma/hardware.h +0 -64
  141. package/deps/xz/include/lzma/index.h +0 -682
  142. package/deps/xz/include/lzma/index_hash.h +0 -107
  143. package/deps/xz/include/lzma/lzma12.h +0 -420
  144. package/deps/xz/include/lzma/stream_flags.h +0 -223
  145. package/deps/xz/include/lzma/version.h +0 -121
  146. package/deps/xz/include/lzma/vli.h +0 -166
  147. package/deps/xz/include/lzma.h +0 -321
  148. package/deps/xz/lib/.deps/getopt.Po +0 -1
  149. package/deps/xz/lib/.deps/getopt1.Po +0 -1
  150. package/deps/xz/lib/Makefile +0 -566
  151. package/deps/xz/lib/Makefile.am +0 -32
  152. package/deps/xz/lib/Makefile.in +0 -566
  153. package/deps/xz/lib/getopt.c +0 -1197
  154. package/deps/xz/lib/getopt.in.h +0 -226
  155. package/deps/xz/lib/getopt1.c +0 -171
  156. package/deps/xz/lib/getopt_int.h +0 -131
  157. package/deps/xz/lib/liblzma.a +0 -0
  158. package/deps/xz/lib/liblzma.la +0 -41
  159. package/deps/xz/lib/pkgconfig/liblzma.pc +0 -19
  160. package/deps/xz/libtool +0 -10221
  161. package/deps/xz/m4/ax_pthread.m4 +0 -332
  162. package/deps/xz/m4/codeset.m4 +0 -21
  163. package/deps/xz/m4/fcntl-o.m4 +0 -81
  164. package/deps/xz/m4/getopt.m4 +0 -71
  165. package/deps/xz/m4/gettext.m4 +0 -383
  166. package/deps/xz/m4/glibc2.m4 +0 -30
  167. package/deps/xz/m4/glibc21.m4 +0 -30
  168. package/deps/xz/m4/iconv.m4 +0 -199
  169. package/deps/xz/m4/intdiv0.m4 +0 -84
  170. package/deps/xz/m4/intl.m4 +0 -294
  171. package/deps/xz/m4/intldir.m4 +0 -19
  172. package/deps/xz/m4/intlmacosx.m4 +0 -51
  173. package/deps/xz/m4/intmax.m4 +0 -33
  174. package/deps/xz/m4/inttypes-pri.m4 +0 -36
  175. package/deps/xz/m4/inttypes_h.m4 +0 -26
  176. package/deps/xz/m4/lcmessage.m4 +0 -31
  177. package/deps/xz/m4/lib-ld.m4 +0 -110
  178. package/deps/xz/m4/lib-link.m4 +0 -774
  179. package/deps/xz/m4/lib-prefix.m4 +0 -224
  180. package/deps/xz/m4/libtool.m4 +0 -7997
  181. package/deps/xz/m4/lock.m4 +0 -37
  182. package/deps/xz/m4/longlong.m4 +0 -106
  183. package/deps/xz/m4/ltoptions.m4 +0 -384
  184. package/deps/xz/m4/ltsugar.m4 +0 -123
  185. package/deps/xz/m4/ltversion.m4 +0 -23
  186. package/deps/xz/m4/lt~obsolete.m4 +0 -98
  187. package/deps/xz/m4/nls.m4 +0 -32
  188. package/deps/xz/m4/po.m4 +0 -449
  189. package/deps/xz/m4/posix-shell.m4 +0 -63
  190. package/deps/xz/m4/printf-posix.m4 +0 -45
  191. package/deps/xz/m4/progtest.m4 +0 -92
  192. package/deps/xz/m4/size_max.m4 +0 -75
  193. package/deps/xz/m4/stdint_h.m4 +0 -26
  194. package/deps/xz/m4/threadlib.m4 +0 -347
  195. package/deps/xz/m4/tuklib_common.m4 +0 -22
  196. package/deps/xz/m4/tuklib_cpucores.m4 +0 -148
  197. package/deps/xz/m4/tuklib_integer.m4 +0 -74
  198. package/deps/xz/m4/tuklib_mbstr.m4 +0 -30
  199. package/deps/xz/m4/tuklib_physmem.m4 +0 -212
  200. package/deps/xz/m4/tuklib_progname.m4 +0 -25
  201. package/deps/xz/m4/uintmax_t.m4 +0 -30
  202. package/deps/xz/m4/visibility.m4 +0 -74
  203. package/deps/xz/m4/wchar_t.m4 +0 -20
  204. package/deps/xz/m4/wint_t.m4 +0 -28
  205. package/deps/xz/m4/xsize.m4 +0 -13
  206. package/deps/xz/macosx/build.sh +0 -113
  207. package/deps/xz/po/LINGUAS +0 -6
  208. package/deps/xz/po/Makefile +0 -549
  209. package/deps/xz/po/Makefile.in +0 -444
  210. package/deps/xz/po/Makefile.in.in +0 -444
  211. package/deps/xz/po/Makevars +0 -46
  212. package/deps/xz/po/Makevars.template +0 -41
  213. package/deps/xz/po/POTFILES +0 -12
  214. package/deps/xz/po/POTFILES.in +0 -13
  215. package/deps/xz/po/Rules-quot +0 -47
  216. package/deps/xz/po/boldquot.sed +0 -10
  217. package/deps/xz/po/cs.gmo +0 -0
  218. package/deps/xz/po/cs.po +0 -989
  219. package/deps/xz/po/de.gmo +0 -0
  220. package/deps/xz/po/de.po +0 -990
  221. package/deps/xz/po/en@boldquot.header +0 -25
  222. package/deps/xz/po/en@quot.header +0 -22
  223. package/deps/xz/po/fr.gmo +0 -0
  224. package/deps/xz/po/fr.po +0 -974
  225. package/deps/xz/po/insert-header.sin +0 -23
  226. package/deps/xz/po/it.gmo +0 -0
  227. package/deps/xz/po/it.po +0 -975
  228. package/deps/xz/po/pl.gmo +0 -0
  229. package/deps/xz/po/pl.po +0 -964
  230. package/deps/xz/po/quot.sed +0 -6
  231. package/deps/xz/po/remove-potcdate.sin +0 -19
  232. package/deps/xz/po/stamp-po +0 -1
  233. package/deps/xz/po/vi.gmo +0 -0
  234. package/deps/xz/po/vi.po +0 -970
  235. package/deps/xz/po/xz.pot +0 -854
  236. package/deps/xz/share/doc/xz/AUTHORS +0 -27
  237. package/deps/xz/share/doc/xz/COPYING +0 -65
  238. package/deps/xz/share/doc/xz/COPYING.GPLv2 +0 -339
  239. package/deps/xz/share/doc/xz/NEWS +0 -505
  240. package/deps/xz/share/doc/xz/README +0 -308
  241. package/deps/xz/share/doc/xz/THANKS +0 -116
  242. package/deps/xz/share/doc/xz/TODO +0 -111
  243. package/deps/xz/share/doc/xz/examples/00_README.txt +0 -31
  244. package/deps/xz/share/doc/xz/examples/01_compress_easy.c +0 -297
  245. package/deps/xz/share/doc/xz/examples/02_decompress.c +0 -287
  246. package/deps/xz/share/doc/xz/examples/03_compress_custom.c +0 -193
  247. package/deps/xz/share/doc/xz/examples/04_compress_easy_mt.c +0 -206
  248. package/deps/xz/share/doc/xz/examples/Makefile +0 -24
  249. package/deps/xz/share/doc/xz/examples_old/xz_pipe_comp.c +0 -127
  250. package/deps/xz/share/doc/xz/examples_old/xz_pipe_decomp.c +0 -123
  251. package/deps/xz/share/doc/xz/faq.txt +0 -224
  252. package/deps/xz/share/doc/xz/history.txt +0 -150
  253. package/deps/xz/share/doc/xz/lzma-file-format.txt +0 -166
  254. package/deps/xz/share/doc/xz/xz-file-format.txt +0 -1150
  255. package/deps/xz/share/locale/cs/LC_MESSAGES/xz.mo +0 -0
  256. package/deps/xz/share/locale/de/LC_MESSAGES/xz.mo +0 -0
  257. package/deps/xz/share/locale/fr/LC_MESSAGES/xz.mo +0 -0
  258. package/deps/xz/share/locale/it/LC_MESSAGES/xz.mo +0 -0
  259. package/deps/xz/share/locale/pl/LC_MESSAGES/xz.mo +0 -0
  260. package/deps/xz/share/locale/vi/LC_MESSAGES/xz.mo +0 -0
  261. package/deps/xz/src/Makefile +0 -674
  262. package/deps/xz/src/Makefile.am +0 -42
  263. package/deps/xz/src/Makefile.in +0 -674
  264. package/deps/xz/src/common/common_w32res.rc +0 -50
  265. package/deps/xz/src/common/mythread.h +0 -521
  266. package/deps/xz/src/common/sysdefs.h +0 -202
  267. package/deps/xz/src/common/tuklib_common.h +0 -71
  268. package/deps/xz/src/common/tuklib_config.h +0 -7
  269. package/deps/xz/src/common/tuklib_cpucores.c +0 -91
  270. package/deps/xz/src/common/tuklib_cpucores.h +0 -23
  271. package/deps/xz/src/common/tuklib_exit.c +0 -57
  272. package/deps/xz/src/common/tuklib_exit.h +0 -25
  273. package/deps/xz/src/common/tuklib_gettext.h +0 -44
  274. package/deps/xz/src/common/tuklib_integer.h +0 -523
  275. package/deps/xz/src/common/tuklib_mbstr.h +0 -66
  276. package/deps/xz/src/common/tuklib_mbstr_fw.c +0 -31
  277. package/deps/xz/src/common/tuklib_mbstr_width.c +0 -64
  278. package/deps/xz/src/common/tuklib_open_stdxxx.c +0 -57
  279. package/deps/xz/src/common/tuklib_open_stdxxx.h +0 -23
  280. package/deps/xz/src/common/tuklib_physmem.c +0 -215
  281. package/deps/xz/src/common/tuklib_physmem.h +0 -28
  282. package/deps/xz/src/common/tuklib_progname.c +0 -50
  283. package/deps/xz/src/common/tuklib_progname.h +0 -32
  284. package/deps/xz/src/liblzma/.deps/liblzma_la-alone_decoder.Plo +0 -269
  285. package/deps/xz/src/liblzma/.deps/liblzma_la-alone_encoder.Plo +0 -263
  286. package/deps/xz/src/liblzma/.deps/liblzma_la-arm.Plo +0 -263
  287. package/deps/xz/src/liblzma/.deps/liblzma_la-armthumb.Plo +0 -263
  288. package/deps/xz/src/liblzma/.deps/liblzma_la-auto_decoder.Plo +0 -263
  289. package/deps/xz/src/liblzma/.deps/liblzma_la-block_buffer_decoder.Plo +0 -261
  290. package/deps/xz/src/liblzma/.deps/liblzma_la-block_buffer_encoder.Plo +0 -273
  291. package/deps/xz/src/liblzma/.deps/liblzma_la-block_decoder.Plo +0 -268
  292. package/deps/xz/src/liblzma/.deps/liblzma_la-block_encoder.Plo +0 -268
  293. package/deps/xz/src/liblzma/.deps/liblzma_la-block_header_decoder.Plo +0 -263
  294. package/deps/xz/src/liblzma/.deps/liblzma_la-block_header_encoder.Plo +0 -263
  295. package/deps/xz/src/liblzma/.deps/liblzma_la-block_util.Plo +0 -260
  296. package/deps/xz/src/liblzma/.deps/liblzma_la-check.Plo +0 -261
  297. package/deps/xz/src/liblzma/.deps/liblzma_la-common.Plo +0 -258
  298. package/deps/xz/src/liblzma/.deps/liblzma_la-crc32_fast.Plo +0 -263
  299. package/deps/xz/src/liblzma/.deps/liblzma_la-crc32_small.Plo +0 -1
  300. package/deps/xz/src/liblzma/.deps/liblzma_la-crc32_table.Plo +0 -260
  301. package/deps/xz/src/liblzma/.deps/liblzma_la-crc32_x86.Plo +0 -1
  302. package/deps/xz/src/liblzma/.deps/liblzma_la-crc64_fast.Plo +0 -263
  303. package/deps/xz/src/liblzma/.deps/liblzma_la-crc64_small.Plo +0 -1
  304. package/deps/xz/src/liblzma/.deps/liblzma_la-crc64_table.Plo +0 -260
  305. package/deps/xz/src/liblzma/.deps/liblzma_la-crc64_x86.Plo +0 -1
  306. package/deps/xz/src/liblzma/.deps/liblzma_la-delta_common.Plo +0 -263
  307. package/deps/xz/src/liblzma/.deps/liblzma_la-delta_decoder.Plo +0 -265
  308. package/deps/xz/src/liblzma/.deps/liblzma_la-delta_encoder.Plo +0 -265
  309. package/deps/xz/src/liblzma/.deps/liblzma_la-easy_buffer_encoder.Plo +0 -261
  310. package/deps/xz/src/liblzma/.deps/liblzma_la-easy_decoder_memusage.Plo +0 -261
  311. package/deps/xz/src/liblzma/.deps/liblzma_la-easy_encoder.Plo +0 -261
  312. package/deps/xz/src/liblzma/.deps/liblzma_la-easy_encoder_memusage.Plo +0 -261
  313. package/deps/xz/src/liblzma/.deps/liblzma_la-easy_preset.Plo +0 -261
  314. package/deps/xz/src/liblzma/.deps/liblzma_la-fastpos_table.Plo +0 -261
  315. package/deps/xz/src/liblzma/.deps/liblzma_la-filter_buffer_decoder.Plo +0 -261
  316. package/deps/xz/src/liblzma/.deps/liblzma_la-filter_buffer_encoder.Plo +0 -261
  317. package/deps/xz/src/liblzma/.deps/liblzma_la-filter_common.Plo +0 -261
  318. package/deps/xz/src/liblzma/.deps/liblzma_la-filter_decoder.Plo +0 -283
  319. package/deps/xz/src/liblzma/.deps/liblzma_la-filter_encoder.Plo +0 -283
  320. package/deps/xz/src/liblzma/.deps/liblzma_la-filter_flags_decoder.Plo +0 -261
  321. package/deps/xz/src/liblzma/.deps/liblzma_la-filter_flags_encoder.Plo +0 -261
  322. package/deps/xz/src/liblzma/.deps/liblzma_la-hardware_cputhreads.Plo +0 -260
  323. package/deps/xz/src/liblzma/.deps/liblzma_la-hardware_physmem.Plo +0 -260
  324. package/deps/xz/src/liblzma/.deps/liblzma_la-ia64.Plo +0 -263
  325. package/deps/xz/src/liblzma/.deps/liblzma_la-index.Plo +0 -262
  326. package/deps/xz/src/liblzma/.deps/liblzma_la-index_decoder.Plo +0 -266
  327. package/deps/xz/src/liblzma/.deps/liblzma_la-index_encoder.Plo +0 -268
  328. package/deps/xz/src/liblzma/.deps/liblzma_la-index_hash.Plo +0 -265
  329. package/deps/xz/src/liblzma/.deps/liblzma_la-lz_decoder.Plo +0 -261
  330. package/deps/xz/src/liblzma/.deps/liblzma_la-lz_encoder.Plo +0 -286
  331. package/deps/xz/src/liblzma/.deps/liblzma_la-lz_encoder_mf.Plo +0 -286
  332. package/deps/xz/src/liblzma/.deps/liblzma_la-lzma2_decoder.Plo +0 -266
  333. package/deps/xz/src/liblzma/.deps/liblzma_la-lzma2_encoder.Plo +0 -268
  334. package/deps/xz/src/liblzma/.deps/liblzma_la-lzma_decoder.Plo +0 -274
  335. package/deps/xz/src/liblzma/.deps/liblzma_la-lzma_encoder.Plo +0 -285
  336. package/deps/xz/src/liblzma/.deps/liblzma_la-lzma_encoder_optimum_fast.Plo +0 -300
  337. package/deps/xz/src/liblzma/.deps/liblzma_la-lzma_encoder_optimum_normal.Plo +0 -303
  338. package/deps/xz/src/liblzma/.deps/liblzma_la-lzma_encoder_presets.Plo +0 -259
  339. package/deps/xz/src/liblzma/.deps/liblzma_la-outqueue.Plo +0 -260
  340. package/deps/xz/src/liblzma/.deps/liblzma_la-powerpc.Plo +0 -263
  341. package/deps/xz/src/liblzma/.deps/liblzma_la-price_table.Plo +0 -266
  342. package/deps/xz/src/liblzma/.deps/liblzma_la-sha256.Plo +0 -261
  343. package/deps/xz/src/liblzma/.deps/liblzma_la-simple_coder.Plo +0 -263
  344. package/deps/xz/src/liblzma/.deps/liblzma_la-simple_decoder.Plo +0 -263
  345. package/deps/xz/src/liblzma/.deps/liblzma_la-simple_encoder.Plo +0 -263
  346. package/deps/xz/src/liblzma/.deps/liblzma_la-sparc.Plo +0 -263
  347. package/deps/xz/src/liblzma/.deps/liblzma_la-stream_buffer_decoder.Plo +0 -261
  348. package/deps/xz/src/liblzma/.deps/liblzma_la-stream_buffer_encoder.Plo +0 -261
  349. package/deps/xz/src/liblzma/.deps/liblzma_la-stream_decoder.Plo +0 -263
  350. package/deps/xz/src/liblzma/.deps/liblzma_la-stream_encoder.Plo +0 -263
  351. package/deps/xz/src/liblzma/.deps/liblzma_la-stream_encoder_mt.Plo +0 -273
  352. package/deps/xz/src/liblzma/.deps/liblzma_la-stream_flags_common.Plo +0 -261
  353. package/deps/xz/src/liblzma/.deps/liblzma_la-stream_flags_decoder.Plo +0 -261
  354. package/deps/xz/src/liblzma/.deps/liblzma_la-stream_flags_encoder.Plo +0 -261
  355. package/deps/xz/src/liblzma/.deps/liblzma_la-tuklib_cpucores.Plo +0 -170
  356. package/deps/xz/src/liblzma/.deps/liblzma_la-tuklib_physmem.Plo +0 -170
  357. package/deps/xz/src/liblzma/.deps/liblzma_la-vli_decoder.Plo +0 -258
  358. package/deps/xz/src/liblzma/.deps/liblzma_la-vli_encoder.Plo +0 -258
  359. package/deps/xz/src/liblzma/.deps/liblzma_la-vli_size.Plo +0 -258
  360. package/deps/xz/src/liblzma/.deps/liblzma_la-x86.Plo +0 -263
  361. package/deps/xz/src/liblzma/.libs/liblzma.a +0 -0
  362. package/deps/xz/src/liblzma/.libs/liblzma.lai +0 -41
  363. package/deps/xz/src/liblzma/Makefile +0 -1858
  364. package/deps/xz/src/liblzma/Makefile.am +0 -122
  365. package/deps/xz/src/liblzma/Makefile.in +0 -1858
  366. package/deps/xz/src/liblzma/api/Makefile +0 -608
  367. package/deps/xz/src/liblzma/api/Makefile.am +0 -23
  368. package/deps/xz/src/liblzma/api/Makefile.in +0 -608
  369. package/deps/xz/src/liblzma/api/lzma/base.h +0 -654
  370. package/deps/xz/src/liblzma/api/lzma/bcj.h +0 -90
  371. package/deps/xz/src/liblzma/api/lzma/block.h +0 -581
  372. package/deps/xz/src/liblzma/api/lzma/check.h +0 -150
  373. package/deps/xz/src/liblzma/api/lzma/container.h +0 -619
  374. package/deps/xz/src/liblzma/api/lzma/delta.h +0 -77
  375. package/deps/xz/src/liblzma/api/lzma/filter.h +0 -425
  376. package/deps/xz/src/liblzma/api/lzma/hardware.h +0 -64
  377. package/deps/xz/src/liblzma/api/lzma/index.h +0 -682
  378. package/deps/xz/src/liblzma/api/lzma/index_hash.h +0 -107
  379. package/deps/xz/src/liblzma/api/lzma/lzma12.h +0 -420
  380. package/deps/xz/src/liblzma/api/lzma/stream_flags.h +0 -223
  381. package/deps/xz/src/liblzma/api/lzma/version.h +0 -121
  382. package/deps/xz/src/liblzma/api/lzma/vli.h +0 -166
  383. package/deps/xz/src/liblzma/api/lzma.h +0 -321
  384. package/deps/xz/src/liblzma/check/Makefile.inc +0 -53
  385. package/deps/xz/src/liblzma/check/check.c +0 -174
  386. package/deps/xz/src/liblzma/check/check.h +0 -162
  387. package/deps/xz/src/liblzma/check/crc32_fast.c +0 -82
  388. package/deps/xz/src/liblzma/check/crc32_small.c +0 -61
  389. package/deps/xz/src/liblzma/check/crc32_table.c +0 -19
  390. package/deps/xz/src/liblzma/check/crc32_table_be.h +0 -525
  391. package/deps/xz/src/liblzma/check/crc32_table_le.h +0 -525
  392. package/deps/xz/src/liblzma/check/crc32_tablegen.c +0 -117
  393. package/deps/xz/src/liblzma/check/crc32_x86.S +0 -304
  394. package/deps/xz/src/liblzma/check/crc64_fast.c +0 -72
  395. package/deps/xz/src/liblzma/check/crc64_small.c +0 -53
  396. package/deps/xz/src/liblzma/check/crc64_table.c +0 -19
  397. package/deps/xz/src/liblzma/check/crc64_table_be.h +0 -521
  398. package/deps/xz/src/liblzma/check/crc64_table_le.h +0 -521
  399. package/deps/xz/src/liblzma/check/crc64_tablegen.c +0 -88
  400. package/deps/xz/src/liblzma/check/crc64_x86.S +0 -287
  401. package/deps/xz/src/liblzma/check/crc_macros.h +0 -30
  402. package/deps/xz/src/liblzma/check/sha256.c +0 -196
  403. package/deps/xz/src/liblzma/common/Makefile.inc +0 -76
  404. package/deps/xz/src/liblzma/common/alone_decoder.c +0 -238
  405. package/deps/xz/src/liblzma/common/alone_decoder.h +0 -23
  406. package/deps/xz/src/liblzma/common/alone_encoder.c +0 -157
  407. package/deps/xz/src/liblzma/common/auto_decoder.c +0 -186
  408. package/deps/xz/src/liblzma/common/block_buffer_decoder.c +0 -80
  409. package/deps/xz/src/liblzma/common/block_buffer_encoder.c +0 -337
  410. package/deps/xz/src/liblzma/common/block_buffer_encoder.h +0 -24
  411. package/deps/xz/src/liblzma/common/block_decoder.c +0 -252
  412. package/deps/xz/src/liblzma/common/block_decoder.h +0 -22
  413. package/deps/xz/src/liblzma/common/block_encoder.c +0 -217
  414. package/deps/xz/src/liblzma/common/block_encoder.h +0 -47
  415. package/deps/xz/src/liblzma/common/block_header_decoder.c +0 -124
  416. package/deps/xz/src/liblzma/common/block_header_encoder.c +0 -132
  417. package/deps/xz/src/liblzma/common/block_util.c +0 -90
  418. package/deps/xz/src/liblzma/common/common.c +0 -443
  419. package/deps/xz/src/liblzma/common/common.h +0 -318
  420. package/deps/xz/src/liblzma/common/easy_buffer_encoder.c +0 -27
  421. package/deps/xz/src/liblzma/common/easy_decoder_memusage.c +0 -24
  422. package/deps/xz/src/liblzma/common/easy_encoder.c +0 -24
  423. package/deps/xz/src/liblzma/common/easy_encoder_memusage.c +0 -24
  424. package/deps/xz/src/liblzma/common/easy_preset.c +0 -27
  425. package/deps/xz/src/liblzma/common/easy_preset.h +0 -32
  426. package/deps/xz/src/liblzma/common/filter_buffer_decoder.c +0 -88
  427. package/deps/xz/src/liblzma/common/filter_buffer_encoder.c +0 -55
  428. package/deps/xz/src/liblzma/common/filter_common.c +0 -337
  429. package/deps/xz/src/liblzma/common/filter_common.h +0 -48
  430. package/deps/xz/src/liblzma/common/filter_decoder.c +0 -184
  431. package/deps/xz/src/liblzma/common/filter_decoder.h +0 -23
  432. package/deps/xz/src/liblzma/common/filter_encoder.c +0 -286
  433. package/deps/xz/src/liblzma/common/filter_encoder.h +0 -27
  434. package/deps/xz/src/liblzma/common/filter_flags_decoder.c +0 -46
  435. package/deps/xz/src/liblzma/common/filter_flags_encoder.c +0 -56
  436. package/deps/xz/src/liblzma/common/hardware_cputhreads.c +0 -22
  437. package/deps/xz/src/liblzma/common/hardware_physmem.c +0 -25
  438. package/deps/xz/src/liblzma/common/index.c +0 -1246
  439. package/deps/xz/src/liblzma/common/index.h +0 -73
  440. package/deps/xz/src/liblzma/common/index_decoder.c +0 -345
  441. package/deps/xz/src/liblzma/common/index_encoder.c +0 -254
  442. package/deps/xz/src/liblzma/common/index_encoder.h +0 -23
  443. package/deps/xz/src/liblzma/common/index_hash.c +0 -334
  444. package/deps/xz/src/liblzma/common/memcmplen.h +0 -175
  445. package/deps/xz/src/liblzma/common/outqueue.c +0 -184
  446. package/deps/xz/src/liblzma/common/outqueue.h +0 -156
  447. package/deps/xz/src/liblzma/common/stream_buffer_decoder.c +0 -91
  448. package/deps/xz/src/liblzma/common/stream_buffer_encoder.c +0 -141
  449. package/deps/xz/src/liblzma/common/stream_decoder.c +0 -462
  450. package/deps/xz/src/liblzma/common/stream_decoder.h +0 -22
  451. package/deps/xz/src/liblzma/common/stream_encoder.c +0 -332
  452. package/deps/xz/src/liblzma/common/stream_encoder_mt.c +0 -1131
  453. package/deps/xz/src/liblzma/common/stream_flags_common.c +0 -47
  454. package/deps/xz/src/liblzma/common/stream_flags_common.h +0 -33
  455. package/deps/xz/src/liblzma/common/stream_flags_decoder.c +0 -82
  456. package/deps/xz/src/liblzma/common/stream_flags_encoder.c +0 -86
  457. package/deps/xz/src/liblzma/common/vli_decoder.c +0 -86
  458. package/deps/xz/src/liblzma/common/vli_encoder.c +0 -69
  459. package/deps/xz/src/liblzma/common/vli_size.c +0 -30
  460. package/deps/xz/src/liblzma/delta/Makefile.inc +0 -23
  461. package/deps/xz/src/liblzma/delta/delta_common.c +0 -70
  462. package/deps/xz/src/liblzma/delta/delta_common.h +0 -20
  463. package/deps/xz/src/liblzma/delta/delta_decoder.c +0 -76
  464. package/deps/xz/src/liblzma/delta/delta_decoder.h +0 -26
  465. package/deps/xz/src/liblzma/delta/delta_encoder.c +0 -121
  466. package/deps/xz/src/liblzma/delta/delta_encoder.h +0 -24
  467. package/deps/xz/src/liblzma/delta/delta_private.h +0 -37
  468. package/deps/xz/src/liblzma/liblzma.la +0 -41
  469. package/deps/xz/src/liblzma/liblzma.map +0 -108
  470. package/deps/xz/src/liblzma/liblzma.pc +0 -19
  471. package/deps/xz/src/liblzma/liblzma.pc.in +0 -19
  472. package/deps/xz/src/liblzma/liblzma_la-alone_decoder.lo +0 -12
  473. package/deps/xz/src/liblzma/liblzma_la-alone_decoder.o +0 -0
  474. package/deps/xz/src/liblzma/liblzma_la-alone_encoder.lo +0 -12
  475. package/deps/xz/src/liblzma/liblzma_la-alone_encoder.o +0 -0
  476. package/deps/xz/src/liblzma/liblzma_la-arm.lo +0 -12
  477. package/deps/xz/src/liblzma/liblzma_la-arm.o +0 -0
  478. package/deps/xz/src/liblzma/liblzma_la-armthumb.lo +0 -12
  479. package/deps/xz/src/liblzma/liblzma_la-armthumb.o +0 -0
  480. package/deps/xz/src/liblzma/liblzma_la-auto_decoder.lo +0 -12
  481. package/deps/xz/src/liblzma/liblzma_la-auto_decoder.o +0 -0
  482. package/deps/xz/src/liblzma/liblzma_la-block_buffer_decoder.lo +0 -12
  483. package/deps/xz/src/liblzma/liblzma_la-block_buffer_decoder.o +0 -0
  484. package/deps/xz/src/liblzma/liblzma_la-block_buffer_encoder.lo +0 -12
  485. package/deps/xz/src/liblzma/liblzma_la-block_buffer_encoder.o +0 -0
  486. package/deps/xz/src/liblzma/liblzma_la-block_decoder.lo +0 -12
  487. package/deps/xz/src/liblzma/liblzma_la-block_decoder.o +0 -0
  488. package/deps/xz/src/liblzma/liblzma_la-block_encoder.lo +0 -12
  489. package/deps/xz/src/liblzma/liblzma_la-block_encoder.o +0 -0
  490. package/deps/xz/src/liblzma/liblzma_la-block_header_decoder.lo +0 -12
  491. package/deps/xz/src/liblzma/liblzma_la-block_header_decoder.o +0 -0
  492. package/deps/xz/src/liblzma/liblzma_la-block_header_encoder.lo +0 -12
  493. package/deps/xz/src/liblzma/liblzma_la-block_header_encoder.o +0 -0
  494. package/deps/xz/src/liblzma/liblzma_la-block_util.lo +0 -12
  495. package/deps/xz/src/liblzma/liblzma_la-block_util.o +0 -0
  496. package/deps/xz/src/liblzma/liblzma_la-check.lo +0 -12
  497. package/deps/xz/src/liblzma/liblzma_la-check.o +0 -0
  498. package/deps/xz/src/liblzma/liblzma_la-common.lo +0 -12
  499. package/deps/xz/src/liblzma/liblzma_la-common.o +0 -0
  500. package/deps/xz/src/liblzma/liblzma_la-crc32_fast.lo +0 -12
  501. package/deps/xz/src/liblzma/liblzma_la-crc32_fast.o +0 -0
  502. package/deps/xz/src/liblzma/liblzma_la-crc32_table.lo +0 -12
  503. package/deps/xz/src/liblzma/liblzma_la-crc32_table.o +0 -0
  504. package/deps/xz/src/liblzma/liblzma_la-crc64_fast.lo +0 -12
  505. package/deps/xz/src/liblzma/liblzma_la-crc64_fast.o +0 -0
  506. package/deps/xz/src/liblzma/liblzma_la-crc64_table.lo +0 -12
  507. package/deps/xz/src/liblzma/liblzma_la-crc64_table.o +0 -0
  508. package/deps/xz/src/liblzma/liblzma_la-delta_common.lo +0 -12
  509. package/deps/xz/src/liblzma/liblzma_la-delta_common.o +0 -0
  510. package/deps/xz/src/liblzma/liblzma_la-delta_decoder.lo +0 -12
  511. package/deps/xz/src/liblzma/liblzma_la-delta_decoder.o +0 -0
  512. package/deps/xz/src/liblzma/liblzma_la-delta_encoder.lo +0 -12
  513. package/deps/xz/src/liblzma/liblzma_la-delta_encoder.o +0 -0
  514. package/deps/xz/src/liblzma/liblzma_la-easy_buffer_encoder.lo +0 -12
  515. package/deps/xz/src/liblzma/liblzma_la-easy_buffer_encoder.o +0 -0
  516. package/deps/xz/src/liblzma/liblzma_la-easy_decoder_memusage.lo +0 -12
  517. package/deps/xz/src/liblzma/liblzma_la-easy_decoder_memusage.o +0 -0
  518. package/deps/xz/src/liblzma/liblzma_la-easy_encoder.lo +0 -12
  519. package/deps/xz/src/liblzma/liblzma_la-easy_encoder.o +0 -0
  520. package/deps/xz/src/liblzma/liblzma_la-easy_encoder_memusage.lo +0 -12
  521. package/deps/xz/src/liblzma/liblzma_la-easy_encoder_memusage.o +0 -0
  522. package/deps/xz/src/liblzma/liblzma_la-easy_preset.lo +0 -12
  523. package/deps/xz/src/liblzma/liblzma_la-easy_preset.o +0 -0
  524. package/deps/xz/src/liblzma/liblzma_la-fastpos_table.lo +0 -12
  525. package/deps/xz/src/liblzma/liblzma_la-fastpos_table.o +0 -0
  526. package/deps/xz/src/liblzma/liblzma_la-filter_buffer_decoder.lo +0 -12
  527. package/deps/xz/src/liblzma/liblzma_la-filter_buffer_decoder.o +0 -0
  528. package/deps/xz/src/liblzma/liblzma_la-filter_buffer_encoder.lo +0 -12
  529. package/deps/xz/src/liblzma/liblzma_la-filter_buffer_encoder.o +0 -0
  530. package/deps/xz/src/liblzma/liblzma_la-filter_common.lo +0 -12
  531. package/deps/xz/src/liblzma/liblzma_la-filter_common.o +0 -0
  532. package/deps/xz/src/liblzma/liblzma_la-filter_decoder.lo +0 -12
  533. package/deps/xz/src/liblzma/liblzma_la-filter_decoder.o +0 -0
  534. package/deps/xz/src/liblzma/liblzma_la-filter_encoder.lo +0 -12
  535. package/deps/xz/src/liblzma/liblzma_la-filter_encoder.o +0 -0
  536. package/deps/xz/src/liblzma/liblzma_la-filter_flags_decoder.lo +0 -12
  537. package/deps/xz/src/liblzma/liblzma_la-filter_flags_decoder.o +0 -0
  538. package/deps/xz/src/liblzma/liblzma_la-filter_flags_encoder.lo +0 -12
  539. package/deps/xz/src/liblzma/liblzma_la-filter_flags_encoder.o +0 -0
  540. package/deps/xz/src/liblzma/liblzma_la-hardware_cputhreads.lo +0 -12
  541. package/deps/xz/src/liblzma/liblzma_la-hardware_cputhreads.o +0 -0
  542. package/deps/xz/src/liblzma/liblzma_la-hardware_physmem.lo +0 -12
  543. package/deps/xz/src/liblzma/liblzma_la-hardware_physmem.o +0 -0
  544. package/deps/xz/src/liblzma/liblzma_la-ia64.lo +0 -12
  545. package/deps/xz/src/liblzma/liblzma_la-ia64.o +0 -0
  546. package/deps/xz/src/liblzma/liblzma_la-index.lo +0 -12
  547. package/deps/xz/src/liblzma/liblzma_la-index.o +0 -0
  548. package/deps/xz/src/liblzma/liblzma_la-index_decoder.lo +0 -12
  549. package/deps/xz/src/liblzma/liblzma_la-index_decoder.o +0 -0
  550. package/deps/xz/src/liblzma/liblzma_la-index_encoder.lo +0 -12
  551. package/deps/xz/src/liblzma/liblzma_la-index_encoder.o +0 -0
  552. package/deps/xz/src/liblzma/liblzma_la-index_hash.lo +0 -12
  553. package/deps/xz/src/liblzma/liblzma_la-index_hash.o +0 -0
  554. package/deps/xz/src/liblzma/liblzma_la-lz_decoder.lo +0 -12
  555. package/deps/xz/src/liblzma/liblzma_la-lz_decoder.o +0 -0
  556. package/deps/xz/src/liblzma/liblzma_la-lz_encoder.lo +0 -12
  557. package/deps/xz/src/liblzma/liblzma_la-lz_encoder.o +0 -0
  558. package/deps/xz/src/liblzma/liblzma_la-lz_encoder_mf.lo +0 -12
  559. package/deps/xz/src/liblzma/liblzma_la-lz_encoder_mf.o +0 -0
  560. package/deps/xz/src/liblzma/liblzma_la-lzma2_decoder.lo +0 -12
  561. package/deps/xz/src/liblzma/liblzma_la-lzma2_decoder.o +0 -0
  562. package/deps/xz/src/liblzma/liblzma_la-lzma2_encoder.lo +0 -12
  563. package/deps/xz/src/liblzma/liblzma_la-lzma2_encoder.o +0 -0
  564. package/deps/xz/src/liblzma/liblzma_la-lzma_decoder.lo +0 -12
  565. package/deps/xz/src/liblzma/liblzma_la-lzma_decoder.o +0 -0
  566. package/deps/xz/src/liblzma/liblzma_la-lzma_encoder.lo +0 -12
  567. package/deps/xz/src/liblzma/liblzma_la-lzma_encoder.o +0 -0
  568. package/deps/xz/src/liblzma/liblzma_la-lzma_encoder_optimum_fast.lo +0 -12
  569. package/deps/xz/src/liblzma/liblzma_la-lzma_encoder_optimum_fast.o +0 -0
  570. package/deps/xz/src/liblzma/liblzma_la-lzma_encoder_optimum_normal.lo +0 -12
  571. package/deps/xz/src/liblzma/liblzma_la-lzma_encoder_optimum_normal.o +0 -0
  572. package/deps/xz/src/liblzma/liblzma_la-lzma_encoder_presets.lo +0 -12
  573. package/deps/xz/src/liblzma/liblzma_la-lzma_encoder_presets.o +0 -0
  574. package/deps/xz/src/liblzma/liblzma_la-outqueue.lo +0 -12
  575. package/deps/xz/src/liblzma/liblzma_la-outqueue.o +0 -0
  576. package/deps/xz/src/liblzma/liblzma_la-powerpc.lo +0 -12
  577. package/deps/xz/src/liblzma/liblzma_la-powerpc.o +0 -0
  578. package/deps/xz/src/liblzma/liblzma_la-price_table.lo +0 -12
  579. package/deps/xz/src/liblzma/liblzma_la-price_table.o +0 -0
  580. package/deps/xz/src/liblzma/liblzma_la-sha256.lo +0 -12
  581. package/deps/xz/src/liblzma/liblzma_la-sha256.o +0 -0
  582. package/deps/xz/src/liblzma/liblzma_la-simple_coder.lo +0 -12
  583. package/deps/xz/src/liblzma/liblzma_la-simple_coder.o +0 -0
  584. package/deps/xz/src/liblzma/liblzma_la-simple_decoder.lo +0 -12
  585. package/deps/xz/src/liblzma/liblzma_la-simple_decoder.o +0 -0
  586. package/deps/xz/src/liblzma/liblzma_la-simple_encoder.lo +0 -12
  587. package/deps/xz/src/liblzma/liblzma_la-simple_encoder.o +0 -0
  588. package/deps/xz/src/liblzma/liblzma_la-sparc.lo +0 -12
  589. package/deps/xz/src/liblzma/liblzma_la-sparc.o +0 -0
  590. package/deps/xz/src/liblzma/liblzma_la-stream_buffer_decoder.lo +0 -12
  591. package/deps/xz/src/liblzma/liblzma_la-stream_buffer_decoder.o +0 -0
  592. package/deps/xz/src/liblzma/liblzma_la-stream_buffer_encoder.lo +0 -12
  593. package/deps/xz/src/liblzma/liblzma_la-stream_buffer_encoder.o +0 -0
  594. package/deps/xz/src/liblzma/liblzma_la-stream_decoder.lo +0 -12
  595. package/deps/xz/src/liblzma/liblzma_la-stream_decoder.o +0 -0
  596. package/deps/xz/src/liblzma/liblzma_la-stream_encoder.lo +0 -12
  597. package/deps/xz/src/liblzma/liblzma_la-stream_encoder.o +0 -0
  598. package/deps/xz/src/liblzma/liblzma_la-stream_encoder_mt.lo +0 -12
  599. package/deps/xz/src/liblzma/liblzma_la-stream_encoder_mt.o +0 -0
  600. package/deps/xz/src/liblzma/liblzma_la-stream_flags_common.lo +0 -12
  601. package/deps/xz/src/liblzma/liblzma_la-stream_flags_common.o +0 -0
  602. package/deps/xz/src/liblzma/liblzma_la-stream_flags_decoder.lo +0 -12
  603. package/deps/xz/src/liblzma/liblzma_la-stream_flags_decoder.o +0 -0
  604. package/deps/xz/src/liblzma/liblzma_la-stream_flags_encoder.lo +0 -12
  605. package/deps/xz/src/liblzma/liblzma_la-stream_flags_encoder.o +0 -0
  606. package/deps/xz/src/liblzma/liblzma_la-tuklib_cpucores.lo +0 -12
  607. package/deps/xz/src/liblzma/liblzma_la-tuklib_cpucores.o +0 -0
  608. package/deps/xz/src/liblzma/liblzma_la-tuklib_physmem.lo +0 -12
  609. package/deps/xz/src/liblzma/liblzma_la-tuklib_physmem.o +0 -0
  610. package/deps/xz/src/liblzma/liblzma_la-vli_decoder.lo +0 -12
  611. package/deps/xz/src/liblzma/liblzma_la-vli_decoder.o +0 -0
  612. package/deps/xz/src/liblzma/liblzma_la-vli_encoder.lo +0 -12
  613. package/deps/xz/src/liblzma/liblzma_la-vli_encoder.o +0 -0
  614. package/deps/xz/src/liblzma/liblzma_la-vli_size.lo +0 -12
  615. package/deps/xz/src/liblzma/liblzma_la-vli_size.o +0 -0
  616. package/deps/xz/src/liblzma/liblzma_la-x86.lo +0 -12
  617. package/deps/xz/src/liblzma/liblzma_la-x86.o +0 -0
  618. package/deps/xz/src/liblzma/liblzma_w32res.rc +0 -12
  619. package/deps/xz/src/liblzma/lz/Makefile.inc +0 -22
  620. package/deps/xz/src/liblzma/lz/lz_decoder.c +0 -300
  621. package/deps/xz/src/liblzma/lz/lz_decoder.h +0 -235
  622. package/deps/xz/src/liblzma/lz/lz_encoder.c +0 -605
  623. package/deps/xz/src/liblzma/lz/lz_encoder.h +0 -328
  624. package/deps/xz/src/liblzma/lz/lz_encoder_hash.h +0 -108
  625. package/deps/xz/src/liblzma/lz/lz_encoder_hash_table.h +0 -68
  626. package/deps/xz/src/liblzma/lz/lz_encoder_mf.c +0 -744
  627. package/deps/xz/src/liblzma/lzma/Makefile.inc +0 -43
  628. package/deps/xz/src/liblzma/lzma/fastpos.h +0 -141
  629. package/deps/xz/src/liblzma/lzma/fastpos_table.c +0 -519
  630. package/deps/xz/src/liblzma/lzma/fastpos_tablegen.c +0 -56
  631. package/deps/xz/src/liblzma/lzma/lzma2_decoder.c +0 -304
  632. package/deps/xz/src/liblzma/lzma/lzma2_decoder.h +0 -29
  633. package/deps/xz/src/liblzma/lzma/lzma2_encoder.c +0 -403
  634. package/deps/xz/src/liblzma/lzma/lzma2_encoder.h +0 -43
  635. package/deps/xz/src/liblzma/lzma/lzma_common.h +0 -224
  636. package/deps/xz/src/liblzma/lzma/lzma_decoder.c +0 -1061
  637. package/deps/xz/src/liblzma/lzma/lzma_decoder.h +0 -53
  638. package/deps/xz/src/liblzma/lzma/lzma_encoder.c +0 -676
  639. package/deps/xz/src/liblzma/lzma/lzma_encoder.h +0 -55
  640. package/deps/xz/src/liblzma/lzma/lzma_encoder_optimum_fast.c +0 -169
  641. package/deps/xz/src/liblzma/lzma/lzma_encoder_optimum_normal.c +0 -854
  642. package/deps/xz/src/liblzma/lzma/lzma_encoder_presets.c +0 -63
  643. package/deps/xz/src/liblzma/lzma/lzma_encoder_private.h +0 -148
  644. package/deps/xz/src/liblzma/rangecoder/Makefile.inc +0 -21
  645. package/deps/xz/src/liblzma/rangecoder/price.h +0 -92
  646. package/deps/xz/src/liblzma/rangecoder/price_table.c +0 -22
  647. package/deps/xz/src/liblzma/rangecoder/price_tablegen.c +0 -87
  648. package/deps/xz/src/liblzma/rangecoder/range_common.h +0 -73
  649. package/deps/xz/src/liblzma/rangecoder/range_decoder.h +0 -185
  650. package/deps/xz/src/liblzma/rangecoder/range_encoder.h +0 -231
  651. package/deps/xz/src/liblzma/simple/Makefile.inc +0 -47
  652. package/deps/xz/src/liblzma/simple/arm.c +0 -71
  653. package/deps/xz/src/liblzma/simple/armthumb.c +0 -76
  654. package/deps/xz/src/liblzma/simple/ia64.c +0 -112
  655. package/deps/xz/src/liblzma/simple/powerpc.c +0 -75
  656. package/deps/xz/src/liblzma/simple/simple_coder.c +0 -277
  657. package/deps/xz/src/liblzma/simple/simple_coder.h +0 -72
  658. package/deps/xz/src/liblzma/simple/simple_decoder.c +0 -40
  659. package/deps/xz/src/liblzma/simple/simple_decoder.h +0 -22
  660. package/deps/xz/src/liblzma/simple/simple_encoder.c +0 -38
  661. package/deps/xz/src/liblzma/simple/simple_encoder.h +0 -23
  662. package/deps/xz/src/liblzma/simple/simple_private.h +0 -76
  663. package/deps/xz/src/liblzma/simple/sparc.c +0 -83
  664. package/deps/xz/src/liblzma/simple/x86.c +0 -156
  665. package/deps/xz/src/liblzma/validate_map.sh +0 -68
  666. package/deps/xz/src/lzmainfo/.deps/lzmainfo-lzmainfo.Po +0 -1
  667. package/deps/xz/src/lzmainfo/.deps/lzmainfo-tuklib_exit.Po +0 -1
  668. package/deps/xz/src/lzmainfo/.deps/lzmainfo-tuklib_progname.Po +0 -1
  669. package/deps/xz/src/lzmainfo/Makefile +0 -802
  670. package/deps/xz/src/lzmainfo/Makefile.am +0 -39
  671. package/deps/xz/src/lzmainfo/Makefile.in +0 -802
  672. package/deps/xz/src/lzmainfo/lzmainfo.1 +0 -60
  673. package/deps/xz/src/lzmainfo/lzmainfo.c +0 -219
  674. package/deps/xz/src/lzmainfo/lzmainfo_w32res.rc +0 -12
  675. package/deps/xz/src/scripts/Makefile +0 -642
  676. package/deps/xz/src/scripts/Makefile.am +0 -55
  677. package/deps/xz/src/scripts/Makefile.in +0 -642
  678. package/deps/xz/src/scripts/xzdiff +0 -200
  679. package/deps/xz/src/scripts/xzdiff.1 +0 -77
  680. package/deps/xz/src/scripts/xzdiff.in +0 -200
  681. package/deps/xz/src/scripts/xzgrep +0 -215
  682. package/deps/xz/src/scripts/xzgrep.1 +0 -98
  683. package/deps/xz/src/scripts/xzgrep.in +0 -215
  684. package/deps/xz/src/scripts/xzless +0 -58
  685. package/deps/xz/src/scripts/xzless.1 +0 -69
  686. package/deps/xz/src/scripts/xzless.in +0 -58
  687. package/deps/xz/src/scripts/xzmore +0 -78
  688. package/deps/xz/src/scripts/xzmore.1 +0 -55
  689. package/deps/xz/src/scripts/xzmore.in +0 -78
  690. package/deps/xz/src/xz/.deps/xz-args.Po +0 -1
  691. package/deps/xz/src/xz/.deps/xz-coder.Po +0 -1
  692. package/deps/xz/src/xz/.deps/xz-file_io.Po +0 -1
  693. package/deps/xz/src/xz/.deps/xz-hardware.Po +0 -1
  694. package/deps/xz/src/xz/.deps/xz-list.Po +0 -1
  695. package/deps/xz/src/xz/.deps/xz-main.Po +0 -1
  696. package/deps/xz/src/xz/.deps/xz-message.Po +0 -1
  697. package/deps/xz/src/xz/.deps/xz-mytime.Po +0 -1
  698. package/deps/xz/src/xz/.deps/xz-options.Po +0 -1
  699. package/deps/xz/src/xz/.deps/xz-signals.Po +0 -1
  700. package/deps/xz/src/xz/.deps/xz-suffix.Po +0 -1
  701. package/deps/xz/src/xz/.deps/xz-tuklib_exit.Po +0 -1
  702. package/deps/xz/src/xz/.deps/xz-tuklib_mbstr_fw.Po +0 -1
  703. package/deps/xz/src/xz/.deps/xz-tuklib_mbstr_width.Po +0 -1
  704. package/deps/xz/src/xz/.deps/xz-tuklib_open_stdxxx.Po +0 -1
  705. package/deps/xz/src/xz/.deps/xz-tuklib_progname.Po +0 -1
  706. package/deps/xz/src/xz/.deps/xz-util.Po +0 -1
  707. package/deps/xz/src/xz/Makefile +0 -1066
  708. package/deps/xz/src/xz/Makefile.am +0 -107
  709. package/deps/xz/src/xz/Makefile.in +0 -1066
  710. package/deps/xz/src/xz/args.c +0 -684
  711. package/deps/xz/src/xz/args.h +0 -44
  712. package/deps/xz/src/xz/coder.c +0 -919
  713. package/deps/xz/src/xz/coder.h +0 -76
  714. package/deps/xz/src/xz/file_io.c +0 -1184
  715. package/deps/xz/src/xz/file_io.h +0 -150
  716. package/deps/xz/src/xz/hardware.c +0 -150
  717. package/deps/xz/src/xz/hardware.h +0 -37
  718. package/deps/xz/src/xz/list.c +0 -1186
  719. package/deps/xz/src/xz/list.h +0 -18
  720. package/deps/xz/src/xz/main.c +0 -307
  721. package/deps/xz/src/xz/main.h +0 -30
  722. package/deps/xz/src/xz/message.c +0 -1258
  723. package/deps/xz/src/xz/message.h +0 -167
  724. package/deps/xz/src/xz/mytime.c +0 -89
  725. package/deps/xz/src/xz/mytime.h +0 -47
  726. package/deps/xz/src/xz/options.c +0 -363
  727. package/deps/xz/src/xz/options.h +0 -31
  728. package/deps/xz/src/xz/private.h +0 -59
  729. package/deps/xz/src/xz/signals.c +0 -209
  730. package/deps/xz/src/xz/signals.h +0 -43
  731. package/deps/xz/src/xz/suffix.c +0 -399
  732. package/deps/xz/src/xz/suffix.h +0 -28
  733. package/deps/xz/src/xz/util.c +0 -288
  734. package/deps/xz/src/xz/util.h +0 -123
  735. package/deps/xz/src/xz/xz.1 +0 -2786
  736. package/deps/xz/src/xz/xz_w32res.rc +0 -12
  737. package/deps/xz/src/xzdec/.deps/lzmadec-tuklib_exit.Po +0 -1
  738. package/deps/xz/src/xzdec/.deps/lzmadec-tuklib_progname.Po +0 -1
  739. package/deps/xz/src/xzdec/.deps/lzmadec-xzdec.Po +0 -1
  740. package/deps/xz/src/xzdec/.deps/xzdec-tuklib_exit.Po +0 -1
  741. package/deps/xz/src/xzdec/.deps/xzdec-tuklib_progname.Po +0 -1
  742. package/deps/xz/src/xzdec/.deps/xzdec-xzdec.Po +0 -1
  743. package/deps/xz/src/xzdec/Makefile +0 -901
  744. package/deps/xz/src/xzdec/Makefile.am +0 -82
  745. package/deps/xz/src/xzdec/Makefile.in +0 -901
  746. package/deps/xz/src/xzdec/lzmadec_w32res.rc +0 -12
  747. package/deps/xz/src/xzdec/xzdec.1 +0 -146
  748. package/deps/xz/src/xzdec/xzdec.c +0 -323
  749. package/deps/xz/src/xzdec/xzdec_w32res.rc +0 -12
  750. package/deps/xz/stamp-h1 +0 -1
  751. package/deps/xz/tests/.deps/create_compress_files.Po +0 -1
  752. package/deps/xz/tests/.deps/test_bcj_exact_size.Po +0 -1
  753. package/deps/xz/tests/.deps/test_block_header.Po +0 -1
  754. package/deps/xz/tests/.deps/test_check.Po +0 -1
  755. package/deps/xz/tests/.deps/test_filter_flags.Po +0 -1
  756. package/deps/xz/tests/.deps/test_index.Po +0 -1
  757. package/deps/xz/tests/.deps/test_stream_flags.Po +0 -1
  758. package/deps/xz/tests/Makefile +0 -832
  759. package/deps/xz/tests/Makefile.am +0 -57
  760. package/deps/xz/tests/Makefile.in +0 -832
  761. package/deps/xz/tests/bcj_test.c +0 -65
  762. package/deps/xz/tests/compress_prepared_bcj_sparc +0 -0
  763. package/deps/xz/tests/compress_prepared_bcj_x86 +0 -0
  764. package/deps/xz/tests/create_compress_files.c +0 -158
  765. package/deps/xz/tests/files/README +0 -240
  766. package/deps/xz/tests/files/bad-0-backward_size.xz +0 -0
  767. package/deps/xz/tests/files/bad-0-empty-truncated.xz +0 -0
  768. package/deps/xz/tests/files/bad-0-footer_magic.xz +0 -0
  769. package/deps/xz/tests/files/bad-0-header_magic.xz +0 -0
  770. package/deps/xz/tests/files/bad-0-nonempty_index.xz +0 -0
  771. package/deps/xz/tests/files/bad-0cat-alone.xz +0 -0
  772. package/deps/xz/tests/files/bad-0cat-header_magic.xz +0 -0
  773. package/deps/xz/tests/files/bad-0catpad-empty.xz +0 -0
  774. package/deps/xz/tests/files/bad-0pad-empty.xz +0 -0
  775. package/deps/xz/tests/files/bad-1-block_header-1.xz +0 -0
  776. package/deps/xz/tests/files/bad-1-block_header-2.xz +0 -0
  777. package/deps/xz/tests/files/bad-1-block_header-3.xz +0 -0
  778. package/deps/xz/tests/files/bad-1-block_header-4.xz +0 -0
  779. package/deps/xz/tests/files/bad-1-block_header-5.xz +0 -0
  780. package/deps/xz/tests/files/bad-1-block_header-6.xz +0 -0
  781. package/deps/xz/tests/files/bad-1-check-crc32.xz +0 -0
  782. package/deps/xz/tests/files/bad-1-check-crc64.xz +0 -0
  783. package/deps/xz/tests/files/bad-1-check-sha256.xz +0 -0
  784. package/deps/xz/tests/files/bad-1-lzma2-1.xz +0 -0
  785. package/deps/xz/tests/files/bad-1-lzma2-2.xz +0 -0
  786. package/deps/xz/tests/files/bad-1-lzma2-3.xz +0 -0
  787. package/deps/xz/tests/files/bad-1-lzma2-4.xz +0 -0
  788. package/deps/xz/tests/files/bad-1-lzma2-5.xz +0 -0
  789. package/deps/xz/tests/files/bad-1-lzma2-6.xz +0 -0
  790. package/deps/xz/tests/files/bad-1-lzma2-7.xz +0 -0
  791. package/deps/xz/tests/files/bad-1-lzma2-8.xz +0 -0
  792. package/deps/xz/tests/files/bad-1-stream_flags-1.xz +0 -0
  793. package/deps/xz/tests/files/bad-1-stream_flags-2.xz +0 -0
  794. package/deps/xz/tests/files/bad-1-stream_flags-3.xz +0 -0
  795. package/deps/xz/tests/files/bad-1-vli-1.xz +0 -0
  796. package/deps/xz/tests/files/bad-1-vli-2.xz +0 -0
  797. package/deps/xz/tests/files/bad-2-compressed_data_padding.xz +0 -0
  798. package/deps/xz/tests/files/bad-2-index-1.xz +0 -0
  799. package/deps/xz/tests/files/bad-2-index-2.xz +0 -0
  800. package/deps/xz/tests/files/bad-2-index-3.xz +0 -0
  801. package/deps/xz/tests/files/bad-2-index-4.xz +0 -0
  802. package/deps/xz/tests/files/bad-2-index-5.xz +0 -0
  803. package/deps/xz/tests/files/good-0-empty.xz +0 -0
  804. package/deps/xz/tests/files/good-0cat-empty.xz +0 -0
  805. package/deps/xz/tests/files/good-0catpad-empty.xz +0 -0
  806. package/deps/xz/tests/files/good-0pad-empty.xz +0 -0
  807. package/deps/xz/tests/files/good-1-3delta-lzma2.xz +0 -0
  808. package/deps/xz/tests/files/good-1-block_header-1.xz +0 -0
  809. package/deps/xz/tests/files/good-1-block_header-2.xz +0 -0
  810. package/deps/xz/tests/files/good-1-block_header-3.xz +0 -0
  811. package/deps/xz/tests/files/good-1-check-crc32.xz +0 -0
  812. package/deps/xz/tests/files/good-1-check-crc64.xz +0 -0
  813. package/deps/xz/tests/files/good-1-check-none.xz +0 -0
  814. package/deps/xz/tests/files/good-1-check-sha256.xz +0 -0
  815. package/deps/xz/tests/files/good-1-delta-lzma2.tiff.xz +0 -0
  816. package/deps/xz/tests/files/good-1-lzma2-1.xz +0 -0
  817. package/deps/xz/tests/files/good-1-lzma2-2.xz +0 -0
  818. package/deps/xz/tests/files/good-1-lzma2-3.xz +0 -0
  819. package/deps/xz/tests/files/good-1-lzma2-4.xz +0 -0
  820. package/deps/xz/tests/files/good-1-lzma2-5.xz +0 -0
  821. package/deps/xz/tests/files/good-1-sparc-lzma2.xz +0 -0
  822. package/deps/xz/tests/files/good-1-x86-lzma2.xz +0 -0
  823. package/deps/xz/tests/files/good-2-lzma2.xz +0 -0
  824. package/deps/xz/tests/files/unsupported-block_header.xz +0 -0
  825. package/deps/xz/tests/files/unsupported-check.xz +0 -0
  826. package/deps/xz/tests/files/unsupported-filter_flags-1.xz +0 -0
  827. package/deps/xz/tests/files/unsupported-filter_flags-2.xz +0 -0
  828. package/deps/xz/tests/files/unsupported-filter_flags-3.xz +0 -0
  829. package/deps/xz/tests/test_bcj_exact_size.c +0 -113
  830. package/deps/xz/tests/test_block_header.c +0 -240
  831. package/deps/xz/tests/test_check.c +0 -83
  832. package/deps/xz/tests/test_compress.sh +0 -142
  833. package/deps/xz/tests/test_files.sh +0 -57
  834. package/deps/xz/tests/test_filter_flags.c +0 -258
  835. package/deps/xz/tests/test_index.c +0 -659
  836. package/deps/xz/tests/test_scripts.sh +0 -76
  837. package/deps/xz/tests/test_stream_flags.c +0 -180
  838. package/deps/xz/tests/tests.h +0 -124
  839. package/deps/xz/tests/xzgrep_expected_output +0 -39
  840. package/deps/xz/windows/INSTALL-MSVC.txt +0 -47
  841. package/deps/xz/windows/INSTALL-MinGW.txt +0 -138
  842. package/deps/xz/windows/README-Windows.txt +0 -122
  843. package/deps/xz/windows/build.bash +0 -203
  844. package/deps/xz/windows/config.h +0 -142
  845. package/deps/xz/windows/liblzma.vcxproj +0 -354
  846. package/deps/xz/windows/liblzma_dll.vcxproj +0 -383
  847. package/deps/xz/windows/xz_win.sln +0 -48
  848. package/node_modules/node-pre-gyp/CHANGELOG.md +0 -319
  849. package/node_modules/node-pre-gyp/LICENSE +0 -27
  850. package/node_modules/node-pre-gyp/README.md +0 -570
  851. package/node_modules/node-pre-gyp/appveyor.yml +0 -30
  852. package/node_modules/node-pre-gyp/bin/node-pre-gyp +0 -131
  853. package/node_modules/node-pre-gyp/bin/node-pre-gyp.cmd +0 -2
  854. package/node_modules/node-pre-gyp/lib/build.js +0 -43
  855. package/node_modules/node-pre-gyp/lib/clean.js +0 -23
  856. package/node_modules/node-pre-gyp/lib/configure.js +0 -48
  857. package/node_modules/node-pre-gyp/lib/info.js +0 -40
  858. package/node_modules/node-pre-gyp/lib/install.js +0 -215
  859. package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +0 -192
  860. package/node_modules/node-pre-gyp/lib/package.js +0 -46
  861. package/node_modules/node-pre-gyp/lib/pre-binding.js +0 -25
  862. package/node_modules/node-pre-gyp/lib/publish.js +0 -77
  863. package/node_modules/node-pre-gyp/lib/rebuild.js +0 -13
  864. package/node_modules/node-pre-gyp/lib/reinstall.js +0 -13
  865. package/node_modules/node-pre-gyp/lib/reveal.js +0 -31
  866. package/node_modules/node-pre-gyp/lib/testbinary.js +0 -73
  867. package/node_modules/node-pre-gyp/lib/testpackage.js +0 -49
  868. package/node_modules/node-pre-gyp/lib/unpublish.js +0 -41
  869. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +0 -1222
  870. package/node_modules/node-pre-gyp/lib/util/compile.js +0 -87
  871. package/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js +0 -94
  872. package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/index.html +0 -26
  873. package/node_modules/node-pre-gyp/lib/util/nw-pre-gyp/package.json +0 -9
  874. package/node_modules/node-pre-gyp/lib/util/s3_setup.js +0 -27
  875. package/node_modules/node-pre-gyp/lib/util/versioning.js +0 -308
  876. package/node_modules/node-pre-gyp/package.json +0 -136
  877. package/src/bindings/module.cpp +0 -107
  878. package/src/bindings/node-liblzma.cpp +0 -320
  879. package/src/bindings/node-liblzma.hpp +0 -115
  880. package/src/lzma.coffee +0 -339
@@ -1,1483 +0,0 @@
1
- XZ(1) XZ Utils XZ(1)
2
-
3
-
4
-
5
- NAME
6
- xz, unxz, xzcat, lzma, unlzma, lzcat - Compress or decompress .xz and
7
- .lzma files
8
-
9
- SYNOPSIS
10
- xz [option...] [file...]
11
-
12
- COMMAND ALIASES
13
- unxz is equivalent to xz --decompress.
14
- xzcat is equivalent to xz --decompress --stdout.
15
- lzma is equivalent to xz --format=lzma.
16
- unlzma is equivalent to xz --format=lzma --decompress.
17
- lzcat is equivalent to xz --format=lzma --decompress --stdout.
18
-
19
- When writing scripts that need to decompress files, it is recommended
20
- to always use the name xz with appropriate arguments (xz -d or xz -dc)
21
- instead of the names unxz and xzcat.
22
-
23
- DESCRIPTION
24
- xz is a general-purpose data compression tool with command line syntax
25
- similar to gzip(1) and bzip2(1). The native file format is the .xz
26
- format, but the legacy .lzma format used by LZMA Utils and raw com-
27
- pressed streams with no container format headers are also supported.
28
-
29
- xz compresses or decompresses each file according to the selected oper-
30
- ation mode. If no files are given or file is -, xz reads from standard
31
- input and writes the processed data to standard output. xz will refuse
32
- (display an error and skip the file) to write compressed data to stan-
33
- dard output if it is a terminal. Similarly, xz will refuse to read
34
- compressed data from standard input if it is a terminal.
35
-
36
- Unless --stdout is specified, files other than - are written to a new
37
- file whose name is derived from the source file name:
38
-
39
- o When compressing, the suffix of the target file format (.xz or
40
- .lzma) is appended to the source filename to get the target file-
41
- name.
42
-
43
- o When decompressing, the .xz or .lzma suffix is removed from the
44
- filename to get the target filename. xz also recognizes the suf-
45
- fixes .txz and .tlz, and replaces them with the .tar suffix.
46
-
47
- If the target file already exists, an error is displayed and the file
48
- is skipped.
49
-
50
- Unless writing to standard output, xz will display a warning and skip
51
- the file if any of the following applies:
52
-
53
- o File is not a regular file. Symbolic links are not followed, and
54
- thus they are not considered to be regular files.
55
-
56
- o File has more than one hard link.
57
-
58
- o File has setuid, setgid, or sticky bit set.
59
-
60
- o The operation mode is set to compress and the file already has a
61
- suffix of the target file format (.xz or .txz when compressing to
62
- the .xz format, and .lzma or .tlz when compressing to the .lzma for-
63
- mat).
64
-
65
- o The operation mode is set to decompress and the file doesn't have a
66
- suffix of any of the supported file formats (.xz, .txz, .lzma, or
67
- .tlz).
68
-
69
- After successfully compressing or decompressing the file, xz copies the
70
- owner, group, permissions, access time, and modification time from the
71
- source file to the target file. If copying the group fails, the per-
72
- missions are modified so that the target file doesn't become accessible
73
- to users who didn't have permission to access the source file. xz
74
- doesn't support copying other metadata like access control lists or
75
- extended attributes yet.
76
-
77
- Once the target file has been successfully closed, the source file is
78
- removed unless --keep was specified. The source file is never removed
79
- if the output is written to standard output.
80
-
81
- Sending SIGINFO or SIGUSR1 to the xz process makes it print progress
82
- information to standard error. This has only limited use since when
83
- standard error is a terminal, using --verbose will display an automati-
84
- cally updating progress indicator.
85
-
86
- Memory usage
87
- The memory usage of xz varies from a few hundred kilobytes to several
88
- gigabytes depending on the compression settings. The settings used
89
- when compressing a file determine the memory requirements of the decom-
90
- pressor. Typically the decompressor needs 5 % to 20 % of the amount of
91
- memory that the compressor needed when creating the file. For example,
92
- decompressing a file created with xz -9 currently requires 65 MiB of
93
- memory. Still, it is possible to have .xz files that require several
94
- gigabytes of memory to decompress.
95
-
96
- Especially users of older systems may find the possibility of very
97
- large memory usage annoying. To prevent uncomfortable surprises, xz
98
- has a built-in memory usage limiter, which is disabled by default.
99
- While some operating systems provide ways to limit the memory usage of
100
- processes, relying on it wasn't deemed to be flexible enough (e.g.
101
- using ulimit(1) to limit virtual memory tends to cripple mmap(2)).
102
-
103
- The memory usage limiter can be enabled with the command line option
104
- --memlimit=limit. Often it is more convenient to enable the limiter by
105
- default by setting the environment variable XZ_DEFAULTS, e.g.
106
- XZ_DEFAULTS=--memlimit=150MiB. It is possible to set the limits sepa-
107
- rately for compression and decompression by using --memlimit-com-
108
- press=limit and --memlimit-decompress=limit. Using these two options
109
- outside XZ_DEFAULTS is rarely useful because a single run of xz cannot
110
- do both compression and decompression and --memlimit=limit (or -M
111
- limit) is shorter to type on the command line.
112
-
113
- If the specified memory usage limit is exceeded when decompressing, xz
114
- will display an error and decompressing the file will fail. If the
115
- limit is exceeded when compressing, xz will try to scale the settings
116
- down so that the limit is no longer exceeded (except when using --for-
117
- mat=raw or --no-adjust). This way the operation won't fail unless the
118
- limit is very small. The scaling of the settings is done in steps that
119
- don't match the compression level presets, e.g. if the limit is only
120
- slightly less than the amount required for xz -9, the settings will be
121
- scaled down only a little, not all the way down to xz -8.
122
-
123
- Concatenation and padding with .xz files
124
- It is possible to concatenate .xz files as is. xz will decompress such
125
- files as if they were a single .xz file.
126
-
127
- It is possible to insert padding between the concatenated parts or
128
- after the last part. The padding must consist of null bytes and the
129
- size of the padding must be a multiple of four bytes. This can be use-
130
- ful e.g. if the .xz file is stored on a medium that measures file sizes
131
- in 512-byte blocks.
132
-
133
- Concatenation and padding are not allowed with .lzma files or raw
134
- streams.
135
-
136
- OPTIONS
137
- Integer suffixes and special values
138
- In most places where an integer argument is expected, an optional suf-
139
- fix is supported to easily indicate large integers. There must be no
140
- space between the integer and the suffix.
141
-
142
- KiB Multiply the integer by 1,024 (2^10). Ki, k, kB, K, and KB are
143
- accepted as synonyms for KiB.
144
-
145
- MiB Multiply the integer by 1,048,576 (2^20). Mi, m, M, and MB are
146
- accepted as synonyms for MiB.
147
-
148
- GiB Multiply the integer by 1,073,741,824 (2^30). Gi, g, G, and GB
149
- are accepted as synonyms for GiB.
150
-
151
- The special value max can be used to indicate the maximum integer value
152
- supported by the option.
153
-
154
- Operation mode
155
- If multiple operation mode options are given, the last one takes
156
- effect.
157
-
158
- -z, --compress
159
- Compress. This is the default operation mode when no operation
160
- mode option is specified and no other operation mode is implied
161
- from the command name (for example, unxz implies --decompress).
162
-
163
- -d, --decompress, --uncompress
164
- Decompress.
165
-
166
- -t, --test
167
- Test the integrity of compressed files. This option is equiva-
168
- lent to --decompress --stdout except that the decompressed data
169
- is discarded instead of being written to standard output. No
170
- files are created or removed.
171
-
172
- -l, --list
173
- Print information about compressed files. No uncompressed out-
174
- put is produced, and no files are created or removed. In list
175
- mode, the program cannot read the compressed data from standard
176
- input or from other unseekable sources.
177
-
178
- The default listing shows basic information about files, one
179
- file per line. To get more detailed information, use also the
180
- --verbose option. For even more information, use --verbose
181
- twice, but note that this may be slow, because getting all the
182
- extra information requires many seeks. The width of verbose
183
- output exceeds 80 characters, so piping the output to e.g.
184
- less -S may be convenient if the terminal isn't wide enough.
185
-
186
- The exact output may vary between xz versions and different
187
- locales. For machine-readable output, --robot --list should be
188
- used.
189
-
190
- Operation modifiers
191
- -k, --keep
192
- Don't delete the input files.
193
-
194
- -f, --force
195
- This option has several effects:
196
-
197
- o If the target file already exists, delete it before compress-
198
- ing or decompressing.
199
-
200
- o Compress or decompress even if the input is a symbolic link
201
- to a regular file, has more than one hard link, or has the
202
- setuid, setgid, or sticky bit set. The setuid, setgid, and
203
- sticky bits are not copied to the target file.
204
-
205
- o When used with --decompress --stdout and xz cannot recognize
206
- the type of the source file, copy the source file as is to
207
- standard output. This allows xzcat --force to be used like
208
- cat(1) for files that have not been compressed with xz. Note
209
- that in future, xz might support new compressed file formats,
210
- which may make xz decompress more types of files instead of
211
- copying them as is to standard output. --format=format can
212
- be used to restrict xz to decompress only a single file for-
213
- mat.
214
-
215
- -c, --stdout, --to-stdout
216
- Write the compressed or decompressed data to standard output
217
- instead of a file. This implies --keep.
218
-
219
- --single-stream
220
- Decompress only the first .xz stream, and silently ignore possi-
221
- ble remaining input data following the stream. Normally such
222
- trailing garbage makes xz display an error.
223
-
224
- xz never decompresses more than one stream from .lzma files or
225
- raw streams, but this option still makes xz ignore the possible
226
- trailing data after the .lzma file or raw stream.
227
-
228
- This option has no effect if the operation mode is not --decom-
229
- press or --test.
230
-
231
- --no-sparse
232
- Disable creation of sparse files. By default, if decompressing
233
- into a regular file, xz tries to make the file sparse if the
234
- decompressed data contains long sequences of binary zeros. It
235
- also works when writing to standard output as long as standard
236
- output is connected to a regular file and certain additional
237
- conditions are met to make it safe. Creating sparse files may
238
- save disk space and speed up the decompression by reducing the
239
- amount of disk I/O.
240
-
241
- -S .suf, --suffix=.suf
242
- When compressing, use .suf as the suffix for the target file
243
- instead of .xz or .lzma. If not writing to standard output and
244
- the source file already has the suffix .suf, a warning is dis-
245
- played and the file is skipped.
246
-
247
- When decompressing, recognize files with the suffix .suf in
248
- addition to files with the .xz, .txz, .lzma, or .tlz suffix. If
249
- the source file has the suffix .suf, the suffix is removed to
250
- get the target filename.
251
-
252
- When compressing or decompressing raw streams (--format=raw),
253
- the suffix must always be specified unless writing to standard
254
- output, because there is no default suffix for raw streams.
255
-
256
- --files[=file]
257
- Read the filenames to process from file; if file is omitted,
258
- filenames are read from standard input. Filenames must be ter-
259
- minated with the newline character. A dash (-) is taken as a
260
- regular filename; it doesn't mean standard input. If filenames
261
- are given also as command line arguments, they are processed
262
- before the filenames read from file.
263
-
264
- --files0[=file]
265
- This is identical to --files[=file] except that each filename
266
- must be terminated with the null character.
267
-
268
- Basic file format and compression options
269
- -F format, --format=format
270
- Specify the file format to compress or decompress:
271
-
272
- auto This is the default. When compressing, auto is equiva-
273
- lent to xz. When decompressing, the format of the input
274
- file is automatically detected. Note that raw streams
275
- (created with --format=raw) cannot be auto-detected.
276
-
277
- xz Compress to the .xz file format, or accept only .xz files
278
- when decompressing.
279
-
280
- lzma, alone
281
- Compress to the legacy .lzma file format, or accept only
282
- .lzma files when decompressing. The alternative name
283
- alone is provided for backwards compatibility with LZMA
284
- Utils.
285
-
286
- raw Compress or uncompress a raw stream (no headers). This
287
- is meant for advanced users only. To decode raw streams,
288
- you need use --format=raw and explicitly specify the fil-
289
- ter chain, which normally would have been stored in the
290
- container headers.
291
-
292
- -C check, --check=check
293
- Specify the type of the integrity check. The check is calcu-
294
- lated from the uncompressed data and stored in the .xz file.
295
- This option has an effect only when compressing into the .xz
296
- format; the .lzma format doesn't support integrity checks. The
297
- integrity check (if any) is verified when the .xz file is decom-
298
- pressed.
299
-
300
- Supported check types:
301
-
302
- none Don't calculate an integrity check at all. This is usu-
303
- ally a bad idea. This can be useful when integrity of
304
- the data is verified by other means anyway.
305
-
306
- crc32 Calculate CRC32 using the polynomial from IEEE-802.3
307
- (Ethernet).
308
-
309
- crc64 Calculate CRC64 using the polynomial from ECMA-182. This
310
- is the default, since it is slightly better than CRC32 at
311
- detecting damaged files and the speed difference is neg-
312
- ligible.
313
-
314
- sha256 Calculate SHA-256. This is somewhat slower than CRC32
315
- and CRC64.
316
-
317
- Integrity of the .xz headers is always verified with CRC32. It
318
- is not possible to change or disable it.
319
-
320
- --ignore-check
321
- Don't verify the integrity check of the compressed data when
322
- decompressing. The CRC32 values in the .xz headers will still
323
- be verified normally.
324
-
325
- Do not use this option unless you know what you are doing. Pos-
326
- sible reasons to use this option:
327
-
328
- o Trying to recover data from a corrupt .xz file.
329
-
330
- o Speeding up decompression. This matters mostly with SHA-256
331
- or with files that have compressed extremely well. It's rec-
332
- ommended to not use this option for this purpose unless the
333
- file integrity is verified externally in some other way.
334
-
335
- -0 ... -9
336
- Select a compression preset level. The default is -6. If mul-
337
- tiple preset levels are specified, the last one takes effect.
338
- If a custom filter chain was already specified, setting a com-
339
- pression preset level clears the custom filter chain.
340
-
341
- The differences between the presets are more significant than
342
- with gzip(1) and bzip2(1). The selected compression settings
343
- determine the memory requirements of the decompressor, thus
344
- using a too high preset level might make it painful to decom-
345
- press the file on an old system with little RAM. Specifically,
346
- it's not a good idea to blindly use -9 for everything like it
347
- often is with gzip(1) and bzip2(1).
348
-
349
- -0 ... -3
350
- These are somewhat fast presets. -0 is sometimes faster
351
- than gzip -9 while compressing much better. The higher
352
- ones often have speed comparable to bzip2(1) with compa-
353
- rable or better compression ratio, although the results
354
- depend a lot on the type of data being compressed.
355
-
356
- -4 ... -6
357
- Good to very good compression while keeping decompressor
358
- memory usage reasonable even for old systems. -6 is the
359
- default, which is usually a good choice e.g. for dis-
360
- tributing files that need to be decompressible even on
361
- systems with only 16 MiB RAM. (-5e or -6e may be worth
362
- considering too. See --extreme.)
363
-
364
- -7 ... -9
365
- These are like -6 but with higher compressor and decom-
366
- pressor memory requirements. These are useful only when
367
- compressing files bigger than 8 MiB, 16 MiB, and 32 MiB,
368
- respectively.
369
-
370
- On the same hardware, the decompression speed is approximately a
371
- constant number of bytes of compressed data per second. In
372
- other words, the better the compression, the faster the decom-
373
- pression will usually be. This also means that the amount of
374
- uncompressed output produced per second can vary a lot.
375
-
376
- The following table summarises the features of the presets:
377
-
378
- Preset DictSize CompCPU CompMem DecMem
379
- -0 256 KiB 0 3 MiB 1 MiB
380
- -1 1 MiB 1 9 MiB 2 MiB
381
- -2 2 MiB 2 17 MiB 3 MiB
382
- -3 4 MiB 3 32 MiB 5 MiB
383
- -4 4 MiB 4 48 MiB 5 MiB
384
- -5 8 MiB 5 94 MiB 9 MiB
385
- -6 8 MiB 6 94 MiB 9 MiB
386
- -7 16 MiB 6 186 MiB 17 MiB
387
- -8 32 MiB 6 370 MiB 33 MiB
388
- -9 64 MiB 6 674 MiB 65 MiB
389
-
390
- Column descriptions:
391
-
392
- o DictSize is the LZMA2 dictionary size. It is waste of memory
393
- to use a dictionary bigger than the size of the uncompressed
394
- file. This is why it is good to avoid using the presets -7
395
- ... -9 when there's no real need for them. At -6 and lower,
396
- the amount of memory wasted is usually low enough to not mat-
397
- ter.
398
-
399
- o CompCPU is a simplified representation of the LZMA2 settings
400
- that affect compression speed. The dictionary size affects
401
- speed too, so while CompCPU is the same for levels -6 ... -9,
402
- higher levels still tend to be a little slower. To get even
403
- slower and thus possibly better compression, see --extreme.
404
-
405
- o CompMem contains the compressor memory requirements in the
406
- single-threaded mode. It may vary slightly between xz ver-
407
- sions. Memory requirements of some of the future multi-
408
- threaded modes may be dramatically higher than that of the
409
- single-threaded mode.
410
-
411
- o DecMem contains the decompressor memory requirements. That
412
- is, the compression settings determine the memory require-
413
- ments of the decompressor. The exact decompressor memory
414
- usage is slightly more than the LZMA2 dictionary size, but
415
- the values in the table have been rounded up to the next full
416
- MiB.
417
-
418
- -e, --extreme
419
- Use a slower variant of the selected compression preset level
420
- (-0 ... -9) to hopefully get a little bit better compression
421
- ratio, but with bad luck this can also make it worse. Decom-
422
- pressor memory usage is not affected, but compressor memory
423
- usage increases a little at preset levels -0 ... -3.
424
-
425
- Since there are two presets with dictionary sizes 4 MiB and
426
- 8 MiB, the presets -3e and -5e use slightly faster settings
427
- (lower CompCPU) than -4e and -6e, respectively. That way no two
428
- presets are identical.
429
-
430
- Preset DictSize CompCPU CompMem DecMem
431
- -0e 256 KiB 8 4 MiB 1 MiB
432
- -1e 1 MiB 8 13 MiB 2 MiB
433
- -2e 2 MiB 8 25 MiB 3 MiB
434
- -3e 4 MiB 7 48 MiB 5 MiB
435
- -4e 4 MiB 8 48 MiB 5 MiB
436
- -5e 8 MiB 7 94 MiB 9 MiB
437
- -6e 8 MiB 8 94 MiB 9 MiB
438
- -7e 16 MiB 8 186 MiB 17 MiB
439
- -8e 32 MiB 8 370 MiB 33 MiB
440
- -9e 64 MiB 8 674 MiB 65 MiB
441
-
442
- For example, there are a total of four presets that use 8 MiB
443
- dictionary, whose order from the fastest to the slowest is -5,
444
- -6, -5e, and -6e.
445
-
446
- --fast
447
- --best These are somewhat misleading aliases for -0 and -9, respec-
448
- tively. These are provided only for backwards compatibility
449
- with LZMA Utils. Avoid using these options.
450
-
451
- --block-size=size
452
- When compressing to the .xz format, split the input data into
453
- blocks of size bytes. The blocks are compressed independently
454
- from each other, which helps with multi-threading and makes lim-
455
- ited random-access decompression possible. This option is typi-
456
- cally used to override the default block size in multi-threaded
457
- mode, but this option can be used in single-threaded mode too.
458
-
459
- In multi-threaded mode about three times size bytes will be
460
- allocated in each thread for buffering input and output. The
461
- default size is three times the LZMA2 dictionary size or 1 MiB,
462
- whichever is more. Typically a good value is 2-4 times the size
463
- of the LZMA2 dictionary or at least 1 MiB. Using size less than
464
- the LZMA2 dictionary size is waste of RAM because then the LZMA2
465
- dictionary buffer will never get fully used. The sizes of the
466
- blocks are stored in the block headers, which a future version
467
- of xz will use for multi-threaded decompression.
468
-
469
- In single-threaded mode no block splitting is done by default.
470
- Setting this option doesn't affect memory usage. No size infor-
471
- mation is stored in block headers, thus files created in single-
472
- threaded mode won't be identical to files created in multi-
473
- threaded mode. The lack of size information also means that a
474
- future version of xz won't be able decompress the files in
475
- multi-threaded mode.
476
-
477
- --block-list=sizes
478
- When compressing to the .xz format, start a new block after the
479
- given intervals of uncompressed data.
480
-
481
- The uncompressed sizes of the blocks are specified as a comma-
482
- separated list. Omitting a size (two or more consecutive com-
483
- mas) is a shorthand to use the size of the previous block.
484
-
485
- If the input file is bigger than the sum of sizes, the last
486
- value in sizes is repeated until the end of the file. A special
487
- value of 0 may be used as the last value to indicate that the
488
- rest of the file should be encoded as a single block.
489
-
490
- If one specifies sizes that exceed the encoder's block size
491
- (either the default value in threaded mode or the value speci-
492
- fied with --block-size=size), the encoder will create additional
493
- blocks while keeping the boundaries specified in sizes. For
494
- example, if one specifies --block-size=10MiB
495
- --block-list=5MiB,10MiB,8MiB,12MiB,24MiB and the input file is
496
- 80 MiB, one will get 11 blocks: 5, 10, 8, 10, 2, 10, 10, 4, 10,
497
- 10, and 1 MiB.
498
-
499
- In multi-threaded mode the sizes of the blocks are stored in the
500
- block headers. This isn't done in single-threaded mode, so the
501
- encoded output won't be identical to that of the multi-threaded
502
- mode.
503
-
504
- --flush-timeout=timeout
505
- When compressing, if more than timeout milliseconds (a positive
506
- integer) has passed since the previous flush and reading more
507
- input would block, all the pending input data is flushed from
508
- the encoder and made available in the output stream. This can
509
- be useful if xz is used to compress data that is streamed over a
510
- network. Small timeout values make the data available at the
511
- receiving end with a small delay, but large timeout values give
512
- better compression ratio.
513
-
514
- This feature is disabled by default. If this option is speci-
515
- fied more than once, the last one takes effect. The special
516
- timeout value of 0 can be used to explicitly disable this fea-
517
- ture.
518
-
519
- This feature is not available on non-POSIX systems.
520
-
521
- This feature is still experimental. Currently xz is unsuitable
522
- for decompressing the stream in real time due to how xz does
523
- buffering.
524
-
525
- --memlimit-compress=limit
526
- Set a memory usage limit for compression. If this option is
527
- specified multiple times, the last one takes effect.
528
-
529
- If the compression settings exceed the limit, xz will adjust the
530
- settings downwards so that the limit is no longer exceeded and
531
- display a notice that automatic adjustment was done. Such
532
- adjustments are not made when compressing with --format=raw or
533
- if --no-adjust has been specified. In those cases, an error is
534
- displayed and xz will exit with exit status 1.
535
-
536
- The limit can be specified in multiple ways:
537
-
538
- o The limit can be an absolute value in bytes. Using an inte-
539
- ger suffix like MiB can be useful. Example: --memlimit-com-
540
- press=80MiB
541
-
542
- o The limit can be specified as a percentage of total physical
543
- memory (RAM). This can be useful especially when setting the
544
- XZ_DEFAULTS environment variable in a shell initialization
545
- script that is shared between different computers. That way
546
- the limit is automatically bigger on systems with more mem-
547
- ory. Example: --memlimit-compress=70%
548
-
549
- o The limit can be reset back to its default value by setting
550
- it to 0. This is currently equivalent to setting the limit
551
- to max (no memory usage limit). Once multithreading support
552
- has been implemented, there may be a difference between 0 and
553
- max for the multithreaded case, so it is recommended to use 0
554
- instead of max until the details have been decided.
555
-
556
- See also the section Memory usage.
557
-
558
- --memlimit-decompress=limit
559
- Set a memory usage limit for decompression. This also affects
560
- the --list mode. If the operation is not possible without
561
- exceeding the limit, xz will display an error and decompressing
562
- the file will fail. See --memlimit-compress=limit for possible
563
- ways to specify the limit.
564
-
565
- -M limit, --memlimit=limit, --memory=limit
566
- This is equivalent to specifying --memlimit-compress=limit
567
- --memlimit-decompress=limit.
568
-
569
- --no-adjust
570
- Display an error and exit if the compression settings exceed the
571
- memory usage limit. The default is to adjust the settings down-
572
- wards so that the memory usage limit is not exceeded. Automatic
573
- adjusting is always disabled when creating raw streams (--for-
574
- mat=raw).
575
-
576
- -T threads, --threads=threads
577
- Specify the number of worker threads to use. Setting threads to
578
- a special value 0 makes xz use as many threads as there are CPU
579
- cores on the system. The actual number of threads can be less
580
- than threads if the input file is not big enough for threading
581
- with the given settings or if using more threads would exceed
582
- the memory usage limit.
583
-
584
- Currently the only threading method is to split the input into
585
- blocks and compress them independently from each other. The
586
- default block size depends on the compression level and can be
587
- overriden with the --block-size=size option.
588
-
589
- Threaded decompression hasn't been implemented yet. It will
590
- only work on files that contain multiple blocks with size infor-
591
- mation in block headers. All files compressed in multi-threaded
592
- mode meet this condition, but files compressed in single-
593
- threaded mode don't even if --block-size=size is used.
594
-
595
- Custom compressor filter chains
596
- A custom filter chain allows specifying the compression settings in
597
- detail instead of relying on the settings associated to the presets.
598
- When a custom filter chain is specified, preset options (-0 ... -9 and
599
- --extreme) earlier on the command line are forgotten. If a preset
600
- option is specified after one or more custom filter chain options, the
601
- new preset takes effect and the custom filter chain options specified
602
- earlier are forgotten.
603
-
604
- A filter chain is comparable to piping on the command line. When com-
605
- pressing, the uncompressed input goes to the first filter, whose output
606
- goes to the next filter (if any). The output of the last filter gets
607
- written to the compressed file. The maximum number of filters in the
608
- chain is four, but typically a filter chain has only one or two fil-
609
- ters.
610
-
611
- Many filters have limitations on where they can be in the filter chain:
612
- some filters can work only as the last filter in the chain, some only
613
- as a non-last filter, and some work in any position in the chain.
614
- Depending on the filter, this limitation is either inherent to the fil-
615
- ter design or exists to prevent security issues.
616
-
617
- A custom filter chain is specified by using one or more filter options
618
- in the order they are wanted in the filter chain. That is, the order
619
- of filter options is significant! When decoding raw streams (--for-
620
- mat=raw), the filter chain is specified in the same order as it was
621
- specified when compressing.
622
-
623
- Filters take filter-specific options as a comma-separated list. Extra
624
- commas in options are ignored. Every option has a default value, so
625
- you need to specify only those you want to change.
626
-
627
- To see the whole filter chain and options, use xz -vv (that is, use
628
- --verbose twice). This works also for viewing the filter chain options
629
- used by presets.
630
-
631
- --lzma1[=options]
632
- --lzma2[=options]
633
- Add LZMA1 or LZMA2 filter to the filter chain. These filters
634
- can be used only as the last filter in the chain.
635
-
636
- LZMA1 is a legacy filter, which is supported almost solely due
637
- to the legacy .lzma file format, which supports only LZMA1.
638
- LZMA2 is an updated version of LZMA1 to fix some practical
639
- issues of LZMA1. The .xz format uses LZMA2 and doesn't support
640
- LZMA1 at all. Compression speed and ratios of LZMA1 and LZMA2
641
- are practically the same.
642
-
643
- LZMA1 and LZMA2 share the same set of options:
644
-
645
- preset=preset
646
- Reset all LZMA1 or LZMA2 options to preset. Preset con-
647
- sist of an integer, which may be followed by single-let-
648
- ter preset modifiers. The integer can be from 0 to 9,
649
- matching the command line options -0 ... -9. The only
650
- supported modifier is currently e, which matches
651
- --extreme. If no preset is specified, the default values
652
- of LZMA1 or LZMA2 options are taken from the preset 6.
653
-
654
- dict=size
655
- Dictionary (history buffer) size indicates how many bytes
656
- of the recently processed uncompressed data is kept in
657
- memory. The algorithm tries to find repeating byte
658
- sequences (matches) in the uncompressed data, and replace
659
- them with references to the data currently in the dictio-
660
- nary. The bigger the dictionary, the higher is the
661
- chance to find a match. Thus, increasing dictionary size
662
- usually improves compression ratio, but a dictionary big-
663
- ger than the uncompressed file is waste of memory.
664
-
665
- Typical dictionary size is from 64 KiB to 64 MiB. The
666
- minimum is 4 KiB. The maximum for compression is cur-
667
- rently 1.5 GiB (1536 MiB). The decompressor already sup-
668
- ports dictionaries up to one byte less than 4 GiB, which
669
- is the maximum for the LZMA1 and LZMA2 stream formats.
670
-
671
- Dictionary size and match finder (mf) together determine
672
- the memory usage of the LZMA1 or LZMA2 encoder. The same
673
- (or bigger) dictionary size is required for decompressing
674
- that was used when compressing, thus the memory usage of
675
- the decoder is determined by the dictionary size used
676
- when compressing. The .xz headers store the dictionary
677
- size either as 2^n or 2^n + 2^(n-1), so these sizes are
678
- somewhat preferred for compression. Other sizes will get
679
- rounded up when stored in the .xz headers.
680
-
681
- lc=lc Specify the number of literal context bits. The minimum
682
- is 0 and the maximum is 4; the default is 3. In addi-
683
- tion, the sum of lc and lp must not exceed 4.
684
-
685
- All bytes that cannot be encoded as matches are encoded
686
- as literals. That is, literals are simply 8-bit bytes
687
- that are encoded one at a time.
688
-
689
- The literal coding makes an assumption that the highest
690
- lc bits of the previous uncompressed byte correlate with
691
- the next byte. E.g. in typical English text, an upper-
692
- case letter is often followed by a lower-case letter, and
693
- a lower-case letter is usually followed by another lower-
694
- case letter. In the US-ASCII character set, the highest
695
- three bits are 010 for upper-case letters and 011 for
696
- lower-case letters. When lc is at least 3, the literal
697
- coding can take advantage of this property in the uncom-
698
- pressed data.
699
-
700
- The default value (3) is usually good. If you want maxi-
701
- mum compression, test lc=4. Sometimes it helps a little,
702
- and sometimes it makes compression worse. If it makes it
703
- worse, test e.g. lc=2 too.
704
-
705
- lp=lp Specify the number of literal position bits. The minimum
706
- is 0 and the maximum is 4; the default is 0.
707
-
708
- Lp affects what kind of alignment in the uncompressed
709
- data is assumed when encoding literals. See pb below for
710
- more information about alignment.
711
-
712
- pb=pb Specify the number of position bits. The minimum is 0
713
- and the maximum is 4; the default is 2.
714
-
715
- Pb affects what kind of alignment in the uncompressed
716
- data is assumed in general. The default means four-byte
717
- alignment (2^pb=2^2=4), which is often a good choice when
718
- there's no better guess.
719
-
720
- When the aligment is known, setting pb accordingly may
721
- reduce the file size a little. E.g. with text files hav-
722
- ing one-byte alignment (US-ASCII, ISO-8859-*, UTF-8),
723
- setting pb=0 can improve compression slightly. For
724
- UTF-16 text, pb=1 is a good choice. If the alignment is
725
- an odd number like 3 bytes, pb=0 might be the best
726
- choice.
727
-
728
- Even though the assumed alignment can be adjusted with pb
729
- and lp, LZMA1 and LZMA2 still slightly favor 16-byte
730
- alignment. It might be worth taking into account when
731
- designing file formats that are likely to be often com-
732
- pressed with LZMA1 or LZMA2.
733
-
734
- mf=mf Match finder has a major effect on encoder speed, memory
735
- usage, and compression ratio. Usually Hash Chain match
736
- finders are faster than Binary Tree match finders. The
737
- default depends on the preset: 0 uses hc3, 1-3 use hc4,
738
- and the rest use bt4.
739
-
740
- The following match finders are supported. The memory
741
- usage formulas below are rough approximations, which are
742
- closest to the reality when dict is a power of two.
743
-
744
- hc3 Hash Chain with 2- and 3-byte hashing
745
- Minimum value for nice: 3
746
- Memory usage:
747
- dict * 7.5 (if dict <= 16 MiB);
748
- dict * 5.5 + 64 MiB (if dict > 16 MiB)
749
-
750
- hc4 Hash Chain with 2-, 3-, and 4-byte hashing
751
- Minimum value for nice: 4
752
- Memory usage:
753
- dict * 7.5 (if dict <= 32 MiB);
754
- dict * 6.5 (if dict > 32 MiB)
755
-
756
- bt2 Binary Tree with 2-byte hashing
757
- Minimum value for nice: 2
758
- Memory usage: dict * 9.5
759
-
760
- bt3 Binary Tree with 2- and 3-byte hashing
761
- Minimum value for nice: 3
762
- Memory usage:
763
- dict * 11.5 (if dict <= 16 MiB);
764
- dict * 9.5 + 64 MiB (if dict > 16 MiB)
765
-
766
- bt4 Binary Tree with 2-, 3-, and 4-byte hashing
767
- Minimum value for nice: 4
768
- Memory usage:
769
- dict * 11.5 (if dict <= 32 MiB);
770
- dict * 10.5 (if dict > 32 MiB)
771
-
772
- mode=mode
773
- Compression mode specifies the method to analyze the data
774
- produced by the match finder. Supported modes are fast
775
- and normal. The default is fast for presets 0-3 and nor-
776
- mal for presets 4-9.
777
-
778
- Usually fast is used with Hash Chain match finders and
779
- normal with Binary Tree match finders. This is also what
780
- the presets do.
781
-
782
- nice=nice
783
- Specify what is considered to be a nice length for a
784
- match. Once a match of at least nice bytes is found, the
785
- algorithm stops looking for possibly better matches.
786
-
787
- Nice can be 2-273 bytes. Higher values tend to give bet-
788
- ter compression ratio at the expense of speed. The
789
- default depends on the preset.
790
-
791
- depth=depth
792
- Specify the maximum search depth in the match finder.
793
- The default is the special value of 0, which makes the
794
- compressor determine a reasonable depth from mf and nice.
795
-
796
- Reasonable depth for Hash Chains is 4-100 and 16-1000 for
797
- Binary Trees. Using very high values for depth can make
798
- the encoder extremely slow with some files. Avoid set-
799
- ting the depth over 1000 unless you are prepared to
800
- interrupt the compression in case it is taking far too
801
- long.
802
-
803
- When decoding raw streams (--format=raw), LZMA2 needs only the
804
- dictionary size. LZMA1 needs also lc, lp, and pb.
805
-
806
- --x86[=options]
807
- --powerpc[=options]
808
- --ia64[=options]
809
- --arm[=options]
810
- --armthumb[=options]
811
- --sparc[=options]
812
- Add a branch/call/jump (BCJ) filter to the filter chain. These
813
- filters can be used only as a non-last filter in the filter
814
- chain.
815
-
816
- A BCJ filter converts relative addresses in the machine code to
817
- their absolute counterparts. This doesn't change the size of
818
- the data, but it increases redundancy, which can help LZMA2 to
819
- produce 0-15 % smaller .xz file. The BCJ filters are always
820
- reversible, so using a BCJ filter for wrong type of data doesn't
821
- cause any data loss, although it may make the compression ratio
822
- slightly worse.
823
-
824
- It is fine to apply a BCJ filter on a whole executable; there's
825
- no need to apply it only on the executable section. Applying a
826
- BCJ filter on an archive that contains both executable and non-
827
- executable files may or may not give good results, so it gener-
828
- ally isn't good to blindly apply a BCJ filter when compressing
829
- binary packages for distribution.
830
-
831
- These BCJ filters are very fast and use insignificant amount of
832
- memory. If a BCJ filter improves compression ratio of a file,
833
- it can improve decompression speed at the same time. This is
834
- because, on the same hardware, the decompression speed of LZMA2
835
- is roughly a fixed number of bytes of compressed data per sec-
836
- ond.
837
-
838
- These BCJ filters have known problems related to the compression
839
- ratio:
840
-
841
- o Some types of files containing executable code (e.g. object
842
- files, static libraries, and Linux kernel modules) have the
843
- addresses in the instructions filled with filler values.
844
- These BCJ filters will still do the address conversion, which
845
- will make the compression worse with these files.
846
-
847
- o Applying a BCJ filter on an archive containing multiple simi-
848
- lar executables can make the compression ratio worse than not
849
- using a BCJ filter. This is because the BCJ filter doesn't
850
- detect the boundaries of the executable files, and doesn't
851
- reset the address conversion counter for each executable.
852
-
853
- Both of the above problems will be fixed in the future in a new
854
- filter. The old BCJ filters will still be useful in embedded
855
- systems, because the decoder of the new filter will be bigger
856
- and use more memory.
857
-
858
- Different instruction sets have have different alignment:
859
-
860
- Filter Alignment Notes
861
- x86 1 32-bit or 64-bit x86
862
- PowerPC 4 Big endian only
863
- ARM 4 Little endian only
864
- ARM-Thumb 2 Little endian only
865
- IA-64 16 Big or little endian
866
- SPARC 4 Big or little endian
867
-
868
- Since the BCJ-filtered data is usually compressed with LZMA2,
869
- the compression ratio may be improved slightly if the LZMA2
870
- options are set to match the alignment of the selected BCJ fil-
871
- ter. For example, with the IA-64 filter, it's good to set pb=4
872
- with LZMA2 (2^4=16). The x86 filter is an exception; it's usu-
873
- ally good to stick to LZMA2's default four-byte alignment when
874
- compressing x86 executables.
875
-
876
- All BCJ filters support the same options:
877
-
878
- start=offset
879
- Specify the start offset that is used when converting
880
- between relative and absolute addresses. The offset must
881
- be a multiple of the alignment of the filter (see the ta-
882
- ble above). The default is zero. In practice, the
883
- default is good; specifying a custom offset is almost
884
- never useful.
885
-
886
- --delta[=options]
887
- Add the Delta filter to the filter chain. The Delta filter can
888
- be only used as a non-last filter in the filter chain.
889
-
890
- Currently only simple byte-wise delta calculation is supported.
891
- It can be useful when compressing e.g. uncompressed bitmap
892
- images or uncompressed PCM audio. However, special purpose
893
- algorithms may give significantly better results than Delta +
894
- LZMA2. This is true especially with audio, which compresses
895
- faster and better e.g. with flac(1).
896
-
897
- Supported options:
898
-
899
- dist=distance
900
- Specify the distance of the delta calculation in bytes.
901
- distance must be 1-256. The default is 1.
902
-
903
- For example, with dist=2 and eight-byte input A1 B1 A2 B3
904
- A3 B5 A4 B7, the output will be A1 B1 01 02 01 02 01 02.
905
-
906
- Other options
907
- -q, --quiet
908
- Suppress warnings and notices. Specify this twice to suppress
909
- errors too. This option has no effect on the exit status. That
910
- is, even if a warning was suppressed, the exit status to indi-
911
- cate a warning is still used.
912
-
913
- -v, --verbose
914
- Be verbose. If standard error is connected to a terminal, xz
915
- will display a progress indicator. Specifying --verbose twice
916
- will give even more verbose output.
917
-
918
- The progress indicator shows the following information:
919
-
920
- o Completion percentage is shown if the size of the input file
921
- is known. That is, the percentage cannot be shown in pipes.
922
-
923
- o Amount of compressed data produced (compressing) or consumed
924
- (decompressing).
925
-
926
- o Amount of uncompressed data consumed (compressing) or pro-
927
- duced (decompressing).
928
-
929
- o Compression ratio, which is calculated by dividing the amount
930
- of compressed data processed so far by the amount of uncom-
931
- pressed data processed so far.
932
-
933
- o Compression or decompression speed. This is measured as the
934
- amount of uncompressed data consumed (compression) or pro-
935
- duced (decompression) per second. It is shown after a few
936
- seconds have passed since xz started processing the file.
937
-
938
- o Elapsed time in the format M:SS or H:MM:SS.
939
-
940
- o Estimated remaining time is shown only when the size of the
941
- input file is known and a couple of seconds have already
942
- passed since xz started processing the file. The time is
943
- shown in a less precise format which never has any colons,
944
- e.g. 2 min 30 s.
945
-
946
- When standard error is not a terminal, --verbose will make xz
947
- print the filename, compressed size, uncompressed size, compres-
948
- sion ratio, and possibly also the speed and elapsed time on a
949
- single line to standard error after compressing or decompressing
950
- the file. The speed and elapsed time are included only when the
951
- operation took at least a few seconds. If the operation didn't
952
- finish, e.g. due to user interruption, also the completion per-
953
- centage is printed if the size of the input file is known.
954
-
955
- -Q, --no-warn
956
- Don't set the exit status to 2 even if a condition worth a warn-
957
- ing was detected. This option doesn't affect the verbosity
958
- level, thus both --quiet and --no-warn have to be used to not
959
- display warnings and to not alter the exit status.
960
-
961
- --robot
962
- Print messages in a machine-parsable format. This is intended
963
- to ease writing frontends that want to use xz instead of
964
- liblzma, which may be the case with various scripts. The output
965
- with this option enabled is meant to be stable across xz
966
- releases. See the section ROBOT MODE for details.
967
-
968
- --info-memory
969
- Display, in human-readable format, how much physical memory
970
- (RAM) xz thinks the system has and the memory usage limits for
971
- compression and decompression, and exit successfully.
972
-
973
- -h, --help
974
- Display a help message describing the most commonly used
975
- options, and exit successfully.
976
-
977
- -H, --long-help
978
- Display a help message describing all features of xz, and exit
979
- successfully
980
-
981
- -V, --version
982
- Display the version number of xz and liblzma in human readable
983
- format. To get machine-parsable output, specify --robot before
984
- --version.
985
-
986
- ROBOT MODE
987
- The robot mode is activated with the --robot option. It makes the out-
988
- put of xz easier to parse by other programs. Currently --robot is sup-
989
- ported only together with --version, --info-memory, and --list. It
990
- will be supported for compression and decompression in the future.
991
-
992
- Version
993
- xz --robot --version will print the version number of xz and liblzma in
994
- the following format:
995
-
996
- XZ_VERSION=XYYYZZZS
997
- LIBLZMA_VERSION=XYYYZZZS
998
-
999
- X Major version.
1000
-
1001
- YYY Minor version. Even numbers are stable. Odd numbers are alpha
1002
- or beta versions.
1003
-
1004
- ZZZ Patch level for stable releases or just a counter for develop-
1005
- ment releases.
1006
-
1007
- S Stability. 0 is alpha, 1 is beta, and 2 is stable. S should be
1008
- always 2 when YYY is even.
1009
-
1010
- XYYYZZZS are the same on both lines if xz and liblzma are from the same
1011
- XZ Utils release.
1012
-
1013
- Examples: 4.999.9beta is 49990091 and 5.0.0 is 50000002.
1014
-
1015
- Memory limit information
1016
- xz --robot --info-memory prints a single line with three tab-separated
1017
- columns:
1018
-
1019
- 1. Total amount of physical memory (RAM) in bytes
1020
-
1021
- 2. Memory usage limit for compression in bytes. A special value of
1022
- zero indicates the default setting, which for single-threaded mode
1023
- is the same as no limit.
1024
-
1025
- 3. Memory usage limit for decompression in bytes. A special value of
1026
- zero indicates the default setting, which for single-threaded mode
1027
- is the same as no limit.
1028
-
1029
- In the future, the output of xz --robot --info-memory may have more
1030
- columns, but never more than a single line.
1031
-
1032
- List mode
1033
- xz --robot --list uses tab-separated output. The first column of every
1034
- line has a string that indicates the type of the information found on
1035
- that line:
1036
-
1037
- name This is always the first line when starting to list a file. The
1038
- second column on the line is the filename.
1039
-
1040
- file This line contains overall information about the .xz file. This
1041
- line is always printed after the name line.
1042
-
1043
- stream This line type is used only when --verbose was specified. There
1044
- are as many stream lines as there are streams in the .xz file.
1045
-
1046
- block This line type is used only when --verbose was specified. There
1047
- are as many block lines as there are blocks in the .xz file.
1048
- The block lines are shown after all the stream lines; different
1049
- line types are not interleaved.
1050
-
1051
- summary
1052
- This line type is used only when --verbose was specified twice.
1053
- This line is printed after all block lines. Like the file line,
1054
- the summary line contains overall information about the .xz
1055
- file.
1056
-
1057
- totals This line is always the very last line of the list output. It
1058
- shows the total counts and sizes.
1059
-
1060
- The columns of the file lines:
1061
- 2. Number of streams in the file
1062
- 3. Total number of blocks in the stream(s)
1063
- 4. Compressed size of the file
1064
- 5. Uncompressed size of the file
1065
- 6. Compression ratio, for example 0.123. If ratio is over
1066
- 9.999, three dashes (---) are displayed instead of the
1067
- ratio.
1068
- 7. Comma-separated list of integrity check names. The follow-
1069
- ing strings are used for the known check types: None, CRC32,
1070
- CRC64, and SHA-256. For unknown check types, Unknown-N is
1071
- used, where N is the Check ID as a decimal number (one or
1072
- two digits).
1073
- 8. Total size of stream padding in the file
1074
-
1075
- The columns of the stream lines:
1076
- 2. Stream number (the first stream is 1)
1077
- 3. Number of blocks in the stream
1078
- 4. Compressed start offset
1079
- 5. Uncompressed start offset
1080
- 6. Compressed size (does not include stream padding)
1081
- 7. Uncompressed size
1082
- 8. Compression ratio
1083
- 9. Name of the integrity check
1084
- 10. Size of stream padding
1085
-
1086
- The columns of the block lines:
1087
- 2. Number of the stream containing this block
1088
- 3. Block number relative to the beginning of the stream (the
1089
- first block is 1)
1090
- 4. Block number relative to the beginning of the file
1091
- 5. Compressed start offset relative to the beginning of the
1092
- file
1093
- 6. Uncompressed start offset relative to the beginning of the
1094
- file
1095
- 7. Total compressed size of the block (includes headers)
1096
- 8. Uncompressed size
1097
- 9. Compression ratio
1098
- 10. Name of the integrity check
1099
-
1100
- If --verbose was specified twice, additional columns are included on
1101
- the block lines. These are not displayed with a single --verbose,
1102
- because getting this information requires many seeks and can thus be
1103
- slow:
1104
- 11. Value of the integrity check in hexadecimal
1105
- 12. Block header size
1106
- 13. Block flags: c indicates that compressed size is present,
1107
- and u indicates that uncompressed size is present. If the
1108
- flag is not set, a dash (-) is shown instead to keep the
1109
- string length fixed. New flags may be added to the end of
1110
- the string in the future.
1111
- 14. Size of the actual compressed data in the block (this
1112
- excludes the block header, block padding, and check fields)
1113
- 15. Amount of memory (in bytes) required to decompress this
1114
- block with this xz version
1115
- 16. Filter chain. Note that most of the options used at com-
1116
- pression time cannot be known, because only the options that
1117
- are needed for decompression are stored in the .xz headers.
1118
-
1119
- The columns of the summary lines:
1120
- 2. Amount of memory (in bytes) required to decompress this file
1121
- with this xz version
1122
- 3. yes or no indicating if all block headers have both com-
1123
- pressed size and uncompressed size stored in them
1124
- Since xz 5.1.2alpha:
1125
- 4. Minimum xz version required to decompress the file
1126
-
1127
- The columns of the totals line:
1128
- 2. Number of streams
1129
- 3. Number of blocks
1130
- 4. Compressed size
1131
- 5. Uncompressed size
1132
- 6. Average compression ratio
1133
- 7. Comma-separated list of integrity check names that were
1134
- present in the files
1135
- 8. Stream padding size
1136
- 9. Number of files. This is here to keep the order of the ear-
1137
- lier columns the same as on file lines.
1138
-
1139
- If --verbose was specified twice, additional columns are included on
1140
- the totals line:
1141
- 10. Maximum amount of memory (in bytes) required to decompress
1142
- the files with this xz version
1143
- 11. yes or no indicating if all block headers have both com-
1144
- pressed size and uncompressed size stored in them
1145
- Since xz 5.1.2alpha:
1146
- 12. Minimum xz version required to decompress the file
1147
-
1148
- Future versions may add new line types and new columns can be added to
1149
- the existing line types, but the existing columns won't be changed.
1150
-
1151
- EXIT STATUS
1152
- 0 All is good.
1153
-
1154
- 1 An error occurred.
1155
-
1156
- 2 Something worth a warning occurred, but no actual errors
1157
- occurred.
1158
-
1159
- Notices (not warnings or errors) printed on standard error don't affect
1160
- the exit status.
1161
-
1162
- ENVIRONMENT
1163
- xz parses space-separated lists of options from the environment vari-
1164
- ables XZ_DEFAULTS and XZ_OPT, in this order, before parsing the options
1165
- from the command line. Note that only options are parsed from the
1166
- environment variables; all non-options are silently ignored. Parsing
1167
- is done with getopt_long(3) which is used also for the command line
1168
- arguments.
1169
-
1170
- XZ_DEFAULTS
1171
- User-specific or system-wide default options. Typically this is
1172
- set in a shell initialization script to enable xz's memory usage
1173
- limiter by default. Excluding shell initialization scripts and
1174
- similar special cases, scripts must never set or unset
1175
- XZ_DEFAULTS.
1176
-
1177
- XZ_OPT This is for passing options to xz when it is not possible to set
1178
- the options directly on the xz command line. This is the case
1179
- e.g. when xz is run by a script or tool, e.g. GNU tar(1):
1180
-
1181
- XZ_OPT=-2v tar caf foo.tar.xz foo
1182
-
1183
- Scripts may use XZ_OPT e.g. to set script-specific default com-
1184
- pression options. It is still recommended to allow users to
1185
- override XZ_OPT if that is reasonable, e.g. in sh(1) scripts one
1186
- may use something like this:
1187
-
1188
- XZ_OPT=${XZ_OPT-"-7e"}
1189
- export XZ_OPT
1190
-
1191
- LZMA UTILS COMPATIBILITY
1192
- The command line syntax of xz is practically a superset of lzma,
1193
- unlzma, and lzcat as found from LZMA Utils 4.32.x. In most cases, it
1194
- is possible to replace LZMA Utils with XZ Utils without breaking exist-
1195
- ing scripts. There are some incompatibilities though, which may some-
1196
- times cause problems.
1197
-
1198
- Compression preset levels
1199
- The numbering of the compression level presets is not identical in xz
1200
- and LZMA Utils. The most important difference is how dictionary sizes
1201
- are mapped to different presets. Dictionary size is roughly equal to
1202
- the decompressor memory usage.
1203
-
1204
- Level xz LZMA Utils
1205
- -0 256 KiB N/A
1206
- -1 1 MiB 64 KiB
1207
- -2 2 MiB 1 MiB
1208
- -3 4 MiB 512 KiB
1209
- -4 4 MiB 1 MiB
1210
- -5 8 MiB 2 MiB
1211
- -6 8 MiB 4 MiB
1212
- -7 16 MiB 8 MiB
1213
- -8 32 MiB 16 MiB
1214
- -9 64 MiB 32 MiB
1215
-
1216
- The dictionary size differences affect the compressor memory usage too,
1217
- but there are some other differences between LZMA Utils and XZ Utils,
1218
- which make the difference even bigger:
1219
-
1220
- Level xz LZMA Utils 4.32.x
1221
- -0 3 MiB N/A
1222
- -1 9 MiB 2 MiB
1223
- -2 17 MiB 12 MiB
1224
- -3 32 MiB 12 MiB
1225
- -4 48 MiB 16 MiB
1226
- -5 94 MiB 26 MiB
1227
- -6 94 MiB 45 MiB
1228
- -7 186 MiB 83 MiB
1229
- -8 370 MiB 159 MiB
1230
- -9 674 MiB 311 MiB
1231
-
1232
- The default preset level in LZMA Utils is -7 while in XZ Utils it is
1233
- -6, so both use an 8 MiB dictionary by default.
1234
-
1235
- Streamed vs. non-streamed .lzma files
1236
- The uncompressed size of the file can be stored in the .lzma header.
1237
- LZMA Utils does that when compressing regular files. The alternative
1238
- is to mark that uncompressed size is unknown and use end-of-payload
1239
- marker to indicate where the decompressor should stop. LZMA Utils uses
1240
- this method when uncompressed size isn't known, which is the case for
1241
- example in pipes.
1242
-
1243
- xz supports decompressing .lzma files with or without end-of-payload
1244
- marker, but all .lzma files created by xz will use end-of-payload
1245
- marker and have uncompressed size marked as unknown in the .lzma
1246
- header. This may be a problem in some uncommon situations. For exam-
1247
- ple, a .lzma decompressor in an embedded device might work only with
1248
- files that have known uncompressed size. If you hit this problem, you
1249
- need to use LZMA Utils or LZMA SDK to create .lzma files with known
1250
- uncompressed size.
1251
-
1252
- Unsupported .lzma files
1253
- The .lzma format allows lc values up to 8, and lp values up to 4. LZMA
1254
- Utils can decompress files with any lc and lp, but always creates files
1255
- with lc=3 and lp=0. Creating files with other lc and lp is possible
1256
- with xz and with LZMA SDK.
1257
-
1258
- The implementation of the LZMA1 filter in liblzma requires that the sum
1259
- of lc and lp must not exceed 4. Thus, .lzma files, which exceed this
1260
- limitation, cannot be decompressed with xz.
1261
-
1262
- LZMA Utils creates only .lzma files which have a dictionary size of 2^n
1263
- (a power of 2) but accepts files with any dictionary size. liblzma
1264
- accepts only .lzma files which have a dictionary size of 2^n or 2^n +
1265
- 2^(n-1). This is to decrease false positives when detecting .lzma
1266
- files.
1267
-
1268
- These limitations shouldn't be a problem in practice, since practically
1269
- all .lzma files have been compressed with settings that liblzma will
1270
- accept.
1271
-
1272
- Trailing garbage
1273
- When decompressing, LZMA Utils silently ignore everything after the
1274
- first .lzma stream. In most situations, this is a bug. This also
1275
- means that LZMA Utils don't support decompressing concatenated .lzma
1276
- files.
1277
-
1278
- If there is data left after the first .lzma stream, xz considers the
1279
- file to be corrupt unless --single-stream was used. This may break
1280
- obscure scripts which have assumed that trailing garbage is ignored.
1281
-
1282
- NOTES
1283
- Compressed output may vary
1284
- The exact compressed output produced from the same uncompressed input
1285
- file may vary between XZ Utils versions even if compression options are
1286
- identical. This is because the encoder can be improved (faster or bet-
1287
- ter compression) without affecting the file format. The output can
1288
- vary even between different builds of the same XZ Utils version, if
1289
- different build options are used.
1290
-
1291
- The above means that once --rsyncable has been implemented, the result-
1292
- ing files won't necessarily be rsyncable unless both old and new files
1293
- have been compressed with the same xz version. This problem can be
1294
- fixed if a part of the encoder implementation is frozen to keep rsynca-
1295
- ble output stable across xz versions.
1296
-
1297
- Embedded .xz decompressors
1298
- Embedded .xz decompressor implementations like XZ Embedded don't neces-
1299
- sarily support files created with integrity check types other than none
1300
- and crc32. Since the default is --check=crc64, you must use
1301
- --check=none or --check=crc32 when creating files for embedded systems.
1302
-
1303
- Outside embedded systems, all .xz format decompressors support all the
1304
- check types, or at least are able to decompress the file without veri-
1305
- fying the integrity check if the particular check is not supported.
1306
-
1307
- XZ Embedded supports BCJ filters, but only with the default start off-
1308
- set.
1309
-
1310
- EXAMPLES
1311
- Basics
1312
- Compress the file foo into foo.xz using the default compression level
1313
- (-6), and remove foo if compression is successful:
1314
-
1315
- xz foo
1316
-
1317
- Decompress bar.xz into bar and don't remove bar.xz even if decompres-
1318
- sion is successful:
1319
-
1320
- xz -dk bar.xz
1321
-
1322
- Create baz.tar.xz with the preset -4e (-4 --extreme), which is slower
1323
- than e.g. the default -6, but needs less memory for compression and
1324
- decompression (48 MiB and 5 MiB, respectively):
1325
-
1326
- tar cf - baz | xz -4e > baz.tar.xz
1327
-
1328
- A mix of compressed and uncompressed files can be decompressed to stan-
1329
- dard output with a single command:
1330
-
1331
- xz -dcf a.txt b.txt.xz c.txt d.txt.lzma > abcd.txt
1332
-
1333
- Parallel compression of many files
1334
- On GNU and *BSD, find(1) and xargs(1) can be used to parallelize com-
1335
- pression of many files:
1336
-
1337
- find . -type f \! -name '*.xz' -print0 \
1338
- | xargs -0r -P4 -n16 xz -T1
1339
-
1340
- The -P option to xargs(1) sets the number of parallel xz processes.
1341
- The best value for the -n option depends on how many files there are to
1342
- be compressed. If there are only a couple of files, the value should
1343
- probably be 1; with tens of thousands of files, 100 or even more may be
1344
- appropriate to reduce the number of xz processes that xargs(1) will
1345
- eventually create.
1346
-
1347
- The option -T1 for xz is there to force it to single-threaded mode,
1348
- because xargs(1) is used to control the amount of parallelization.
1349
-
1350
- Robot mode
1351
- Calculate how many bytes have been saved in total after compressing
1352
- multiple files:
1353
-
1354
- xz --robot --list *.xz | awk '/^totals/{print $5-$4}'
1355
-
1356
- A script may want to know that it is using new enough xz. The follow-
1357
- ing sh(1) script checks that the version number of the xz tool is at
1358
- least 5.0.0. This method is compatible with old beta versions, which
1359
- didn't support the --robot option:
1360
-
1361
- if ! eval "$(xz --robot --version 2> /dev/null)" ||
1362
- [ "$XZ_VERSION" -lt 50000002 ]; then
1363
- echo "Your xz is too old."
1364
- fi
1365
- unset XZ_VERSION LIBLZMA_VERSION
1366
-
1367
- Set a memory usage limit for decompression using XZ_OPT, but if a limit
1368
- has already been set, don't increase it:
1369
-
1370
- NEWLIM=$((123 << 20)) # 123 MiB
1371
- OLDLIM=$(xz --robot --info-memory | cut -f3)
1372
- if [ $OLDLIM -eq 0 -o $OLDLIM -gt $NEWLIM ]; then
1373
- XZ_OPT="$XZ_OPT --memlimit-decompress=$NEWLIM"
1374
- export XZ_OPT
1375
- fi
1376
-
1377
- Custom compressor filter chains
1378
- The simplest use for custom filter chains is customizing a LZMA2 pre-
1379
- set. This can be useful, because the presets cover only a subset of
1380
- the potentially useful combinations of compression settings.
1381
-
1382
- The CompCPU columns of the tables from the descriptions of the options
1383
- -0 ... -9 and --extreme are useful when customizing LZMA2 presets.
1384
- Here are the relevant parts collected from those two tables:
1385
-
1386
- Preset CompCPU
1387
- -0 0
1388
- -1 1
1389
-
1390
- -2 2
1391
- -3 3
1392
- -4 4
1393
- -5 5
1394
- -6 6
1395
- -5e 7
1396
- -6e 8
1397
-
1398
- If you know that a file requires somewhat big dictionary (e.g. 32 MiB)
1399
- to compress well, but you want to compress it quicker than xz -8 would
1400
- do, a preset with a low CompCPU value (e.g. 1) can be modified to use a
1401
- bigger dictionary:
1402
-
1403
- xz --lzma2=preset=1,dict=32MiB foo.tar
1404
-
1405
- With certain files, the above command may be faster than xz -6 while
1406
- compressing significantly better. However, it must be emphasized that
1407
- only some files benefit from a big dictionary while keeping the CompCPU
1408
- value low. The most obvious situation, where a big dictionary can help
1409
- a lot, is an archive containing very similar files of at least a few
1410
- megabytes each. The dictionary size has to be significantly bigger
1411
- than any individual file to allow LZMA2 to take full advantage of the
1412
- similarities between consecutive files.
1413
-
1414
- If very high compressor and decompressor memory usage is fine, and the
1415
- file being compressed is at least several hundred megabytes, it may be
1416
- useful to use an even bigger dictionary than the 64 MiB that xz -9
1417
- would use:
1418
-
1419
- xz -vv --lzma2=dict=192MiB big_foo.tar
1420
-
1421
- Using -vv (--verbose --verbose) like in the above example can be useful
1422
- to see the memory requirements of the compressor and decompressor.
1423
- Remember that using a dictionary bigger than the size of the uncom-
1424
- pressed file is waste of memory, so the above command isn't useful for
1425
- small files.
1426
-
1427
- Sometimes the compression time doesn't matter, but the decompressor
1428
- memory usage has to be kept low e.g. to make it possible to decompress
1429
- the file on an embedded system. The following command uses -6e (-6
1430
- --extreme) as a base and sets the dictionary to only 64 KiB. The
1431
- resulting file can be decompressed with XZ Embedded (that's why there
1432
- is --check=crc32) using about 100 KiB of memory.
1433
-
1434
- xz --check=crc32 --lzma2=preset=6e,dict=64KiB foo
1435
-
1436
- If you want to squeeze out as many bytes as possible, adjusting the
1437
- number of literal context bits (lc) and number of position bits (pb)
1438
- can sometimes help. Adjusting the number of literal position bits (lp)
1439
- might help too, but usually lc and pb are more important. E.g. a
1440
- source code archive contains mostly US-ASCII text, so something like
1441
- the following might give slightly (like 0.1 %) smaller file than xz -6e
1442
- (try also without lc=4):
1443
-
1444
- xz --lzma2=preset=6e,pb=0,lc=4 source_code.tar
1445
-
1446
- Using another filter together with LZMA2 can improve compression with
1447
- certain file types. E.g. to compress a x86-32 or x86-64 shared library
1448
- using the x86 BCJ filter:
1449
-
1450
- xz --x86 --lzma2 libfoo.so
1451
-
1452
- Note that the order of the filter options is significant. If --x86 is
1453
- specified after --lzma2, xz will give an error, because there cannot be
1454
- any filter after LZMA2, and also because the x86 BCJ filter cannot be
1455
- used as the last filter in the chain.
1456
-
1457
- The Delta filter together with LZMA2 can give good results with bitmap
1458
- images. It should usually beat PNG, which has a few more advanced fil-
1459
- ters than simple delta but uses Deflate for the actual compression.
1460
-
1461
- The image has to be saved in uncompressed format, e.g. as uncompressed
1462
- TIFF. The distance parameter of the Delta filter is set to match the
1463
- number of bytes per pixel in the image. E.g. 24-bit RGB bitmap needs
1464
- dist=3, and it is also good to pass pb=0 to LZMA2 to accommodate the
1465
- three-byte alignment:
1466
-
1467
- xz --delta=dist=3 --lzma2=pb=0 foo.tiff
1468
-
1469
- If multiple images have been put into a single archive (e.g. .tar), the
1470
- Delta filter will work on that too as long as all images have the same
1471
- number of bytes per pixel.
1472
-
1473
- SEE ALSO
1474
- xzdec(1), xzdiff(1), xzgrep(1), xzless(1), xzmore(1), gzip(1),
1475
- bzip2(1), 7z(1)
1476
-
1477
- XZ Utils: <http://tukaani.org/xz/>
1478
- XZ Embedded: <http://tukaani.org/xz/embedded.html>
1479
- LZMA SDK: <http://7-zip.org/sdk.html>
1480
-
1481
-
1482
-
1483
- Tukaani 2015-05-11 XZ(1)