| | |
| | | # |
| | | # Copyright (c) 2015-2017, Aurelien Larcher |
| | | # |
| | | BUILD_BITS= 32_and_64 |
| | | include ../../../make-rules/shared-macros.mk |
| | | |
| | | COMPONENT_NAME = lcms2 |
| | | COMPONENT_VERSION= 2.9 |
| | | COMPONENT_REVISION= 1 |
| | | COMPONENT_VERSION= 2.12 |
| | | COMPONENT_FMRI= library/lcms2 |
| | | COMPONENT_CLASSIFICATION=System/Libraries |
| | | COMPONENT_SUMMARY= The Little Color Management System |
| | | COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
| | | COMPONENT_PROJECT_URL= http://www.littlecms.com/ |
| | | COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
| | | COMPONENT_ARCHIVE_HASH= \ |
| | | sha256:48c6fdf98396fa245ed86e622028caf49b96fa22f3e5734f853f806fbc8e7d20 |
| | | COMPONENT_ARCHIVE_URL= \ |
| | | http://sourceforge.net/projects/lcms/files/lcms/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
| | | COMPONENT_ARCHIVE_HASH= sha256:18663985e864100455ac3e507625c438c3710354d85e5cbb7cd4043e11fe10f5 |
| | | COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/lcms/files/lcms/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
| | | COMPONENT_LICENSE= MIT |
| | | |
| | | include $(WS_MAKE_RULES)/prep.mk |
| | | include $(WS_MAKE_RULES)/configure.mk |
| | | include $(WS_MAKE_RULES)/ips.mk |
| | | include $(WS_MAKE_RULES)/common.mk |
| | | |
| | | # build with the distribution preferred libjpeg implementation |
| | | CFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CFLAGS) |
| | |
| | | '-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \ |
| | | '-e "/^XXX_REMOVE_XXX$$/d" ' |
| | | |
| | | build: $(BUILD_32_and_64) |
| | | |
| | | install: $(INSTALL_32_and_64) |
| | | |
| | | test: $(TEST_32_and_64) |
| | | |
| | | # Auto-generated dependencies |
| | | #REQUIRED_PACKAGES += image/library/libjpeg8-turbo |
| | | REQUIRED_PACKAGES += image/library/$(JPEG_IMPLEM) |
| | | REQUIRED_PACKAGES += image/library/libtiff |
| | | REQUIRED_PACKAGES += system/library |
| | |
| | | Little CMS |
| | | Copyright (c) 1998-2011 Marti Maria Saguer |
| | | Copyright (c) 1998-2020 Marti Maria Saguer |
| | | |
| | | 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: |
| | | 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 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. |
| | | 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. |
| | |
| | | file path=usr/bin/transicc |
| | | file path=usr/include/lcms2/lcms2.h |
| | | file path=usr/include/lcms2/lcms2_plugin.h |
| | | link path=usr/lib/$(MACH64)/liblcms2.so target=liblcms2.so.2.0.8 |
| | | link path=usr/lib/$(MACH64)/liblcms2.so.2 target=liblcms2.so.2.0.8 |
| | | file path=usr/lib/$(MACH64)/liblcms2.so.2.0.8 |
| | | link path=usr/lib/$(MACH64)/liblcms2.so target=liblcms2.so.2.0.12 |
| | | link path=usr/lib/$(MACH64)/liblcms2.so.2 target=liblcms2.so.2.0.12 |
| | | file path=usr/lib/$(MACH64)/liblcms2.so.2.0.12 |
| | | file path=usr/lib/$(MACH64)/pkgconfig/lcms2.pc |
| | | link path=usr/lib/liblcms2.so target=liblcms2.so.2.0.8 |
| | | link path=usr/lib/liblcms2.so.2 target=liblcms2.so.2.0.8 |
| | | file path=usr/lib/liblcms2.so.2.0.8 |
| | | link path=usr/lib/liblcms2.so target=liblcms2.so.2.0.12 |
| | | link path=usr/lib/liblcms2.so.2 target=liblcms2.so.2.0.12 |
| | | file path=usr/lib/liblcms2.so.2.0.12 |
| | | file path=usr/lib/pkgconfig/lcms2.pc |
| | | file path=usr/share/man/man1/jpgicc.1 |
| | | file path=usr/share/man/man1/linkicc.1 |
| | | file path=usr/share/man/man1/psicc.1 |
| | | file path=usr/share/man/man1/tificc.1 |
| | | file path=usr/share/man/man1/transicc.1 |
| | |
| | | # |
| | | |
| | | # |
| | | # Copyright 2017 <contributor> |
| | | # Copyright 2020 <contributor> |
| | | # |
| | | |
| | | set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
| | |
| | | file path=usr/bin/transicc |
| | | file path=usr/include/lcms2/lcms2.h |
| | | file path=usr/include/lcms2/lcms2_plugin.h |
| | | link path=usr/lib/$(MACH64)/liblcms2.so target=liblcms2.so.2.0.8 |
| | | link path=usr/lib/$(MACH64)/liblcms2.so.2 target=liblcms2.so.2.0.8 |
| | | file path=usr/lib/$(MACH64)/liblcms2.so.2.0.8 |
| | | link path=usr/lib/$(MACH64)/liblcms2.so target=liblcms2.so.2.0.12 |
| | | link path=usr/lib/$(MACH64)/liblcms2.so.2 target=liblcms2.so.2.0.12 |
| | | file path=usr/lib/$(MACH64)/liblcms2.so.2.0.12 |
| | | file path=usr/lib/$(MACH64)/pkgconfig/lcms2.pc |
| | | link path=usr/lib/liblcms2.so target=liblcms2.so.2.0.8 |
| | | link path=usr/lib/liblcms2.so.2 target=liblcms2.so.2.0.8 |
| | | file path=usr/lib/liblcms2.so.2.0.8 |
| | | link path=usr/lib/liblcms2.so target=liblcms2.so.2.0.12 |
| | | link path=usr/lib/liblcms2.so.2 target=liblcms2.so.2.0.12 |
| | | file path=usr/lib/liblcms2.so.2.0.12 |
| | | file path=usr/lib/pkgconfig/lcms2.pc |
| | | file path=usr/share/man/man1/jpgicc.1 |
| | | file path=usr/share/man/man1/linkicc.1 |
| | | file path=usr/share/man/man1/psicc.1 |
| | | file path=usr/share/man/man1/tificc.1 |
| | | file path=usr/share/man/man1/transicc.1 |
| | |
| | | 15 - Saturation preserving black plane |
| | | |
| | | Checking Base types ...Ok. |
| | | Checking endianess ...Ok. |
| | | Checking endianness ...Ok. |
| | | Checking quick floor ...Ok. |
| | | Checking quick floor word ...Ok. |
| | | Checking Fixed point 15.16 representation ...Ok. |
| | |
| | | Checking Curve 1.8 (word table) ...|Err|<0.990786 .Ok. |
| | | Checking Curve 2.2 (word table) ...|Err|<0.972654 .Ok. |
| | | Checking Curve 3.0 (word table) ...|Err|<0.986603 .Ok. |
| | | Checking Parametric curves ...FAIL! |
| | | Parametric curves: |
| | | (param_5): Must be 0.230000, But is 0.556105 |
| | | Checking Parametric curves ...Ok. |
| | | Checking Join curves ...Ok. |
| | | Checking Join curves descending ...Ok. |
| | | Checking Join curves degenerated ...Ok. |
| | |
| | | Checking ChangeBuffersFormat ...Ok. |
| | | Checking Multilocalized Unicode ...Ok. |
| | | Checking Named color lists ...Ok. |
| | | Checking Create named color profile ...Ok. |
| | | Checking Profile creation .............................................Ok. |
| | | Checking Header version ...Ok. |
| | | Checking Multilocalized profile ...Ok. |
| | |
| | | Checking RGB->Lab->RGB with alpha on FLT ...Ok. |
| | | Checking Parametric curve on Rec709 ...Ok. |
| | | Checking Floating Point sampled curve with non-zero start ...Ok. |
| | | Checking Floating Point segmented curve with short sampled segement ...Ok. |
| | | Checking Floating Point segmented curve with short sampled segment ...Ok. |
| | | Checking Read RAW portions .....Ok. |
| | | Checking Check MetaTag ...Ok. |
| | | Checking Null transform on floats ...Ok. |
| | |
| | | Checking Transform line stride RGB ...Ok. |
| | | Checking Forged MPE profile ...Ok. |
| | | Checking Proofing intersection ...Ok. |
| | | Checking Empty MLUC ...Ok. |
| | | Checking Context memory handling ...Ok. |
| | | Checking Simple context functionality ...Ok. |
| | | Checking Alarm codes context ...Ok. |
| | |
| | | P E R F O R M A N C E T E S T S |
| | | ================================= |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [Memory statistics] |
| | | if [ $(SOURCE_DIR) != .. ]; then \ |
| | | rm -f ../testbed/*.ic?; \ |
| | | fi |
| | | /usr/gnu/bin/make check-local |
| | | make[2]: Nothing to be done for 'check-am'. |
| | |
| | | /usr/gnu/bin/make testcms |
| | | depbase=`echo testcms2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ |
| | | mv -f $depbase.Tpo $depbase.Po |
| | | $(SOURCE_DIR)/testbed/testcms2.c: In function ‘DbgThread’: |
| | | $(SOURCE_DIR)/testbed/testcms2.c:104:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] |
| | | return (cmsContext) (void*)(n++ % 0xff0); |
| | | ^ |
| | | depbase=`echo testplugin.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ |
| | | mv -f $depbase.Tpo $depbase.Po |
| | | depbase=`echo zoo_icc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ |
| | |
| | | 15 - Saturation preserving black plane |
| | | |
| | | Checking Base types ...Ok. |
| | | Checking endianess ...Ok. |
| | | Checking endianness ...Ok. |
| | | Checking quick floor ...Ok. |
| | | Checking quick floor word ...Ok. |
| | | Checking Fixed point 15.16 representation ...Ok. |
| | |
| | | Checking ChangeBuffersFormat ...Ok. |
| | | Checking Multilocalized Unicode ...Ok. |
| | | Checking Named color lists ...Ok. |
| | | Checking Create named color profile ...Ok. |
| | | Checking Profile creation .............................................Ok. |
| | | Checking Header version ...Ok. |
| | | Checking Multilocalized profile ...Ok. |
| | |
| | | Checking RGB->Lab->RGB with alpha on FLT ...Ok. |
| | | Checking Parametric curve on Rec709 ...Ok. |
| | | Checking Floating Point sampled curve with non-zero start ...Ok. |
| | | Checking Floating Point segmented curve with short sampled segement ...Ok. |
| | | Checking Floating Point segmented curve with short sampled segment ...Ok. |
| | | Checking Read RAW portions .....Ok. |
| | | Checking Check MetaTag ...Ok. |
| | | Checking Null transform on floats ...Ok. |
| | |
| | | Checking Transform line stride RGB ...Ok. |
| | | Checking Forged MPE profile ...Ok. |
| | | Checking Proofing intersection ...Ok. |
| | | Checking Empty MLUC ...Ok. |
| | | Checking Context memory handling ...Ok. |
| | | Checking Simple context functionality ...Ok. |
| | | Checking Alarm codes context ...Ok. |
| | |
| | | P E R F O R M A N C E T E S T S |
| | | ================================= |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [Memory statistics] |
| | | if [ $(SOURCE_DIR) != .. ]; then \ |
| | | rm -f ../testbed/*.ic?; \ |
| | | fi |
| | | /usr/gnu/bin/make check-local |
| | | make[2]: Nothing to be done for 'check-am'. |