FILE5_47-8-g5a42c66b.add-zxc-bertrand-lebonnois.patch 903 B

123456789101112131415161718192021222324
  1. Subject: Add ZXC (Bertrand Lebonnois)
  2. Origin: upstream, commit FILE5_47-8-g5a42c66b <https://github.com/file/file/commit/FILE5_47-8-g5a42c66b>
  3. Author: Christos Zoulas <christos@zoulas.com>
  4. Date: Fri Mar 20 13:42:47 2026 +0000
  5. Forwarded: not-needed
  6. --- a/magic/Magdir/compress
  7. +++ b/magic/Magdir/compress
  8. @@ -443,6 +443,15 @@
  9. 0 string/b BZ3v1 bzip3 compressed data
  10. >5 ulelong x \b, blocksize %u
  11. +#------------------------------------------------------------------------------
  12. +# ZXC: ZXC compressed data
  13. +# From: Bertrand Lebonnois <zxc.codec@gmail.com>
  14. +# https://github.com/hellobertrand/zxc
  15. +0 lelong 0x9CB02EF5 ZXC compressed data
  16. +!:mime application/x-zxc
  17. +!:ext zxc
  18. +>4 byte x \b (v%u)
  19. +>6 byte &0x80 \b, checksum enabled
  20. # https://support-docs.illumina.com/SW/ORA_Format_Specification/Content/\
  21. # SW/ORA/ORAFormatSpecification.htm