README.chromium 1.1 KB

12345678910111213141516171819202122232425
  1. Name: libutf
  2. Short Name: libutf
  3. URL: https://github.com/cls/libutf
  4. Version: ee5074db68f498a5c802dc9f1645f396c219938a
  5. Date: 2021/01/05
  6. License: MIT License
  7. License File: LICENSE
  8. Security Critical: Yes
  9. CPEPrefix: unknown
  10. Description:
  11. This is a C89 UTF-8 library, with an API compatible with that of Plan 9's libutf.
  12. Modifications:
  13. - Add dynamically configured files via awk (patches/0001-adding-awk-built-files.patch)
  14. - Refactor utftab out of chartorune.c to continue linking it for all platforms.
  15. This is a workaround for third_party/libphonenumber containing its own subset of UTF (patches/0001-utftab-refactor.patch)
  16. - Add CJK ideographs to the range set for isalpharune. See crbug/1184370 for details (patches/0001-adding-CJK-ideograph-to-isalpha.patch)
  17. - Add Korean characters to the isalpharune ranges (patches/0001-adding-korean-characters-to-ranges.patch)
  18. (patched for korean characters)
  19. Update Process:
  20. 1) Clone the libutf github repo at the desired commit into src/
  21. 2) Generate the static files by running make in the src/ directory
  22. 3) Apply each patch listed above residing in patches/ using `git apply patches/$PATCHFILE`