Sync from SUSE:ALP:Source:Standard:1.0 argyllcms revision 488e057169b86a2cb4a0e5bea1b6e732

This commit is contained in:
Adrian Schröter 2023-12-22 10:20:16 +01:00
commit c5c7d56031
8 changed files with 1059 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

92
19-color.fdi Normal file
View File

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<!-- This file normally lives at "/usr/share/hal/fdi/policy/10osvendor/19-color.fdi" -->
<!-- Color meter devices known to Argyll CMS
FDI creation: Nicolas Mailhot <nicolas.mailhot at laposte.net>
with input from David Zeuthen and Frdric Crozat,
maintained by Graeme Gill.
-->
<device>
<!-- Serial Connected Color Instruments -->
<match key="serial.device" exists="true">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
<!-- HCFR association -->
<match key="usb_device.vendor_id" int="0x04DB">
<!-- Display colorimeter -->
<match key="usb_device.product_id" int="0x005B">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
</match>
<!-- MonacoOPTIX -->
<match key="usb_device.vendor_id" int="0x0670">
<!-- Eye-One Display 1 - display colorimeter -->
<match key="usb_device.product_id" int="0x0001">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
</match>
<!-- X-Rite -->
<match key="usb_device.vendor_id" int="0x0765">
<!-- DTP20 "Pulse" - "swipe" type reflective spectrometer, that can be used un-tethered. -->
<match key="usb_device.product_id" int="0xd020">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
<!-- DTP92Q - CRT display colorimeter. (Not tested) -->
<match key="usb_device.product_id" int="0xd092">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
<!-- DTP94 "Optix XR" or "Optix XR2" - display colorimeter -->
<match key="usb_device.product_id" int="0xd094">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
</match>
<!-- ColorVision -->
<match key="usb_device.vendor_id" int="0x085C">
<!-- Spyder 2 - display colorimeter -->
<match key="usb_device.product_id" int="0x0200">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
</match>
<!-- Gretag-Macbeth -->
<match key="usb_device.vendor_id" int="0x0971">
<!-- Eye-One Monitor - spot emissive spectrometer -->
<match key="usb_device.product_id" int="0x2001">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
<!-- Eye-One Pro - spot and "swipe" reflective/emissive spectrometer -->
<match key="usb_device.product_id" int="0x2000">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
<!-- Eye-One Display - display colorimeter -->
<match key="usb_device.product_id" int="0x2003">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
<!-- Huey - display colorimeter -->
<match key="usb_device.product_id" int="0x2005">
<append key="info.capabilities" type="strlist">access_control</append>
<merge key="access_control.type" type="string">color</merge>
<merge key="access_control.file" type="copy_property">linux.device_file</merge>
</match>
</match>
</device>
</deviceinfo>

BIN
Argyll_V3.0.2_src.zip (Stored with Git LFS) Normal file

Binary file not shown.

BIN
ajam-2.5.2-1.3.3.tgz (Stored with Git LFS) Normal file

Binary file not shown.

42
ajam-include.patch Normal file
View File

@ -0,0 +1,42 @@
diff -up ajam-2.5.2-1.3.3/execunix.c.include ajam-2.5.2-1.3.3/execunix.c
--- ajam-2.5.2-1.3.3/execunix.c.include 2012-06-22 17:53:16.769405802 +0200
+++ ajam-2.5.2-1.3.3/execunix.c 2012-06-22 17:59:09.697662990 +0200
@@ -42,6 +42,10 @@
# include "lists.h"
# include "execcmd.h"
# include <errno.h>
+# include <unistd.h>
+# include <sys/types.h>
+# include <sys/wait.h>
+
# ifdef USE_EXECUNIX
diff -up ajam-2.5.2-1.3.3/fileunix.c.include ajam-2.5.2-1.3.3/fileunix.c
--- ajam-2.5.2-1.3.3/fileunix.c.include 2012-06-22 17:53:56.998694847 +0200
+++ ajam-2.5.2-1.3.3/fileunix.c 2012-06-22 17:54:41.828845967 +0200
@@ -51,12 +51,12 @@
# include <sys/stat.h>
# endif
+# include <unistd.h>
# if defined( OS_RHAPSODY ) || \
defined( OS_MACOSX ) || \
defined( OS_NEXT )
/* need unistd for rhapsody's proper lseek */
# include <sys/dir.h>
-# include <unistd.h>
# define STRUCT_DIRENT struct direct
# else
# include <dirent.h>
diff -up ajam-2.5.2-1.3.3/make1.c.include ajam-2.5.2-1.3.3/make1.c
--- ajam-2.5.2-1.3.3/make1.c.include 2012-06-22 17:59:36.178959199 +0200
+++ ajam-2.5.2-1.3.3/make1.c 2012-06-22 18:00:04.299195472 +0200
@@ -50,6 +50,7 @@
*/
# include "jam.h"
+# include <unistd.h>
# include "lists.h"
# include "parse.h"

741
argyllcms.changes Normal file
View File

@ -0,0 +1,741 @@
-------------------------------------------------------------------
Thu Nov 9 08:40:01 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.0.2:
* Fix #include <ctype.h> in spectro/conv.c
* Fix typo introduced into spectro/i1d3.c that prevents
retail i1d3 from working.
* Fixed accuracy problem with xicclu -fb when using cLut type
profiles that use a matrix in their B2A table.
* Fixed crash in xicclu with device link profiles.
* Fixed error when creating profiles with
ARGYLL_CREATE_DISPLAY_PROFILE_WITH_CHAD or
ARGYLL_CREATE_OUTPUT_PROFILE_WITH_CHAD.
* Make re-writing an ICC profile more forgiving of
tags that are incorrect for the profile version.
* Fixed problem with writing textDescriptionType
ScriptCode that was not being padded to 67 characters.
* Fixed bug in CGATS output. This showed up in oeminst.
-------------------------------------------------------------------
Fri Sep 22 19:22:42 UTC 2023 - Antonio Teixeira <antonio.teixeira@suse.com>
- Update to 3.0.0:
* Updated ccast/axTLS to get ChromCast working again with latest Google CC
operating software.
* Extensive re-write/re-factor of icclib to make it more future-proof.
See https://www.argyllcms.com/doc/ChangesSummary.html for details.
* Added ref/ColorCheckerPassport.ti2 and ref/ColorCheckerHalfPassport.ti2
to allow measuring ColorCheckerPassport with instrument.
* Fixed bug in Munki spectro hi-res mode with some instruments. Luminance
matching between normal and hi-res was sometimes quite poor.
* Added ARGYLL_CREATE_DISPLAY_PROFILE_WITHOUT_CHAD environment variable.
* Changed colprof -U flag to -u. Changed dispcal -J flag to -K to accommodate
a potential new flag for colprof and dispcal.
* Added workaround for bug in madHcNet64.dll32/64.dll which sometimes causes
failure.
* Added delay after USB set_config on OS X to help Spyder 3/4 on Ventura OS.
* Added -Y parameter to dispwin to override automatic patch delay.
* Changed i1d3 driver to cope with Rev. B "0x83" error robustly. This should
fix any issues measuring low level Red only patch values on OLED displays,
but with slower measurements when this occurs.
* Added spotread -Y S option to save spectral sensitivity curves and added
corresponding support in i1d3 driver. This allows for comparison of different
instruments factory calibrations.
* Added a -h scale parameter to dispread, to allow the automatic instrument
calibration test patch values to be scaled down from their default 100%
value. This is useful with HDR displays.
* Added manifest to MSWindows executables to use UTF-8 code pages on Windows
1903 and later. This should improve non-ASCII filename and path handling.
* Added a Violet colorant to the targen colorant list.
* Fixed problem with OS X 64 bit backwards compatibility where it failed to
locate serial instruments when the binaries are run on OS X V12 or latter
machines.
* Fixed bug in i1Pro3 driver where it was not returning the correct
measurement conditions enum.
* Fixed spotread so that ambient measure for monochrome sources doesn't error
out due to bad CCT/VCT/VDT. Also change -T so that it suppresses CCT etc. if
ambient mode is used.
* Added hacky workaround to strange Mac M2/rosetta bug in del_i1proimp().
- Make the argyllcms-doc package noarch.
-------------------------------------------------------------------
Wed Dec 7 11:31:17 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not set everything inside doc/ mode 644; otherwise the
directories are set 644 as well, which means no files inside are
accessible. This resulted in the past in doc/ actually not being
added to the devel package.
-------------------------------------------------------------------
Wed Aug 17 21:24:47 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.3.1:
* Added value sanity check & warning to chartread patch by patch mode.
* Fixed crash on 64 bit MSWin in spectro/aglob due to changing SDK
declarations for _findfirst().
* Fixed one remaining problem with not coping with "Colour" spelling rather
than "Color" in cxf2ti3.
* Add code in cgats write to check for float format problems when faced with
-inf or +inf value.
* Fix i1Pro3 highres in ccxxmake, dispcal & dispread.
* Changed OS X usb reset to re-enumerate instead, as reset does nothing on OS
X >= 10.8.
* Added spectro/instlib.api.txt file to public distribution.
* Fixed possible crashes in xicc/ccss.c and spectro/oeminst.c
-------------------------------------------------------------------
Wed Jan 26 13:23:17 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
- Update to version 2.3.0:
* Fixed spotread -YL (i1Pro1/2 lamp remediation) to function even
if calibration is impossible due to the white reference being out of tolerance.
* Fix SpyderX faulty initial black calibration
* Added icomuf_reset_before_close flag for SpyderX, as some versions
of the instrument have been reported to lock up after use.
* Modified the ArgyllCMS CIECAM02 implementation to include a blue
hue linearization tweak, to improve the "blue goes purple" effect
when gamut mapping or clipping highly saturated blues to smaller gamuts.
* Added spotread -Y y option that forces the listing of instrument
specific display calibrations in the usage, even for serial instruments.
* Removed native i1d3 C6 instrument support as a favor to X-Rite.
* Improved cxf2ti3 so that it should cope with XML that uses "Colour"
spelling rather than "Color".
* Added I1D3_ESCAPE environment variable to allow a user to potentialy
use any current or future OEM coded i1d3 instrument.
-------------------------------------------------------------------
Tue Sep 7 19:33:45 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Update to version 2.2.0:
* Added native i1Pro3 and i1Pro3 Plus driver.
* Fix bug in applycal.c where it gets an "Error - Write file: 1,
icmTextDescription_write: ascii string is shorter" error on
replacing one calibration with another.
* Improved i1pro & Munki patch recognition to work much more
reliably with a slow swipe speed.
* Fixed oeminst to work with spyder V5.5. setup.exe
* Fixed bug in oemdld that prevented HTML encoded characters in
download file decoding properly, which prevented certain
filenames from working.
* Fixed bug in ccxxmake -S -f where save error wasn't being fully
reported, and display technology presence check was faulty.
* Fixed typo in display technology, VPA -> PVA.
* Made Klein K10A "Lights Off" command timeout a soft error. For
some reason this command doesn't seem to be implemented on some
K10A's.
* Added CIE dE2000 to spotread output.
* Fixed accidental global "wrl" in gamut/gamut.h that cases
compile warnings.
* For more see http://www.argyllcms.com/doc/ChangesSummary.html
- Drop argyllcms--gcc--fno-common.patch (upstreamed with exception
of static declaration of struct huft, which is not required).
-------------------------------------------------------------------
Tue Mar 10 02:08:52 UTC 2020 - Stanislav Brabec <sbrabec@suse.com>
- Fix argyllcms--gcc--fno-common.patch according to the upstream
(bsc#1160256#c5).
-------------------------------------------------------------------
Thu Mar 5 02:49:25 CET 2020 - sbrabec@suse.com
- Update to version 2.1.2:
* Added -d option to spotread to print out Density values.
* Many i1Pro2 fixes.
* Changed targen round down/up to 0%/100% to have a tighter
tollerance of 0.5% rather than 2%, so that -n values of
L* 1 and 99 are not rounded.
* Fix bug in xicclu -v2 option when operating on a .cal file.
* Added -M option to ccxxmake.
* Added -Yk flag to spectro/dispread.
* Fixed bug in xicc/xmatrix.c when creating input profile from
XYZ input data.
* Modified txt2ti3 to cope with files that don't have
SampleName/SampleID fields.
* Added instrument ambient mode (-a flag) to dispcal, dispread
and ccxxmake.
* Fixed latent data sensitivity problem with i1Pro and Munki
Spectro high res-mode.
* Added spotread -rw option.
* Added check in dispwin for sanity of calibration curves.
* Added spectral support to namedc/cxf parser.
* Fixed profile/txt2ti3.c to properly handle i1profiler
SPECTRAL_NMXXX format.
* Changed dispcal ADJ_THRESH mode MIN_THRESH value to 0.25 from
0.05.
- Fix build with with -fno-common, which is the default in gcc-10
(bsc#1160256, argyllcms--gcc--fno-common.patch).
-------------------------------------------------------------------
Sun Jan 5 02:53:35 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Use pkgconfig(libpng) BuildRequires, the build system looks for
the unversioned libpng.so and falls back to its bundled version.
- Remove bundled zlib source, otherwise it is built even when the
system zlib is found. This triggers a fatal rpm check failure on
Leap 15.x due to compiler warnings.
- Also remove bundled png/tiff/axTLS sources.
- Remove pkgconfig(mxml) dependency, ArgyllCMS bundles a patched one.
-------------------------------------------------------------------
Wed Dec 4 17:06:10 UTC 2019 - Richard Brown <rbrown@suse.com>
- Update to v2.1.1
* Added SpyderX support
* Changed spotread -E option to work with all the spectral instruments
* Improvements and bug fixes to oeminst and oemdnld
* Increased maximum render channels to 16
* Added -O option to collink to allow creating a link purely from calibration file
* Added -w parameter to spotread, to use the -i parameter illuminant for L*a*b* calculation
- Remove obsolete patch argyllcms-decl.patch
-------------------------------------------------------------------
Wed Apr 24 09:16:27 UTC 2019 - Martin Liška <mliska@suse.cz>
- Disable LTO (boo#1133108).
-------------------------------------------------------------------
Thu Mar 21 11:30:20 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Modernize old $RPM_* shell variables and tar options.
- Avoid bash-specific pathname expansion syntax in %install.
-------------------------------------------------------------------
Mon Dec 11 15:46:05 UTC 2017 - crrodriguez@opensuse.org
- replace xorg-x11-devel by the needed individual libraries.
-------------------------------------------------------------------
Tue Mar 14 15:44:45 UTC 2017 - guoyunhebrave@gmail.com
- Update to version 1.9.2 and update patches
* Added CMYKOGB and CMYKRGB 7 channel ink preset, and made targen
more flexible in matching pre-conditioning profiles to targen ink
selection.
* Fix oeminst for OS X save location.
* Fix oeminst for OS X Spyder 4 CD calibration file location.
* Improved robustness of ChromeCast discovery, and added some minimal
diagnostics.
* Improved robustness of targen ofps patch generation when using less
well behaved pre-conditioning profiles.
* Fixed oeminst so that it locates cdrom's in Linuxes latest mount
point of /run/media/$USER/.
* Fixed bug in i1pro2 driver, in which strip calibration would fail
if instrument had been first calibrated with ARGYLL_DISABLE_I1PRO2_DRIVER
set, and then calibrated with ARGYLL_DISABLE_I1PRO2_DRIVER unset.
* Added option to icclib to write Output profiles using 'chad' tag if
the ARGYLL_CREATE_DISPLAY_PROFILE_WITH_CHAD environment variable is
set. This is not recommended for normal use, but may assist
compatibility with other systems.
* Added JETI spectraval support, including Bluetooth access.
* Added support for the Klein K10 connecting via a serial port.
* Fixed bug in Colormunki Smile driver that causes crash on Ubuntu
16.04.1 LTS.
* Modified "lp" intent to greatly reduce eliminate Helmholtz-Kohlrausch
appearance modelling.
* Fixed problem with targen -g, in that the corresponding XYZ values
had double the power applied, rather than none. This was causing
problems with printtarg spacer colors.
* Extensive re-write of colorimetric nearest clipping code in rspl/rev.c
to restore precision that was lost in the speedups made in V1.0.0. The
nnrev setup now takes a lot longer with high resolution CMYK profiles
though. This corrects a "green becoming too yellow" problem for mapping
from ProPhoto space with some RGB devices.
* Change dispwin to properly set X11 DirectColor and take account of
TrueColor Colormap. This fixes problem with NVidia linux driver 364.12
exposing a VideoLUT depth that is different from the frame buffer depth.
* Change icclib to automatically repair icmTextDescription strings that
have an allocation that is longer than their size.
* Added i1Pro Lamp Drift test and fix functions to spotread (-Y l|L options).
* Change colprof so that -s -S will accept general compression percentage
as an alternative to a source colorspace/image gamut.
* Added optional conversion from native Gretag-MacBeth & X-Rite reflective
calibration standards to/from XRGA.
* Changed OS X GUI support code so as not to switch to "interact with the
Dock" mode until actual GUI element is to be displayed. This prevents
batch commands with optional GUI elements from blocking normal GUI
interactions.
* Re-jigged OS X UI code to use the main thread to avoid window
creation timing issues and a warning backtrace on OS X 10.11.
* Added CMP_Digital_Target-7.cht
* Fix spec2cie to cope with .ti3 files that are missing device values,
so that it can process a wider range of input CIE reference files.
* Changed implementation of ARGYLL_NOT_INTERACTIVE on MSWin to make
it more reliable when operated progromatically.
* Fixed chartread so that if you are reading patch by patch, the
location strings can be arbitrary (i.e. they don't have to conform
to an alpha/num strip/patch pattern.)
* Added support for Sencore ColorPro V, IV & III colorimeters
(based on Sequel Chroma colorimeter.).
- Drop argyllcms-udev151.patch
- Drop argyllcms-1.4.0-warnings.patch
-------------------------------------------------------------------
Wed Apr 13 09:40:00 UTC 2016 - lnussel@suse.de
- BuildRequire systemd-rpm-macros which defines _udevrulesdir for us
-------------------------------------------------------------------
Tue Nov 24 20:16:44 UTC 2015 - p.drouand@gmail.com
- Update to version 1.8.3
* Added SpyderCheckr24 scaning .cht and .cie files.
* Fixed USB problem with i1pro (Rev B & D ?), where communications
would occasionally break down on fast systems.
* Added another fixed display intergration time to i1pro non-adaptive
emission mode to cope with higher brightness displays.
* Added workaround for i1d3 Rev. B status code 0x83 on very low
light measurement
* Fixed minor bug in i1d3.c that truncated serial number string.
* Fixed bug in Klein K10 driver - adaptive measurement wasn't properly
using all the extra measurements.
* Improved Klein K10 driver to be more robust when lights off command
returns bogus error codes, or causes a cascade of bogus measurement
errors.
* Added workaround for OS X 10.9+ "App Nap" problem.
* Added maximum sensor frequency check for Spyder & i1d3 drivers,
so that erronious readings due to excessive brightness can't be missed.
* Changed chartread so that it doesn't warn of a possible wrong strip
being read, nor allows bi-directional strip reading, if "printtarg -r"
was used. A warning will be issued if "printtarg -r" was used, and
"chartread -B" wasn't used.
* Fixed collink for eeColor Full range RGB to use output curve
("second" 1D curves) to compensate for cLUT being wired for 1.0
output from 1.0 input.
* Added "lp" gamut mapping intent :- Luminance Preserving Perceptual,
for Photographers concerned with maintaining tonal variations.
* Fixed bugs in image specific gamut mapping that were degrading
the accuracy of the result.
* Re-wrote gamut smoothing code, and re-tuned it to behave similarly
to the V1.8.2 release.
* Changed default viewing condition glare to 5%, to smooth out shadow tone curve.
* Reduced the level of Helmholtz-Kohlrausch effect in CIECAM02
implementation in the light of visual experiments.
- Changes from version 1.8.2
* Fixed endless loop bug in alternate calibration selectors code.
- Changes from version 1.8.1
* Fixed bug in "spec2cie -n" wrong field indexes were being used.
* Fixed colorimeter calibration selectors to add in alternate
selectors if the letters are free.
- Changes from version 1.8.0
* Added support for the Image Engineering EX1 spectroradiometer.
* Added support for the SwatchMate Cube reflective colorimeter,
with improved accuracy.
* Added Added Television Lighting Consistency Index (EBU TLCI-2012 Qa)
to spotread and specplot output.
* Added R9 value to CRI value in spotread and specplot output.
* Added workaround for JETI specbos having been calibrated by
a 3rd party, and its calibrated range being out of sync with
its claimed range.
* Added support for "EMISINPUT" type .ti3 file.
* Build using OpenSSL rather than axTLS if it is built on Linux.
* Fixed stack space problem in OS X UI programs by expanding main
thread proxy to have 8MB instead of the default 512K.
* Updated built in libtiff to V4.0.4beta.
* Changed CGATS format to not emit unknown keyword declaration ("KEYWORD")
by default.
* Added inst_calc_cond_mask to inst.h to allow for flags in calibration
conditions. A consequence of this is that calc needs to be masked with
this when comparing against a specific condition, and the inst_calc_optional_flag
should be cleared if it is set, before callint inst->calibrate() if the
user wants to proceed with a particular calibration.
* Fixed bug with dispcal -e N
* Fixed bug in xicclu -fg and -kp
* Added dispcal -x x option to allow reading a chart and manually entering
the XYZ values.
* Fix spyder4 & 5 bug where some display types were set as refresh
when they shouldn't be.
* Fix collink "Warning :- RGB black hack trigger more than once!"
when -b is used with input video encoding (-e).
* Changed colprof so that the default ICC description is the base
filename rather than the whole file path.
* Fix technology type and display type selector "uniqueification"
bug that shows up in "ccxxmake -??".
* Add OEM field to ccmx and ccss files to mark files that have
been installed from OEM disk, so that custom ccmx & ccss files
can be given suggested selector letter priority (+ ref/CRT.ccss).
* Tweak CGATS write format to avoid scientific notation until the
numbers are bigger and smaller (i.e until e6 and e-6 are needed).
- Changes from version 1.7.0
* Improved gamut mapping to reduce unnecessary changes to less
saturated colors such as skin tones.
* Add support for DataColor Spyder 5.
* Add support for ColorHug2 colorimeter.
* Add support for Klein K10-A colorimeter.
* Added Google ChromeCast as a test patch generator for Video displays.
* Added ls2ti3 tool to convert LightSpace .bcs files to .ti3.
* Added IRIDAS .cube 3DLut format support to collink.
* Add X3D and X3DOM support as an alternative to VRML, and make X3DOM
the default.
* Add better cross compatibility with non-Argyll ICC profiles using
ArgyllCMS 'arts' tag to mark 'wtpt' Absolute Colorimetric chromaticity
transform, as well as implement proper absolute colorimetric intent
for Display profiles use the 'chad' tag. Note that the standard
ICC profiles provided by ArgyllCMS in the ref directory (such as sRGB etc.)
now include an 'arts' tag.
* Ignore any patches that have zero values for creating Display profiles,
unless they are for device zero.
* Fix various instrument communications problems for JETI specbos,
DTP20, DTP92 & DTP94.
* Fix gestaltSystemVersion warning on OS X 10.10.
* Fix very major bug in illumread. It wasn't actually working at all
since V1.4.0.
* Added collink -I[gG][:p.p]:x.x options that allows an output offset
gamma curve be targetted instead of BT1886.
* Added dispcal and collink -b black point hack. This forces the input
zero to map to the output zero for well behaved displays, reducing
dependence on the instrument accuracy for a very dark black point.
* Added preset list of display techologies to select from in ccxxmake.
* Added a -P prune option to profcheck, that creates a .ti3 file pruned
of any patches that have a delta E fit error greater than a threshold.
This may be of use in eliminating bad reading values from a measurement set.
* Added histogram plot option -h to both profcheck and verify.
* Added a dispread & fakeread -Z option to set the number of bits to
quantize the test values to.
* Fixed bug in targen - the -V dark emphasis wasn't being applied to OFPS
generated points.
* Make sure that if an instrument display reading is interrupted by a
forced calibration, that the user is asked to place it back on the
display before resuming the measurements.
- Remove obsolete patches
* argyllcms-udev-builtin.patch
* argyllcms-udev-hwdb.patch
- Some specfile cleanups and improvements
- Update argyllcms-udev151.patch
-------------------------------------------------------------------
Tue Feb 24 15:00:24 UTC 2015 - rguenther@suse.com
- Use -std=gnu89 for building to not run into broken __declspec
uses with the GCC 5 default of -std=gnu99.
-------------------------------------------------------------------
Mon Feb 23 13:55:20 UTC 2015 - meissner@suse.com
- allow building with udev-mini by using pkgconfig(udev)
-------------------------------------------------------------------
Mon Feb 23 13:48:38 UTC 2015 - meissner@suse.com
- do not rpm -q udev
-------------------------------------------------------------------
Wed Feb 4 10:23:32 UTC 2015 - fcrozat@suse.com
- Add argyllcms.changes to Source, used to compute timestamp
- Use a stable timestamp for generated files (boo#916158), ensuring
build is reproducible.
-------------------------------------------------------------------
Mon Jan 26 09:46:09 UTC 2015 - fcrozat@suse.com
- Move reference files to /usr/share/argyll/ref, expected path from
gnome-color-manager (bsc#914679).
-------------------------------------------------------------------
Fri Jan 31 14:35:20 UTC 2014 - fcrozat@suse.com
- Release 1.6.3:
+ Added ProPhoto.icm and ProPhotoLin.icm to ref profiles.
+ Fix bug in xicclu -py conversion.
+ Added code to minimize ICC rounding error on matrix profile
white point accuracy. Re-generated all reference profiles with
this change.
+ Changed i1d3 driver to completely ignore any EEPROM checksum
errors for non "A-01" rev. instruments.
+ Made transplot handle RGB->RGB device link.
+ Removed colprof -y option. Use "profcheck -v2" instead, as it
is more developed.
+ Fixed bug in dispcal - it was not using the final measurement
pass to update the calibration curves.
+ Fixed bug in spotread, dispcal & dispread for CCSS capable
instruments where refresh display types was being ignored if a
custom observer was used, and/or the custom observer as being
ignored, and/or a CCMX was being ignored.
+ Renamed verify to colverify to avoid clash with MSWin program
of the same name. Made it print the patch location for -v2 if
it is present in the file.
+ Changed targen to ensure that -V and -p options effects are
reflected in the resulting expected CIE values of the .ti1
file.
+ Changed targen so that -V parameter also affects single
channel, grey wedge, grid & body centered grid point
distribution.
+ Changed colprof to deal with variable grid distribution in a
more neuanced way, to reduce overshoot artifacts when the -V
parameter is used.
+ Changed colprof to used a power_like function for the grid
distribution shape from the -V parameter, so as to avoid issues
with a power curve infinte slope near zero.
+ Changed colprof to used a scaled down value of the targen -V
parameter as the default for its -V parameter.
+ Added a special case to collink for RGB video input encoding to
(attempt) to fine tune the black point to compensate for it
(probably) not falling on a cLUT grid point. & out encoding.
+ Tweaked dispcal to try and improve accuracy of black point
calibration.
+ Switch dispread to use NoClamp readings, so that average black
point value is not biased.
+ Fixed bug introduced into 1.6.2 oeminst that prevents .ccss
files being installed.
-------------------------------------------------------------------
Fri Dec 20 13:46:14 UTC 2013 - fcrozat@suse.com
- Release 1.6.2:
+ Added "dark region emphasis" -V parameter to targen and colprof.
+ Fixed bug and tweaked dispcal black point optimization to err on
the black side. Added -v3 for even more debugging information.
+ Changed i1d3 driver to be more forgiving of EEProm checksum
calculation (support for ""A-02"" release).
+ Fixed problem with TV encoded output and dispread -E -k/-K.
+ Fixed minor bug in DE94 in icclib.
+ Fixed major bug in illumread - result was being corrupted.
+ Fixed "edges don't match" bug in printarg when -iCM -h -s/-S
used.
+ Fix bug in -H flag in ccxxmake, chartread, dispcal, dispread,
illumread & spotread so that it works once again.
- Bugfix update from 1.6.1:
+ Fix bug in "average -m"
+ Fix oeminst to work with a wider range of i1d3 install files.
+ Fix ColorMunki reflective measurement accuracy, particularly for
reflective readings.
- Remove argyllcms-stringcompare.patch, argyllcms-void.patch:
merged upstream.
-------------------------------------------------------------------
Tue Aug 20 18:53:03 CEST 2013 - sbrabec@suse.cz
- Release 1.6.0:
+ Added support for JETI specbos 1211 and 1201.
+ Added Video profiling & 3dLut creation support for eeColor and
MadVR.
+ Linux profile installation will use colord.
+ Fix ColorHug driver.
+ Changed instlib API ambient XYZ and spectral units to Lux.
+ For those instruments that support it, made ambient readings
honor refresh mode measurements.
+ Changed spotread -ew mode to be Bradford chromatic transform
rather than XYZ scaling.
+ Added support to xicclu to lookup colors though CAL files.
+ Added -Y R:rate option to spotread, dispcal, dispread &
ccxxmake.
+ By default printtarg will create PS and EPS files with a CUPS
job ticket to disable color management.
+ Added display update delay calibration support to i1pro and
ColorMunki.
+ Changed dispcal & dispread so that they wait up to 0.5 seconds
when reading dark patches after light ones to allow for display
fall time.
+ Changed dispwin daemon loader mode option from -E to -X.
+ Changed dispcal verify option from -E to -z.
+ Added -E option to to dispread to encode test patch colors in
Video 16-235 range.
+ Changed CIECAM02 Flare model to distinguish between Flare from
the image itself, and Glare from ambient light.
+ Improved i1pro hi-res mode to improve accuracy.
+ Added Body Centered Cubic grid option to targen.
+ Added -Yn flag to dispcal and dispread.
+ Improve robustness of i1d3 display update measurement code.
+ Added support for applying calibration curves in collink.
+ Changed spotread so that it won't fall back to emissive spot
mode if an ambient reading is requested.
+ Turned off B2A table clip map smoothing.
+ Fixed crash in ucmm/ucmm.c when loading certain profiles using
dispwin.
+ Fixed gamut mapping intent "rl" to really use relative L*a*b*
+ Fix bug in cicam02 in V1.5.0 that causes some mapping problems
in the red for collink -ir or -ila.
+ Changed cctiff so that it does lossless JPEG copy when there is
no color transformation
+ Fix xicclu so that it works with device links.
+ Fixed bug in shaper/matrix profile curves that caused random
bumpy black behaviour.
+ Don't add colorant tag to .tiff files in cctiff unless it is a
non-standard space, as Photoshop will barf on such files.
+ Fix bug with Spyder not being able to break out of dispcal
adjustment loop.
+ Fix bug in xicc/xicclu, -K flag not being recognised.
+ Fix bug in xicc/xmatrix.c introduced that prevents matrix only
profiles from being created.
+ libusb 1.0 is now deprecated in favor of native USB drivers.
-------------------------------------------------------------------
Wed Jul 31 17:13:06 UTC 2013 - fcrozat@suse.com
- Release 1.5.1:
+ Many bug fixes
+ add support for i1pro Rev E (i1pro2)
+ improved support for ColorMunki and i1pro
+ spotread can interactively query refresh rate
+ spyd2en, spyd4en and i1d3ccss was been merged in one tool named
oeminst.
+ No longer uses libusb, talk directly to USB device through
kernel devices.
+ Add support for ColorCheckerPassport in scanin.
+ -V (adaptative mode) is deprecated in dispcal, dispread and
ccxxmake, since it is the default. Use -ZA flag to disable.
+ ColorHug support is enabled by default.
+ Added automatic adjustement of patch reading for i1d3.
- Drop argyllcms-fixbuild.patch (merged)
- Rename argyllcms-1.3.0-udev151.patch to argyllcms-udev151.patch.
- Add argyllcms-udev-builtin.patch for udev usb-db builtin
(openSUSE 12.2/12.3) and argyllcms-udev-hwdb.patch (openSUSE 13.1
and later) for udev hwdb.
- Update argyllcms-1.4.0-warnings.patch (partially merged)
- Drop SG_header.txt, merged upstream.
-------------------------------------------------------------------
Thu Oct 18 08:36:09 UTC 2012 - fcrozat@suse.com
- Fix build with new udev rules directory location.
-------------------------------------------------------------------
Fri Oct 12 07:40:47 UTC 2012 - coolo@suse.com
- replace jam with ./jam
-------------------------------------------------------------------
Tue Jun 26 14:53:48 CEST 2012 - fcrozat@suse.com
- Add new upstream version of SG_header.txt, to prevent any legal
misunderstanding (bnc#768826).
-------------------------------------------------------------------
Mon Jun 25 13:21:04 CEST 2012 - fcrozat@suse.com
- Release 1.4.0:
+ various bug fixes
+ add support for ICC profiles in embedded JPEG
+ fix CVE-2012-1616 (bnc#768322)
- drop autotools patches, switch back to original Jam based build
- add ajam (argyll patched version of Jam, BSD-license) to source
package (needed only for build)
- drop shared libraries and corresponding subpackages, not used by
anything.
- drop cologhug patch, merged upstream.
- Add argyllcms-fixbuild.patch: fix build with system tiff/jpeg
libraries
- Add ajam-include.patch: add missing headers
- Add argyllcms-1.4.0-warnings.patch: fix gcc warnings
- Add bison as BuildRequires (needed to build ajam)
- Compile with -f-no-strict-aliasing to prevent potential issues
with gcc 4.7
-------------------------------------------------------------------
Fri Jan 27 08:21:17 UTC 2012 - mcihar@suse.cz
- Fix ColorHug support with new firmware
-------------------------------------------------------------------
Mon Jan 23 10:50:19 UTC 2012 - kkaempf@suse.com
- ColorHug-sensor-driver.patch: Fix function declaration to improve
detection of 'perfect black' (via colorhug-users@googlegroups.com)
-------------------------------------------------------------------
Thu Jan 19 15:24:23 UTC 2012 - fcrozat@suse.com
- remove unused copies of libusb0 and libusbw
- remove unused code from libusb1 directory (windows / macos)
- call autoreconf in %build
-------------------------------------------------------------------
Mon Jan 16 16:21:17 UTC 2012 - fcrozat@suse.com
- Add copyright header to specfile
- Clean specfile with spec-cleaner
- Argyllcms is now mostly using AGPLv3, update License tag and use
SPDX syntax.
- Drop patch which was renaming scanner in documentation (not
applied anyway).
-------------------------------------------------------------------
Thu Jan 12 10:36:56 UTC 2012 - kkaempf@suse.com
- Fix Factory build: explicitly BuildRequire autoconf, automake
and libtool
-------------------------------------------------------------------
Wed Jan 11 20:00:46 UTC 2012 - kkaempf@suse.com
- Update to 1.3.5
- add Argyll_V1.3.5_autotools.patch covering new files to compile
- add 0001-Add-an-experimental-ColorHug-sensor-driver.patch to
support 'colorhug' from http://hughski.com (experimental)
-------------------------------------------------------------------
Mon Nov 8 10:33:27 UTC 2010 - fcrozat@novell.com
- Release 1.3.2 (bug fixes)
- remove argyllcms-1.3.0-include.patch (merged upstream)
-------------------------------------------------------------------
Thu Sep 23 12:03:40 UTC 2010 - fcrozat@novell.com
- argyllcms-1.3.0-udev151.patch: remove all ACL management from
udev rules, it is handled by udev package itself (Mandriva)
- argyllcms-1.3.0-include.patch : fix missing includes
-------------------------------------------------------------------
Sun Sep 12 18:17:03 UTC 2010 - fcrozat@novell.com
- Release 1.3.0
- remove patches argyllcms-1.1.0-bufferoverflow.patch,
argyllcms-1.1.0-void.patch, argyllcms-1.1.0-strfmt.patch (merged
upstream)
-------------------------------------------------------------------
Mon Aug 9 16:30:57 UTC 2010 - fcrozat@novell.com
- Update patch1 with new version from Roland, merging patch10 in it
-------------------------------------------------------------------
Mon Aug 9 15:58:06 UTC 2010 - fcrozat@novell.com
- Update to 1.2.1
- move back icclib to argyllcms, upstream release are not so frequent as Argyllcms one
- Patch10: allow to use (or not) system icclib
- update patches 8 and 9 with new fixes
-------------------------------------------------------------------
Thu Aug 5 16:21:44 UTC 2010 - fcrozat@novell.com
- Update to latest release and move icclib to a separate package
------------------------------------------------------------------
Mon Apr 20 08:34:10 CET 2009 - Vladimir Nadvornik <nadvornik@novell.com>
- ported to openSUSE
-------------------------------------------------------------------
Mon Mar 23 08:34:10 CET 2009 - Ron Ciesla <limb@jcomserv.net>
- Patch for ICC library CVE-2009-{0583, 0584} by Tim Waugh.
-------------------------------------------------------------------
Mon Feb 23 00:12:29 CET 2009 - Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Sep 3 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.0.3-1
* Mon Sep 1 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.0.2-1
* Sun Jul 27 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 1.0.1-1
* Wed Mar 26 2008 Tom "spot" Callaway <tcallawa@redhat.com>
- patch applied for legal reasons
* Thu Feb 8 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 0.70-0.8.Beta9
- 0.70-0.8.Beta8
* Thu Feb 7 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 0.70-0.7.Beta8
* Thu Dec 14 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 0.70-0.6.Beta7
- 0.70-0.5.Beta7
* Thu Dec 13 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 0.70-0.4.Beta7
* Wed Dec 12 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 0.70-0.3.Beta7
- 0.70-0.2.Beta7
- 0.70-0.1.Beta7

140
argyllcms.spec Normal file
View File

@ -0,0 +1,140 @@
#
# spec file for package argyllcms
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define tarname Argyll
Name: argyllcms
Version: 3.0.2
Release: 0
Summary: ICC compatible color management system
License: AGPL-3.0-only AND GPL-2.0-or-later AND MIT
Group: System/X11/Utilities
URL: https://www.argyllcms.com/
Source0: https://www.argyllcms.com/%{tarname}_V%{version}_src.zip
Source1: 19-color.fdi
Source2: color-device-file.policy
Source3: ajam-2.5.2-1.3.3.tgz
Patch1: ajam-include.patch
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: libtool
BuildRequires: unzip
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xdmcp)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib)
#needed for ajam
BuildRequires: bison
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(udev)
Requires: udev
# FIXME: The application dlopens libcolordcompat.so, which does not
# exists in openSUSE colord package. We should use Suggests
# or Recommends here, and change its name in the source code
# to not read file from colord-devel.
%description
The Argyll color management system supports accurate ICC profile creation for
scanners, CMYK printers, film recorders and calibration and profiling of
displays.
Spectral sample data is supported, allowing a selection of illuminants observer
types, and paper fluorescent whitener additive compensation. Profiles can also
incorporate source specific gamut mappings for perceptual and saturation
intents. Gamut mapping and profile linking uses the CIECAM02 appearance model,
a unique gamut mapping algorithm, and a wide selection of rendering intents. It
also includes code for the fastest portable 8 bit raster color conversion
engine available anywhere, as well as support for fast, fully accurate 16 bit
conversion. Device color gamuts can also be viewed and compared using a VRML
viewer.
%package doc
Summary: Argyll CMS documentation
# Does not really make sense without Argyll CMS itself
Group: System/X11/Utilities
Requires: %{name} = %{version}
BuildArch: noarch
%description doc
The Argyll color management system supports accurate ICC profile creation for
scanners, CMYK printers, film recorders and calibration and profiling of
displays.
This package contains the Argyll color management system documentation.
%prep
%setup -q -n %{tarname}_V%{version} -a3
cd ajam-2.5.2-1.3.3
%patch1 -p1 -b .include
cd ..
# remove unused source code
rm -fr usb/{*.inf,*.rtf,*.inf,*.cat,*.vcproj,*.sys,*.dsw,*.sln,*.dsp,*template*,WinCo*,winsub*,*kext*,KDRIVER_LICENSE,README_MSVC.txt,msvc,*.cmd,bin,driver,binfiles.*}
rm -fr zlib tiff png ccast/axTLS/*.c
%build
%define _lto_cflags %{nil}
cd ajam-2.5.2-1.3.3
make CFLAGS="-std=gnu89 %{optflags}"
ln -s $PWD/bin.unix/jam ../jam
cd ..
echo "CCFLAGS += -std=gnu89 %{optflags} -fno-strict-aliasing ;" >> Jamtop
# Evil hack to get --as-needed working. The build system unfortunately lists all
# the shared libraries by default on the command line _before_ the object to be built...
echo "STDLIBS += -ldl -lrt -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -ltiff -ljpeg ;" >> Jamtop
./jam -fJambase %{?_smp_mflags}
%install
./jam -q -fJambase install
rm bin/License.txt
mkdir -p %{buildroot}/%{_bindir} %{buildroot}/%{_datadir}/color/argyll/ref
install -m 0755 -D bin/* %{buildroot}/%{_bindir}
install -m 0644 -D ref/* %{buildroot}/%{_datadir}/color/argyll/ref
rm -f %{buildroot}/%{_datadir}/color/argyll/License.txt
# ensure timestamp in shipped files is not changing for each rebuild (boo#916158)
TIMESTAMP=$(LC_ALL=C date --date=@${SOURCE_DATE_EPOCH} +%c)
sed -i -e 's/^CREATED .*/CREATED "$TIMESTAMP"/g' %{buildroot}%{_datadir}/color/argyll/ref/RefMediumGamut.gam
install -d -m 0755 %{buildroot}%{_udevrulesdir}
install -p -m 0644 usb/55-Argyll.rules \
%{buildroot}%{_udevrulesdir}
chmod a-x *.txt
find doc -type f -exec chmod a-x {} \;
%files
%doc *.txt
%{_bindir}/*
%dir %{_datadir}/color
%{_datadir}/color/argyll
%{_udevrulesdir}/55-Argyll.rules
%files doc
%doc doc/*.html doc/*.jpg doc/*.txt
%changelog

15
color-device-file.policy Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<!-- This file normally lives at
"/usr/share/PolicyKit/policy/color-device-file.policy"
-->
<policyconfig>
<action id="org.freedesktop.hal.device-access.color">
<description>Directly access color meter devices</description>
<message>System policy prevents access to the color meter devices</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
</policyconfig>