Add support for displaying correct colors with PNG files that contain embedded ICC color profiles

This commit is contained in:
Kovid Goyal
2020-08-12 07:48:47 +05:30
parent 6ca1b7c240
commit 5eefd41059
9 changed files with 69 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ kitty_constants = iv['kitty_constants']
def binary_includes():
return tuple(map(get_dll_path, (
'expat', 'sqlite3', 'ffi', 'z', 'lzma', 'png16',
'expat', 'sqlite3', 'ffi', 'z', 'lzma', 'png16', 'lcms2',
# dont include freetype because fontconfig is closely coupled to it
# and also distros often patch freetype

View File

@@ -262,6 +262,7 @@ class Freeze(object):
'z.1',
'harfbuzz.0',
'png16.16',
'lcms2.2',
'crypto.1.0.0',
'ssl.1.0.0',
):

View File

@@ -153,6 +153,15 @@
}
},
{
"name": "lcms2",
"unix": {
"filename": "lcms2-2.11.tar.gz",
"hash": "sha256:478c9c3938d7a91b1171de4616f8b04308a8676d73eadc19505b7ace41327f28",
"urls": ["https://github.com/mm2/Little-CMS/archive/2.11/{filename}"]
}
},
{
"name": "graphite",
"os": "linux",