head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.10 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.8 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.6 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.4 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.2 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.1.0.10 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.8 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.6 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.4 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.2 pkgsrc-2023Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2025.03.10.15.38.12; author jakllsch; state Exp; branches; next 1.1; commitid zAmOCjk3t8wJgxMF; 1.1 date 2023.11.17.17.37.48; author jakllsch; state Exp; branches; next ; commitid WnoHHWUUIKHakZME; desc @@ 1.2 log @Update argyllcms to 3.3.0 pkgsrc changes: fix build on Linux upstream changes: [V3.2.0 -> V3.3.0] 27th September 2024 Improved reliability of i1Pro2 startup by adding recovery delay after the getmisc instruction. Fixed i1pro2/3 driver to be more forgiving of wavelength calibration pushing filter offsets outside the range of raw CCD range. Fixed numerical bug in targen when using -V and -c with profile with zero black. Added support for Spyder X2 (thanks to Chris Minasians and A.K. for helping make an instrument available). Added support for JETI 2501 spectrometer thanks to to Omardis. Added -T option to targen to allow separate total ink limit for text and spacer text. Modified targen CMYK chart generation to apply a level of luminance boost to the resulting OFPS samples. This partially compensates for the overall darkening of the test set due to exploring the combined K response of the device. While this will reduce the sampling density and resulting profile accuracy in darker parts of the gamut, it should improve the accuracy of colors for realistic prints, which typically have a lighter average than the device CMYK gamut. Added extra diagnostics and -p plot detail to printcal. Added -z flag to allow setting a resulting calibration table resolution to values other than 256. Fix 3.2.0 bug introduced into spectro/Jamfile install that omitted spec2cie from binary distributions. [V3.1.0 -> V3.2.0] 17th April 2024 Added extra diagnostics to printcal. Added colprof -nI option, that adds inverse gamut mapping to Perceptual and Saturation A2B tables, if they are being created. This is not recommended for source profiles, since it handicaps true gamut mapping, but may be a workaround to faulty Adobe Lightroom BPC for Perceptual intent in output profiles. Added error message for ColorMunki spectro sensor internal cable being disconnected. Fixed bug in Appearance B2A conversion that appeared in V3.0 release. Fixed crash in chartread strip reading when given faulty .ti2 file. Tweaked i1d3 Rev B AIO adaptive integration time to reduce measure time to be more comparable to just using Rev A commands. Re-worked ARGYLL_NOT_INTERACTIVE stdin to work much better on MSWin when connected to a pipe. Removed code that empties stdin before expecting use input when ARGYLL_NOT_INTERACTIVE. Fixed OS X dispwin -c etc. Fixed colprof IGNORE_DISP_ZEROS heuristic so that it doesn't reject OLED red measurements that have a Z value of 0.0. Added -H option to colprof to allow setting the charTargetTag to given string, rather than automatically filling with .ti3 data. Changed instrument monitoring thread debug messages to only be shown on -D9, so they don't interfere with messages shown at -D8. [V3.0.2 -> V3.1.0] 1st December 2023 Added MSWindows USB uninstaller and libwdi based installer installer to make use on MSWindows easier. Added UbsDk MSWindows usb driver support code, but it is currently disabled because the release versions of UsbDk have limited usefulness as a general USB driver. Fixed bug in CMYK profile B2A table creation that sometimes resulted in bumpy black generation. (Only occurred when compiled using recent gcc with code optimization.) Changed ICC profile serialization of pure ASCII text tags to emit a warning rather than error if they are fed non-ASCII utf8 input. Made ICC code a little more robust against bad profiles. (Thanks to David Hoyt). Fixed latent bug in X11 plot code that caused window not to be created or updated when dowait == 0. This shows up on Linux as failure of spotread -S to show spectral plot. Fixed problem with colorhug not noticing errors from the instrument. Updated scanin/it8Wolf.cht to improve accuracy of grey wedge patch recognition. Merged some Debian patches, including spelling fixes. @ text @$NetBSD: patch-Jamtop,v 1.1 2023/11/17 17:37:48 jakllsch Exp $ Search and use pkgsrc ${X11BASE} and ${PREFIX} paths. Recognize pkgsrc libpng16.so (somewhat haphazardly). Recognize NetBSD. --- Jamtop.orig 2024-09-24 22:29:00.000000000 +0000 +++ Jamtop @@@@ -86,7 +86,11 @@@@ if $(UNIX) { # Hmm. Would be nice to use pkg-config here, if system has it. } else { - if [ GLOB /usr/X11R6/include/X11 : X.h ] { + if [ GLOB $(X11BASE)/include/X11 : X.h ] { + LibWinH = $(X11BASE)/include ; + } else if [ GLOB $(PREFIX)/include/X11 : X.h ] { + LibWinH = $(PREFIX)/include ; + } else if [ GLOB /usr/X11R6/include/X11 : X.h ] { LibWinH = /usr/X11R6/include ; } else if [ GLOB /usr/include/X11 : X.h ] { LibWinH = /usr/include ; @@@@ -97,7 +101,11 @@@@ if $(UNIX) { } if $(HOST64) { - if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] { + if [ GLOB $(X11BASE)/lib : libX11.so libX11.a ] { + LibWinD = $(X11BASE)/lib ; + } else if [ GLOB $(PREFIX)/lib : libX11.so libX11.a ] { + LibWinD = $(PREFIX)/lib ; + } else if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] { LibWinD = /usr/X11R6/lib ; } else if [ GLOB /usr/lib/x86_64-linux-gnu : libX11.so libX11.a ] { LibWinD = /usr/lib/x86_64-linux-gnu ; @@@@ -111,7 +119,11 @@@@ if $(UNIX) { ECHO Unable to locate the 64 bit X11 library files ; } } else { - if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] { + if [ GLOB $(X11BASE)/lib : libX11.so libX11.a ] { + LibWinD = $(X11BASE)/lib ; + } else if [ GLOB $(PREFIX)/lib : libX11.so libX11.a ] { + LibWinD = $(PREFIX)/lib ; + } else if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] { LibWinD = /usr/X11R6/lib ; } else if [ GLOB /usr/lib/i386-linux-gnu : libX11.so libX11.a ] { LibWinD = /usr/lib/i386-linux-gnu ; @@@@ -126,6 +138,9 @@@@ if $(UNIX) { if $(OS) = FREEBSD { LINKFLAGS += -g -lrt -lusb ; GUILINKFLAGS += -L$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss ; + } else if $(OS) = NETBSD { + LINKFLAGS += -L$(PREFIX)/lib ${COMPILER_RPATH_FLAG}$(PREFIX)/lib -g -lrt -lusbhid ; + GUILINKFLAGS += -L$(LibWinD) ${COMPILER_RPATH_FLAG}$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss ; } else if $(OS) = OPENBSD { LINKFLAGS += ; GUILINKFLAGS += -L$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -L/usr/local/lib ; @@@@ -156,7 +171,8 @@@@ rule CheckForLibrary { } if ! $(BUILTIN_$(UCASE)) && $(UNIX) { - if [ GLOB /usr/include$(subd) : $(lcase).h $(lcase)lib.h ] + if [ GLOB $(PREFIX)/include$(subd) : $(lcase).h $(lcase)lib.h ] + || [ GLOB /usr/include$(subd) : $(lcase).h $(lcase)lib.h ] || [ GLOB /usr/local/include$(subd) : $(lcase).h $(lcase)lib.h ] || [ GLOB /usr/include/x86_64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] || [ GLOB /usr/include/i386-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] @@@@ -183,7 +199,9 @@@@ rule CheckForLibrary { || [ GLOB /usr/include/sparc-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] || [ GLOB /usr/include/sparc64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] || [ GLOB /usr/include/x86_64-linux-gnux32$(subd) : $(lcase).h $(lcase)lib.h ] { - if [ GLOB /usr/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ] + if [ GLOB $(PREFIX)/lib : lib$(lcase).so ] || [ GLOB $(PREFIX)/lib : lib$(lcase).a ] + || [ GLOB $(PREFIX)/lib : lib$(lcase)16.so ] || [ GLOB $(PREFIX)/lib : lib$(lcase)16.a ] + || [ GLOB /usr/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ] || [ GLOB /usr/local/lib : lib$(lcase).so ] || [ GLOB /usr/local/lib : lib$(lcase).a ] || [ GLOB /usr/lib64 : lib$(lcase).so ] @ 1.1 log @Add ArgyllCMS 3.0.2 ArgyllCMS is an ICC compatible color management system, available as Open Source. It supports accurate ICC profile creation for scanners, cameras and film recorders, and calibration and profiling of displays and RGB & CMYK printers. Device Link can be created with a wide variety of advanced options, including specialized Video calibration standards and 3dLuts. @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 1 --- Jamtop.orig 2023-10-23 00:55:56.000000000 +0000 d9 1 a9 1 @@@@ -83,7 +83,11 @@@@ if $(UNIX) { d22 1 a22 1 @@@@ -94,7 +98,11 @@@@ if $(UNIX) { d35 1 a35 1 @@@@ -108,7 +116,11 @@@@ if $(UNIX) { d48 1 a48 1 @@@@ -123,6 +135,9 @@@@ if $(UNIX) { d58 1 a58 1 @@@@ -153,11 +168,14 @@@@ rule CheckForLibrary { d62 2 a63 2 - if [ GLOB /usr/include$(subd) : $(lcase).h $(lcase)lib.h ] + if [ GLOB $(PREFIX)/include$(subd) : $(lcase).h $(lcase)lib.h ] d65 1 a65 1 || [ GLOB /usr/local/include$(subd) : $(lcase).h $(lcase)lib.h ] d67 12 a78 8 || [ GLOB /usr/include/i386-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ] { - if [ GLOB /usr/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ] + if [ GLOB $(PREFIX)/lib : lib$(lcase).so ] || [ GLOB $(PREFIX)/lib : lib$(lcase).a ] + || [ GLOB $(PREFIX)/lib : lib$(lcase)16.so ] || [ GLOB $(PREFIX)/lib : lib$(lcase)16.a ] + || [ GLOB /usr/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ] || [ GLOB /usr/local/lib : lib$(lcase).so ] || [ GLOB /usr/local/lib : lib$(lcase).a ] || [ GLOB /usr/lib64 : lib$(lcase).so ] || [ GLOB /usr/lib64 : lib$(lcase).a ] || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).so ] @