aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/lcms2
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/lcms2
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/lcms2')
-rw-r--r--contrib/libs/lcms2/.yandex_meta/__init__.py30
-rw-r--r--contrib/libs/lcms2/.yandex_meta/devtools.copyrights.report156
-rw-r--r--contrib/libs/lcms2/.yandex_meta/devtools.licenses.report208
-rw-r--r--contrib/libs/lcms2/.yandex_meta/licenses.list.txt139
-rw-r--r--contrib/libs/lcms2/.yandex_meta/override.nix12
-rw-r--r--contrib/libs/lcms2/patches/register.patch5
-rw-r--r--contrib/libs/lcms2/utils/jpgicc/.yandex_meta/licenses.list.txt148
-rw-r--r--contrib/libs/lcms2/utils/linkicc/.yandex_meta/licenses.list.txt83
-rw-r--r--contrib/libs/lcms2/utils/psicc/.yandex_meta/licenses.list.txt83
-rw-r--r--contrib/libs/lcms2/utils/tificc/.yandex_meta/licenses.list.txt83
-rw-r--r--contrib/libs/lcms2/utils/transicc/.yandex_meta/licenses.list.txt83
11 files changed, 1030 insertions, 0 deletions
diff --git a/contrib/libs/lcms2/.yandex_meta/__init__.py b/contrib/libs/lcms2/.yandex_meta/__init__.py
new file mode 100644
index 0000000000..fa80c60ee2
--- /dev/null
+++ b/contrib/libs/lcms2/.yandex_meta/__init__.py
@@ -0,0 +1,30 @@
+from devtools.yamaker import fileutil
+
+from devtools.yamaker.modules import Linkable, Switch
+from devtools.yamaker.project import NixProject
+
+
+def post_build(self):
+ fileutil.convert_to_utf8(f"{self.dstdir}/AUTHORS", from_="latin1")
+
+
+def post_install(self):
+ with self.yamakes["."] as lcms:
+ # reentrable variant of gmtime is gmtime_r on Unix, gmtime_s on Windows
+ lcms.CFLAGS.remove("-DHAVE_GMTIME_R=1")
+ lcms.after(
+ "CFLAGS",
+ Switch(
+ OS_WINDOWS=Linkable(CFLAGS=["-DHAVE_GMTIME_S=1"]),
+ default=Linkable(CFLAGS=["-DHAVE_GMTIME_R=1"]),
+ ),
+ )
+
+
+lcms2 = NixProject(
+ owners=["kikht", "shindo", "g:mds", "g:cpp-contrib"],
+ arcdir="contrib/libs/lcms2",
+ nixattr="lcms2",
+ post_build=post_build,
+ post_install=post_install,
+)
diff --git a/contrib/libs/lcms2/.yandex_meta/devtools.copyrights.report b/contrib/libs/lcms2/.yandex_meta/devtools.copyrights.report
new file mode 100644
index 0000000000..438acd40c3
--- /dev/null
+++ b/contrib/libs/lcms2/.yandex_meta/devtools.copyrights.report
@@ -0,0 +1,156 @@
+# File format ($ symbol means the beginning of a line):
+#
+# $ # this message
+# $ # =======================
+# $ # comments (all commentaries should starts with some number of spaces and # symbol)
+# ${action} {license id} {license text hash}
+# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make
+# ${all_file_action} filename
+# $ # user commentaries (many lines)
+# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify)
+# ${action} {license spdx} {license text hash}
+# $BELONGS ./ya/make/file/relative/path/3/ya.make
+# ${all_file_action} filename
+# $ # user commentaries
+# $ generated description
+# $ ...
+#
+# You can modify action, all_file_action and add commentaries
+# Available actions:
+# keep - keep license in contrib and use in credits
+# skip - skip license
+# remove - remove all files with this license
+# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file
+#
+# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory)
+# We suppose that that files can contain some license info
+# Available all file actions:
+# FILE_IGNORE - ignore file (do nothing)
+# FILE_INCLUDE - include all file data into licenses text file
+# =======================
+
+KEEP COPYRIGHT_SERVICE_LABEL 07c8fa7554d50e315318be35b61d4793
+BELONGS utils/jpgicc/ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ utils/jpgicc/LICENSE_iccjpeg [52:55]
+
+KEEP COPYRIGHT_SERVICE_LABEL 153b1c67d98d8dd69d7dcaaa31389bec
+BELONGS utils/jpgicc/ya.make
+ License text:
+ This software is copyright (C) 1991-2013, Thomas G. Lane, Guido Vollbeding.
+ All Rights Reserved except as specified below.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ utils/jpgicc/LICENSE_iccjpeg [20:21]
+
+KEEP COPYRIGHT_SERVICE_LABEL 9855ff798e83714c245975bd9091c84b
+BELONGS utils/jpgicc/ya.make
+ License text:
+ Copyright property of CompuServe Incorporated
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ utils/jpgicc/LICENSE_iccjpeg [65:67]
+
+KEEP COPYRIGHT_SERVICE_LABEL aa60f9f901d8a70162904fc48f222c49
+BELONGS utils/jpgicc/ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ utils/jpgicc/LICENSE_iccjpeg [52:55]
+
+KEEP COPYRIGHT_SERVICE_LABEL c98e8a421395169a5bc32c4c4ecdafc8
+BELONGS ya.make
+ License text:
+ // Copyright (c) 1998-2021 Marti Maria Saguer
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ src/cmsgmt.c [4:4]
+
+KEEP COPYRIGHT_SERVICE_LABEL dc1c978ad126171c001998b8a02b43a8
+BELONGS ya.make
+ License text:
+ Copyright (c) 2023 Marti Maria Saguer
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ LICENSE [3:3]
+
+KEEP COPYRIGHT_SERVICE_LABEL ddeddc5b6b20149a38ac62a44099a2c0
+BELONGS utils/jpgicc/ya.make utils/linkicc/ya.make utils/psicc/ya.make utils/tificc/ya.make utils/transicc/ya.make ya.make
+ License text:
+ // Copyright (c) 1998-2023 Marti Maria Saguer
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ include/lcms2.h [4:4]
+ include/lcms2_plugin.h [4:4]
+ src/cmsalpha.c [4:4]
+ src/cmscam02.c [4:4]
+ src/cmscgats.c [4:4]
+ src/cmscnvrt.c [4:4]
+ src/cmserr.c [4:4]
+ src/cmsgamma.c [4:4]
+ src/cmshalf.c [4:4]
+ src/cmsintrp.c [4:4]
+ src/cmsio0.c [4:4]
+ src/cmsio1.c [4:4]
+ src/cmslut.c [4:4]
+ src/cmsmd5.c [4:4]
+ src/cmsmtrx.c [4:4]
+ src/cmsnamed.c [4:4]
+ src/cmsopt.c [4:4]
+ src/cmspack.c [4:4]
+ src/cmspcs.c [4:4]
+ src/cmsplugin.c [4:4]
+ src/cmsps2.c [4:4]
+ src/cmssamp.c [4:4]
+ src/cmssm.c [4:4]
+ src/cmstypes.c [4:4]
+ src/cmsvirt.c [4:4]
+ src/cmswtpnt.c [4:4]
+ src/cmsxform.c [4:4]
+ src/lcms2_internal.h [4:4]
+ utils/common/utils.h [5:5]
+ utils/common/vprf.c [4:4]
+ utils/common/xgetopt.c [5:5]
+ utils/jpgicc/jpgicc.c [4:4]
+ utils/jpgicc/jpgicc.c [1254:1255]
+ utils/linkicc/linkicc.c [4:4]
+ utils/linkicc/linkicc.c [274:275]
+ utils/psicc/psicc.c [4:4]
+ utils/psicc/psicc.c [216:217]
+ utils/tificc/tificc.c [4:4]
+ utils/tificc/tificc.c [1041:1042]
+ utils/transicc/transicc.c [4:4]
+ utils/transicc/transicc.c [1257:1258]
+
+KEEP COPYRIGHT_SERVICE_LABEL e40f0af5a3901b7c40a36232bb6f92a9
+BELONGS ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ src/cmssm.c [207:211]
diff --git a/contrib/libs/lcms2/.yandex_meta/devtools.licenses.report b/contrib/libs/lcms2/.yandex_meta/devtools.licenses.report
new file mode 100644
index 0000000000..97618f5baa
--- /dev/null
+++ b/contrib/libs/lcms2/.yandex_meta/devtools.licenses.report
@@ -0,0 +1,208 @@
+# File format ($ symbol means the beginning of a line):
+#
+# $ # this message
+# $ # =======================
+# $ # comments (all commentaries should starts with some number of spaces and # symbol)
+# ${action} {license spdx} {license text hash}
+# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make
+# ${all_file_action} filename
+# $ # user commentaries (many lines)
+# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify)
+# ${action} {license spdx} {license text hash}
+# $BELONGS ./ya/make/file/relative/path/3/ya.make
+# ${all_file_action} filename
+# $ # user commentaries
+# $ generated description
+# $ ...
+#
+# You can modify action, all_file_action and add commentaries
+# Available actions:
+# keep - keep license in contrib and use in credits
+# skip - skip license
+# remove - remove all files with this license
+# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file
+#
+# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory)
+# We suppose that that files can contain some license info
+# Available all file actions:
+# FILE_IGNORE - ignore file (do nothing)
+# FILE_INCLUDE - include all file data into licenses text file
+# =======================
+# ChangeLog is changelog, it does not describe current status at all
+IGNORE_FILES ChangeLog
+
+KEEP MIT 24e6fb6f6ed9a5425a9e54ac886c7a38
+BELONGS utils/linkicc/ya.make utils/psicc/ya.make utils/tificc/ya.make utils/transicc/ya.make
+FILE_INCLUDE AUTHORS found in files: utils/linkicc/linkicc.c at line 19, utils/psicc/psicc.c at line 19, utils/tificc/tificc.c at line 19, utils/transicc/transicc.c at line 19
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: MIT
+ Score : 100.00
+ Match type : TEXT
+ Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
+ Files with this license:
+ utils/linkicc/linkicc.c [6:22]
+ utils/psicc/psicc.c [6:22]
+ utils/tificc/tificc.c [6:22]
+ utils/transicc/transicc.c [6:22]
+
+KEEP Softsurfer 311038bc2326a11981bde73df7ba7705
+BELONGS ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: LicenseRef-scancode-softsurfer
+ Score : 98.08
+ Match type : TEXT
+ Links : http://geomalgorithms.com/a05-_intersect-1.html#Intersection%20of%202%20Planes, https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/softsurfer.LICENSE
+ Files with this license:
+ src/cmssm.c [208:212]
+
+KEEP MIT 399584035c417b91040964779555dfac
+BELONGS ya.make
+ License text:
+ MIT License
+ Scancode info:
+ Original SPDX id: MIT
+ Score : 100.00
+ Match type : REFERENCE
+ Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
+ Files with this license:
+ LICENSE [1:1]
+
+SKIP LicenseRef-scancode-free-unknown 52a6530fbc8416fff7e08fa2845d5a76
+BELONGS ya.make
+# not a license
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: LicenseRef-scancode-free-unknown
+ Score : 50.00
+ Match type : REFERENCE
+ Links : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/free-unknown.LICENSE
+ Files with this license:
+ README.md [16:16]
+
+KEEP IJG 5540d4850b32f05c6de82e87239d100b
+BELONGS utils/jpgicc/ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: IJG
+ Score : 97.18
+ Match type : REFERENCE
+ Links : http://fedoraproject.org/wiki/Licensing/IJG, https://spdx.org/licenses/IJG
+ Files with this license:
+ utils/jpgicc/LICENSE_iccjpeg [4:11]
+
+KEEP IJG 5817aede26ed47ea3d800cd135dfe5e5
+BELONGS utils/jpgicc/ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: IJG
+ Score : 97.95
+ Match type : TEXT
+ Links : http://fedoraproject.org/wiki/Licensing/IJG, https://spdx.org/licenses/IJG
+ Files with this license:
+ utils/jpgicc/LICENSE_iccjpeg [13:48]
+
+KEEP MIT 7c49e6e986839189d7592cb9b4db0b4c
+BELONGS utils/jpgicc/ya.make ya.make
+FILE_INCLUDE AUTHORS found in files: include/lcms2.h at line 19, include/lcms2_plugin.h at line 19, src/cmsalpha.c at line 19, src/cmscam02.c at line 19, src/cmscgats.c at line 19, src/cmscnvrt.c at line 19, src/cmserr.c at line 19, src/cmsgamma.c at line 19, src/cmsgmt.c at line 19, src/cmshalf.c at line 19, src/cmsintrp.c at line 19, src/cmsio0.c at line 19, src/cmsio1.c at line 19, src/cmslut.c at line 19, src/cmsmd5.c at line 19, src/cmsmtrx.c at line 19, src/cmsnamed.c at line 19, src/cmsopt.c at line 19, src/cmspack.c at line 19, src/cmspcs.c at line 19, src/cmsplugin.c at line 19, src/cmsps2.c at line 19, src/cmssamp.c at line 19, src/cmssm.c at line 19, src/cmstypes.c at line 19, src/cmsvirt.c at line 19, src/cmswtpnt.c at line 19, src/cmsxform.c at line 19, src/lcms2_internal.h at line 19, utils/common/utils.h at line 20, utils/common/vprf.c at line 19, utils/common/xgetopt.c at line 20, utils/jpgicc/jpgicc.c at line 19
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: MIT
+ Score : 100.00
+ Match type : TEXT
+ Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
+ Files with this license:
+ include/lcms2.h [6:22]
+ include/lcms2_plugin.h [6:22]
+ src/cmsalpha.c [6:22]
+ src/cmscam02.c [6:22]
+ src/cmscgats.c [6:22]
+ src/cmscnvrt.c [6:22]
+ src/cmserr.c [6:22]
+ src/cmsgamma.c [6:22]
+ src/cmsgmt.c [6:22]
+ src/cmshalf.c [6:22]
+ src/cmsintrp.c [6:22]
+ src/cmsio0.c [6:22]
+ src/cmsio1.c [6:22]
+ src/cmslut.c [6:22]
+ src/cmsmd5.c [6:22]
+ src/cmsmtrx.c [6:22]
+ src/cmsnamed.c [6:22]
+ src/cmsopt.c [6:22]
+ src/cmspack.c [6:22]
+ src/cmspcs.c [6:22]
+ src/cmsplugin.c [6:22]
+ src/cmsps2.c [6:22]
+ src/cmssamp.c [6:22]
+ src/cmssm.c [6:22]
+ src/cmstypes.c [6:22]
+ src/cmsvirt.c [6:22]
+ src/cmswtpnt.c [6:22]
+ src/cmsxform.c [6:22]
+ src/lcms2_internal.h [6:22]
+ utils/common/utils.h [7:23]
+ utils/common/vprf.c [6:22]
+ utils/common/xgetopt.c [7:23]
+ utils/jpgicc/jpgicc.c [6:22]
+
+KEEP MIT 94890220f883df92236a2e64421f8224
+BELONGS ya.make
+ License text:
+ redistribute such patches, please make sure to include the mail, or at least the MIT license. By including the MIT license you prevent to get in legal trouble.
+ Scancode info:
+ Original SPDX id: MIT
+ Score : 100.00
+ Match type : REFERENCE
+ Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
+ Files with this license:
+ SECURITY.md [22:22]
+
+SKIP LicenseRef-scancode-unknown-license-reference af7985bc98b322384bcb4e1d99c5d0e4
+BELONGS utils/psicc/ya.make
+ License text:
+ "engine. Both lcms and this program are freeware. You can\n"
+ Scancode info:
+ Original SPDX id: LicenseRef-scancode-unknown-license-reference
+ Score : 100.00
+ Match type : REFERENCE
+ Links : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/unknown-license-reference.LICENSE
+ Files with this license:
+ utils/psicc/psicc.c [61:61]
+
+KEEP MIT b1101be903428cec3d118f4496ad8c15
+BELONGS ya.make
+ License text:
+ Please understand that this is a lot of work, and obviously it can fail as well, so the “no guarantee” clause of MIT license applies. If you choose to
+ Scancode info:
+ Original SPDX id: MIT
+ Score : 100.00
+ Match type : REFERENCE
+ Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
+ Files with this license:
+ SECURITY.md [21:21]
+
+KEEP MIT fe08b97a5e3117443682cd1138cb81cd
+BELONGS ya.make
+ License text:
+ redistribute such patches, please make sure to include the mail, or at least the MIT license. By including the MIT license you prevent to get in legal trouble.
+ Scancode info:
+ Original SPDX id: MIT
+ Score : 100.00
+ Match type : REFERENCE
+ Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
+ Files with this license:
+ SECURITY.md [22:22]
+
+KEEP MIT feae1bf7eb9fd714ebbdf0b08a0a3afd
+BELONGS ya.make
+FILE_INCLUDE AUTHORS found in files: LICENSE at line 19
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: MIT
+ Score : 100.00
+ Match type : TEXT
+ Links : http://opensource.org/licenses/mit-license.php, https://spdx.org/licenses/MIT
+ Files with this license:
+ LICENSE [5:22]
diff --git a/contrib/libs/lcms2/.yandex_meta/licenses.list.txt b/contrib/libs/lcms2/.yandex_meta/licenses.list.txt
new file mode 100644
index 0000000000..3886eac675
--- /dev/null
+++ b/contrib/libs/lcms2/.yandex_meta/licenses.list.txt
@@ -0,0 +1,139 @@
+====================COPYRIGHT====================
+ Copyright 2001, softSurfer (www.softsurfer.com)
+ This code may be freely used and modified for any purpose
+ providing that this copyright notice is included with it.
+ SoftSurfer makes no warranty for this code, and cannot be held
+ liable for any real or imagined damage resulting from its use.
+
+
+====================COPYRIGHT====================
+// Copyright (c) 1998-2021 Marti Maria Saguer
+
+
+====================COPYRIGHT====================
+// Copyright (c) 1998-2023 Marti Maria Saguer
+
+
+====================COPYRIGHT====================
+Copyright (c) 2023 Marti Maria Saguer
+
+
+====================File: AUTHORS====================
+
+Main Author
+------------
+Marti Maria
+
+
+Contributors
+------------
+Bob Friesenhahn
+Kai-Uwe Behrmann
+Stuart Nixon
+Jordi Vilar
+Richard Hughes
+Auke Nauta
+Chris Evans (Google)
+Lorenzo Ridolfi
+Robin Watts (Artifex)
+Shawn Pedersen
+Andrew Brygin
+Samuli Suominen
+Florian Höch
+Aurelien Jarno
+Claudiu Cebuc
+Michael Vhrel (Artifex)
+Michal Cihar
+Daniel Kaneider
+Mateusz Jurczyk (Google)
+Paul Miller
+Sébastien Léon
+Christian Schmitz
+XhmikosR
+Stanislav Brabec (SuSe)
+Leonhard Gruenschloss (Google)
+Patrick Noffke
+Christopher James Halse Rogers
+John Hein
+Thomas Weber (Debian)
+Mark Allen
+Noel Carboni
+Sergei Trofimovic
+Philipp Knechtges
+Amyspark
+Lovell Fuller
+Eli Schwartz
+Diogo Teles Sant'Anna
+
+Special Thanks
+--------------
+Artifex software
+AlienSkin software
+libVIPS
+Jan Morovic
+Jos Vernon (WebSupergoo)
+Harald Schneider (Maxon)
+Christian Albrecht
+Dimitrios Anastassakis
+Lemke Software
+Tim Zaman
+
+
+====================MIT====================
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the "Software"),
+// to deal in the Software without restriction, including without limitation
+// the rights to use, copy, modify, merge, publish, distribute, sublicense,
+// and/or sell copies of the Software, and to permit persons to whom the Software
+// is furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+// THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+====================MIT====================
+MIT License
+
+
+====================MIT====================
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject
+to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+====================MIT====================
+Please understand that this is a lot of work, and obviously it can fail as well, so the “no guarantee” clause of MIT license applies. If you choose to
+
+
+====================MIT====================
+redistribute such patches, please make sure to include the mail, or at least the MIT license. By including the MIT license you prevent to get in legal trouble.
+
+
+====================Softsurfer====================
+ This code may be freely used and modified for any purpose
+ providing that this copyright notice is included with it.
+ SoftSurfer makes no warranty for this code, and cannot be held
+ liable for any real or imagined damage resulting from its use.
+ Users of this code must verify correctness for their application.
diff --git a/contrib/libs/lcms2/.yandex_meta/override.nix b/contrib/libs/lcms2/.yandex_meta/override.nix
new file mode 100644
index 0000000000..222cc50414
--- /dev/null
+++ b/contrib/libs/lcms2/.yandex_meta/override.nix
@@ -0,0 +1,12 @@
+pkgs: attrs: with pkgs; with attrs; rec {
+ version = "2.16";
+
+ src = fetchFromGitHub {
+ owner = "mm2";
+ repo = "Little-CMS";
+ rev = "lcms${version}";
+ hash = "sha256-pI+ZyM9UfiW0/GLk+gsoJuRQ1Nz3WRfSCHnwkFPBtzc=";
+ };
+
+ patches = [];
+}
diff --git a/contrib/libs/lcms2/patches/register.patch b/contrib/libs/lcms2/patches/register.patch
new file mode 100644
index 0000000000..007134c74c
--- /dev/null
+++ b/contrib/libs/lcms2/patches/register.patch
@@ -0,0 +1,5 @@
+--- a/include/lcms2.h (index)
++++ b/include/lcms2.h (working tree)
+@@ -62,1 +62,1 @@
+-// #define CMS_NO_REGISTER_KEYWORD 1
++#define CMS_NO_REGISTER_KEYWORD 1
diff --git a/contrib/libs/lcms2/utils/jpgicc/.yandex_meta/licenses.list.txt b/contrib/libs/lcms2/utils/jpgicc/.yandex_meta/licenses.list.txt
new file mode 100644
index 0000000000..5b5ec8330a
--- /dev/null
+++ b/contrib/libs/lcms2/utils/jpgicc/.yandex_meta/licenses.list.txt
@@ -0,0 +1,148 @@
+====================COPYRIGHT====================
+// Copyright (c) 1998-2023 Marti Maria Saguer
+
+
+====================COPYRIGHT====================
+Copyright property of CompuServe Incorporated
+
+====================COPYRIGHT====================
+It is copyright by the Free Software Foundation but is freely distributable.
+The same holds for its supporting scripts (config.guess, config.sub,
+ltmain.sh). Another support script, install-sh, is copyright by X Consortium
+but is also freely distributable.
+
+
+====================COPYRIGHT====================
+This software is copyright (C) 1991-2013, Thomas G. Lane, Guido Vollbeding.
+All Rights Reserved except as specified below.
+
+
+====================File: AUTHORS====================
+
+Main Author
+------------
+Marti Maria
+
+
+Contributors
+------------
+Bob Friesenhahn
+Kai-Uwe Behrmann
+Stuart Nixon
+Jordi Vilar
+Richard Hughes
+Auke Nauta
+Chris Evans (Google)
+Lorenzo Ridolfi
+Robin Watts (Artifex)
+Shawn Pedersen
+Andrew Brygin
+Samuli Suominen
+Florian Höch
+Aurelien Jarno
+Claudiu Cebuc
+Michael Vhrel (Artifex)
+Michal Cihar
+Daniel Kaneider
+Mateusz Jurczyk (Google)
+Paul Miller
+Sébastien Léon
+Christian Schmitz
+XhmikosR
+Stanislav Brabec (SuSe)
+Leonhard Gruenschloss (Google)
+Patrick Noffke
+Christopher James Halse Rogers
+John Hein
+Thomas Weber (Debian)
+Mark Allen
+Noel Carboni
+Sergei Trofimovic
+Philipp Knechtges
+Amyspark
+Lovell Fuller
+Eli Schwartz
+Diogo Teles Sant'Anna
+
+Special Thanks
+--------------
+Artifex software
+AlienSkin software
+libVIPS
+Jan Morovic
+Jos Vernon (WebSupergoo)
+Harald Schneider (Maxon)
+Christian Albrecht
+Dimitrios Anastassakis
+Lemke Software
+Tim Zaman
+
+
+====================IJG====================
+In legalese:
+
+The authors make NO WARRANTY or representation, either express or implied,
+with respect to this software, its quality, accuracy, merchantability, or
+fitness for a particular purpose. This software is provided "AS IS", and you,
+its user, assume the entire risk as to its quality and accuracy.
+
+This software is copyright (C) 1991-2013, Thomas G. Lane, Guido Vollbeding.
+All Rights Reserved except as specified below.
+
+Permission is hereby granted to use, copy, modify, and distribute this
+software (or portions thereof) for any purpose, without fee, subject to these
+conditions:
+(1) If any part of the source code for this software is distributed, then this
+README file must be included, with this copyright and no-warranty notice
+unaltered; and any additions, deletions, or changes to the original files
+must be clearly indicated in accompanying documentation.
+(2) If only executable code is distributed, then the accompanying
+documentation must state that "this software is based in part on the work of
+the Independent JPEG Group".
+(3) Permission for use of this software is granted only if the user accepts
+full responsibility for any undesirable consequences; the authors accept
+NO LIABILITY for damages of any kind.
+
+These conditions apply to any software derived from or based on the IJG code,
+not just to the unmodified library. If you use our work, you ought to
+acknowledge us.
+
+Permission is NOT granted for the use of any IJG author's name or company name
+in advertising or publicity relating to this software or products derived from
+it. This software may be referred to only as "the Independent JPEG Group's
+software".
+
+We specifically permit and encourage the use of this software as the basis of
+commercial products, provided that all warranty or liability claims are
+assumed by the product vendor.
+
+
+====================IJG====================
+In plain English:
+
+1. We don't promise that this software works. (But if you find any bugs,
+ please let us know!)
+2. You can use this software for whatever you want. You don't have to pay us.
+3. You may not pretend that you wrote this software. If you use it in a
+ program, you must acknowledge somewhere in your documentation that
+ you've used the IJG code.
+
+
+====================MIT====================
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the "Software"),
+// to deal in the Software without restriction, including without limitation
+// the rights to use, copy, modify, merge, publish, distribute, sublicense,
+// and/or sell copies of the Software, and to permit persons to whom the Software
+// is furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+// THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/contrib/libs/lcms2/utils/linkicc/.yandex_meta/licenses.list.txt b/contrib/libs/lcms2/utils/linkicc/.yandex_meta/licenses.list.txt
new file mode 100644
index 0000000000..7accfb5141
--- /dev/null
+++ b/contrib/libs/lcms2/utils/linkicc/.yandex_meta/licenses.list.txt
@@ -0,0 +1,83 @@
+====================COPYRIGHT====================
+// Copyright (c) 1998-2023 Marti Maria Saguer
+
+
+====================File: AUTHORS====================
+
+Main Author
+------------
+Marti Maria
+
+
+Contributors
+------------
+Bob Friesenhahn
+Kai-Uwe Behrmann
+Stuart Nixon
+Jordi Vilar
+Richard Hughes
+Auke Nauta
+Chris Evans (Google)
+Lorenzo Ridolfi
+Robin Watts (Artifex)
+Shawn Pedersen
+Andrew Brygin
+Samuli Suominen
+Florian Höch
+Aurelien Jarno
+Claudiu Cebuc
+Michael Vhrel (Artifex)
+Michal Cihar
+Daniel Kaneider
+Mateusz Jurczyk (Google)
+Paul Miller
+Sébastien Léon
+Christian Schmitz
+XhmikosR
+Stanislav Brabec (SuSe)
+Leonhard Gruenschloss (Google)
+Patrick Noffke
+Christopher James Halse Rogers
+John Hein
+Thomas Weber (Debian)
+Mark Allen
+Noel Carboni
+Sergei Trofimovic
+Philipp Knechtges
+Amyspark
+Lovell Fuller
+Eli Schwartz
+Diogo Teles Sant'Anna
+
+Special Thanks
+--------------
+Artifex software
+AlienSkin software
+libVIPS
+Jan Morovic
+Jos Vernon (WebSupergoo)
+Harald Schneider (Maxon)
+Christian Albrecht
+Dimitrios Anastassakis
+Lemke Software
+Tim Zaman
+
+
+====================MIT====================
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the "Software"),
+// to deal in the Software without restriction, including without limitation
+// the rights to use, copy, modify, merge, publish, distribute, sublicense,
+// and/or sell copies of the Software, and to permit persons to whom the Software
+// is furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+// THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/contrib/libs/lcms2/utils/psicc/.yandex_meta/licenses.list.txt b/contrib/libs/lcms2/utils/psicc/.yandex_meta/licenses.list.txt
new file mode 100644
index 0000000000..7accfb5141
--- /dev/null
+++ b/contrib/libs/lcms2/utils/psicc/.yandex_meta/licenses.list.txt
@@ -0,0 +1,83 @@
+====================COPYRIGHT====================
+// Copyright (c) 1998-2023 Marti Maria Saguer
+
+
+====================File: AUTHORS====================
+
+Main Author
+------------
+Marti Maria
+
+
+Contributors
+------------
+Bob Friesenhahn
+Kai-Uwe Behrmann
+Stuart Nixon
+Jordi Vilar
+Richard Hughes
+Auke Nauta
+Chris Evans (Google)
+Lorenzo Ridolfi
+Robin Watts (Artifex)
+Shawn Pedersen
+Andrew Brygin
+Samuli Suominen
+Florian Höch
+Aurelien Jarno
+Claudiu Cebuc
+Michael Vhrel (Artifex)
+Michal Cihar
+Daniel Kaneider
+Mateusz Jurczyk (Google)
+Paul Miller
+Sébastien Léon
+Christian Schmitz
+XhmikosR
+Stanislav Brabec (SuSe)
+Leonhard Gruenschloss (Google)
+Patrick Noffke
+Christopher James Halse Rogers
+John Hein
+Thomas Weber (Debian)
+Mark Allen
+Noel Carboni
+Sergei Trofimovic
+Philipp Knechtges
+Amyspark
+Lovell Fuller
+Eli Schwartz
+Diogo Teles Sant'Anna
+
+Special Thanks
+--------------
+Artifex software
+AlienSkin software
+libVIPS
+Jan Morovic
+Jos Vernon (WebSupergoo)
+Harald Schneider (Maxon)
+Christian Albrecht
+Dimitrios Anastassakis
+Lemke Software
+Tim Zaman
+
+
+====================MIT====================
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the "Software"),
+// to deal in the Software without restriction, including without limitation
+// the rights to use, copy, modify, merge, publish, distribute, sublicense,
+// and/or sell copies of the Software, and to permit persons to whom the Software
+// is furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+// THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/contrib/libs/lcms2/utils/tificc/.yandex_meta/licenses.list.txt b/contrib/libs/lcms2/utils/tificc/.yandex_meta/licenses.list.txt
new file mode 100644
index 0000000000..7accfb5141
--- /dev/null
+++ b/contrib/libs/lcms2/utils/tificc/.yandex_meta/licenses.list.txt
@@ -0,0 +1,83 @@
+====================COPYRIGHT====================
+// Copyright (c) 1998-2023 Marti Maria Saguer
+
+
+====================File: AUTHORS====================
+
+Main Author
+------------
+Marti Maria
+
+
+Contributors
+------------
+Bob Friesenhahn
+Kai-Uwe Behrmann
+Stuart Nixon
+Jordi Vilar
+Richard Hughes
+Auke Nauta
+Chris Evans (Google)
+Lorenzo Ridolfi
+Robin Watts (Artifex)
+Shawn Pedersen
+Andrew Brygin
+Samuli Suominen
+Florian Höch
+Aurelien Jarno
+Claudiu Cebuc
+Michael Vhrel (Artifex)
+Michal Cihar
+Daniel Kaneider
+Mateusz Jurczyk (Google)
+Paul Miller
+Sébastien Léon
+Christian Schmitz
+XhmikosR
+Stanislav Brabec (SuSe)
+Leonhard Gruenschloss (Google)
+Patrick Noffke
+Christopher James Halse Rogers
+John Hein
+Thomas Weber (Debian)
+Mark Allen
+Noel Carboni
+Sergei Trofimovic
+Philipp Knechtges
+Amyspark
+Lovell Fuller
+Eli Schwartz
+Diogo Teles Sant'Anna
+
+Special Thanks
+--------------
+Artifex software
+AlienSkin software
+libVIPS
+Jan Morovic
+Jos Vernon (WebSupergoo)
+Harald Schneider (Maxon)
+Christian Albrecht
+Dimitrios Anastassakis
+Lemke Software
+Tim Zaman
+
+
+====================MIT====================
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the "Software"),
+// to deal in the Software without restriction, including without limitation
+// the rights to use, copy, modify, merge, publish, distribute, sublicense,
+// and/or sell copies of the Software, and to permit persons to whom the Software
+// is furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+// THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/contrib/libs/lcms2/utils/transicc/.yandex_meta/licenses.list.txt b/contrib/libs/lcms2/utils/transicc/.yandex_meta/licenses.list.txt
new file mode 100644
index 0000000000..7accfb5141
--- /dev/null
+++ b/contrib/libs/lcms2/utils/transicc/.yandex_meta/licenses.list.txt
@@ -0,0 +1,83 @@
+====================COPYRIGHT====================
+// Copyright (c) 1998-2023 Marti Maria Saguer
+
+
+====================File: AUTHORS====================
+
+Main Author
+------------
+Marti Maria
+
+
+Contributors
+------------
+Bob Friesenhahn
+Kai-Uwe Behrmann
+Stuart Nixon
+Jordi Vilar
+Richard Hughes
+Auke Nauta
+Chris Evans (Google)
+Lorenzo Ridolfi
+Robin Watts (Artifex)
+Shawn Pedersen
+Andrew Brygin
+Samuli Suominen
+Florian Höch
+Aurelien Jarno
+Claudiu Cebuc
+Michael Vhrel (Artifex)
+Michal Cihar
+Daniel Kaneider
+Mateusz Jurczyk (Google)
+Paul Miller
+Sébastien Léon
+Christian Schmitz
+XhmikosR
+Stanislav Brabec (SuSe)
+Leonhard Gruenschloss (Google)
+Patrick Noffke
+Christopher James Halse Rogers
+John Hein
+Thomas Weber (Debian)
+Mark Allen
+Noel Carboni
+Sergei Trofimovic
+Philipp Knechtges
+Amyspark
+Lovell Fuller
+Eli Schwartz
+Diogo Teles Sant'Anna
+
+Special Thanks
+--------------
+Artifex software
+AlienSkin software
+libVIPS
+Jan Morovic
+Jos Vernon (WebSupergoo)
+Harald Schneider (Maxon)
+Christian Albrecht
+Dimitrios Anastassakis
+Lemke Software
+Tim Zaman
+
+
+====================MIT====================
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the "Software"),
+// to deal in the Software without restriction, including without limitation
+// the rights to use, copy, modify, merge, publish, distribute, sublicense,
+// and/or sell copies of the Software, and to permit persons to whom the Software
+// is furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
+// THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.