summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--debian/README.Debian16
-rw-r--r--debian/argyll-dbg.postinst40
-rw-r--r--debian/argyll-dbg.postrm33
-rw-r--r--debian/argyll-dbg.preinst31
-rw-r--r--debian/argyll-doc.doc-base7
-rw-r--r--debian/argyll-doc.docs2
-rw-r--r--debian/argyll-ref.install1
-rw-r--r--debian/argyll-ref.postinst40
-rw-r--r--debian/argyll-ref.postrm33
-rw-r--r--debian/argyll-ref.preinst31
-rw-r--r--debian/argyll.install3
-rw-r--r--debian/argyll.manpages1
-rw-r--r--debian/argyll.postinst40
-rw-r--r--debian/argyll.postrm34
-rw-r--r--debian/argyll.preinst32
-rw-r--r--debian/changelog695
-rw-r--r--debian/compat1
-rw-r--r--debian/control90
-rw-r--r--debian/copyright965
-rw-r--r--debian/icc-utils.postinst41
-rw-r--r--debian/icc-utils.postrm33
-rw-r--r--debian/icc-utils.preinst32
-rw-r--r--debian/man/applycal.130
-rw-r--r--debian/man/average.129
-rw-r--r--debian/man/cb2ti3.121
-rw-r--r--debian/man/cctiff.173
-rw-r--r--debian/man/ccxxmake.191
-rw-r--r--debian/man/chartread.196
-rw-r--r--debian/man/collink.1241
-rw-r--r--debian/man/colprof.1186
-rw-r--r--debian/man/colverify.168
-rw-r--r--debian/man/dispcal.1156
-rw-r--r--debian/man/dispread.1103
-rw-r--r--debian/man/dispwin.181
-rw-r--r--debian/man/extracticc.112
-rw-r--r--debian/man/extractttag.118
-rw-r--r--debian/man/fakeCMY.121
-rw-r--r--debian/man/fakeread.190
-rw-r--r--debian/man/greytiff.118
-rw-r--r--debian/man/iccdump.121
-rw-r--r--debian/man/iccgamut.197
-rw-r--r--debian/man/icclu.134
-rw-r--r--debian/man/illumread.141
-rw-r--r--debian/man/invprofcheck.145
-rw-r--r--debian/man/kodak2ti3.124
-rw-r--r--debian/man/ls2ti3.113
-rw-r--r--debian/man/mppcheck.129
-rw-r--r--debian/man/mpplu.157
-rw-r--r--debian/man/mppprof.130
-rw-r--r--debian/man/oeminst.128
-rw-r--r--debian/man/printcal.177
-rw-r--r--debian/man/printtarg.1125
-rw-r--r--debian/man/profcheck.161
-rw-r--r--debian/man/refine.157
-rw-r--r--debian/man/revfix.149
-rw-r--r--debian/man/scanin.1114
-rw-r--r--debian/man/spec2cie.147
-rw-r--r--debian/man/specplot.128
-rw-r--r--debian/man/splitti3.133
-rw-r--r--debian/man/spotread.1123
-rw-r--r--debian/man/synthcal.147
-rw-r--r--debian/man/synthread.145
-rw-r--r--debian/man/targen.1112
-rw-r--r--debian/man/tiffgamut.190
-rw-r--r--debian/man/timage.133
-rw-r--r--debian/man/txt2ti3.133
-rw-r--r--debian/man/viewgam.142
-rw-r--r--debian/man/xicclu.1162
-rw-r--r--debian/missing-sources/deep_arrays.json18
-rw-r--r--debian/missing-sources/difficult_json_c_test_case.json7
-rw-r--r--debian/missing-sources/difficult_json_c_test_case_with_comments.json7
-rw-r--r--debian/missing-sources/non_utf8_char_in_string.json88
-rw-r--r--debian/patches/100_spelling.patch616
-rw-r--r--debian/patches/110_dispwin_segfault.patch20
-rw-r--r--debian/patches/120_usb-db_new.patch19
-rw-r--r--debian/patches/15_jam.patch143
-rw-r--r--debian/patches/20_hurd_PATH_MAX.patch81
-rw-r--r--debian/patches/25_kfreebsd.patch55
-rw-r--r--debian/patches/30_gcc5.patch20
-rw-r--r--debian/patches/series7
-rwxr-xr-xdebian/rules122
-rw-r--r--debian/source/format1
-rw-r--r--debian/tools/buildman.sh13
-rw-r--r--debian/watch5
85 files changed, 6457 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6c270cd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+.bzr
+.bzrignore
+.pc \ No newline at end of file
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..b707ba4
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,16 @@
+argyll for Debian
+-----------------
+
+Notes for KFreeBSD-*:
+
+From spectro/usbio_bsd.c:
+
+ !!!! This driver is incomplete and non-functional !!!!
+ BSD uses fd per end point, so simplifies things.
+ No clear ep or abort i/o though, so we could try clear halt,
+ or close fd and see if that works in aborting transaction ?
+ Posix aio would probably work, but it's not loaded by default :-(
+ Could use libusb20 API, but not backwards or cross compatible,
+ and is very likely to be buggy ?
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 29 Sep 2014 09:17:15 +0200
diff --git a/debian/argyll-dbg.postinst b/debian/argyll-dbg.postinst
new file mode 100644
index 0000000..66ce5b3
--- /dev/null
+++ b/debian/argyll-dbg.postinst
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+# source debconf library
+#. /usr/share/debconf/confmodule
+
+
+case "$1" in
+
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ # Replace documentation directory symlink
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-dbg /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+
+exit 0
diff --git a/debian/argyll-dbg.postrm b/debian/argyll-dbg.postrm
new file mode 100644
index 0000000..0ebb9d3
--- /dev/null
+++ b/debian/argyll-dbg.postrm
@@ -0,0 +1,33 @@
+#! /bin/sh
+# postrm script for argyll
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-dbg /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
diff --git a/debian/argyll-dbg.preinst b/debian/argyll-dbg.preinst
new file mode 100644
index 0000000..94caee7
--- /dev/null
+++ b/debian/argyll-dbg.preinst
@@ -0,0 +1,31 @@
+#!/bin/sh
+# preinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ install|upgrade|abort-upgrade)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-dbg /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/argyll-doc.doc-base b/debian/argyll-doc.doc-base
new file mode 100644
index 0000000..962b063
--- /dev/null
+++ b/debian/argyll-doc.doc-base
@@ -0,0 +1,7 @@
+Document: argyll
+Title: Argyll Documentation
+Section: Graphics
+
+Format: HTML
+Index: /usr/share/doc/argyll-doc/ArgyllDoc.html
+Files: /usr/share/doc/argyll-doc/*.html
diff --git a/debian/argyll-doc.docs b/debian/argyll-doc.docs
new file mode 100644
index 0000000..f7d7b3b
--- /dev/null
+++ b/debian/argyll-doc.docs
@@ -0,0 +1,2 @@
+doc/*
+Readme.txt
diff --git a/debian/argyll-ref.install b/debian/argyll-ref.install
new file mode 100644
index 0000000..beefdac
--- /dev/null
+++ b/debian/argyll-ref.install
@@ -0,0 +1 @@
+usr/share/color/argyll/ref
diff --git a/debian/argyll-ref.postinst b/debian/argyll-ref.postinst
new file mode 100644
index 0000000..5584c80
--- /dev/null
+++ b/debian/argyll-ref.postinst
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+# source debconf library
+#. /usr/share/debconf/confmodule
+
+
+case "$1" in
+
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ # Replace documentation directory symlink
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-ref /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+
+exit 0
diff --git a/debian/argyll-ref.postrm b/debian/argyll-ref.postrm
new file mode 100644
index 0000000..3741e51
--- /dev/null
+++ b/debian/argyll-ref.postrm
@@ -0,0 +1,33 @@
+#! /bin/sh
+# postrm script for argyll
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-ref /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
diff --git a/debian/argyll-ref.preinst b/debian/argyll-ref.preinst
new file mode 100644
index 0000000..d5fdfc6
--- /dev/null
+++ b/debian/argyll-ref.preinst
@@ -0,0 +1,31 @@
+#!/bin/sh
+# preinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ install|upgrade|abort-upgrade)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll-ref /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/argyll.install b/debian/argyll.install
new file mode 100644
index 0000000..0b1afee
--- /dev/null
+++ b/debian/argyll.install
@@ -0,0 +1,3 @@
+usb/55-Argyll.rules lib/udev/rules.d/
+usb/Argyll.usermap etc/hotplug/usb
+usr/bin/*
diff --git a/debian/argyll.manpages b/debian/argyll.manpages
new file mode 100644
index 0000000..13cdaf4
--- /dev/null
+++ b/debian/argyll.manpages
@@ -0,0 +1 @@
+debian/man/*.1
diff --git a/debian/argyll.postinst b/debian/argyll.postinst
new file mode 100644
index 0000000..7621237
--- /dev/null
+++ b/debian/argyll.postinst
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+# source debconf library
+#. /usr/share/debconf/confmodule
+
+
+case "$1" in
+
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ # Replace documentation directory symlink
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+
+exit 0
diff --git a/debian/argyll.postrm b/debian/argyll.postrm
new file mode 100644
index 0000000..f9614cb
--- /dev/null
+++ b/debian/argyll.postrm
@@ -0,0 +1,34 @@
+#! /bin/sh
+# postrm script for argyll
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ rm -rf /var/lib/argyll
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
diff --git a/debian/argyll.preinst b/debian/argyll.preinst
new file mode 100644
index 0000000..a3bdca6
--- /dev/null
+++ b/debian/argyll.preinst
@@ -0,0 +1,32 @@
+#!/bin/sh
+# preinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ install|upgrade|abort-upgrade)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/argyll /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fe73751
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,695 @@
+argyll (1.8.0+repack-1) unstable; urgency=low
+
+ * New upstream release.
+ * Refresh patches:
+ - debian/patches/15_jam.patch
+ - debian/patches/100_spelling.patch
+ - debian/patches/110_dispwin_segfault.patch
+ * debian/rules:
+ - Rewrite VERSION sniplet.
+ - get-orig-source:
+ + Remove executable flag from source.
+ * Refresh debian/copyright.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 23 Aug 2015 17:27:26 +0200
+
+argyll (1.7.0+repack-4) unstable; urgency=medium
+
+ * debian/rules:
+ - Add --utc to the command date for CRDATE to make the results
+ reproducible over different timezones.
+ * New debian/patches/30_gcc5.patch:
+ - Add gcc-5 support (Closes: #777779).
+ + Thanks to James Cowgill <james410@cowgill.org.uk>.
+ * Re-enable and refresh debian/patches/20_hurd_PATH_MAX.patch.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 05 Jul 2015 12:30:03 +0200
+
+argyll (1.7.0+repack-3) unstable; urgency=medium
+
+ * debian/watch:
+ - change opts to support for "+repack".
+ * debian/patches/15_jam.patch:
+ - Add support for mips64el (Closes: #788447).
+ * debian/control:
+ - Correct some priorities.
+ - Remove package icc-utils because last version
+ in stable is greater then 1.6.3-1.
+ * Remove useless debian/argyll.lintian-overrides.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 12 Jun 2015 12:13:59 +0200
+
+argyll (1.7.0+repack-2) unstable; urgency=medium
+
+ * debian/patches/15_jam.patch:
+ - Rewrite rules to find libraries on all architectures.
+ * debian/control:
+ - Add zlib1g-dev to Build-Depends.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 04 May 2015 10:15:34 +0200
+
+argyll (1.7.0+repack-1) unstable; urgency=low
+
+ * Set package type to +repack.
+ * debian/control:
+ - Add libpng12-dev to build-Depends.
+ - Set Priority to optional.
+ - At package icc-utils and argyll-dbg set the Priority to extra.
+ * Make debian/man/scanin.1 more readable (LP: #1192368).
+ * Make build results reproducible:
+ - debian/rules:
+ + Replace build timestamps from ref files with date/time from
+ debian/changelog.
+ - debian/control:
+ + Add dpkg-dev to Build-Depends.
+ * debian/rules:
+ - get-orig-source:
+ + Remove unwanted Windows binaries.
+ + Remove unused sources: tiff, jpeg, zlib, png.
+ - Add ls2ti3 to build-manpages.
+ - New override_dh_compress:
+ + Don't compress html files.
+ * debian/copyright:
+ - Remove unused tags.
+ - Add new files.
+ - Set year 2015.
+ - Reorder files to prevend lintian warnings.
+ * Remove patches:
+ - 120_usb-db_new.patch applied upstream.
+ - 20_hurd_PATH_MAX.patch & 25_kfreebsd.patch not more needed.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 03 May 2015 19:36:05 +0200
+
+argyll (1.6.3-4) unstable; urgency=medium
+
+ * debian/control:
+ - On package argyll replace the wrong Replaces & Conflicts of argyll-bin
+ with the right Breaks & Replaces to icc-utils (<< 1.6.3-1).
+ (Closes: #767837)
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 04 Nov 2014 07:59:20 +0100
+
+argyll (1.6.3-3) unstable; urgency=medium
+
+ * debian/control:
+ - Replace Architecture: any with linux-any to prevent KFreeBSD-* and
+ hurd-i386 from build during unusable usb system (Closes: #762773).
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 05 Oct 2014 19:31:16 +0200
+
+argyll (1.6.3-2) unstable; urgency=medium
+
+ * debian/control:
+ - Bump Standards-Version to 3.9.6 (no changes required).
+ - Add Replaces: argyll (<< 1.6.3-1) and
+ Breaks (<< 1.6.3-1) to argyll-ref (Closes: #762780).
+ - At argyll move argyll-doc from Depends to Suggests (Closes: #762850).
+ - Remove from Build-Depends libusbhid-dev [kfreebsd-any].
+ - Remove ${shlibs:Depends} from Depends on argyll-doc and argyll-ref.
+ * debian/patches/15_jam.patch:
+ - To avoid use of the builtin libtiff and libjpeg add multiarch directories
+ for searching libraries and header files by using DEB_HOST_MULTIARCH
+ (Closes: #762772).
+ * New debian/patches/20_hurd_PATH_MAX.patch:
+ - Add missing PATH_MAX for hurd-i386 (Closes: #762774).
+ * debian/rules:
+ - Remove the move of the html docs into a subdirectory (Closes: #762771).
+ - Remove useless BUILTIN_TIFF=false from JAMCMDLINE.
+ - Remove "-A --link-doc=argyll-doc" from dh_installdocs (Closes: #762853).
+ * debian/*.(postinst|preinst|postrm):
+ - Replace dpkg-maintscript-helper dir_to_symlink to sysmlink_to_dir.
+ * Remove useless debian/argyll.examples
+ * Remove obsolete debian/patches/03_usb-db.diff.
+ * New debian/patches/120_usb-db_new.patch: (Closes: #762887)
+ - Instead of the obsolete usb-db use the builtin hwdb in the udev rules.
+ Thanks to Michael Biebl <biebl@debian.org>
+ * New debian/patches/25_kfreebsd.patch:
+ - Prevent build errors on kfreebsd-* (Closes: #762773).
+ Thanks to Steven Chamberlain <steven@pyro.eu.org>
+ * New debian/README.debian with notes to KFreeBSD-*.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 29 Sep 2014 09:22:15 +0200
+
+argyll (1.6.3-1) unstable; urgency=medium
+
+ * New Maintainer (Closes: #720178).
+ * New upstream release (Closes: #742658).
+ * debian/rules:
+ - Add get-orig-source.
+ - Remove useless --with quilt from dh $@
+ - Remove section for not included spyder2 firmware.
+ - Rewrite for use of upstream build system.
+ * debian/control:
+ - Set myself as maintainer.
+ - Update Build-Depends:
+ + Remove automake | automaken
+ - For previously not existing Vcs
+ + Create a new git repository on alioth.
+ + Add the fields Vcs-Browser and Vcs-Git.
+ - Change Priority from optional to extra.
+ - Remove useless packages:
+ + icc-utils
+ Now in argyll. Now only dummy package.
+ Change section to oldlibs
+ + libicc2 & libicc-dev
+ Useless. Only linked to argyll & icc-utils.
+ + libimdi0 & libimdi-dev
+ Useless. Only linked to argyll & icc-utils.
+ - Move documentation to new package argyll-doc
+ and symlink into the other packages.
+ - Add Pre-Depends:
+ * dpkg (>= 1.17.5) for use of the dpkg-maintscript-helper.
+ * debian/copyright:
+ - Rewrite into DEP-5 format.
+ - Add myself to the list of authors for debian/*.
+ - Add missing licenses and authors.
+ * debian/*.1
+ - Move to debian/man/*.1.
+ * debian/man/*
+ - Rewrite the help2man generated man pages (Closes: #670857)
+ * debian/patches/
+ - New 110_dispwin_segfault.patch to prevent segfault by
+ wrong parameter (Closes: #700253)
+ - Rewrite 03_usb-db.diff for new upstream release.
+ - Remove patches that included into new upstream release or useless:
+ + 01_autotools-support.diff
+ + 02_firmware-package-builder.diff
+ + 03_kfreebsd.diff
+ + 04_CVE-2012-4405.diff
+ + 05_external-yajl.diff
+ + 06_fix_udev_rule.patch
+ * New debian/*.(postinst|preinst|postrm):
+ - Remove existing doc directory and replace it with
+ a symlink to argyll-doc with dpkg-maintscript-helper dir_to_symlink.
+ * debian/argyll.preinst:
+ - Remove useless rm_conffile(). First version in Debian was 1.1.1-1,
+ rm_conffile was for version less equal 1.1.0-3.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Wed, 17 Sep 2014 08:47:26 +0200
+
+argyll (1.5.1-8) unstable; urgency=medium
+
+ * QA upload.
+ * Add a symbols file for libicc2 and libimdi0.
+
+ -- Iain Lane <laney@debian.org> Mon, 09 Jun 2014 12:52:11 +0100
+
+argyll (1.5.1-7) unstable; urgency=medium
+
+ * QA upload.
+ * debian/control: Bump udev recommended version to >= 196
+
+ -- Laurent Bigonville <bigon@debian.org> Sun, 04 May 2014 22:30:57 +0200
+
+argyll (1.5.1-6) unstable; urgency=medium
+
+ * QA upload.
+ * debian/patches/03_usb-db.diff: Use hwdb builtin, instead of the obsolete
+ usb-db in the udev rules.
+ * debian/patches/06_fix_udev_rule.patch: Fix udev rules to actually work;
+ ENV{ACL_MANAGE} has stopped working ages ago, and with logind it's now the
+ "uaccess" tag. Dropping also consolekit from Recommends. (Closes: #746974)
+ * debian/rules: Add libpam-systemd as a recommends to be sure we have a
+ session registered, this is needed for the permissions on the devices.
+ * debian/control: Build-depend on libtiff-dev rather than libtiff4-dev.
+ (Closes: #733126)
+ * debian/control: Drop Uploaders as the package has been orphaned
+ * debian/control: Bump Standards-Version to 3.9.5 (no further changes)
+
+ -- Laurent Bigonville <bigon@debian.org> Sun, 04 May 2014 21:36:24 +0200
+
+argyll (1.5.1-5) unstable; urgency=low
+
+ * Package orphaned. I don't intent to support the work of an agressive
+ upstream author more longer and realy good luck for the next maintainer.
+
+ -- Christian Marillat <marillat@debian.org> Mon, 19 Aug 2013 14:18:29 +0200
+
+argyll (1.5.1-4) unstable; urgency=low
+
+ * Revert previous yajl patch this break argyll.
+ * Regenerate all manpages.
+ * Add colord and gir1.2-colordgtk-1.0 in Suggests.
+ * Don't package .a and .la files.
+
+ -- Christian Marillat <marillat@debian.org> Mon, 12 Aug 2013 15:51:54 +0200
+
+argyll (1.5.1-3) unstable; urgency=low
+
+ * Uptade patch 01_autotools-support with patch from bug report to link
+ argyll against external yajl also add an one line patch called
+ 05_external-yajl (Closes: #544223)
+
+ -- Christian Marillat <marillat@debian.org> Fri, 02 Aug 2013 08:10:38 +0200
+
+argyll (1.5.1-2) unstable; urgency=low
+
+ * Package iccdump.1 and icclu.1 only in icc-utils package
+ (Closes: #717990, # 717993).
+
+ -- Christian Marillat <marillat@debian.org> Sat, 27 Jul 2013 21:43:59 +0200
+
+argyll (1.5.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Removed 03_kfreebsd patch.
+ * Refresh 01_autotools-support patch (CLoses: 713545)
+ * New patch 03_usb-db to add support for newer udev (Closes: 717504)
+
+ -- Christian Marillat <marillat@debian.org> Fri, 26 Jul 2013 16:25:19 +0200
+
+argyll (1.4.0-8) unstable; urgency=low
+
+ * Add a Breaks field and update the version in the Replaces field for the
+ icc-utils package (Closes: #694287)
+
+ -- Christian Marillat <marillat@debian.org> Sun, 25 Nov 2012 09:59:35 +0100
+
+argyll (1.4.0-7) unstable; urgency=high
+
+ * New patch 04_CVE-2012-4405.diff to fix CVE-2012-4405 issue
+ (Closes: #687275)
+
+ -- Christian Marillat <marillat@debian.org> Tue, 11 Sep 2012 13:45:12 +0200
+
+argyll (1.4.0-6) unstable; urgency=low
+
+ * Use dh_autoreconf (Closes: #678909)
+
+ -- Christian Marillat <marillat@debian.org> Mon, 25 Jun 2012 07:52:56 +0200
+
+argyll (1.4.0-5) unstable; urgency=low
+
+ * Refresh 01_autotools-support patch (Closes: #678750).
+
+ -- Christian Marillat <marillat@debian.org> Mon, 25 Jun 2012 00:01:31 +0200
+
+argyll (1.4.0-4) unstable; urgency=low
+
+ * Should Build-Depends on libusb-dev (Closes: #670329).
+
+ -- Christian Marillat <marillat@debian.org> Wed, 25 Apr 2012 07:46:07 +0200
+
+argyll (1.4.0-3) unstable; urgency=low
+
+ * Fix kfreebsd build. Thanks to Robert Millan for the patch.
+ (Closes: #595951 #630208).
+
+ -- Christian Marillat <marillat@debian.org> Tue, 24 Apr 2012 07:49:03 +0200
+
+argyll (1.4.0-2) unstable; urgency=low
+
+ * Move binaries from libicc2 package to a new icc-utils package (Closes:
+ #670003).
+
+ -- Christian Marillat <marillat@debian.org> Sun, 22 Apr 2012 16:07:43 +0200
+
+argyll (1.4.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christian Marillat <marillat@debian.org> Sat, 21 Apr 2012 15:53:50 +0200
+
+argyll (1.3.7-1.1) unstable; urgency=low
+
+ * Use DEB_LDFLAGS_MAINT_APPEND to add more LDFLAGS (Closes: #667924)
+
+ -- Christian Marillat <marillat@debian.org> Mon, 09 Apr 2012 10:45:56 +0200
+
+argyll (1.3.7-1) unstable; urgency=low
+
+ * New upstream release.
+ * Try to fix the build (Thanks to Dmitry Nezhevenko) (Closes: #665055).
+ * Move to debhelper 9 for multi-arch and hardened flags.
+
+ -- Christian Marillat <marillat@debian.org> Tue, 03 Apr 2012 08:46:37 +0200
+
+argyll (1.3.6-3) unstable; urgency=low
+
+ * Call dh_quilt_unpatch after MAKE distclean.
+ * Rework Makefile test to be sure we don't call upstream Makefile with
+ missing distclean target.
+
+ -- Christian Marillat <marillat@debian.org> Tue, 20 Mar 2012 14:44:40 +0100
+
+argyll (1.3.6-2) unstable; urgency=low
+
+ * debian/rules Fix clean target.
+
+ -- Christian Marillat <marillat@debian.org> Mon, 19 Mar 2012 16:50:40 +0100
+
+argyll (1.3.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * Removed 03_add-ColorHug_sensor_driver patch, but beware the support for
+ ColorHug is experimental.
+
+ -- Christian Marillat <marillat@debian.org> Mon, 19 Mar 2012 10:55:20 +0100
+
+argyll (1.3.5-7) unstable; urgency=low
+
+ * Really fix previous bug.
+ * Use debhelper 9.
+
+ -- Christian Marillat <marillat@debian.org> Tue, 13 Mar 2012 08:41:01 +0100
+
+argyll (1.3.5-6) unstable; urgency=low
+
+ * Fix another bug in ColorHugColorHug (Closes: #661643)
+
+ -- Christian Marillat <marillat@debian.org> Sun, 11 Mar 2012 16:59:06 +0100
+
+argyll (1.3.5-5) unstable; urgency=low
+
+ * Fix two bugs in ColorHugColorHug patch (Closes: #657582).
+
+ -- Christian Marillat <marillat@debian.org> Sat, 28 Jan 2012 01:42:30 +0100
+
+argyll (1.3.5-4) unstable; urgency=low
+
+ * New patch 03_add-ColorHug_sensor_driver to add support for the ColorHug
+ sensor (Closes: #655888)
+
+ -- Christian Marillat <marillat@debian.org> Tue, 17 Jan 2012 18:22:51 +0100
+
+argyll (1.3.5-3) unstable; urgency=low
+
+ * debian/rules Enable make distclean (Closes: #649728).
+
+ -- Christian Marillat <marillat@debian.org> Wed, 23 Nov 2011 15:17:42 +0100
+
+argyll (1.3.5-2) unstable; urgency=low
+
+ * Don't package icclu and iccdump binaries in argyll, files already in
+ libicc2 package.
+
+ -- Christian Marillat <marillat@debian.org> Mon, 21 Nov 2011 08:25:40 +0100
+
+argyll (1.3.5-1) unstable; urgency=low
+
+ [ Christian Marillat ]
+ * New maintainer (Closes: #622620) Thanks, Roland!
+ * Use dh-autoreconf.
+
+ [ Dmitry Nezhevenko ]
+ * New upstream release (Closes: #647093).
+ * Switch to dpkg-source 3.0 (quilt) format.
+ * Merge debian changes from 1.3.0 (experimental) and 1.1.1 (unstable).
+ * Unsplit libicc2, built from the same source package again (since
+ upstream only ships it as part of Argyll anyway). Actually was already
+ done in experimental (Closes: #636801).
+ * Use kfreebsd-any instead of kfreebsd-(i386|amd64) to match kFreeBSD
+ (Closes: #634688).
+ * Provide dedicated libimdi0/libimdi-dev libraries (Closes: #611139).
+ * Add argyll-dbg package with debug symbols.
+
+ -- Christian Marillat <marillat@debian.org> Sun, 13 Nov 2011 15:30:42 +0100
+
+argyll (1.3.0-3) experimental; urgency=low
+
+ * Minor future-proofing in debian/rules.
+ * Also removed redundant shipping of the firmware-package-builder
+ tarball, thanks to Pascal de Bruijn for noticing.
+
+ -- Roland Mas <lolando@debian.org> Fri, 17 Sep 2010 11:05:22 +0200
+
+argyll (1.3.0-2) experimental; urgency=low
+
+ * Fixed packaging bugs introduced when un-splitting the source package.
+
+ -- Roland Mas <lolando@debian.org> Tue, 14 Sep 2010 11:29:27 +0200
+
+argyll (1.3.0-1) experimental; urgency=low
+
+ * New upstream release.
+
+ -- Roland Mas <lolando@debian.org> Wed, 08 Sep 2010 15:16:29 +0200
+
+argyll (1.2.1-1) experimental; urgency=low
+
+ * New upstream bugfix release.
+ * Please welcome Xavier Oswald as uploader.
+
+ -- Roland Mas <lolando@debian.org> Sun, 05 Sep 2010 15:50:41 +0200
+
+argyll (1.2.0-0) UNRELEASED; urgency=low
+
+ * New upstream release.
+ * Unsplit libicc2, built from the same source package again (since
+ upstream only ships it as part of Argyll anyway).
+ * Bumped Standards-Version to 3.9.1 (no changes).
+ * argyll-firmware-spyder2: Moved firmware to /usr/share/color, which is
+ freedesktop.org-compliant and (more to the point) where Argyll 1.2.0
+ looks for it.
+
+ -- Roland Mas <lolando@debian.org> Thu, 05 Aug 2010 15:33:20 +0200
+
+argyll (1.1.1-2) unstable; urgency=medium
+
+ * QA upload.
+ * Add ../libargyll.la to LDADD (Closes: #615692).
+ * Don't ship .la files (Closes: #621142).
+
+ -- Luk Claes <luk@debian.org> Sat, 11 Jun 2011 11:18:43 +0200
+
+argyll (1.1.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Switched dependency on policykit-1 to a more correct recommendation on
+ consolekit + recent udev.
+ * Updated copyright file (doc is now GFDL-1.3).
+ * Bumped Standards-Version to 3.8.4 (no changes required).
+
+ -- Roland Mas <lolando@debian.org> Wed, 24 Feb 2010 21:26:55 +0100
+
+argyll (1.1.0-5) unstable; urgency=low
+
+ * Bumped version build-dependency on libicc-dev to prevent segmentation
+ fault.
+
+ -- Roland Mas <lolando@debian.org> Mon, 25 Jan 2010 19:06:07 +0100
+
+argyll (1.1.0-4) unstable; urgency=low
+
+ * Adapted packaging to new udev rules, now compatible with PolicyKit-1
+ (closes: #529411). This should fix device file permissions problems,
+ too (closes: #549406). And also the "deprecated udev function"
+ warning (closes: #564269).
+ * Removed conffiles no longer shipped by the package.
+
+ -- Roland Mas <lolando@debian.org> Mon, 25 Jan 2010 13:47:59 +0100
+
+argyll (1.1.0-3) unstable; urgency=low
+
+ * Only depend on udev for Linux systems.
+
+ -- Roland Mas <lolando@debian.org> Mon, 25 Jan 2010 11:42:54 +0100
+
+argyll (1.1.0-2) unstable; urgency=low
+
+ * Fix build on FreeBSD, patch from Petr Salinger
+ <Petr.Salinger@seznam.cz> (closes: #566768).
+
+ -- Roland Mas <lolando@debian.org> Mon, 25 Jan 2010 10:29:33 +0100
+
+argyll (1.1.0-1) unstable; urgency=low
+
+ * New upstream release, including a patch obtained from upstream just
+ after the actual release.
+ * Also, stop using the system's libusb, which causes known problems with
+ Argyll. Now using Argyll's patched copy (privately, since the patches
+ cause problems with other software).
+
+ -- Roland Mas <lolando@debian.org> Sun, 24 Jan 2010 23:34:18 +0100
+
+argyll (1.1.0~rc4-1) unstable; urgency=low
+
+ * New upstream pre-release.
+ * Ship all doc files with a wildcard rule, rather than a fixed (and
+ outdated) set.
+
+ -- Roland Mas <lolando@debian.org> Wed, 06 Jan 2010 10:33:54 +0100
+
+argyll (1.1.0~rc3-1) unstable; urgency=low
+
+ * New upstream pre-release.
+ * Moved udev rules file to /lib/udev/rules.d.
+
+ -- Roland Mas <lolando@debian.org> Tue, 05 Jan 2010 14:49:38 +0100
+
+argyll (1.1.0~rc2-1) unstable; urgency=low
+
+ * New upstream pre-release.
+ * Updated location of Bazaar branches in control file.
+ * The Debian-specific branch now feeds from the "midstream" branch
+ rather than the "upstream-releases" branch, to ease collaboration with
+ other distributions. This shouldn't make any difference on the
+ package contents.
+
+ -- Roland Mas <lolando@debian.org> Thu, 10 Dec 2009 17:26:04 +0100
+
+argyll (1.1.0~rc1+dfsg-1) unstable; urgency=low
+
+ * Removed non-free IETF RFC/I-D from source package, thanks to Simon
+ Josefsson (closes: #555377).
+
+ -- Roland Mas <lolando@debian.org> Sat, 14 Nov 2009 20:23:53 +0100
+
+argyll (1.1.0~rc1-3) unstable; urgency=low
+
+ * Added Build-Depends: libusbhid-dev for kFreeBSD architectures.
+
+ -- Roland Mas <lolando@debian.org> Mon, 09 Nov 2009 13:34:54 +0100
+
+argyll (1.1.0~rc1-2) unstable; urgency=low
+
+ * Fixed build on GNU/kFreeBSD ports.
+ * Applied patch from upstream that fixes an infinite loop if Xrandr is
+ enabled.
+
+ -- Roland Mas <lolando@debian.org> Mon, 09 Nov 2009 11:46:57 +0100
+
+argyll (1.1.0~rc1-1) unstable; urgency=low
+
+ * New upstream pre-release.
+ * Updated debian/copyright (upstream switched to Affero GPLv3).
+ * Bumped versioned build-dependency on debhelper.
+ * Bumped standards version to 3.8.3 (no changes needed).
+
+ -- Roland Mas <lolando@debian.org> Sun, 08 Nov 2009 22:19:45 +0100
+
+argyll (1.0.4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Roland Mas <lolando@debian.org> Fri, 03 Jul 2009 14:14:11 +0200
+
+argyll (1.0.3+dfsg1-3) unstable; urgency=low
+
+ * libicc is now a separate source+binary package, so argyll now links
+ against it.
+ * Since that new libicc is a proper new upstream snapshot, the problems
+ introduced with the local patches should be fixed (closes: #524478).
+
+ -- Roland Mas <lolando@debian.org> Tue, 02 Jun 2009 11:26:01 +0200
+
+argyll (1.0.3+dfsg1-2) unstable; urgency=low
+
+ * Adapted debian/watch file to match version mangling.
+ * Updated autotools build system to dynamically link against the
+ internal libraries and provide a libicc.so for dynamic linking.
+ * Also ship the corresponding header files.
+ * Not splitting libicc into its own binary package just yet though, I
+ want to get more testing of the dynamic linking first.
+
+ -- Roland Mas <lolando@debian.org> Thu, 14 May 2009 16:49:44 +0200
+
+argyll (1.0.3+dfsg1-1) unstable; urgency=low
+
+ * argyll-firmware-spyder2 is now generated as section non-free/graphics
+ rather than just graphics.
+ * Removed non-free RFC from source package (closes: #524972).
+
+ -- Roland Mas <lolando@debian.org> Tue, 28 Apr 2009 11:47:38 +0200
+
+argyll (1.0.3-5) unstable; urgency=low
+
+ * Documented web interface for the Bazaar repository.
+ * Added source package for the Spyder2 firmware.
+
+ -- Roland Mas <lolando@debian.org> Fri, 17 Apr 2009 23:34:40 +0200
+
+argyll (1.0.3-4) unstable; urgency=low
+
+ * Actually create /var/lib/argyll so spyd2en can store its firmware in
+ it... also remove it on purge.
+ * Also look for the Spyder2 firmware in /lib/firmware.
+ * Shortened debian/rules quite a bit thanks to Debhelper 7.
+ * Fixed build rules so testsuite passes.
+ * Bumped standards-version to 3.8.1 (no changes).
+
+ -- Roland Mas <lolando@debian.org> Thu, 16 Apr 2009 11:25:26 +0200
+
+argyll (1.0.3-3) unstable; urgency=low
+
+ * Another patch for icclib, this time from Jan Lieskovsky, fixing some
+ more vulnerabilities described in CVE-2009-0792 (closes: #523472).
+
+ -- Roland Mas <lolando@debian.org> Fri, 10 Apr 2009 17:53:55 +0200
+
+argyll (1.0.3-2) unstable; urgency=low
+
+ * Patched embedded copy of icclib to fix integer overflow and denial of
+ service vulnerabilities as described in CVE-2009-0583 and
+ CVE-2009-0584. Patch provided by Moritz Muehlenhoff and the Debian
+ security team (closes: #522448).
+
+ -- Roland Mas <lolando@debian.org> Fri, 03 Apr 2009 22:43:14 +0200
+
+argyll (1.0.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * Adopted package from Christian Marillat's Debian-Multimedia
+ repository (closes: #498396). Thanks, Christian!
+ * Stopped removing some files in clean target.
+ * Switched build-system to autotools.
+ * Link to system libusb rather than locally-shipped one.
+ * Fixed watch file.
+ * Moved Spyder2 firmware to /var/lib/argyll.
+ * Added detailed debian/copyright file.
+ * Use dh_prep instead of dh_clean -k.
+ * Rename /usr/bin/foo to /usr/bin/argyll-foo, for foo in
+ {average,refine,targen,verify}, to avoid having binaries with too
+ generic names. Documented in README.Debian.
+
+ -- Roland Mas <lolando@debian.org> Thu, 19 Feb 2009 20:34:48 +0100
+
+argyll (1.0.0-0.0) unstable; urgency=low
+
+ * New upstream release.
+ * Added configuration files for udev, hal and policykit.
+
+ -- Christian Marillat <marillat@debian.org> Fri, 18 Jul 2008 08:51:45 +0200
+
+argyll (0.60-0.1) unstable; urgency=low
+
+ * Need to Build-depends on libxinerama-dev instead of x11proto-xinerama-dev.
+
+ -- Christian Marillat <marillat@debian.org> Fri, 21 Jul 2006 06:25:46 +0200
+
+argyll (0.60-0.0) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christian Marillat <marillat@debian.org> Thu, 20 Jul 2006 10:56:43 +0200
+
+argyll (0.53.1-0.2) unstable; urgency=low
+
+ * Apply a patch from Guido to fix build under ppc.
+
+ -- Christian Marillat <marillat@debian.org> Tue, 23 May 2006 14:40:45 +0200
+
+argyll (0.53.1-0.1) unstable; urgency=low
+
+ * Add libxxf86vm-dev and x11proto-xf86vidmode-dev in build-Depends.
+
+ -- Christian Marillat <marillat@debian.org> Fri, 12 May 2006 16:27:46 +0200
+
+argyll (0.53.1-0.0) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Christian Marillat <marillat@debian.org> Thu, 9 Feb 2006 13:56:03 +0100
+
+argyll (0.53-0.1) unstable; urgency=low
+
+ * Rename icclink in icclink-argyll.
+ * Rename sprof in sprof-argyll.
+
+ -- Christian Marillat <marillat@debian.org> Wed, 8 Feb 2006 11:42:15 +0100
+
+argyll (0.53-0.0) unstable; urgency=low
+
+ * Initial release.
+
+ -- Christian Marillat <marillat@debian.org> Sun, 5 Feb 2006 22:08:11 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c4db378
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,90 @@
+Source: argyll
+Section: graphics
+Priority: optional
+Maintainer: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Standards-Version: 3.9.6
+Build-Depends:
+ debhelper (>= 9),
+ dh-autoreconf,
+ dpkg-dev (>= 1.17.0),
+ jam,
+ libjpeg-dev,
+ libpng12-dev,
+ libtiff5-dev,
+ libtool,
+ libusb-dev,
+ libx11-dev,
+ libxinerama-dev,
+ libxrandr-dev,
+ libxss-dev,
+ libxxf86vm-dev,
+ x11proto-scrnsaver-dev,
+ x11proto-xf86vidmode-dev,
+ zlib1g-dev
+Homepage: http://www.argyllcms.com/
+Vcs-Git: git://anonscm.debian.org/collab-maint/argyll.git
+Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/argyll.git
+
+Package: argyll
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}, argyll-ref
+Pre-Depends:
+ dpkg (>= 1.17.5)
+Recommends: libpam-systemd [linux-any], udev (>= 196) [linux-any]
+Suggests: argyll-doc, colord, gir1.2-colordgtk-1.0
+Description: Color Management System, calibrator and profiler
+ Argyll is an experimental, open source, ICC compatible color management
+ system. It 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: argyll-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends: argyll (= ${binary:Version}), ${misc:Depends}
+Pre-Depends:
+ dpkg (>= 1.17.5)
+Description: debugging symbols for argyll
+ Argyll is an experimental, open source, ICC compatible color management
+ system. It supports accurate ICC profile creation for scanners, CMYK
+ printers, film recorders and calibration and profiling of displays.
+ .
+ This package contains the debugging symbols for argyll, libicc and libimdi
+ libraries
+
+Package: argyll-ref
+Architecture: all
+Depends: ${misc:Depends}
+Pre-Depends:
+ dpkg (>= 1.17.5)
+Replaces: argyll (<< 1.6.3-1)
+Breaks: argyll (<< 1.6.3-1)
+Description: Color Management System, calibrator and profiler (data files)
+ Argyll is an experimental, open source, ICC compatible color management
+ system. It supports accurate ICC profile creation for scanners, CMYK
+ printers, film recorders and calibration and profiling of displays.
+ .
+ This package contains the data files for argyll.
+
+Package: argyll-doc
+Architecture: all
+Section: doc
+Priority: extra
+Depends: ${misc:Depends}
+Pre-Depends:
+ dpkg (>= 1.17.5)
+Description: Color Management System, calibrator and profiler (documentation)
+ Argyll is an experimental, open source, ICC compatible color management
+ system. It supports accurate ICC profile creation for scanners, CMYK
+ printers, film recorders and calibration and profiling of displays.
+ .
+ This package contains the documentation for argyll.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ae16fbc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,965 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ArgyllCMS
+Upstream-Contact: Graeme W. Gill <Graeme@argyllcms.com>
+Source: http://www.argyllcms.com/
+
+Files: *
+Copyright: 1995-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: AGPL-3
+
+Files: icc/*
+ cgats/*
+ jcnf/*
+ ucmm/*
+Copyright: 1995-2014 Graeme W. Gill <Graeme@argyllcms.com>
+License: Expat
+
+Files: ccast/cast_channel.proto
+Copyright: 2013 The Chromium Authors
+License: BSD-3
+
+Files: ccast/chan/protobuf-c.*
+Copyright: 2008-2014 Dave Benson and the protobuf-c authors
+License: BSD-2
+
+Files: ccast/axTLS/*.c
+ ccast/axTLS/*.h
+Copyright: 2007 Cameron Rich
+License: BSD-3
+
+Files: ccast/axTLS/os_int.h
+Copyright: 2014 Graeme W. Gill
+License: Expat
+
+Files: icc/iccV42.h
+Copyright: 1994-1998 SunSoft, Inc
+ 1994-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: Expat
+
+Files: plot/x3dom.*
+Copyright: 2009 Fraunhofer IGD, Darmstadt, Germany
+License: MIT and GPL-3+
+
+Files: yajl/*
+Copyright: 2007-2014 Lloyd Hilaiel
+License: BSD-3
+
+Files: yajl/yajl_tree.*
+Copyright: 2010-2011 Florian Forster <ff@octo.it>
+License: BSD-3
+
+Files: usb/*
+Copyright: 2012-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: Expat
+
+Files: usb/driver/*
+Copyright: 2002-2005 Stephan Meyer <ste_meyer@web.de>
+License: GPL-2 or LGPL-2
+ The library (DLL) is distributed under the terms of the GNU Lesser
+ General Public License (LGPL).
+ .
+ All other components (drivers, services, installer) are distributed
+ under the terms of the GNU General Public License (GPL).
+
+Files: usb/driver/ioctl.c
+Copyright: 2002-2005 Stephan Meyer <ste_meyer@web.de>
+ 2010 Travis Robinson <libusbdotnet@gmail.com>
+License: GPL-2+
+
+Files: usb/driver/transfer.c
+Copyright: 2002-2005 Stephan Meyer <ste_meyer@web.de>
+ 2010 Travis Robinson <libusbdotnet@gmail.com>
+License: GPL-3+
+
+Files: xicc/iccjpeg.*
+Copyright: 1998-2010 Marti Maria Saguer
+License: Expat
+
+Files: spectro/*
+Copyright: 1996-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: GPL-2+
+
+Files: spectro/dispcal.c
+ spectro/dispsup.c
+ spectro/dispsup.h
+ spectro/dispwin.c
+ spectro/dispwin.h
+ spectro/average.c
+ spectro/synthcal.c
+ spectro/synthread.c
+ spectro/ccxxmake.c
+ spectro/fakeread.c
+ spectro/License.txt
+ spectro/chartread.c
+ spectro/dispread.c
+ spectro/illumread.c
+Copyright: 1996-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: AGPL-3
+
+Files: spectro/colorhug.*
+Copyright: 2006-2015 Graeme W. Gill <Graeme@argyllcms.com>
+ 2011 Richard Hughes
+License: GPL-2+
+
+Files: spectro/mongoose.*
+Copyright: 2004-2012 Sergey Lyubka
+License: Expat
+
+Files: spectro/spec2cie.c
+Copyright: 2005 Gerhard Fuernkranz
+ 2006-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: GPL-2+
+
+Files: h/sort.h
+Copyright: 1996-2010 Graeme W. Gill <Graeme@argyllcms.com>
+License: GPL-2+
+
+Files: xicc/xspect.c
+Copyright: 2000-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: GPL-2+
+
+Files: doc/*
+Copyright: 1995-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: GFDL-1.3+
+
+Files: numlib/numsup.*
+Copyright: 1997-2015 Graeme W. Gill <Graeme@argyllcms.com>
+License: GPL-2+
+
+Files: rspl/rspl1.*
+Copyright: 1996-2010 Graeme W. Gill <Graeme@argyllcms.com>
+License: GPL-2+
+
+Files: xml/*
+Copyright: 2003-2011 Michael R Sweet
+License: LGPL-2+
+
+Files: xml/install-sh
+Copyright: 1991 Massachusetts Institute of Technology
+License: MIT
+
+Files: ref/*.icm
+ icc/*.icm
+Copyright: Public domain
+License: public-domain
+ Public Domain. No Warranty, Use at own risk
+
+Files: debian/*
+Copyright: 2006-2008 Christian Marillat <marillat@debian.org>
+ 2008-2010 Roland Mas <lolando@debian.org>
+ 2014-2015 Jörg Frings-Fürst <debian@jff-webhosting.net>
+License: GPL-3+
+
+License: AGPL-3
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 2007
+ .
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+ .
+ Preamble
+ .
+ The GNU Affero General Public License is a free, copyleft license for
+ software and other kinds of works, specifically designed to ensure
+ cooperation with the community in the case of network server software.
+ .
+ The licenses for most software and other practical works are designed
+ to take away your freedom to share and change the works. By contrast,
+ our General Public Licenses are intended to guarantee your freedom to
+ share and change all versions of a program--to make sure it remains free
+ software for all its users.
+ .
+ When we speak of free software, we are referring to freedom, not
+ price. Our General Public Licenses are designed to make sure that you
+ have the freedom to distribute copies of free software (and charge for
+ them if you wish), that you receive source code or can get it if you
+ want it, that you can change the software or use pieces of it in new
+ free programs, and that you know you can do these things.
+ .
+ Developers that use our General Public Licenses protect your rights
+ with two steps: (1) assert copyright on the software, and (2) offer
+ you this License which gives you legal permission to copy, distribute
+ and/or modify the software.
+ .
+ A secondary benefit of defending all users' freedom is that
+ improvements made in alternate versions of the program, if they
+ receive widespread use, become available for other developers to
+ incorporate. Many developers of free software are heartened and
+ encouraged by the resulting cooperation. However, in the case of
+ software used on network servers, this result may fail to come about.
+ The GNU General Public License permits making a modified version and
+ letting the public access it on a server without ever releasing its
+ source code to the public.
+ .
+ The GNU Affero General Public License is designed specifically to
+ ensure that, in such cases, the modified source code becomes available
+ to the community. It requires the operator of a network server to
+ provide the source code of the modified version running there to the
+ users of that server. Therefore, public use of a modified version, on
+ a publicly accessible server, gives the public access to the source
+ code of the modified version.
+ .
+ An older license, called the Affero General Public License and
+ published by Affero, was designed to accomplish similar goals. This is
+ a different license, not a version of the Affero GPL, but Affero has
+ released a new version of the Affero GPL which permits relicensing under
+ this license.
+ .
+ The precise terms and conditions for copying, distribution and
+ modification follow.
+ .
+ TERMS AND CONDITIONS
+ .
+ 0. Definitions.
+ .
+ "This License" refers to version 3 of the GNU Affero General Public License.
+ .
+ "Copyright" also means copyright-like laws that apply to other kinds of
+ works, such as semiconductor masks.
+ .
+ "The Program" refers to any copyrightable work licensed under this
+ License. Each licensee is addressed as "you". "Licensees" and
+ "recipients" may be individuals or organizations.
+ .
+ To "modify" a work means to copy from or adapt all or part of the work
+ in a fashion requiring copyright permission, other than the making of an
+ exact copy. The resulting work is called a "modified version" of the
+ earlier work or a work "based on" the earlier work.
+ .
+ A "covered work" means either the unmodified Program or a work based
+ on the Program.
+ .
+ To "propagate" a work means to do anything with it that, without
+ permission, would make you directly or secondarily liable for
+ infringement under applicable copyright law, except executing it on a
+ computer or modifying a private copy. Propagation includes copying,
+ distribution (with or without modification), making available to the
+ public, and in some countries other activities as well.
+ .
+ To "convey" a work means any kind of propagation that enables other
+ parties to make or receive copies. Mere interaction with a user through
+ a computer network, with no transfer of a copy, is not conveying.
+ .
+ An interactive user interface displays "Appropriate Legal Notices"
+ to the extent that it includes a convenient and prominently visible
+ feature that (1) displays an appropriate copyright notice, and (2)
+ tells the user that there is no warranty for the work (except to the
+ extent that warranties are provided), that licensees may convey the
+ work under this License, and how to view a copy of this License. If
+ the interface presents a list of user commands or options, such as a
+ menu, a prominent item in the list meets this criterion.
+ .
+ 1. Source Code.
+ .
+ The "source code" for a work means the preferred form of the work
+ for making modifications to it. "Object code" means any non-source
+ form of a work.
+ .
+ A "Standard Interface" means an interface that either is an official
+ standard defined by a recognized standards body, or, in the case of
+ interfaces specified for a particular programming language, one that
+ is widely used among developers working in that language.
+ .
+ The "System Libraries" of an executable work include anything, other
+ than the work as a whole, that (a) is included in the normal form of
+ packaging a Major Component, but which is not part of that Major
+ Component, and (b) serves only to enable use of the work with that
+ Major Component, or to implement a Standard Interface for which an
+ implementation is available to the public in source code form. A
+ "Major Component", in this context, means a major essential component
+ (kernel, window system, and so on) of the specific operating system
+ (if any) on which the executable work runs, or a compiler used to
+ produce the work, or an object code interpreter used to run it.
+ .
+ The "Corresponding Source" for a work in object code form means all
+ the source code needed to generate, install, and (for an executable
+ work) run the object code and to modify the work, including scripts to
+ control those activities. However, it does not include the work's
+ System Libraries, or general-purpose tools or generally available free
+ programs which are used unmodified in performing those activities but
+ which are not part of the work. For example, Corresponding Source
+ includes interface definition files associated with source files for
+ the work, and the source code for shared libraries and dynamically
+ linked subprograms that the work is specifically designed to require,
+ such as by intimate data communication or control flow between those
+ subprograms and other parts of the work.
+ .
+ The Corresponding Source need not include anything that users
+ can regenerate automatically from other parts of the Corresponding
+ Source.
+ .
+ The Corresponding Source for a work in source code form is that
+ same work.
+ .
+ 2. Basic Permissions.
+ .
+ All rights granted under this License are granted for the term of
+ copyright on the Program, and are irrevocable provided the stated
+ conditions are met. This License explicitly affirms your unlimited
+ permission to run the unmodified Program. The output from running a
+ covered work is covered by this License only if the output, given its
+ content, constitutes a covered work. This License acknowledges your
+ rights of fair use or other equivalent, as provided by copyright law.
+ .
+ You may make, run and propagate covered works that you do not
+ convey, without conditions so long as your license otherwise remains
+ in force. You may convey covered works to others for the sole purpose
+ of having them make modifications exclusively for you, or provide you
+ with facilities for running those works, provided that you comply with
+ the terms of this License in conveying all material for which you do
+ not control copyright. Those thus making or running the covered works
+ for you must do so exclusively on your behalf, under your direction
+ and control, on terms that prohibit them from making any copies of
+ your copyrighted material outside their relationship with you.
+ .
+ Conveying under any other circumstances is permitted solely under
+ the conditions stated below. Sublicensing is not allowed; section 10
+ makes it unnecessary.
+ .
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+ .
+ No covered work shall be deemed part of an effective technological
+ measure under any applicable law fulfilling obligations under article
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
+ similar laws prohibiting or restricting circumvention of such
+ measures.
+ .
+ When you convey a covered work, you waive any legal power to forbid
+ circumvention of technological measures to the extent such circumvention
+ is effected by exercising rights under this License with respect to
+ the covered work, and you disclaim any intention to limit operation or
+ modification of the work as a means of enforcing, against the work's
+ users, your or third parties' legal rights to forbid circumvention of
+ technological measures.
+ .
+ 4. Conveying Verbatim Copies.
+ .
+ You may convey verbatim copies of the Program's source code as you
+ receive it, in any medium, provided that you conspicuously and
+ appropriately publish on each copy an appropriate copyright notice;
+ keep intact all notices stating that this License and any
+ non-permissive terms added in accord with section 7 apply to the code;
+ keep intact all notices of the absence of any warranty; and give all
+ recipients a copy of this License along with the Program.
+ .
+ You may charge any price or no price for each copy that you convey,
+ and you may offer support or warranty protection for a fee.
+ .
+ 5. Conveying Modified Source Versions.
+ .
+ You may convey a work based on the Program, or the modifications to
+ produce it from the Program, in the form of source code under the
+ terms of section 4, provided that you also meet all of these conditions:
+ .
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+ .
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+ .
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+ .
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+ .
+ A compilation of a covered work with other separate and independent
+ works, which are not by their nature extensions of the covered work,
+ and which are not combined with it such as to form a larger program,
+ in or on a volume of a storage or distribution medium, is called an
+ "aggregate" if the compilation and its resulting copyright are not
+ used to limit the access or legal rights of the compilation's users
+ beyond what the individual works permit. Inclusion of a covered work
+ in an aggregate does not cause this License to apply to the other
+ parts of the aggregate.
+ .
+ 6. Conveying Non-Source Forms.
+ .
+ You may convey a covered work in object code form under the terms
+ of sections 4 and 5, provided that you also convey the
+ machine-readable Corresponding Source under the terms of this License,
+ in one of these ways:
+ .
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+ .
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+ .
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+ .
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+ .
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+ .
+ A separable portion of the object code, whose source code is excluded
+ from the Corresponding Source as a System Library, need not be
+ included in conveying the object code work.
+ .
+ A "User Product" is either (1) a "consumer product", which means any
+ tangible personal property which is normally used for personal, family,
+ or household purposes, or (2) anything designed or sold for incorporation
+ into a dwelling. In determining whether a product is a consumer product,
+ doubtful cases shall be resolved in favor of coverage. For a particular
+ product received by a particular user, "normally used" refers to a
+ typical or common use of that class of product, regardless of the status
+ of the particular user or of the way in which the particular user
+ actually uses, or expects or is expected to use, the product. A product
+ is a consumer product regardless of whether the product has substantial
+ commercial, industrial or non-consumer uses, unless such uses represent
+ the only significant mode of use of the product.
+ .
+ "Installation Information" for a User Product means any methods,
+ procedures, authorization keys, or other information required to install
+ and execute modified versions of a covered work in that User Product from
+ a modified version of its Corresponding Source. The information must
+ suffice to ensure that the continued functioning of the modified object
+ code is in no case prevented or interfered with solely because
+ modification has been made.
+ .
+ If you convey an object code work under this section in, or with, or
+ specifically for use in, a User Product, and the conveying occurs as
+ part of a transaction in which the right of possession and use of the
+ User Product is transferred to the recipient in perpetuity or for a
+ fixed term (regardless of how the transaction is characterized), the
+ Corresponding Source conveyed under this section must be accompanied
+ by the Installation Information. But this requirement does not apply
+ if neither you nor any third party retains the ability to install
+ modified object code on the User Product (for example, the work has
+ been installed in ROM).
+ .
+ The requirement to provide Installation Information does not include a
+ requirement to continue to provide support service, warranty, or updates
+ for a work that has been modified or installed by the recipient, or for
+ the User Product in which it has been modified or installed. Access to a
+ network may be denied when the modification itself materially and
+ adversely affects the operation of the network or violates the rules and
+ protocols for communication across the network.
+ .
+ Corresponding Source conveyed, and Installation Information provided,
+ in accord with this section must be in a format that is publicly
+ documented (and with an implementation available to the public in
+ source code form), and must require no special password or key for
+ unpacking, reading or copying.
+ .
+ 7. Additional Terms.
+ .
+ "Additional permissions" are terms that supplement the terms of this
+ License by making exceptions from one or more of its conditions.
+ Additional permissions that are applicable to the entire Program shall
+ be treated as though they were included in this License, to the extent
+ that they are valid under applicable law. If additional permissions
+ apply only to part of the Program, that part may be used separately
+ under those permissions, but the entire Program remains governed by
+ this License without regard to the additional permissions.
+ .
+ When you convey a copy of a covered work, you may at your option
+ remove any additional permissions from that copy, or from any part of
+ it. (Additional permissions may be written to require their own
+ removal in certain cases when you modify the work.) You may place
+ additional permissions on material, added by you to a covered work,
+ for which you have or can give appropriate copyright permission.
+ .
+ Notwithstanding any other provision of this License, for material you
+ add to a covered work, you may (if authorized by the copyright holders of
+ that material) supplement the terms of this License with terms:
+ .
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+ .
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+ .
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+ .
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+ .
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+ .
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+ .
+ All other non-permissive additional terms are considered "further
+ restrictions" within the meaning of section 10. If the Program as you
+ received it, or any part of it, contains a notice stating that it is
+ governed by this License along with a term that is a further
+ restriction, you may remove that term. If a license document contains
+ a further restriction but permits relicensing or conveying under this
+ License, you may add to a covered work material governed by the terms
+ of that license document, provided that the further restriction does
+ not survive such relicensing or conveying.
+ .
+ If you add terms to a covered work in accord with this section, you
+ must place, in the relevant source files, a statement of the
+ additional terms that apply to those files, or a notice indicating
+ where to find the applicable terms.
+ .
+ Additional terms, permissive or non-permissive, may be stated in the
+ form of a separately written license, or stated as exceptions;
+ the above requirements apply either way.
+ .
+ 8. Termination.
+ .
+ You may not propagate or modify a covered work except as expressly
+ provided under this License. Any attempt otherwise to propagate or
+ modify it is void, and will automatically terminate your rights under
+ this License (including any patent licenses granted under the third
+ paragraph of section 11).
+ .
+ However, if you cease all violation of this License, then your
+ license from a particular copyright holder is reinstated (a)
+ provisionally, unless and until the copyright holder explicitly and
+ finally terminates your license, and (b) permanently, if the copyright
+ holder fails to notify you of the violation by some reasonable means
+ prior to 60 days after the cessation.
+ .
+ Moreover, your license from a particular copyright holder is
+ reinstated permanently if the copyright holder notifies you of the
+ violation by some reasonable means, this is the first time you have
+ received notice of violation of this License (for any work) from that
+ copyright holder, and you cure the violation prior to 30 days after
+ your receipt of the notice.
+ .
+ Termination of your rights under this section does not terminate the
+ licenses of parties who have received copies or rights from you under
+ this License. If your rights have been terminated and not permanently
+ reinstated, you do not qualify to receive new licenses for the same
+ material under section 10.
+ .
+ 9. Acceptance Not Required for Having Copies.
+ .
+ You are not required to accept this License in order to receive or
+ run a copy of the Program. Ancillary propagation of a covered work
+ occurring solely as a consequence of using peer-to-peer transmission
+ to receive a copy likewise does not require acceptance. However,
+ nothing other than this License grants you permission to propagate or
+ modify any covered work. These actions infringe copyright if you do
+ not accept this License. Therefore, by modifying or propagating a
+ covered work, you indicate your acceptance of this License to do so.
+ .
+ 10. Automatic Licensing of Downstream Recipients.
+ .
+ Each time you convey a covered work, the recipient automatically
+ receives a license from the original licensors, to run, modify and
+ propagate that work, subject to this License. You are not responsible
+ for enforcing compliance by third parties with this License.
+ .
+ An "entity transaction" is a transaction transferring control of an
+ organization, or substantially all assets of one, or subdividing an
+ organization, or merging organizations. If propagation of a covered
+ work results from an entity transaction, each party to that
+ transaction who receives a copy of the work also receives whatever
+ licenses to the work the party's predecessor in interest had or could
+ give under the previous paragraph, plus a right to possession of the
+ Corresponding Source of the work from the predecessor in interest, if
+ the predecessor has it or can get it with reasonable efforts.
+ .
+ You may not impose any further restrictions on the exercise of the
+ rights granted or affirmed under this License. For example, you may
+ not impose a license fee, royalty, or other charge for exercise of
+ rights granted under this License, and you may not initiate litigation
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ any patent claim is infringed by making, using, selling, offering for
+ sale, or importing the Program or any portion of it.
+ .
+ 11. Patents.
+ .
+ A "contributor" is a copyright holder who authorizes use under this
+ License of the Program or a work on which the Program is based. The
+ work thus licensed is called the contributor's "contributor version".
+ .
+ A contributor's "essential patent claims" are all patent claims
+ owned or controlled by the contributor, whether already acquired or
+ hereafter acquired, that would be infringed by some manner, permitted
+ by this License, of making, using, or selling its contributor version,
+ but do not include claims that would be infringed only as a
+ consequence of further modification of the contributor version. For
+ purposes of this definition, "control" includes the right to grant
+ patent sublicenses in a manner consistent with the requirements of
+ this License.
+ .
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+ patent license under the contributor's essential patent claims, to
+ make, use, sell, offer for sale, import and otherwise run, modify and
+ propagate the contents of its contributor version.
+ .
+ In the following three paragraphs, a "patent license" is any express
+ agreement or commitment, however denominated, not to enforce a patent
+ (such as an express permission to practice a patent or covenant not to
+ sue for patent infringement). To "grant" such a patent license to a
+ party means to make such an agreement or commitment not to enforce a
+ patent against the party.
+ .
+ If you convey a covered work, knowingly relying on a patent license,
+ and the Corresponding Source of the work is not available for anyone
+ to copy, free of charge and under the terms of this License, through a
+ publicly available network server or other readily accessible means,
+ then you must either (1) cause the Corresponding Source to be so
+ available, or (2) arrange to deprive yourself of the benefit of the
+ patent license for this particular work, or (3) arrange, in a manner
+ consistent with the requirements of this License, to extend the patent
+ license to downstream recipients. "Knowingly relying" means you have
+ actual knowledge that, but for the patent license, your conveying the
+ covered work in a country, or your recipient's use of the covered work
+ in a country, would infringe one or more identifiable patents in that
+ country that you have reason to believe are valid.
+ .
+ If, pursuant to or in connection with a single transaction or
+ arrangement, you convey, or propagate by procuring conveyance of, a
+ covered work, and grant a patent license to some of the parties
+ receiving the covered work authorizing them to use, propagate, modify
+ or convey a specific copy of the covered work, then the patent license
+ you grant is automatically extended to all recipients of the covered
+ work and works based on it.
+ .
+ A patent license is "discriminatory" if it does not include within
+ the scope of its coverage, prohibits the exercise of, or is
+ conditioned on the non-exercise of one or more of the rights that are
+ specifically granted under this License. You may not convey a covered
+ work if you are a party to an arrangement with a third party that is
+ in the business of distributing software, under which you make payment
+ to the third party based on the extent of your activity of conveying
+ the work, and under which the third party grants, to any of the
+ parties who would receive the covered work from you, a discriminatory
+ patent license (a) in connection with copies of the covered work
+ conveyed by you (or copies made from those copies), or (b) primarily
+ for and in connection with specific products or compilations that
+ contain the covered work, unless you entered into that arrangement,
+ or that patent license was granted, prior to 28 March 2007.
+ .
+ Nothing in this License shall be construed as excluding or limiting
+ any implied license or other defenses to infringement that may
+ otherwise be available to you under applicable patent law.
+ .
+ 12. No Surrender of Others' Freedom.
+ .
+ If conditions are imposed on you (whether by court order, agreement or
+ otherwise) that contradict the conditions of this License, they do not
+ excuse you from the conditions of this License. If you cannot convey a
+ covered work so as to satisfy simultaneously your obligations under this
+ License and any other pertinent obligations, then as a consequence you may
+ not convey it at all. For example, if you agree to terms that obligate you
+ to collect a royalty for further conveying from those to whom you convey
+ the Program, the only way you could satisfy both those terms and this
+ License would be to refrain entirely from conveying the Program.
+ .
+ 13. Remote Network Interaction; Use with the GNU General Public License.
+ .
+ Notwithstanding any other provision of this License, if you modify the
+ Program, your modified version must prominently offer all users
+ interacting with it remotely through a computer network (if your version
+ supports such interaction) an opportunity to receive the Corresponding
+ Source of your version by providing access to the Corresponding Source
+ from a network server at no charge, through some standard or customary
+ means of facilitating copying of software. This Corresponding Source
+ shall include the Corresponding Source for any work covered by version 3
+ of the GNU General Public License that is incorporated pursuant to the
+ following paragraph.
+ .
+ Notwithstanding any other provision of this License, you have
+ permission to link or combine any covered work with a work licensed
+ under version 3 of the GNU General Public License into a single
+ combined work, and to convey the resulting work. The terms of this
+ License will continue to apply to the part which is the covered work,
+ but the work with which it is combined will remain governed by version
+ 3 of the GNU General Public License.
+ .
+ 14. Revised Versions of this License.
+ .
+ The Free Software Foundation may publish revised and/or new versions of
+ the GNU Affero General Public License from time to time. Such new versions
+ will be similar in spirit to the present version, but may differ in detail to
+ address new problems or concerns.
+ .
+ Each version is given a distinguishing version number. If the
+ Program specifies that a certain numbered version of the GNU Affero General
+ Public License "or any later version" applies to it, you have the
+ option of following the terms and conditions either of that numbered
+ version or of any later version published by the Free Software
+ Foundation. If the Program does not specify a version number of the
+ GNU Affero General Public License, you may choose any version ever published
+ by the Free Software Foundation.
+ .
+ If the Program specifies that a proxy can decide which future
+ versions of the GNU Affero General Public License can be used, that proxy's
+ public statement of acceptance of a version permanently authorizes you
+ to choose that version for the Program.
+ .
+ Later license versions may give you additional or different
+ permissions. However, no additional obligations are imposed on any
+ author or copyright holder as a result of your choosing to follow a
+ later version.
+ .
+ 15. Disclaimer of Warranty.
+ .
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+ .
+ 16. Limitation of Liability.
+ .
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGES.
+ .
+ 17. Interpretation of Sections 15 and 16.
+ .
+ If the disclaimer of warranty and limitation of liability provided
+ above cannot be given local legal effect according to their terms,
+ reviewing courts shall apply local law that most closely approximates
+ an absolute waiver of all civil liability in connection with the
+ Program, unless a warranty or assumption of liability accompanies a
+ copy of the Program in return for a fee.
+ .
+ END OF TERMS AND CONDITIONS
+ .
+ How to Apply These Terms to Your New Programs
+ .
+ If you develop a new program, and you want it to be of the greatest
+ possible use to the public, the best way to achieve this is to make it
+ free software which everyone can redistribute and change under these terms.
+ .
+ To do so, attach the following notices to the program. It is safest
+ to attach them to the start of each source file to most effectively
+ state the exclusion of warranty; and each file should have at least
+ the "copyright" line and a pointer to where the full notice is found.
+ .
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+ .
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+ .
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ Also add information on how to contact you by electronic and paper mail.
+ .
+ If your software can interact with users remotely through a computer
+ network, you should also make sure that it provides a way for users to
+ get its source. For example, if your program is a web application, its
+ interface could display a "Source" link that leads users to an archive
+ of the code. There are many ways you could offer source, and different
+ solutions will be better for different programs; see section 13 for the
+ specific requirements.
+ .
+ You should also get your employer (if you work as a programmer) or school,
+ if any, to sign a "copyright disclaimer" for the program, if necessary.
+ For more information on this, and how to apply and follow the GNU AGPL, see
+ <http://www.gnu.org/licenses/>.
+
+License: BSD-2
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-3
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the copyright holder nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+License: Expat
+ 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.
+
+License: GFDL-1.3+
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.3
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ .
+ On Debian systems, the complete text of the GNU Free Documentation License
+ version 1.3 can be found in "/usr/share/common-licenses/GFDL-1.3".
+
+License: GPL-2+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
+
+License: GPL-3+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+License: LGPL-2+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU Library General Public License
+ version 2 can be found in "/usr/share/common-licenses/LGPL-2".
+
+License: MIT
+ All rights reserved. No part of this source code may be reproduced,
+ stored in a retrieval system, or transmitted, in any form or by any
+ means, electronic, mechanical, photocopying, recording or otherwise,
+ except as stated in the end-user licence agreement, without the prior
+ permission of the copyright owners.
+ .
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose and without fee is hereby granted, provided
+ that the above copyright notice appear in all copies and that both that
+ copyright notice and this permission notice appear in supporting
+ documentation, and that the name of OSF, UI or X/Open not be used in
+ advertising or publicity pertaining to distribution of the software
+ without specific, written prior permission. OSF, UI and X/Open make
+ no representations about the suitability of this software for any purpose.
+ It is provided "as is" without express or implied warranty.
+ .
+ OSF, UI and X/Open DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ EVENT SHALL OSF, UI or X/Open BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
+ USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
diff --git a/debian/icc-utils.postinst b/debian/icc-utils.postinst
new file mode 100644
index 0000000..42dfee1
--- /dev/null
+++ b/debian/icc-utils.postinst
@@ -0,0 +1,41 @@
+#!/bin/sh
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+# source debconf library
+#. /usr/share/debconf/confmodule
+
+
+case "$1" in
+
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ # Replace documentation directory symlink
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/icc-utils /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+
+exit 0
diff --git a/debian/icc-utils.postrm b/debian/icc-utils.postrm
new file mode 100644
index 0000000..eb12775
--- /dev/null
+++ b/debian/icc-utils.postrm
@@ -0,0 +1,33 @@
+#! /bin/sh
+# postrm script for icc-utils
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/icc-utils /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
diff --git a/debian/icc-utils.preinst b/debian/icc-utils.preinst
new file mode 100644
index 0000000..98e4723
--- /dev/null
+++ b/debian/icc-utils.preinst
@@ -0,0 +1,32 @@
+#!/bin/sh
+# preinst script for icc-utils
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ install|upgrade|abort-upgrade)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/icc-utils /usr/share/doc/argyll-doc 1.6.3-2~ -- "$@"
+ ;;
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/man/applycal.1 b/debian/man/applycal.1
new file mode 100644
index 0000000..eb2f902
--- /dev/null
+++ b/debian/man/applycal.1
@@ -0,0 +1,30 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH APPLY "1" "September 2014" "applycal" "User Commands"
+.SH NAME
+Apply \- Apply device calibration to an ICC profile.
+.SH DESCRIPTION
+Apply device calibration to an ICC profile
+.SH SYNOPSIS
+.B applycal
+.RB [\-options] [calfile.cal] inprof.icc [outprof.icc]
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-a\fR
+Apply or re\-apply calibration (default)
+.TP
+\fB\-u\fR
+Remove calibration
+.TP
+\fB\-c\fR
+Check calibration
+.TP
+calfile.cal
+Calibration file to apply
+.TP
+inprof.icc
+ICC profile to read
+.TP
+outprof.icc
+modified ICC profile to write \ No newline at end of file
diff --git a/debian/man/average.1 b/debian/man/average.1
new file mode 100644
index 0000000..ae80f1f
--- /dev/null
+++ b/debian/man/average.1
@@ -0,0 +1,29 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH AVERAGE "1" "September 2014" "average" "User Commands"
+.SH NAME
+Average \- Average or merge values in .ti3 like files.
+.SH DESCRIPTION
+Average or merge values in .ti3 like files
+.IP
+Diagnostic: Too few arguments (1, minimum is 2)
+.SH SYNOPSIS
+.B average
+.RB [\-options]\ \input1.ti3\ \input2.ti3 ... output.ti3
+.TP
+\fB\-v\fR
+Verbose
+.TP
+\fB\-m\fR
+Merge rather than average
+.TP
+input1.ti3
+First input file
+.TP
+input2.ti3
+Second input file
+.TP
+\&...
+etc.
+.TP
+output.ti3
+Resulting averaged or merged output file
diff --git a/debian/man/cb2ti3.1 b/debian/man/cb2ti3.1
new file mode 100644
index 0000000..ddf3a9d
--- /dev/null
+++ b/debian/man/cb2ti3.1
@@ -0,0 +1,21 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CONVERT "1" "September 2014" "cb2ti3" "User Commands"
+.SH NAME
+Convert \- Convert Colorblind raw device profile data to Argyll data.
+.SH DESCRIPTION
+Convert Colorblind raw device profile data to Argyll data
+.SH SYNOPSIS
+.B cb2ti3
+.RB [\-v] [\-l limit] infile outfile
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-l\fR limit
+Set inklimit in .ti3 file
+.TP
+infile
+Base name for input.CMY and input.nCIE file
+.TP
+outfile
+Base name for output.ti3 file \ No newline at end of file
diff --git a/debian/man/cctiff.1 b/debian/man/cctiff.1
new file mode 100644
index 0000000..cb23e31
--- /dev/null
+++ b/debian/man/cctiff.1
@@ -0,0 +1,73 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH COLOR "1" "September 2014" "cctiff" "User Commands"
+.SH NAME
+Color \- Color Correct a TIFF file using any sequence of ICC profiles or Calibrations.
+.SH DESCRIPTION
+Color Correct a TIFF or JPEG file using any sequence of ICC profiles or Calibrations
+.SH SYNOPSIS
+.B cctiff
+.RB [\-options]\ { [\-i intent]\ profile.icc\ |\ calbrtn.cal\ ...}\ infile.(tif|jpg)\ outfile.(tif|jpg)
+.TP
+\fB\-v\fR
+Verbose.
+.TP
+\fB\-c\fR
+Combine linearisation curves into one transform.
+.TP
+\fB\-p\fR
+Use slow precise correction.
+.TP
+\fB\-k\fR
+Check fast result against precise, and report.
+.TP
+\fB\-r\fR n
+Override the default CLUT resolution
+.TP
+\fB\-t\fR n
+Choose output encoding from 1..n
+.TP
+\fB\-f\fR [T|J]
+Set output format to Tiff or Jpeg (Default is same as input)
+.TP
+\fB\-q\fR quality
+Set JPEG quality 1..100 (Default 80)
+.TP
+\fB\-a\fR
+Read and Write planes > 4 as alpha planes
+.TP
+\fB\-I\fR
+Ignore any file or profile colorspace mismatches
+.TP
+\fB\-D\fR
+Don't append or set the output TIFF or JPEG description
+.TP
+\fB\-e\fR profile.[icc | tiff | jpg]
+Optionally embed a profile in the destination TIFF or JPEG file.
+.IP
+Then for each profile in sequence:
+.TP
+\fB\-i\fR intent
+p = perceptual, r = relative colorimetric,
+s = saturation, a = absolute colorimetric
+.TP
+\fB\-o\fR order
+n = normal (priority: lut > matrix > monochrome)
+r = reverse (priority: monochrome > matrix > lut)
+.TP
+profile.[icc | tiff]
+Device, Link or Abstract profile
+.IP
+( May be embedded profile in TIFF/JPEG file)
+.IP
+or each calibration file in sequence:
+.TP
+\fB\-d\fR dir
+f = forward cal. (default), b = backwards cal.
+.TP
+calbrtn.cal
+Device calibration file.
+.TP
+infile.tif/jpg
+Input TIFF/JPEG file in appropriate color space
+.IP
+outfile.tif/jpg Output TIFF/JPEG file
diff --git a/debian/man/ccxxmake.1 b/debian/man/ccxxmake.1
new file mode 100644
index 0000000..337db92
--- /dev/null
+++ b/debian/man/ccxxmake.1
@@ -0,0 +1,91 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "ccmxmake" "User Commands"
+.SH NAME
+Create \- Create CCMX or CCSS.
+.SH DESCRIPTION
+Create CCMX or CCSS
+.SH SYNOPSIS
+.B ccmxmake
+.RB [\-options]\ output.ccmx
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-S\fR
+Create CCSS rather than CCMX
+.HP
+\fB\-f\fR file1.ti3[,file2.ti3] Create from one or two .ti3 files rather than measure.
+.TP
+\fB\-display\fR displayname
+Choose X11 display name
+.TP
+\fB\-d\fR n[,m]
+Choose the display n from the following list (default 1)
+Optionally choose different display m for VideoLUT access
+.IP
+1 name = ':0.0'
+1 = 'Screen 1, Output DVI\-I\-1 at 0, 0, width 1920, height 1080'
+.TP
+\fB\-dweb[\fR:port]
+Display via a web server at port (default 8080)
+.TP
+\fB\-p\fR
+Use telephoto mode (ie. for a projector) (if available)
+.TP
+\fB\-P\fR ho,vo,ss[,vs]
+Position test window and scale it
+ho,vi: 0.0 = left/top, 0.5 = center, 1.0 = right/bottom etc.
+ss: 0.5 = half, 1.0 = normal, 2.0 = double etc.
+.TP
+\fB\-F\fR
+Fill whole screen with black background
+.TP
+\fB\-n\fR
+Don't set override redirect on test window
+.TP
+\fB\-N\fR
+Disable initial calibration of instrument if possible
+.TP
+\fB\-H\fR
+Use high resolution spectrum mode (if available)
+.TP
+\fB\-C\fR "command"
+Invoke shell "command" each time a color is set
+.TP
+\fB\-o\fR observ
+Choose CIE Observer for CCMX spectrometer data:
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+.TP
+\fB\-s\fR steps
+Override default patch sequence combination steps (default 1)
+.TP
+\fB\-W\fR n|h|x
+Override serial port flow control: n = none, h = HW, x = Xon/Xoff
+.TP
+\fB\-D\fR [level]
+Print debug diagnostics to stderr
+.TP
+\fB\-E\fR desciption
+Override the default overall description
+.TP
+\fB\-I\fR displayname
+Set display make and model description
+.TP
+\fB\-T\fR displaytech
+Set display technology description (ie. CRT, LCD etc.)
+.TP
+\fB\-U\fR c
+Set UI selection character(s)
+.TP
+\fB\-Y\fR r|n
+Set or override refresh/non\-refresh display type
+.TP
+\fB\-Y\fR R:rate
+Override measured refresh rate with rate Hz
+.TP
+\fB\-Y\fR A
+Use non\-adaptive integration time mode (if available).
+.IP
+correction.ccmx | calibration.ccss
+.IP
+File to save result to
diff --git a/debian/man/chartread.1 b/debian/man/chartread.1
new file mode 100644
index 0000000..1d8285e
--- /dev/null
+++ b/debian/man/chartread.1
@@ -0,0 +1,96 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH READ "1" "September 2014" "chartread" "User Commands"
+.SH NAME
+Read \- Read Target Test Chart.
+.SH DESCRIPTION
+Read Target Test Chart
+.SH SYNOPSIS
+.B chartread
+.RB [\-options]\ outfile
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-c\fR listno
+Set communication port from the following list (default 1)
+.IP
+** No ports found **
+.TP
+\fB\-t\fR
+Use transmission measurement mode
+.TP
+\fB\-d\fR
+Use display measurement mode (white Y relative results)
+.TP
+\fB\-e\fR
+Emissive for transparency on a light box
+.TP
+\fB\-p\fR
+Measure patch by patch rather than strip
+.TP
+\fB\-x\fR [lx]
+Take external values, either L*a*b* (\fB\-xl\fR) or XYZ (\fB\-xx\fR).
+.TP
+\fB\-n\fR
+Don't save spectral information (default saves spectral)
+.TP
+\fB\-l\fR
+Save CIE as D50 L*a*b* rather than XYZ
+.TP
+\fB\-L\fR
+Save CIE as D50 L*a*b* as well as XYZ
+.TP
+\fB\-r\fR
+Resume reading partly read chart
+.TP
+\fB\-I\fR file.cal
+Override calibration info from .ti2 in resulting .ti3
+.TP
+\fB\-F\fR filter
+Set filter configuration (if aplicable):
+.TP
+n
+None
+.TP
+p
+Polarising filter
+.TP
+6
+D65
+.TP
+u
+U.V. Cut
+.TP
+\fB\-N\fR
+Disable initial calibration of instrument if possible
+.TP
+\fB\-B\fR
+Disable auto bi\-directional strip recognition
+.TP
+\fB\-H\fR
+Use high resolution spectrum mode (if available)
+.TP
+\fB\-X\fR file.ccmx
+Apply Colorimeter Correction Matrix
+.TP
+\fB\-X\fR file.ccss
+Use Colorimeter Calibration Spectral Samples for calibration
+.TP
+\fB\-Q\fR observ
+Choose CIE Observer for CCSS instrument:
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+.TP
+\fB\-T\fR ratio
+Modify strip patch consistency tolerance by ratio
+.TP
+\fB\-S\fR
+Suppress wrong strip & unexpected value warnings
+.TP
+\fB\-W\fR n|h|x
+Override serial port flow control: n = none, h = HW, x = Xon/Xoff
+.TP
+\fB\-D\fR [level]
+Print debug diagnostics to stderr
+.TP
+outfile
+Base name for input[ti2]/output[ti3] file
diff --git a/debian/man/collink.1 b/debian/man/collink.1
new file mode 100644
index 0000000..35d6c02
--- /dev/null
+++ b/debian/man/collink.1
@@ -0,0 +1,241 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH LINK "1" "September 2014" "collink" "User Commands"
+.SH NAME
+Link \- Link ICC profiles.
+.SH DESCRIPTION
+Link ICC profiles
+.SH SYNOPSIS
+.B collink
+.RB [options]\ srcprofile\ dstprofile\ linkedprofile
+.TP
+\fB\-v\fR Verbose
+.HP
+\fB\-A\fR manufacturer Manufacturer description string
+.TP
+\fB\-M\fR model
+Model description string
+.TP
+\fB\-D\fR description
+Profile Description string (Default "inoutfile")
+.TP
+\fB\-C\fR copyright
+Copyright string
+.TP
+\fB\-V\fR
+Verify existing profile, rather than link
+.TP
+\fB\-q\fR lmhu
+Quality \- Low, Medium (def), High, Ultra
+.TP
+\fB\-r\fR res
+Override clut res. set by \fB\-q\fR
+.TP
+\fB\-n\fR
+Don't preserve device linearization curves in result
+.TP
+\fB\-f\fR
+Special :\- Force neutral colors to be K only output
+.TP
+\fB\-fk\fR
+Special :\- Force K only neutral colors to be K only output
+.TP
+\fB\-F\fR
+Special :\- Force all colors to be K only output
+.TP
+\fB\-fcmy\fR
+Special :\- Force 100% C,M or Y only to stay pure
+.TP
+\fB\-p\fR absprof
+Include abstract profile in link
+.TP
+\fB\-a\fR file.cal
+Apply calibration curves to link output and append linear
+.TP
+\fB\-H\fR file.cal
+Append calibration curves to 3dlut
+.TP
+\fB\-s\fR
+Simple Mode (default)
+.TP
+\fB\-g\fR [src.gam]
+Gamut Mapping Mode [optional source image gamut]
+.TP
+\fB\-G\fR [src.gam]
+Gamut Mapping Mode using inverse outprofile A2B
+.IP
+Simple Mode Options:
+\fB\-i\fR in_intent p = perceptual, r = relative colorimetric,
+.IP
+s = saturation, a = absolute colorimetric
+.TP
+\fB\-o\fR out_intent
+p = perceptual, r = relative colorimetric,
+s = saturation, a = absolute colorimetric
+.TP
+Gamut Mapping
+Mode Options:
+.TP
+\fB\-i\fR intent
+set linking intent from the following choice:
+.IP
+a \- Absolute Colorimetric (in Jab) [ICC Absolute Colorimetric]
+.IP
+aw \- Absolute Colorimetric (in Jab) with scaling to fit white point
+aa \- Absolute Appearance
+.IP
+r \- White Point Matched Appearance [ICC Relative Colorimetric]
+.IP
+la \- Luminance axis matched Appearance
+.IP
+p \- Perceptual (Preferred) (Default) [ICC Perceptual]
+.IP
+pa \- Perceptual Apperance
+ms \- Saturation
+.IP
+s \- Enhanced Saturation [ICC Saturation]
+.IP
+al \- Absolute Colorimetric (Lab)
+rl \- White Point Matched Colorimetric (Lab)
+.TP
+\fB\-w\fR [J,a,b]
+Use forced whitepoint hack [optional target point]
+.TP
+\fB\-c\fR viewcond
+set source viewing conditions for CIECAM02,
+either an enumerated choice, or a parameter
+.TP
+\fB\-d\fR viewcond
+set destination viewing conditions for CIECAM02,
+either an enumerated choice, or parameter:value changes
+.IP
+pp \- Practical Reflection Print (ISO\-3664 P2)
+pe \- Print evaluation environment (CIE 116\-1995)
+pc \- Critical print evaluation environment (ISO\-3664 P1)
+mt \- Monitor in typical work environment
+mb \- Bright monitor in bright work environment
+md \- Monitor in darkened work environment
+jm \- Projector in dim environment
+jd \- Projector in dark environment
+tv \- Television/Film Studio
+.IP
+pcd \- Photo CD \- original scene outdoors
+.IP
+ob \- Original scene \- Bright Outdoors
+cx \- Cut Sheet Transparencies on a viewing box
+.TP
+s:surround
+n = auto, a = average, m = dim, d = dark,
+c = transparency (default average)
+.TP
+w:X:Y:Z
+Adapted white point as XYZ (default media white)
+.TP
+w:x:y
+Adapted white point as x, y
+.TP
+a:adaptation
+Adaptation luminance in cd.m^2 (default 50.0)
+.TP
+b:background
+Background % of image luminance (default 20)
+.TP
+l:imagewhite
+Image white in cd.m^2 if surround = auto (default 250)
+.TP
+f:flare
+Flare light % of image luminance (default 0)
+.TP
+g:glare
+Flare light % of ambient (default 1)
+.TP
+g:X:Y:Z
+Flare color as XYZ (default media white, Abs: D50)
+.TP
+g:x:y
+Flare color as x, y
+.TP
+\fB\-t\fR tlimit
+set source total ink limit, 0 \- 400% (estimate by default)
+.TP
+\fB\-T\fR klimit
+set source black ink limit, 0 \- 100% (estimate by default)
+.IP
+Inverse outprofile A2B Options:
+\fB\-k\fR tezhxr CMYK Black generation
+.IP
+t = transfer K from source to destination, e = retain K of destination B2A table
+z = zero K, h = 0.5 K, x = maximum K, r = ramp K (default)
+.HP
+\fB\-k\fR p stle stpo enpo enle shape
+.IP
+p = black target generation curve parameters
+.HP
+\fB\-k\fR q stle0 stpo0 enpo0 enle0 shape0 stle2 stpo2 enpo2 enle2 shape2
+.IP
+q = transfer source K to dual curve limits
+.TP
+\fB\-K\fR parameters
+Same as \fB\-k\fR, but target is K locus rather than K value itself
+.TP
+\fB\-l\fR tlimit
+set destination total ink limit, 0 \- 400% (estimate by default)
+.TP
+\fB\-L\fR klimit
+set destination black ink limit, 0 \- 100% (estimate by default)
+.TP
+\fB\-3\fR flag
+Create "3DLut" output file as well as devlink
+.TP
+e
+eeColor .txt file
+.TP
+m
+MadVR .3dlut file
+.TP
+\fB\-I\fR b
+Apply BT.1886\-like mapping with effective gamma 2.2 to input
+.TP
+\fB\-I\fR b:g.g
+Apply BT.1886\-like mapping with effective gamma g.g to input
+.TP
+\fB\-I\fR B
+Apply BT.1886 mapping with technical gamma 2.4 to input
+.TP
+\fB\-I\fR B:g.g
+Apply BT.1886 mapping with technical gamma g.g to input
+.TP
+\fB\-e\fR flag
+Video encode input as:
+.TP
+\fB\-E\fR flag
+Video encode output as:
+.TP
+n
+normal 0..1 full range RGB levels (default)
+.TP
+t
+(16\-235)/255 "TV" RGB levels
+.TP
+6
+Rec601 YCbCr SD (16\-235,240)/255 "TV" levels
+.TP
+7
+Rec709 1125/60Hz YCbCr HD (16\-235,240)/255 "TV" levels
+.TP
+5
+Rec709 1250/50Hz YCbCr HD (16\-235,240)/255 "TV" levels
+.TP
+2
+Rec2020 YCbCr UHD (16\-235,240)/255 "TV" levels
+.TP
+C
+Rec2020 Constant Luminance YCbCr UHD (16\-235,240)/255 "TV" levels
+.TP
+x
+xvYCC Rec601 YCbCr Rec709 Prims. SD (16\-235,240)/255 "TV" levels
+.TP
+X
+xvYCC Rec709 YCbCr Rec709 Prims. HD (16\-235,240)/255 "TV" levels
+.TP
+\fB\-P\fR
+Create gamut gammap.wrl diagostic
diff --git a/debian/man/colprof.1 b/debian/man/colprof.1
new file mode 100644
index 0000000..cf8b9b1
--- /dev/null
+++ b/debian/man/colprof.1
@@ -0,0 +1,186 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "colprof" "User Commands"
+.SH NAME
+Create \- Create ICC profile.
+.SH DESCRIPTION
+Create ICC profile
+.SH SYNOPSIS
+.B colprof
+.RB [\-options]\ inoutfile
+.TP
+\fB\-v\fR
+Verbose mode
+.HP
+\fB\-A\fR manufacturer Manufacturer description string
+.TP
+\fB\-M\fR model
+Model description string
+.TP
+\fB\-D\fR description
+Profile Description string (Default "inoutfile")
+.TP
+\fB\-C\fR copyright
+Copyright string
+.TP
+\fB\-Z\fR tmnb
+Attributes: Transparency, Matte, Negative, BlackAndWhite
+.TP
+\fB\-Z\fR prsa
+Default intent: Perceptual, Rel. Colorimetric, Saturation, Abs. Colorimetric
+.TP
+\fB\-q\fR lmhu
+Quality \- Low, Medium (def), High, Ultra
+.TP
+\fB\-b\fR [lmhun]
+Low quality B2A table \- or specific B2A quality or none for input device
+.TP
+\fB\-ni\fR
+Don't create input (Device) shaper curves
+.TP
+\fB\-np\fR
+Don't create input (Device) grid position curves
+.TP
+\fB\-no\fR
+Don't create output (PCS) shaper curves
+.TP
+\fB\-nc\fR
+Don't put the input .ti3 data in the profile
+.TP
+\fB\-k\fR zhxr
+Black value target: z = zero K,
+h = 0.5 K, x = max K, r = ramp K (def.)
+.HP
+\fB\-k\fR p stle stpo enpo enle shape
+.IP
+stle: K level at White 0.0 \- 1.0
+stpo: start point of transition Wh 0.0 \- Bk 1.0
+enpo: End point of transition Wh 0.0 \- Bk 1.0
+enle: K level at Black 0.0 \- 1.0
+shape: 1.0 = straight, 0.0\-1.0 concave, 1.0\-2.0 convex
+.TP
+\fB\-K\fR parameters
+Same as \fB\-k\fR, but target is K locus rather than K value itself
+.TP
+\fB\-l\fR tlimit
+override total ink limit, 0 \- 400% (default from .ti3)
+.TP
+\fB\-L\fR klimit
+override black ink limit, 0 \- 100% (default from .ti3)
+.TP
+\fB\-a\fR lxXgsmGS
+Algorithm type override
+l = Lab cLUT (def.), x = XYZ cLUT, X = display XYZ cLUT + matrix
+g = gamma+matrix, s = shaper+matrix, m = matrix only,
+G = single gamma+matrix, S = single shaper+matrix
+.TP
+\fB\-u\fR
+If input profile, auto scale WP to allow extrapolation
+.TP
+\fB\-uc\fR
+If input profile, clip cLUT values above WP
+.TP
+\fB\-U\fR scale
+If input profile, scale media white point by scale
+.TP
+\fB\-R\fR
+Restrict white <= 1.0, black and primaries to be +ve
+.TP
+\fB\-V\fR demphasis
+Degree of dark region cLUT grid emphasis 1.0\-4.0 (default 1.00 = none)
+.TP
+\fB\-f\fR [illum]
+Use Fluorescent Whitening Agent compensation [opt. simulated inst. illum.:
+.IP
+M0, M1, M2, A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp]
+.TP
+\fB\-i\fR illum
+Choose illuminant for computation of CIE XYZ from spectral data & FWA:
+.IP
+A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp
+.TP
+\fB\-o\fR observ
+Choose CIE Observer for spectral data:
+.IP
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+.TP
+\fB\-r\fR avgdev
+Average deviation of device+instrument readings as a percentage (default 0.50%)
+.TP
+\fB\-s\fR src.icc
+Apply gamut mapping to output profile perceptual B2A table for given source space
+.TP
+\fB\-S\fR src.icc
+Apply gamut mapping to output profile perceptual and saturation B2A table
+.TP
+\fB\-nP\fR
+Use colormetric source gamut to make output profile perceptual table
+.TP
+\fB\-nS\fR
+Use colormetric source gamut to make output profile saturation table
+.TP
+\fB\-g\fR src.gam
+Use source image gamut as well for output profile gamut mapping
+.TP
+\fB\-p\fR absprof,...
+Incorporate abstract profile(s) into output tables
+.TP
+\fB\-t\fR intent
+Override gamut mapping intent for output profile perceptual table:
+.TP
+\fB\-T\fR intent
+Override gamut mapping intent for output profile saturation table:
+.IP
+a \- Absolute Colorimetric (in Jab) [ICC Absolute Colorimetric]
+.IP
+aw \- Absolute Colorimetric (in Jab) with scaling to fit white point
+aa \- Absolute Appearance
+.IP
+r \- White Point Matched Appearance [ICC Relative Colorimetric]
+.IP
+la \- Luminance axis matched Appearance
+.IP
+p \- Perceptual (Preferred) (Default) [ICC Perceptual]
+.IP
+pa \- Perceptual Apperance
+ms \- Saturation
+.IP
+s \- Enhanced Saturation [ICC Saturation]
+.IP
+al \- Absolute Colorimetric (Lab)
+rl \- White Point Matched Colorimetric (Lab)
+.TP
+\fB\-c\fR viewcond
+set input viewing conditions for output profile CIECAM02 gamut mapping,
+.IP
+either an enumerated choice, or a parameter
+.TP
+\fB\-d\fR viewcond
+set output viewing conditions for output profile CIECAM02 gamut mapping
+.IP
+either an enumerated choice, or a parameter
+Also sets out of gamut clipping CAM space.
+either an enumerated choice, or a series of parameters:value changes
+.IP
+pp \- Practical Reflection Print (ISO\-3664 P2)
+pe \- Print evaluation environment (CIE 116\-1995)
+pc \- Critical print evaluation environment (ISO\-3664 P1)
+mt \- Monitor in typical work environment
+mb \- Bright monitor in bright work environment
+md \- Monitor in darkened work environment
+jm \- Projector in dim environment
+jd \- Projector in dark environment
+tv \- Television/Film Studio
+.IP
+pcd \- Photo CD \- original scene outdoors
+.IP
+ob \- Original scene \- Bright Outdoors
+cx \- Cut Sheet Transparencies on a viewing box
+.TP
+\fB\-P\fR
+Create gamut gammap_p.wrl and gammap_s.wrl diagostics
+.TP
+\fB\-O\fR outputfile
+Override the default output filename.
+.TP
+inoutfile
+Base name for input.ti3/output.icc file
diff --git a/debian/man/colverify.1 b/debian/man/colverify.1
new file mode 100644
index 0000000..392d8f0
--- /dev/null
+++ b/debian/man/colverify.1
@@ -0,0 +1,68 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH VERIFY "1" "September 2014" "verfiy" "User Commands"
+.SH NAME
+Verify \- Verify CIE values.
+.SH DESCRIPTION
+Verify CIE values
+.SH SYNOPSIS
+.B verify
+.RB [\-options]\ target.ti3\ measured.ti3
+.TP
+\fB\-v\fR [n]
+Verbose mode, n >= 2 print each value
+.TP
+\fB\-n\fR
+Normalise each files reading to its white Y
+.TP
+\fB\-N\fR
+Normalise each files reading to its white XYZ
+.TP
+\fB\-m\fR
+Normalise each files reading to its white X+Y+Z
+.TP
+\fB\-D\fR
+Use D50 100.0 as L*a*b* white reference
+.TP
+\fB\-c\fR
+Show CIE94 delta E values
+.TP
+\fB\-k\fR
+Show CIEDE2000 delta E values
+.TP
+\fB\-s\fR
+Sort patch values by error
+.TP
+\fB\-w\fR
+create VRML vector visualisation (measured.wrl)
+.TP
+\fB\-W\fR
+create VRML marker visualisation (measured.wrl)
+.TP
+\fB\-x\fR
+Use VRML axes
+.TP
+\fB\-f\fR [illum]
+Use Fluorescent Whitening Agent compensation [opt. simulated inst. illum.:
+.IP
+M0, M1, M2, A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp]
+.TP
+\fB\-i\fR illum
+Choose illuminant for computation of CIE XYZ from spectral data & FWA:
+.IP
+A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp
+.TP
+\fB\-o\fR observ
+Choose CIE Observer for spectral data:
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+.TP
+\fB\-L\fR profile.icc
+Skip any first file out of profile gamut patches
+.TP
+\fB\-X\fR file.ccmx
+Apply Colorimeter Correction Matrix to second file
+.TP
+target.ti3
+Target (reference) PCS or spectral values.
+.TP
+measured.ti3
+Measured (actual) PCS or spectral values
diff --git a/debian/man/dispcal.1 b/debian/man/dispcal.1
new file mode 100644
index 0000000..20e9442
--- /dev/null
+++ b/debian/man/dispcal.1
@@ -0,0 +1,156 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CALIBRATE "1" "September 2014" "dispcal" "User Commands"
+.SH NAME
+Calibrate \- Calibrate a Display.
+.SH DESCRIPTION
+Calibrate a Display
+.SH SYNOPSIS
+.B dispcal
+.RB [options]\ outfile
+.TP
+\fB\-v\fR [n]
+Verbose mode
+.HP
+\fB\-display\fR displayname Choose X11 display name
+.TP
+\fB\-d\fR n[,m]
+Choose the display n from the following list (default 1)
+Optionally choose different display m for VideoLUT access
+.IP
+1 = 'Screen 1, Output DVI\-I\-1 at 0, 0, width 1920, height 1080'
+.TP
+\fB\-dweb[\fR:port]
+Display via a web server at port (default 8080)
+.TP
+\fB\-c\fR listno
+Set communication port from the following list (default 1)
+.IP
+** No ports found **
+.TP
+\fB\-r\fR
+Report on the calibrated display then exit
+.TP
+\fB\-R\fR
+Report on the uncalibrated display then exit
+.TP
+\fB\-m\fR
+Skip adjustment of the monitor controls
+.TP
+\fB\-o\fR [profile.icc]
+Create fast matrix/shaper profile [different filename to outfile.icc]
+.TP
+\fB\-O\fR "description"
+Fast ICC Profile Description string (Default "outfile")
+.TP
+\fB\-u\fR
+Update previous calibration and (if \fB\-o\fR used) ICC profile VideoLUTs
+.TP
+\fB\-q\fR [vlmh]
+Quality \- Very Low, Low, Medium (def), High
+.TP
+\fB\-p\fR
+Use telephoto mode (ie. for a projector) (if available)
+.TP
+\fB\-t\fR [temp]
+White Daylight locus target, optional target temperaturee in deg. K (deflt.)
+.TP
+\fB\-T\fR [temp]
+White Black Body locus target, optional target temperaturee in deg. K
+.TP
+\fB\-w\fR x,y
+Set the target white point as chromaticity coordinates
+.TP
+\fB\-b\fR bright
+Set the target white brightness in cd/m^2
+.TP
+\fB\-g\fR gamma
+Set the target response curve advertised gamma (Def. 2.4)
+Use "\-gl" for L*a*b* curve
+Use "\-gs" for sRGB curve
+Use "\-g709" for REC 709 curve (should use \fB\-a\fR as well!)
+Use "\-g240" for SMPTE 240M curve (should use \fB\-a\fR as well!)
+Use "\-G2.4 \fB\-f0\fR" for BT.1886
+.TP
+\fB\-G\fR gamma
+Set the target response curve actual technical gamma
+.TP
+\fB\-f\fR [degree]
+Amount of black level accounted for with output offset (default all output offset)
+.TP
+\fB\-a\fR ambient
+Use viewing condition adjustment for ambient in Lux
+.TP
+\fB\-k\fR factor
+Amount to correct black hue, 0 = none, 1 = full, Default = Automatic
+.TP
+\fB\-A\fR rate
+Rate of blending from neutral to black point. Default 4.0
+.TP
+\fB\-B\fR blkbright
+Set the target black brightness in cd/m^2
+.TP
+\fB\-e\fR [n]
+Run n verify passes on final curves
+.TP
+\fB\-z\fR
+Run only verify pass on installed calibration curves
+.TP
+\fB\-P\fR ho,vo,ss[,vs]
+Position test window and scale it
+ho,vi: 0.0 = left/top, 0.5 = center, 1.0 = right/bottom etc.
+ss: 0.5 = half, 1.0 = normal, 2.0 = double etc.
+.TP
+\fB\-F\fR
+Fill whole screen with black background
+.TP
+\fB\-n\fR
+Don't set override redirect on test window
+.TP
+\fB\-E\fR
+Encode the test values for video range 16..235/255
+.TP
+\fB\-J\fR
+Run instrument calibration first (used rarely)
+.TP
+\fB\-N\fR
+Disable initial calibration of instrument if possible
+.TP
+\fB\-H\fR
+Use high resolution spectrum mode (if available)
+.TP
+\fB\-X\fR file.ccmx
+Apply Colorimeter Correction Matrix
+.TP
+\fB\-X\fR file.ccss
+Use Colorimeter Calibration Spectral Samples for calibration
+.TP
+\fB\-Q\fR observ
+Choose CIE Observer for spectrometer or CCSS colorimeter data:
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2, 1964_10c
+.TP
+\fB\-I\fR b|w
+Drift compensation, Black: \fB\-Ib\fR, White: \fB\-Iw\fR, Both: \fB\-Ibw\fR
+.TP
+\fB\-Y\fR R:rate
+Override measured refresh rate with rate Hz
+.TP
+\fB\-Y\fR A
+Use non\-adaptive integration time mode (if available).
+.TP
+\fB\-Y\fR p
+Don't wait for the instrument to be placed on the display
+.TP
+\fB\-C\fR "command"
+Invoke shell "command" each time a color is set
+.TP
+\fB\-M\fR "command"
+Invoke shell "command" each time a color is measured
+.TP
+\fB\-W\fR n|h|x
+Override serial port flow control: n = none, h = HW, x = Xon/Xoff
+.TP
+\fB\-D\fR [level]
+Print debug diagnostics to stderr
+.TP
+inoutfile
+Base name for created or updated .cal and .icc output files
diff --git a/debian/man/dispread.1 b/debian/man/dispread.1
new file mode 100644
index 0000000..a19b8c7
--- /dev/null
+++ b/debian/man/dispread.1
@@ -0,0 +1,103 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH READ "1" "September 2014" "dispread" "User Commands"
+.SH NAME
+Read \- Read a Display.
+.SH DESCRIPTION
+Read a Display
+.SH SYNOPSIS
+.B dispread
+.RB [options]\ outfile
+.TP
+\fB\-v\fR
+Verbose mode
+.HP
+\fB\-display\fR displayname Choose X11 display name
+.TP
+\fB\-d\fR n[,m]
+Choose the display n from the following list (default 1)
+Optionally choose different display m for VideoLUT access
+.IP
+1 = 'Screen 1, Output DVI\-I\-1 at 0, 0, width 1920, height 1080'
+.TP
+\fB\-dweb[\fR:port]
+Display via a web server at port (default 8080)
+.TP
+\fB\-c\fR listno
+Set communication port from the following list (default 1)
+.IP
+** No ports found **
+.TP
+\fB\-p\fR
+Use telephoto mode (ie. for a projector) (if available)
+.TP
+\fB\-k\fR file.cal
+Load calibration file into display while reading
+.TP
+\fB\-K\fR file.cal
+Apply calibration file to test values while reading
+.TP
+\fB\-s\fR
+Save spectral information (default don't save)
+.TP
+\fB\-P\fR ho,vo,ss[,vs]
+Position test window and scale it
+ho,vi: 0.0 = left/top, 0.5 = center, 1.0 = right/bottom etc.
+ss: 0.5 = half, 1.0 = normal, 2.0 = double etc.
+.TP
+\fB\-F\fR
+Fill whole screen with black background
+.TP
+\fB\-n\fR
+Don't set override redirect on test window
+.TP
+\fB\-E\fR
+Encode the test values for video range 16..235/255
+.TP
+\fB\-J\fR
+Run instrument calibration first (used rarely)
+.TP
+\fB\-N\fR
+Disable initial calibration of instrument if possible
+.TP
+\fB\-H\fR
+Use high resolution spectrum mode (if available)
+.TP
+\fB\-w\fR
+Disable normalisation of white to Y = 100
+.TP
+\fB\-X\fR file.ccmx
+Apply Colorimeter Correction Matrix
+.TP
+\fB\-X\fR file.ccss
+Use Colorimeter Calibration Spectral Samples for calibration
+.TP
+\fB\-Q\fR observ
+Choose CIE Observer for spectrometer or CCSS colorimeter data:
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2, 1964_10c
+.TP
+\fB\-I\fR b|w
+Drift compensation, Black: \fB\-Ib\fR, White: \fB\-Iw\fR, Both: \fB\-Ibw\fR
+.TP
+\fB\-Y\fR R:rate
+Override measured refresh rate with rate Hz
+.TP
+\fB\-Y\fR A
+Use non\-adaptive integration time mode (if available).
+.TP
+\fB\-Y\fR p
+Don't wait for the instrument to be placed on the display
+.TP
+\fB\-C\fR "command"
+Invoke shell "command" each time a color is set
+.TP
+\fB\-M\fR "command"
+Invoke shell "command" each time a color is measured
+.TP
+\fB\-W\fR n|h|x
+Override serial port flow control: n = none, h = HW, x = Xon/Xoff
+.TP
+\fB\-D\fR [level]
+Print debug diagnostics to stderr
+.TP
+outfile
+Base name for input[ti1]/output[ti3] file
diff --git a/debian/man/dispwin.1 b/debian/man/dispwin.1
new file mode 100644
index 0000000..c4c7594
--- /dev/null
+++ b/debian/man/dispwin.1
@@ -0,0 +1,81 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH TEST "1" "September 2014" "dispwin" "User Commands"
+.SH NAME
+Test \- Test display patch window, Set Video LUTs, Install profiles.
+.SH DESCRIPTION
+Test display patch window, Set Video LUTs, Install profiles
+.SH SYNOPSIS
+.B dispwin
+.RB [options]\ [calfile]
+.TP
+\fB\-v\fR
+Verbose mode
+.HP
+\fB\-display\fR displayname Choose X11 display name
+.TP
+\fB\-d\fR n[,m]
+Choose the display n from the following list (default 1)
+Optionally choose different display m for Video LUT access
+.IP
+1 = 'Screen 1, Output DVI\-I\-1 at 0, 0, width 1920, height 1080'
+.TP
+\fB\-dweb[\fR:port]
+Display via a web server at port (default 8080)
+.TP
+\fB\-P\fR ho,vo,ss[,vs]
+Position test window and scale it
+.TP
+\fB\-F\fR
+Fill whole screen with black background
+.TP
+\fB\-i\fR
+Run forever with random values
+.TP
+\fB\-G\fR filename
+Display RGB colors from CGATS file
+.TP
+\fB\-C\fR r.rr,g.gg,b.bb
+Add this RGB color to list to be displayed
+.TP
+\fB\-m\fR
+Manually cycle through values
+.TP
+\fB\-f\fR
+Test grey ramp fade
+.TP
+\fB\-r\fR
+Test just Video LUT loading & Beeps
+.TP
+\fB\-n\fR
+Test native output (rather than through Video LUT and C.M.)
+.TP
+\fB\-s\fR filename
+Save the currently loaded Video LUT to 'filename'
+.TP
+\fB\-c\fR
+Load a linear display calibration
+.TP
+\fB\-V\fR
+Verify that calfile/profile cal. is currently loaded in LUT
+.TP
+\fB\-I\fR
+Install profile for display and use it's calibration
+.TP
+\fB\-U\fR
+Un\-install profile for display
+.TP
+\fB\-S\fR d
+Specify the install/uninstall scope for OS X [nlu] or X11/Vista [lu]
+d is one of: n = network, l = local system, u = user (default)
+.TP
+\fB\-L\fR
+Load installed profiles cal. into Video LUT
+.TP
+\fB\-X\fR
+Run in daemon loader mode for given X11 server
+.TP
+\fB\-D\fR [level]
+Print debug diagnostics to stderr
+.TP
+calfile
+Load calibration (.cal or .icc) into Video LUT
diff --git a/debian/man/extracticc.1 b/debian/man/extracticc.1
new file mode 100644
index 0000000..9d5adad
--- /dev/null
+++ b/debian/man/extracticc.1
@@ -0,0 +1,12 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH EXTRACT "1" "September 2014" "extracticc" "User Commands"
+.SH NAME
+Extract \- Extract an ICC profile from a TIFF file.
+.SH DESCRIPTION
+Extract an ICC profile from a TIFF or JPEG file
+.SH SYNOPSIS
+.B extracticc
+.RB [\-v]\ infile.(tif|jpg)\ outfile.icc
+.TP
+\fB\-v\fR
+Verbose
diff --git a/debian/man/extractttag.1 b/debian/man/extractttag.1
new file mode 100644
index 0000000..eac947a
--- /dev/null
+++ b/debian/man/extractttag.1
@@ -0,0 +1,18 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH EXTRACT "1" "September 2014" "extractttag" "User Commands"
+.SH NAME
+Extract \- Extract a text tag from an ICC profile.
+.SH DESCRIPTION
+Extract a text tag from an ICC profile
+.SH SYNOPSIS
+.B extractttag
+.RB [\-v]\ infile.icc\ outfile
+.TP
+\fB\-v\fR
+Verbose
+.TP
+\fB\-t\fR tag
+Extract this tag rather than default 'targ'
+.TP
+\fB\-c\fR
+Extract calibration file from 'targ' tag
diff --git a/debian/man/fakeCMY.1 b/debian/man/fakeCMY.1
new file mode 100644
index 0000000..6509ad6
--- /dev/null
+++ b/debian/man/fakeCMY.1
@@ -0,0 +1,21 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "fakeCMY" "User Commands"
+.SH NAME
+Create \- Create a fake CMY data file from a CMYK profile.
+.SH DESCRIPTION
+Create a fake CMY data file from a CMYK profile
+.SH SYNOPSIS
+.B fakeCMY
+.RB [option]\ profile.icm\ fake.ti3
+.TP
+\fB\-v\fR
+verbose
+.TP
+\fB\-r\fR res
+set surface point resolution (default 3)
+.TP
+\fB\-l\fR tlimit
+set total ink limit, 0 \- 400% (estimate by default)
+.TP
+\fB\-L\fR klimit
+set black ink limit, 0 \- 100% (estimate by default)
diff --git a/debian/man/fakeread.1 b/debian/man/fakeread.1
new file mode 100644
index 0000000..1af12e0
--- /dev/null
+++ b/debian/man/fakeread.1
@@ -0,0 +1,90 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH FAKE "1" "September 2014" "fakeread" "User Commands"
+.SH NAME
+Fake \- Fake test chart reader - lookup values in ICC/MPP profile.
+.SH DESCRIPTION
+Fake test chart reader \- lookup values in ICC/MPP profile
+.SH SYNOPSIS
+.B fakeread
+.RB [\-options]\ profile.[icc|mpp|ti3]\ outfile
+.TP
+\fB\-v\fR [n]
+Verbose mode [level]
+.TP
+\fB\-e\fR flag
+Video encode device input to sepration as:
+.TP
+n
+normal 0..1 full range RGB levels (default)
+.TP
+t
+(16\-235)/255 "TV" RGB levels
+.TP
+6
+Rec601 YCbCr SD (16\-235,240)/255 "TV" levels
+.TP
+7
+Rec709 1125/60Hz YCbCr HD (16\-235,240)/255 "TV" levels
+.TP
+5
+Rec709 1250/50Hz YCbCr HD (16\-235,240)/255 "TV" levels
+.TP
+2
+Rec2020 YCbCr UHD (16\-235,240)/255 "TV" levels
+.TP
+C
+Rec2020 Constant Luminance YCbCr UHD (16\-235,240)/255 "TV" levels
+.HP
+\fB\-p\fR separation.icc Use device link separation profile on input
+.TP
+\fB\-E\fR flag
+Video decode separation device output. See \fB\-e\fR above
+.TP
+\fB\-k\fR file.cal
+Apply calibration (include in .ti3 output)
+.TP
+\fB\-i\fR file.cal
+Include calibration in .ti3 output, but don't apply it
+.TP
+\fB\-K\fR file.cal
+Apply inverse calibration
+.TP
+\fB\-r\fR level
+Add average random deviation of <level>% to device values (after sep. & cal.)
+.TP
+\fB\-0\fR pow
+Apply power to device chanel 0\-9
+.TP
+\fB\-b\fR output.icc
+Apply BT.1886\-like mapping with effective gamma 2.2
+.HP
+\fB\-b\fR g.g:output.icc Apply BT.1886\-like mapping with effective gamma g.g
+.TP
+\fB\-B\fR output.icc
+Apply BT.1886 mapping with technical gamma 2.4
+.HP
+\fB\-B\fR g.g:output.icc Apply BT.1886 mapping with technical gamma g.g
+.TP
+\fB\-I\fR intent
+r = relative colorimetric, a = absolute (default)
+.TP
+\fB\-A\fR L,a,b
+Scale black point to target Lab value
+.TP
+\fB\-l\fR
+Output Lab rather than XYZ
+.TP
+\fB\-s\fR
+Lookup MPP spectral values
+.TP
+\fB\-R\fR level
+Add average random deviation of <level>% to output PCS values
+.TP
+\fB\-u\fR
+Make random deviations have uniform distributions rather than normal
+.TP
+\fB\-S\fR seed
+Set random seed
+.IP
+profile.[icc|mpp|ti3] ICC, MPP profile or TI3 to use
+outfile Base name for input[ti1]/output[ti3] file
diff --git a/debian/man/greytiff.1 b/debian/man/greytiff.1
new file mode 100644
index 0000000..f1b71d6
--- /dev/null
+++ b/debian/man/greytiff.1
@@ -0,0 +1,18 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CONVERT "1" "September 2014" "greytiff" "User Commands"
+.SH NAME
+Convert \- Convert a TIFF file to monochrome using an ICC device profile.
+.SH DESCRIPTION
+Convert a TIFF file to monochrome using an ICC device profile
+.SH SYNOPSIS
+.B greytiff
+.RB [\-v\ level]\ profile.icm\ infile.tif\ outfile.tif
+.TP
+\fB\-v\fR
+Verbose
+.TP
+\fB\-p\fR
+Use slow precise correction
+.TP
+\fB\-j\fR
+Use CIECAM02
diff --git a/debian/man/iccdump.1 b/debian/man/iccdump.1
new file mode 100644
index 0000000..e508f13
--- /dev/null
+++ b/debian/man/iccdump.1
@@ -0,0 +1,21 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH DUMP "1" "September 2014" "iccdump" "User Commands"
+.SH NAME
+Dump \- Dump an ICC file in human readable form.
+.SH DESCRIPTION
+Dump an ICC file in human readable form
+.SH SYNOPSIS
+.B iccdump
+.RB [\-v\ level]\ [\-t\ tagname]\ [\-s]\ infile
+.TP
+\fB\-v\fR level
+Verbose level 1\-3 (default 2)
+.TP
+\fB\-t\fR tag
+Dump this tag only (can be used multiple times)
+.TP
+\fB\-s\fR
+Search for embedded profile
+.TP
+\fB\-i\fR
+Check V4 ID value
diff --git a/debian/man/iccgamut.1 b/debian/man/iccgamut.1
new file mode 100644
index 0000000..2aa40ff
--- /dev/null
+++ b/debian/man/iccgamut.1
@@ -0,0 +1,97 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "iccgamut" "User Commands"
+.SH NAME
+Create \- Create Lab/Jab gamut plot.
+.SH DESCRIPTION
+Create Lab/Jab gamut plot
+.SH SYNOPSIS
+.B iccgamut
+.RB [options]\ profile
+.TP
+\fB\-v\fR
+Verbose
+.TP
+\fB\-d\fR sres
+Surface resolution details 1.0 \- 50.0
+.TP
+\fB\-w\fR
+emit VRML .wrl file as well as CGATS .gam file
+.TP
+\fB\-n\fR
+Don't add VRML axes or white/black point
+.TP
+\fB\-k\fR
+Add VRML markers for prim. & sec. "cusp" points
+.TP
+\fB\-f\fR function
+f = forward*, b = backwards
+.TP
+\fB\-i\fR intent
+p = perceptual, r = relative colorimetric,
+s = saturation, a = absolute (default), d = profile default
+.TP
+\fB\-p\fR oride
+l = Lab_PCS (default), j = CIECAM02 Appearance Jab
+.TP
+\fB\-o\fR order
+n = normal (priority: lut > matrix > monochrome)
+r = reverse (priority: monochrome > matrix > lut)
+.TP
+\fB\-l\fR tlimit
+set total ink limit, 0 \- 400% (estimate by default)
+.TP
+\fB\-L\fR klimit
+set black ink limit, 0 \- 100% (estimate by default)
+.TP
+\fB\-c\fR viewcond
+set viewing conditions for CIECAM02,
+either an enumerated choice, or a series of parameter:value changes
+.IP
+pp \- Practical Reflection Print (ISO\-3664 P2)
+pe \- Print evaluation environment (CIE 116\-1995)
+pc \- Critical print evaluation environment (ISO\-3664 P1)
+mt \- Monitor in typical work environment
+mb \- Bright monitor in bright work environment
+md \- Monitor in darkened work environment
+jm \- Projector in dim environment
+jd \- Projector in dark environment
+tv \- Television/Film Studio
+.IP
+pcd \- Photo CD \- original scene outdoors
+.IP
+ob \- Original scene \- Bright Outdoors
+cx \- Cut Sheet Transparencies on a viewing box
+.TP
+s:surround
+n = auto, a = average, m = dim, d = dark,
+c = transparency (default average)
+.TP
+w:X:Y:Z
+Adapted white point as XYZ (default media white)
+.TP
+w:x:y
+Adapted white point as x, y
+.TP
+a:adaptation
+Adaptation luminance in cd.m^2 (default 50.0)
+.TP
+b:background
+Background % of image luminance (default 20)
+.TP
+l:imagewhite
+Image white in cd.m^2 if surround = auto (default 250)
+.TP
+f:flare
+Flare light % of image luminance (default 0)
+.TP
+g:glare
+Flare light % of ambient (default 1)
+.TP
+g:X:Y:Z
+Flare color as XYZ (default media white, Abs: D50)
+.TP
+g:x:y
+Flare color as x, y
+.TP
+\fB\-s\fR
+Create special cube surface topology plot
diff --git a/debian/man/icclu.1 b/debian/man/icclu.1
new file mode 100644
index 0000000..5cccdde
--- /dev/null
+++ b/debian/man/icclu.1
@@ -0,0 +1,34 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH TRANSLATE "1" "September 2014" "icclu" "User Commands"
+.SH NAME
+Translate \- Translate colors through an ICC profile.
+.SH DESCRIPTION
+Translate colors through an ICC profile
+.SH SYNOPSIS
+.B icclu
+.RB [\-v\ level]\ [\-f\ func]\ [\-i\ intent]\ [\-o\ order]\ profile
+.TP
+\fB\-v\fR level
+Verbosity level 0 \- 2 (default = 1)
+.TP
+\fB\-f\fR function
+f = forward, b = backwards, g = gamut, p = preview
+.TP
+\fB\-i\fR intent
+p = perceptual, r = relative colorimetric,
+s = saturation, a = absolute
+.TP
+\fB\-p\fR oride
+x = XYZ_PCS, l = Lab_PCS, y = Yxy,
+.TP
+\fB\-o\fR order
+n = normal (priority: lut > matrix > monochrome)
+r = reverse (priority: monochrome > matrix > lut)
+.TP
+\fB\-s\fR scale
+Scale device range 0.0 \- scale rather than 0.0 \- 1.0
+.IP
+The colors to be translated should be fed into standard input,
+one input color per line, white space separated.
+A line starting with a # will be ignored.
+A line not starting with a number will terminate the program.
diff --git a/debian/man/illumread.1 b/debian/man/illumread.1
new file mode 100644
index 0000000..aaec8c3
--- /dev/null
+++ b/debian/man/illumread.1
@@ -0,0 +1,41 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH MEASURE "1" "September 2014" "illumread" "User Commands"
+.SH NAME
+Measure \- Measure an illuminant.
+.SH DESCRIPTION
+Measure an illuminant
+.SH SYNOPSIS
+.B illumread
+.RB [\-options]\ output.sp
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-S\fR
+Plot spectrum for each reading
+.TP
+\fB\-c\fR listno
+Choose instrument from the following list (default 1)
+.IP
+** No ports found **
+.TP
+\fB\-N\fR
+Disable initial calibration of instrument if possible
+.TP
+\fB\-H\fR
+Use high resolution spectrum mode (if available)
+.TP
+\fB\-Y\fR r
+Set refresh measurement mode
+.TP
+\fB\-Y\fR R:rate
+Override measured refresh rate with rate Hz
+.TP
+\fB\-W\fR n|h|x
+Override serial port flow control: n = none, h = HW, x = Xon/Xoff
+.TP
+\fB\-D\fR [level]
+Print debug diagnostics to stderr
+.TP
+illuminant.sp
+File to save measurement to
diff --git a/debian/man/invprofcheck.1 b/debian/man/invprofcheck.1
new file mode 100644
index 0000000..60d897b
--- /dev/null
+++ b/debian/man/invprofcheck.1
@@ -0,0 +1,45 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CHECK "1" "September 2014" "invprofcheck" "User Commands"
+.SH NAME
+Check \- Check fwd to bwd relative transfer of an ICC file.
+.SH DESCRIPTION
+Check fwd to bwd relative transfer of an ICC file
+.SH SYNOPSIS
+.B invprofcheck
+.RB [\-]\ profile.icm
+.TP
+\fB\-v\fR [level]
+verbosity level (default 1), 2 to print each DE
+.TP
+\fB\-l\fR limit
+set total ink limit (estimate by default)
+.TP
+\fB\-L\fR klimit
+set black channel ink limit (estimate by default)
+.TP
+\fB\-h\fR
+high res test (27)
+.TP
+\fB\-u\fR
+Ultra high res test (61)
+.TP
+\fB\-R\fR res
+Specific grid resolution
+.TP
+\fB\-c\fR
+Show CIE94 delta E values
+.TP
+\fB\-k\fR
+Show CIEDE2000 delta E values
+.TP
+\fB\-w\fR
+create VRML visualisation (profile.wrl)
+.TP
+\fB\-x\fR
+Use VRML axes
+.TP
+\fB\-e\fR
+Color vectors according to delta E
+.TP
+profile.icm
+Profile to check
diff --git a/debian/man/kodak2ti3.1 b/debian/man/kodak2ti3.1
new file mode 100644
index 0000000..45abd06
--- /dev/null
+++ b/debian/man/kodak2ti3.1
@@ -0,0 +1,24 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CONVERT "1" "September 2014" "kodak2ti3" "User Commands"
+.SH NAME
+Convert \- Convert Kodak raw printer profile data to Argyll print data.
+.SH DESCRIPTION
+Convert Kodak raw printer profile data to Argyll print data
+.SH SYNOPSIS
+.B kodak2ti3
+.RB [\-v]\ [\-l\ limit]\ infile\ outfile
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-l\fR limit
+set ink limit, 0 \- 400%
+.TP
+\fB\-r\fR filename
+Use an alternate 928 patch reference file
+.TP
+infile
+Base name for input.pat file
+.TP
+outfile
+Base name for output.ti3 file
diff --git a/debian/man/ls2ti3.1 b/debian/man/ls2ti3.1
new file mode 100644
index 0000000..d7c7315
--- /dev/null
+++ b/debian/man/ls2ti3.1
@@ -0,0 +1,13 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.6.
+.TH CONVERT "1" "May 2015" "Convert LightSpace raw RGB device profile data to Argyll CGATS data, Version 1.7.0" "User Commands"
+.SH NAME
+Convert \- Convert LightSpace raw RGB device profile data to Argyll CGATS data
+.SH DESCRIPTION
+Convert LightSpace raw RGB device profile data to Argyll CGATS data, Version 1.7.0
+Author: Graeme W. Gill, licensed under the AGPL Version 3
+.TP
+infile
+Input LightSpace .bcs file
+.TP
+outbasename
+Output file basename for .ti3
diff --git a/debian/man/mppcheck.1 b/debian/man/mppcheck.1
new file mode 100644
index 0000000..1cd6b16
--- /dev/null
+++ b/debian/man/mppcheck.1
@@ -0,0 +1,29 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CHECK "1" "September 2014" "mppcheck" "User Commands"
+.SH NAME
+Check \- Check Model Printer Profile.
+.SH DESCRIPTION
+Check Model Printer Profile
+.SH SYNOPSIS
+.B mppcheck
+.RB [\-v]\ [\-c]\ [\-s]\ [\-y]\ values.ti3\ profile.mpp
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-c\fR
+Show CIE94 delta E values
+.TP
+\fB\-k\fR
+Show CIEDE2000 delta E values
+.TP
+\fB\-s\fR
+Check spectral model too
+.TP
+\fB\-y\fR
+Detail each value
+.TP
+values.ti3
+Test values to check against
+.IP
+profile.mpp Profile to check
diff --git a/debian/man/mpplu.1 b/debian/man/mpplu.1
new file mode 100644
index 0000000..5651f26
--- /dev/null
+++ b/debian/man/mpplu.1
@@ -0,0 +1,57 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH TRANSLATE "1" "September 2014" "" "User Commands"
+.SH NAME
+Translate \- Translate colors through an MPP profile.
+.SH DESCRIPTION
+Translate colors through an MPP profile
+.SH SYNOPSIS
+.B mpplu
+.RB [\-v]\ [\-f\ func]\ [\-i\ intent]\ [\-o\ order]\ profile
+.TP
+\fB\-v\fR
+Verbose
+.TP
+\fB\-f\fR function
+f = forward, b = backwards
+.TP
+\fB\-p\fR oride
+x = XYZ_PCS, l = Lab_PCS, y = Yxy, s = spectral,
+.TP
+\fB\-l\fR limit
+override default ink limit, 1 \- N00%
+.TP
+\fB\-i\fR illum
+Choose illuminant for print/transparency spectral data:
+A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp
+.TP
+\fB\-o\fR observ
+Choose CIE Observer for spectral data:
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+.TP
+\fB\-u\fR
+Use Fluorescent Whitening Agent compensation
+.TP
+\fB\-g\fR
+Create gamut output
+.TP
+\fB\-w\fR
+Create gamut VRML as well
+.TP
+\fB\-n\fR
+Don't add VRML axes
+.TP
+\fB\-a\fR n
+Gamut transparency level
+.TP
+\fB\-d\fR n
+Gamut surface detail level
+.TP
+\fB\-t\fR num
+Invoke debugging test code "num" 1..n
+1 \- check partial derivative for device input
+2 \- create overlap diagnostic VRML gamut surface
+.IP
+The colors to be translated should be fed into stdin,
+one input color per line, white space separated.
+A line starting with a # will be ignored.
+A line not starting with a number will terminate the program.
diff --git a/debian/man/mppprof.1 b/debian/man/mppprof.1
new file mode 100644
index 0000000..13a18ef
--- /dev/null
+++ b/debian/man/mppprof.1
@@ -0,0 +1,30 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "mppprof" "User Commands"
+.SH NAME
+Create \- Create Model Printer Profile.
+.SH DESCRIPTION
+Create Model Printer Profile
+.SH SYNOPSIS
+.B mppprof
+.RB [options]\ outfile
+.HP
+\fB\-v\fR [level] Verbose mode
+.HP
+\fB\-q\fR [lmhus] Quality \- Low, Medium (def), High, Ultra, Simple
+.TP
+\fB\-l\fR limit
+override default ink limit, 1 \- n00%
+.TP
+\fB\-s\fR
+Generate spectral model too
+.TP
+\fB\-m\fR
+Generate ink mixing model
+.HP
+\fB\-y\fR [level] Verify profile, 2 = read/write verify
+.TP
+\fB\-L\fR
+Output Lab values
+.TP
+outfile
+Base name for input.ti3/output.mpp file
diff --git a/debian/man/oeminst.1 b/debian/man/oeminst.1
new file mode 100644
index 0000000..ea56505
--- /dev/null
+++ b/debian/man/oeminst.1
@@ -0,0 +1,28 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH INSTALL "1" "September 2014" "oeminst" "User Commands"
+.SH NAME
+Install \- List information about the FILEs.
+.SH DESCRIPTION
+Install OEM data files
+.SH SYNOPSIS
+.B oeminst
+.RB [\-options]\ [infile(s)]
+.TP
+\fB\-v\fR [level]
+Verbose
+.TP
+\fB\-n\fR
+Don't install, show where files would be installed
+.TP
+\fB\-c\fR
+Don't install, save files to current directory
+.TP
+\fB\-S\fR d
+Specify the install scope u = user (def.), l = local system]
+.TP
+infile
+setup.exe CD install file(s) or .dll(s) containing install files
+.TP
+infile.[edr|ccss|ccmx]
+EDR file(s) to translate and install or CCSS or CCMX files to install
+If no file is provided, oeminst will look for the install CD.
diff --git a/debian/man/printcal.1 b/debian/man/printcal.1
new file mode 100644
index 0000000..38038d6
--- /dev/null
+++ b/debian/man/printcal.1
@@ -0,0 +1,77 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "printcal" "User Commands"
+.SH NAME
+Create \- Create printer calibration.
+.SH DESCRIPTION
+Create printer calibration
+.SH SYNOPSIS
+.B printcal
+.RB [\-options]\ [prevcal]\ inoutfile
+.TP
+\fB\-v\fR verbosity
+Verbose mode
+.TP
+\fB\-p\fR
+Plot graphs.
+.TP
+\fB\-i\fR
+Initial calibration, set targets, create .cal
+.TP
+\fB\-r\fR
+Re\-calibrate against previous .cal and create new .cal
+.TP
+\fB\-e\fR
+Verify against previous .cal
+.TP
+\fB\-I\fR
+Create imitation target from .ti3 and null calibration
+.TP
+\fB\-d\fR
+Go through the motions but don't write any files
+.TP
+\fB\-s\fR smoothing
+Extra curve smoothing (default 1.0)
+.HP
+\fB\-A\fR manufacturer Set the manufacturer description string
+.TP
+\fB\-M\fR model
+Set the model description string
+.TP
+\fB\-D\fR description
+Set the profile Description string
+.TP
+\fB\-C\fR copyright
+Set the copyright string
+.TP
+\fB\-x\fR# percent
+Set initial maximum device % target (override auto)
+.TP
+\fB\-m\fR# percent
+Set initial dev target to % of auto maximum
+.TP
+\fB\-n\fR# deltaE
+Set initial white minimum deltaE target
+.TP
+\fB\-t\fR# percent
+Set initial 50% transfer curve percentage target
+.TP
+# = c, r, 0
+First channel
+.TP
+m, g, 1
+Second channel
+.TP
+y, b, 2
+Third channel
+.TP
+k,
+3 Fourth channel, etc.
+.TP
+\fB\-a\fR
+Create an Adobe Photoshop .AMP file as well as a .cal
+.TP
+prevcal
+Base name of previous .cal file for recal or verify.
+.TP
+inoutname
+Base name of input .ti3 file, output .cal file
diff --git a/debian/man/printtarg.1 b/debian/man/printtarg.1
new file mode 100644
index 0000000..59ad2ba
--- /dev/null
+++ b/debian/man/printtarg.1
@@ -0,0 +1,125 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH GENERATE "1" "September 2014" "printarg" "User Commands"
+.SH NAME
+Generate \- Generate Target PostScrip file.
+.SH DESCRIPTION
+Generate Target PostScrip file
+.SH SYNOPSIS
+.B printtarg
+.RB [\-v]\ [\-i\ instr]\ [\-r]\ [\-s]\ [\-p\ size]\ basename
+.TP
+\fB\-v\fR
+Verbose mode
+.HP
+\fB\-i\fR 20 | 22 | 41 | 51 | SS | i1 | CM Select target instrument (default DTP41)
+.IP
+20 = DTP20, 22 = DTP22, 41 = DTP41, 51 = DTP51,
+SS = SpectroScan, i1 = i1Pro, CM = ColorMunki
+.TP
+\fB\-h\fR
+Use hexagon patches for SS, double density for CM
+.TP
+\fB\-a\fR scale
+Scale patch size and spacers by factor (e.g. 0.857 or 1.5 etc.)
+.TP
+\fB\-A\fR scale
+Scale spacers by additional factor (e.g. 0.857 or 1.5 etc.)
+.TP
+\fB\-r\fR
+Don't randomize patch location
+.TP
+\fB\-s\fR
+Create a scan image recognition (.cht) file
+.TP
+\fB\-S\fR
+Same as \fB\-s\fR, but don't generate wide orientation strip.
+.TP
+\fB\-c\fR
+Force colored spacers
+.TP
+\fB\-b\fR
+Force B&W spacers
+.TP
+\fB\-n\fR
+Force no spacers
+.TP
+\fB\-f\fR
+Create PostScript DeviceN Color fallback
+.TP
+\fB\-w\fR g|r|s|n
+White colorspace encoding DeviceGray (def), DeviceRGB, Separation or DeviceN
+.TP
+\fB\-k\fR g|c|s|n
+Black colorspace encoding DeviceGray (def), DeviceCMYK, Separation or DeviceN
+.TP
+\fB\-o\fR k|r|n
+CMY colorspace encoding DefiveCMYK (def), inverted DeviceRGB or DeviceN
+.TP
+\fB\-e\fR
+Output EPS compatible file
+.TP
+\fB\-t\fR [res]
+Output 8 bit TIFF raster file, optional res DPI (default 100)
+.TP
+\fB\-T\fR [res]
+Output 16 bit TIFF raster file, optional res DPI (default 100)
+.TP
+\fB\-C\fR
+Don't use TIFF compression
+.TP
+\fB\-N\fR
+Use TIFF alpha N channels more than 4
+.TP
+\fB\-D\fR
+Dither 8 bit TIFF values down from 16 bit
+.TP
+\fB\-Q\fR nbits
+Quantize test values to fit in nbits
+.TP
+\fB\-R\fR rsnum
+Use given random start number
+.TP
+\fB\-K\fR file.cal
+Apply printer calibration to patch values and include in .ti2
+.TP
+\fB\-I\fR file.cal
+Include calibration in .ti2 (but don't apply it)
+.TP
+\fB\-x\fR pattern
+Use given strip indexing pattern (Default = "A\-Z, A\-Z")
+.TP
+\fB\-y\fR pattern
+Use given patch indexing pattern (Default = "0\-9,@\-9,@\-9;1\-999")
+.TP
+\fB\-m\fR margin
+Set a page margin in mm (default 6.0 mm)
+.TP
+\fB\-M\fR margin
+Set a page margin in mm and include it in TIFF
+.TP
+\fB\-P\fR
+Don't limit strip length
+.TP
+\fB\-L\fR
+Suppress any left paper clip border
+.TP
+\fB\-U\fR
+Suppress CUPS cupsJobTicket: cups\-disable\-cmm in PS & EPS files
+.TP
+\fB\-p\fR size
+Select page size from:
+A4 [210.0 x 297.0 mm]
+A4R [297.0 x 210.0 mm]
+A3 [297.0 x 420.0 mm] (default)
+A2 [420.0 x 594.0 mm]
+Letter [215.9 x 279.4 mm]
+LetterR [279.4 x 215.9 mm]
+Legal [215.9 x 355.6 mm]
+4x6 [101.6 x 152.4 mm]
+11x17 [279.4 x 431.8 mm]
+.TP
+\fB\-p\fR WWWxHHH
+Custom size, WWW mm wide by HHH mm high
+.TP
+basname
+Base name for input(.ti1), output(.ti2) and output(.ps/.eps/.tif)
diff --git a/debian/man/profcheck.1 b/debian/man/profcheck.1
new file mode 100644
index 0000000..683786a
--- /dev/null
+++ b/debian/man/profcheck.1
@@ -0,0 +1,61 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CHECK "1" "September 2014" "profcheck" "User Commands"
+.SH NAME
+Check \- Check accuracy of ICC profile.
+.SH DESCRIPTION
+Check accuracy of ICC profile, Version 1.6.3
+.SH SYNOPSIS
+.B profcheck
+.RB [\-options]\ data.ti3\ iccprofile.icm
+.TP
+\fB\-v\fR [level]
+Verbosity level (default 1), 2 to print each DE
+.TP
+\fB\-c\fR
+Show CIE94 delta E values
+.TP
+\fB\-k\fR
+Show CIEDE2000 delta E values
+.TP
+\fB\-w\fR
+create VRML visualisation (iccprofile.wrl)
+.TP
+\fB\-x\fR
+Use VRML axes
+.TP
+\fB\-m\fR
+Make VRML lines a minimum of 0.5
+.TP
+\fB\-e\fR
+Color vectors according to delta E
+.HP
+\fB\-d\fR devval1,deval2,devvalN
+.IP
+Specify a device value to sort against
+.TP
+\fB\-p\fR
+Sort device value by PCS (Lab) target
+.TP
+\fB\-f\fR [illum]
+Use Fluorescent Whitening Agent compensation [opt. simulated inst. illum.:
+.IP
+M0, M1, M2, A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp]
+.TP
+\fB\-i\fR illum
+Choose illuminant for computation of CIE XYZ from spectral data & FWA:
+.IP
+A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp
+.TP
+\fB\-o\fR observ
+Choose CIE Observer for spectral data:
+.IP
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+.TP
+\fB\-I\fR intent
+r = relative colorimetric, a = absolute (default)
+.TP
+data.ti3
+Test data file
+.TP
+iccprofile.icm
+Profile to check against
diff --git a/debian/man/refine.1 b/debian/man/refine.1
new file mode 100644
index 0000000..8c05df5
--- /dev/null
+++ b/debian/man/refine.1
@@ -0,0 +1,57 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "refine" "User Commands"
+.SH NAME
+Create \- Create abstract correction profile given table of absolute CIE correction values.
+.SH DESCRIPTION
+Create abstract correction profile given table of absolute CIE correction values, Version 1.6.3
+.SH SYNOPSIS
+.B refine
+.RB [\-options]\ cietarget\ ciecurrent\ [outdevicc]\ [inabs]\ outabs
+.TP
+\fB\-v\fR
+Verbose
+.TP
+\fB\-c\fR
+Create initial abstract correction profile
+.TP
+\fB\-g\fR
+Don't impose output device gamut limit
+.TP
+\fB\-r\fR res
+Set abstract profile clut resolution (default 33)
+.TP
+\fB\-d\fR factor
+Override default damping factor (default 0.950000, then 0.700000)
+.TP
+\fB\-R\fR
+Aim for white point relative match rather than absolute
+.TP
+\fB\-f\fR [illum]
+Use Fluorescent Whitening Agent compensation [opt. simulated inst. illum.:
+.IP
+M0, M1, M2, A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp]
+.TP
+\fB\-i\fR illum
+Choose illuminant for computation of CIE XYZ from spectral data & FWA:
+.IP
+A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp
+.TP
+\fB\-o\fR observ
+Choose CIE Observer for spectral data:
+.IP
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+.TP
+cietarget
+Target CIE or spectral values, CGATS file (e.g. .ti3)
+.TP
+ciecurrent
+Actual CIE or spectral values, CGATS file (e.g. .ti3)
+.TP
+[outdevicc]
+Output device ICC profile to set gamut limit (not used if \fB\-g\fR)
+.TP
+[inabs]
+Previous abstract correction ICC profile (not used if \fB\-c\fR)
+.TP
+outabs
+Created/refined abstract correction ICC profile
diff --git a/debian/man/revfix.1 b/debian/man/revfix.1
new file mode 100644
index 0000000..b6cc94c
--- /dev/null
+++ b/debian/man/revfix.1
@@ -0,0 +1,49 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH INVERT "1" "September 2014" "revfix" "User Commands"
+.SH NAME
+Invert \- Invert AtoB1 to make BtoA1 for CMYK profiles.
+.SH DESCRIPTION
+Invert AtoB1 to make BtoA1 for CMYK profiles, Version 1.6.3
+.SH SYNOPSIS
+.B revfix
+.RB [\-options]\ iccin\ iccout
+.TP
+\fB\-v\fR
+Verbose
+.TP
+\fB\-0\fR
+Process perceptual
+.TP
+\fB\-1\fR
+Process absolute/relative colorimetric
+.TP
+\fB\-2\fR
+Process saturation
+.TP
+\fB\-r\fR res
+Override BtoA1 Clut res
+.TP
+\fB\-k\fR [ezhxr]
+e = same K as existing BtoA table (def)
+z = zero, h = 0.5 K, x = max K, r = ramp K
+.HP
+\fB\-k\fR p stle stpo enle enpo shape
+.IP
+p = curve parameters
+stle: K level at White 0.0 \- 1.0
+stpo: start point of transition Wh 0.0 \- Bk 1.0
+enpo: End point of transition Wh 0.0 \- Bk 1.0
+enle: K level at Black 0.0 \- 1.0
+shape: 1.0 = straight, 0.0\-1.0 concave, 1.0\-2.0 convex
+.TP
+\fB\-K\fR parameters
+Same as \fB\-k\fR, but target is K locus rather than K value itself
+.TP
+\fB\-l\fR tlimit
+set total ink limit, 0 \- 400% (estimate by default)
+.TP
+\fB\-L\fR klimit
+set black ink limit, 0 \- 100% (estimate by default)
+.TP
+\fB\-p\fR absprof
+Include abstract profile in output tables
diff --git a/debian/man/scanin.1 b/debian/man/scanin.1
new file mode 100644
index 0000000..e1d0656
--- /dev/null
+++ b/debian/man/scanin.1
@@ -0,0 +1,114 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH SCANIN, "1" "September 2014" "scanin" "User Commands"
+.SH NAME
+Scanin, \- Scanin.
+.SH DESCRIPTION
+Scanin, Version 1.6.3
+.SH SYNOPSIS
+.B scanin
+.RB [options]\ input.tif\ recogin.cht\ valin.cie\ [diag.tif]
+.IP
+:\- inputs 'input.tif' and outputs scanner 'input.ti3', or
+.PP
+.B scanin
+.RB \fB\-g\fR\ [options]\ input.tif\ recogout.cht\ [diag.tif]
+.IP
+:\- outputs file 'recogout.cht', or
+.PP
+.B scanin
+.RB \fB\-o\fR\ [options]\ input.tif\ recogin.cht\ [diag.tif]
+.IP
+:\- outputs file 'input.val', or
+.PP
+.B scanin
+.RB \fB\-c\fR\ [options]\ input.tif\ recogin.cht\ scanprofile.[icc|mpp]\ pbase\ [diag.tif]
+.IP
+:\- inputs pbase.ti2 and outputs printer pbase.ti3, or
+.PP
+.B scanin
+.RB \fB\-r\fR\ [options]\ input.tif\ recogin.cht\ pbase\ [diag.tif]
+.IP
+:\- inputs pbase.ti2+.ti3 and outputs pbase.ti3
+.TP
+\fB\-g\fR
+Generate a chart reference (.cht) file
+.TP
+\fB\-o\fR
+Output patch values in .val file
+.TP
+\fB\-c\fR
+Use image to measure color to convert printer pbase .ti2 to .ti3
+.TP
+\fB\-ca\fR
+Same as \fB\-c\fR, but accumulates more values to pbase .ti3
+from subsequent pages
+.TP
+\fB\-r\fR
+Replace device values in pbase .ti2/.ti3
+Default is to create a scanner .ti3 file
+.TP
+\fB\-F\fR x1,y1,x2,y2,x3,y3,x4,y4
+Don't auto recognize, locate using four fiducual marks
+.TP
+\fB\-p\fR
+Compensate for perspective distortion
+.TP
+\fB\-a\fR
+Recognise chart in normal orientation only (\fB\-A\fR fallback as is)
+Default is to recognise all possible chart angles
+.TP
+\fB\-m\fR
+Return true mean (default is robust mean)
+.TP
+\fB\-G\fR gamma
+Approximate gamma encoding of image
+.TP
+\fB\-v\fR [n]
+Verbosity level 0\-9
+.TP
+\fB\-d\fR [ihvglLIcrsonap]
+Generate diagnostic output (try \fB\-dipn\fR)
+.TP
+i
+diag \- B&W of input image
+.TP
+h
+diag \- Horizontal edge/tick detection
+.TP
+v
+diag \- Vertical edge/tick detection
+.TP
+g
+diag \- Groups detected
+.TP
+l
+diag \- Lines detected
+.TP
+L
+diag \- All lines detected
+.TP
+I
+diag \- lines used to improve fit
+.TP
+c
+diag \- lines perspective corrected
+.TP
+r
+diag \- lines rotated
+.TP
+s
+diag \- diagnostic sample boxes rotated
+.TP
+o
+diag \- sample box outlines
+.TP
+n
+diag \- sample box names
+.TP
+a
+diag \- sample box areas
+.TP
+p
+diag \- pixel areas sampled
+.HP
+\fB\-O\fR outputfile Override the default output filename & extension.
diff --git a/debian/man/spec2cie.1 b/debian/man/spec2cie.1
new file mode 100644
index 0000000..79f23b7
--- /dev/null
+++ b/debian/man/spec2cie.1
@@ -0,0 +1,47 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CONVERT "1" "September 2014" "spec2cie" "User Commands"
+.SH NAME
+Convert \- Convert spectral .ti3 file.
+.SH SYNOPSIS
+.B spec2cie
+[\fIoptions\fR] \fIinput.ti3 output.ti3\fR
+.SH DESCRIPTION
+Convert spectral .ti3 file, Version 1.6.3
+.SH SYNOPSIS
+.B spec2cie
+.RB [options]\ input.ti3\ output.ti3
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-I\fR illum
+Override actual instrument illuminant in .ti3 file:
+.IP
+A, C, D50, D50M2, D65, F5, F8, F10 or file.sp
+(only used in conjunction with \fB\-f\fR)
+.TP
+\fB\-f\fR [illum]
+Use Fluorescent Whitening Agent compensation [simulated inst. illum.:
+.IP
+M0, M1, M2, A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp]
+.TP
+\fB\-i\fR illum
+Choose illuminant for computation of CIE XYZ from spectral data & FWA:
+A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp
+.TP
+\fB\-o\fR observ
+Choose CIE Observer for spectral data:
+.IP
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+.TP
+\fB\-n\fR
+Don't output spectral values
+.TP
+\fB\-p\fR
+Plot each values spectrum
+.TP
+input.ti3
+Measurement file
+.TP
+output.ti3
+Converted measurement file
diff --git a/debian/man/specplot.1 b/debian/man/specplot.1
new file mode 100644
index 0000000..d4426f3
--- /dev/null
+++ b/debian/man/specplot.1
@@ -0,0 +1,28 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH PLOT "1" "September 2014" "specplot" "User Commands"
+.SH NAME
+Plot \- Plot spectrum and calculate CCT and VCT.
+.SH DESCRIPTION
+Plot spectrum and calculate CCT and VCT
+.SH SYNOPSIS
+.B specplot
+.RB [infile.sp]
+.TP
+\fB\-v\fR
+verbose
+.TP
+\fB\-c\fR
+combine multiple files into one plot
+.TP
+\fB\-z\fR
+don't make range cover zero
+.TP
+\fB\-u\fR level
+plot effect of adding estimated UV level
+.TP
+\fB\-U\fR
+plot effect of adding range of estimated UV level
+.TP
+[infile.sp ...]
+spectrum files to plot
+default is all built in illuminants
diff --git a/debian/man/splitti3.1 b/debian/man/splitti3.1
new file mode 100644
index 0000000..4be8b4e
--- /dev/null
+++ b/debian/man/splitti3.1
@@ -0,0 +1,33 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH SPLIT "1" "September 2014" "splitcgats" "User Commands"
+.SH NAME
+Split \- Split a .ti3 into two.
+.SH DESCRIPTION
+Split a .ti3 into two, Version 1.6.3
+.SH SYNOPSIS
+.B splitcgats
+.RB [\-options]\ input.ti3\ output1.ti3\ output2.ti3
+.TP
+\fB\-v\fR
+Verbose \- print each patch value
+.TP
+\fB\-n\fR no
+Put no sets in first file, and balance in second file.
+.TP
+\fB\-p\fR percent
+Put percent% sets in first file, and balance in second file. (def. 50%)
+.TP
+\fB\-w\fR
+Put white patches in both files.
+.TP
+\fB\-r\fR seed
+Use given random seed.
+.TP
+input.ti3
+File to be split up.
+.TP
+output1.ti3
+First output file
+.TP
+output2.ti3
+Second output file
diff --git a/debian/man/spotread.1 b/debian/man/spotread.1
new file mode 100644
index 0000000..050f708
--- /dev/null
+++ b/debian/man/spotread.1
@@ -0,0 +1,123 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH MEASURE "1" "September 2014" "spotread" "User Commands"
+.SH NAME
+Measure \- Read Print Spot values.
+.SH DESCRIPTION
+Measure spot values, Version 1.6.3
+.SH SYNOPSIS
+.B spotread
+.RB [\-options]\ [logfile]
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-s\fR
+Print spectrum for each reading
+.TP
+\fB\-S\fR
+Plot spectrum for each reading
+.TP
+\fB\-c\fR listno
+Set communication port from the following list (default 1)
+.IP
+** No ports found **
+.TP
+\fB\-t\fR
+Use transmission measurement mode
+.TP
+\fB\-e\fR
+Use emissive measurement mode (absolute results)
+.TP
+\fB\-eb\fR
+Use display white brightness relative measurement mode
+.TP
+\fB\-ew\fR
+Use display white point relative chromatically adjusted mode
+.TP
+\fB\-p\fR
+Use telephoto measurement mode (absolute results)
+.TP
+\fB\-pb\fR
+Use projector white brightness relative measurement mode
+.TP
+\fB\-pw\fR
+Use projector white point relative chromatically adjusted mode
+.TP
+\fB\-a\fR
+Use ambient measurement mode (absolute results)
+.TP
+\fB\-f\fR
+Use ambient flash measurement mode (absolute results)
+.TP
+\fB\-I\fR illum
+Set simulated instrument illumination using FWA (def \fB\-i\fR illum):
+M0, M1, M2, A, C, D50, D50M2, D65, F5, F8, F10 or file.sp]
+.TP
+\fB\-i\fR illum
+Choose illuminant for computation of CIE XYZ from spectral data & FWA:
+A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp
+.TP
+\fB\-Q\fR observ
+Choose CIE Observer for spectral data or CCSS instrument:
+1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
+(Choose FWA during operation)
+.TP
+\fB\-F\fR filter
+Set filter configuration (if aplicable):
+.TP
+n
+None
+.TP
+p
+Polarising filter
+.TP
+6
+D65
+.TP
+u
+U.V. Cut
+.TP
+\fB\-E\fR extrafilterfile
+Apply extra filter compensation file
+.TP
+\fB\-x\fR
+Display Yxy instead of Lab
+.TP
+\fB\-h\fR
+Display LCh instead of Lab
+.TP
+\fB\-V\fR
+Show running average and std. devation from ref.
+.TP
+\fB\-T\fR
+Display correlated color temperatures and CRI
+.TP
+\fB\-N\fR
+Disable auto calibration of instrument
+.TP
+\fB\-H\fR
+Start in high resolution spectrum mode (if available)
+.TP
+\fB\-X\fR file.ccmx
+Apply Colorimeter Correction Matrix
+.TP
+\fB\-X\fR file.ccss
+Use Colorimeter Calibration Spectral Samples for calibration
+.TP
+\fB\-Y\fR r|n
+Override refresh, non\-refresh display mode
+.TP
+\fB\-Y\fR R:rate
+Override measured refresh rate with rate Hz
+.TP
+\fB\-Y\fR A
+Use non\-adaptive integration time mode (if available).
+.TP
+\fB\-W\fR n|h|x
+Override serial port flow control: n = none, h = HW, x = Xon/Xoff
+.TP
+\fB\-D\fR [level]
+Print debug diagnostics to stderr
+.TP
+logfile
+Optional file to save reading results as text
diff --git a/debian/man/synthcal.1 b/debian/man/synthcal.1
new file mode 100644
index 0000000..5fce9da
--- /dev/null
+++ b/debian/man/synthcal.1
@@ -0,0 +1,47 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "synthcal" "User Commands"
+.SH NAME
+Create \- Create a synthetic calibration file.
+.SH DESCRIPTION
+Create a synthetic calibration file, Version 1.6.3
+.SH SYNOPSIS
+.B synthcal
+.RB [\-options]\ outfile
+.TP
+\fB\-t\fR N
+i = input, o = output, d = display (default)
+.TP
+\fB\-d\fR col_comb
+choose colorant combination from the following (default 3):
+0: Print grey
+1: Video grey
+2: Print RGB
+3: Video RGB
+4: CMYK
+5: CMY
+6: CMYK + Light CM
+7: CMYK + Light CMK
+8: CMYK + Red + Blue
+9: CMYK + Orange + Green
+10: CMYK + Light CMK + Light Light K
+11: CMYK + Orange + Green + Light CM
+12: CMYK + Light CM + Medium CM
+.TP
+\fB\-D\fR colorant
+Add or delete colorant from combination:
+(Use \-?? to list known colorants)
+.TP
+\fB\-o\fR o1,o2,o3,
+Set non\-linear curve offset (default 0.0)
+.TP
+\fB\-s\fR s1,s2,s3,
+Set non\-linear curve scale (default 1.0)
+.TP
+\fB\-p\fR p1,p2,p3,
+Set non\-linear curve powers (default 1.0)
+.TP
+\fB\-E\fR description
+Set the profile dEscription string
+.TP
+outfile
+Base name for output .cal file
diff --git a/debian/man/synthread.1 b/debian/man/synthread.1
new file mode 100644
index 0000000..9a52806
--- /dev/null
+++ b/debian/man/synthread.1
@@ -0,0 +1,45 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH SYNTHETIC "1" "September 2014" "synthread" "User Commands"
+.SH NAME
+Synthetic \- Synthetic device model test chart reader.
+.SH DESCRIPTION
+Synthetic device model test chart reader \- Version 1.6.3
+.SH SYNOPSIS
+.B synthread
+.RB [\-v]\ [\-s]\ [separation.icm]\ profile.[icc|mpp|ti3]\ outfile
+.TP
+\fB\-v\fR
+Verbose mode
+.TP
+\fB\-p\fR
+Use separation profile
+.TP
+\fB\-l\fR
+Construct and output in Lab rather than XYZ
+.TP
+\fB\-i\fR p1,p2,p3,
+Set input channel curve powers (default 1.0)
+.TP
+\fB\-k\fR x1:y1,x2:y2,x3:y2
+Set input channel inflection points (default 0.5,0.5)
+.TP
+\fB\-o\fR p1,p2,p3,
+Set output channel curve powers (default 1.0)
+.TP
+\fB\-r\fR level
+Add average random deviation of <level>% to input device values (after sep.)
+.TP
+\fB\-R\fR level
+Add average random deviation of <level>% to output PCS values
+.TP
+\fB\-u\fR
+Make random deviations have uniform distributions rather than normal
+.TP
+\fB\-b\fR L,a,b
+Scale black point to target Lab value
+.TP
+[separation.icm]
+Device link separation profile
+.IP
+profile.[icc|mpp|ti3] ICC, MPP profile or TI3 to use
+outfile Base name for input[ti1]/output[ti3] file
diff --git a/debian/man/targen.1 b/debian/man/targen.1
new file mode 100644
index 0000000..6ad7229
--- /dev/null
+++ b/debian/man/targen.1
@@ -0,0 +1,112 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH GENERATE "1" "September 2014" "targen" "User Commands"
+.SH NAME
+Generate \- Generate Target deviceb test chart color values.
+.SH DESCRIPTION
+Generate Target deviceb test chart color values, Version 1.6.3
+.SH SYNOPSIS
+.B targen
+.RB [options]\ outfile
+.TP
+\fB\-v\fR [level]
+Verbose mode [optional level 1..N]
+.TP
+\fB\-d\fR col_comb
+choose colorant combination from the following:
+0: Print grey
+1: Video grey
+2: Print RGB
+3: Video RGB
+4: CMYK
+5: CMY
+6: CMYK + Light CM
+7: CMYK + Light CMK
+8: CMYK + Red + Blue
+9: CMYK + Orange + Green
+10: CMYK + Light CMK + Light Light K
+11: CMYK + Orange + Green + Light CM
+12: CMYK + Light CM + Medium CM
+.TP
+\fB\-D\fR colorant
+Add or delete colorant from combination:
+(Use \-?? to list known colorants)
+.TP
+\fB\-G\fR
+Generate good optimized points rather than Fast
+.TP
+\fB\-e\fR patches
+White test patches (default 4)
+.TP
+\fB\-B\fR patches
+Black test patches (default 4 Grey/RGB, else 0)
+.TP
+\fB\-s\fR steps
+Single channel steps (default grey 50, color 0)
+.TP
+\fB\-g\fR steps
+Grey axis RGB or CMY steps (default 0)
+.TP
+\fB\-m\fR steps
+Multidimensional device space cube steps (default 0)
+.TP
+\fB\-b\fR steps
+Multidimensional body centered cubic steps (default 0)
+.TP
+\fB\-f\fR patches
+Add iterative & adaptive full spread patches to total (default grey 0, color 836)
+Default is Optimised Farthest Point Sampling (OFPS)
+.TP
+\fB\-t\fR
+Use incremental far point for full spread
+.TP
+\fB\-r\fR
+Use device space random for full spread
+.TP
+\fB\-R\fR
+Use perceptual space random for full spread
+.TP
+\fB\-q\fR
+Use device space\-filling quasi\-random for full spread
+.TP
+\fB\-Q\fR
+Use perceptual space\-filling quasi\-random for full spread
+.TP
+\fB\-i\fR
+Use device space body centered cubic grid for full spread
+.TP
+\fB\-I\fR
+Use perceptual space body centered cubic grid for full spread
+.TP
+\fB\-a\fR angle
+Simplex grid angle 0.0 \- 0.5 for B.C.C. grid, default 0.333300
+.TP
+\fB\-A\fR adaptation
+Degree of adaptation of OFPS 0.0 \- 1.0 (default 0.1, \fB\-c\fR profile used 1.0)
+.TP
+\fB\-l\fR ilimit
+Total ink limit in % (default = none)
+.TP
+\fB\-p\fR power
+Optional power\-like value applied to all device values.
+.TP
+\fB\-c\fR profile
+Optional device ICC or MPP pre\-conditioning profile filename
+(Use "none" to turn off any conditioning)
+.TP
+\fB\-N\fR nemphasis
+Degree of neutral axis patch concentration 0.0\-1.0 (default 0.50)
+.TP
+\fB\-V\fR demphasis
+Degree of dark region patch concentration 1.0\-4.0 (default 1.00 = none)
+.TP
+\fB\-F\fR L,a,b,rad
+Filter out samples outside Lab sphere.
+.TP
+\fB\-w\fR
+Dump diagnostic outfilel.wrl file (Lab locations)
+.TP
+\fB\-W\fR
+Dump diagnostic outfiled.wrl file (Device locations)
+.TP
+outfile
+Base name for output(.ti1)
diff --git a/debian/man/tiffgamut.1 b/debian/man/tiffgamut.1
new file mode 100644
index 0000000..760c72f
--- /dev/null
+++ b/debian/man/tiffgamut.1
@@ -0,0 +1,90 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "tiffgamut" "User Commands"
+.SH NAME
+Create \- Create VRML image of the gamut surface of a TIFF.
+.SH DESCRIPTION
+Create VRML image of the gamut surface of a TIFF or JPEG, Version 1.6.3
+.SH SYNOPSIS
+.B tiffgamut
+.RB [\-v\ level]\ [profile.icm\ |\ embedded.tif/jpg]\ infile1.tif/jpg\ [infile2.tif/jpg\ ...]
+.TP
+\fB\-v\fR
+Verbose
+.TP
+\fB\-d\fR sres
+Surface resolution details 1.0 \- 50.0
+.TP
+\fB\-w\fR
+emit VRML .wrl file as well as CGATS .gam file
+.TP
+\fB\-n\fR
+Don't add VRML axes or white/black point
+.TP
+\fB\-k\fR
+Add markers for prim. & sec. "cusp" points
+.TP
+\fB\-f\fR perc
+Filter by popularity, perc = percent to use
+.TP
+\fB\-i\fR intent
+p = perceptual, r = relative colorimetric,
+s = saturation, a = absolute (default), d = profile default
+.TP
+\fB\-p\fR oride
+l = Lab_PCS (default), j = CIECAM02 Appearance Jab
+.TP
+\fB\-o\fR order
+n = normal (priority: lut > matrix > monochrome)
+r = reverse (priority: monochrome > matrix > lut)
+.TP
+\fB\-c\fR viewcond
+set appearance mode and viewing conditions for CIECAM02,
+either an enumerated choice, or a parameter:value changes
+.IP
+pp \- Practical Reflection Print (ISO\-3664 P2)
+pe \- Print evaluation environment (CIE 116\-1995)
+pc \- Critical print evaluation environment (ISO\-3664 P1)
+mt \- Monitor in typical work environment
+mb \- Bright monitor in bright work environment
+md \- Monitor in darkened work environment
+jm \- Projector in dim environment
+jd \- Projector in dark environment
+tv \- Television/Film Studio
+.IP
+pcd \- Photo CD \- original scene outdoors
+.IP
+ob \- Original scene \- Bright Outdoors
+cx \- Cut Sheet Transparencies on a viewing box
+.TP
+s:surround
+n = auto, a = average, m = dim, d = dark,
+c = transparency (default average)
+.TP
+w:X:Y:Z
+Adapted white point as XYZ (default media white)
+.TP
+w:x:y
+Adapted white point as x, y
+.TP
+a:adaptation
+Adaptation luminance in cd.m^2 (default 50.0)
+.TP
+b:background
+Background % of image luminance (default 20)
+.TP
+l:imagewhite
+Image white in cd.m^2 if surround = auto (default 250)
+.TP
+f:flare
+Flare light % of image luminance (default 0)
+.TP
+g:glare
+Flare light % of ambient (default 1)
+.TP
+g:X:Y:Z
+Flare color as XYZ (default media white, Abs: D50)
+.TP
+g:x:y
+Flare color as x, y
+.HP
+\fB\-O\fR outputfile Override the default output filename.
diff --git a/debian/man/timage.1 b/debian/man/timage.1
new file mode 100644
index 0000000..2ac441a
--- /dev/null
+++ b/debian/man/timage.1
@@ -0,0 +1,33 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CREATE "1" "September 2014" "timage" "User Commands"
+.SH NAME
+Create \- Create test images, default hex RGB surface and wedge.
+.SH DESCRIPTION
+Create test images, default hex RGB surface and wedge, Version 1.6.3
+.SH SYNOPSIS
+.B timage
+.RB [\-options]\ outfile.tif
+.TP
+\fB\-t\fR
+Generate rectangular gamut boundary test chart
+.TP
+\fB\-p\fR steps
+Generate a colorspace step chart with L* steps^2
+.TP
+\fB\-r\fR res
+Resolution in DPI (default 200)
+.TP
+\fB\-s\fR
+Smooth blend
+.TP
+\fB\-x\fR
+16 bit output
+.TP
+\fB\-4\fR
+CMYK output
+.TP
+\fB\-g\fR prop
+Percentage towards grey (default 0%)
+.TP
+outfile.tif
+Profile to check against
diff --git a/debian/man/txt2ti3.1 b/debian/man/txt2ti3.1
new file mode 100644
index 0000000..f0c44c4
--- /dev/null
+++ b/debian/man/txt2ti3.1
@@ -0,0 +1,33 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH CONVERT "1" "September 2014" "txt2ti3" "User Commands"
+.SH NAME
+Convert \- Convert Gretag/Logo or X-Rite ColorPport raw RGB or CMYK device profile data to Argyll CGATS data.
+.SH DESCRIPTION
+Convert Gretag/Logo or X\-Rite ColorPport raw RGB or CMYK device profile data to Argyll CGATS data, Version 1.6.3
+.SH SYNOPSIS
+.B txt2ti3
+.RB [\-v]\ [\-l\ limit]\ [devfile]\ infile\ [specfile]\ outbase
+.TP
+\fB\-2\fR
+Create dummy .ti2 file as well
+.TP
+\fB\-l\fR limit
+set ink limit, 0 \- 400% (default max in file)
+.TP
+\fB\-d\fR
+Set type of device as Display, not Output
+.TP
+\fB\-i\fR
+Set type of device as Input, not Output
+.TP
+[devfile]
+Input Device CMYK target file (typically file.txt)
+.TP
+infile
+Input CIE, Spectral or Device & Spectral file (typically file.txt)
+.TP
+[specfile]
+Input Spectral file (typically file.txt)
+.TP
+outbasename
+Output file basename for .ti3 and .ti2
diff --git a/debian/man/viewgam.1 b/debian/man/viewgam.1
new file mode 100644
index 0000000..83afd63
--- /dev/null
+++ b/debian/man/viewgam.1
@@ -0,0 +1,42 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH VIEW "1" "September 2014" "viewgam" "User Commands"
+.SH NAME
+View \- View gamuts.
+.SH DESCRIPTION
+View gamuts Version 1.6.3
+.SH SYNOPSIS
+.B viewgam
+.RB { [\-c\ color]\ [\-t\ trans]\ [\-w|s]\ infile.gam }\ ...\ outfile.wrl
+.TP
+\fB\-c\fR color
+Color to make gamut, r = red, g = green, b = blue
+c = cyan, m = magenta, y = yellow, e = grey, w = white
+n = natural color
+.TP
+\fB\-t\fR trans
+Set transparency from 0.0 (opaque) to 1.0 (invisible)
+.TP
+\fB\-w\fR
+Show as a wireframe
+.TP
+\fB\-s\fR
+Show as a solid surace
+.TP
+infile.gam
+Name of .gam file
+Repeat above for each input file
+.TP
+\fB\-n\fR
+Don't add Lab axes
+.TP
+\fB\-k\fR
+Add markers for prim. & sec. "cusp" points
+.TP
+\fB\-i\fR
+Compute and print intersecting volume of first 2 gamuts
+.TP
+\fB\-I\fR isect.gam
+Same as \fB\-i\fR, but save intersection gamut to isect.gam
+.TP
+outfile.wrl
+Name of output .wrl file
diff --git a/debian/man/xicclu.1 b/debian/man/xicclu.1
new file mode 100644
index 0000000..b5aa7e9
--- /dev/null
+++ b/debian/man/xicclu.1
@@ -0,0 +1,162 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1.
+.TH LOOKUP "1" "September 2014" "xicclu" "User Commands"
+.SH NAME
+Lookup \- Translate colors through an xicc.
+.SH DESCRIPTION
+Lookup ICC or CAL colors, Version 1.6.3
+.SH SYNOPSIS
+.B xicclu
+.RB [\-options]\ profile_or_cal
+.TP
+\fB\-v\fR level
+Verbosity level 0 \- 2 (default = 1)
+.TP
+\fB\-g\fR
+Plot slice instead of looking colors up. (Default white to black)
+.TP
+\fB\-G\fR s:L:a:b
+Override plot slice start with Lab or Jab co\-ordinate
+.TP
+\fB\-G\fR e:L:a:b
+Override plot slice end with Lab or Jab co\-ordinate
+.TP
+\fB\-f\fR function
+f = forward, b = backwards, g = gamut, p = preview
+if = inverted forward, ib = inverted backwards
+.TP
+\fB\-i\fR intent
+a = absolute, r = relative colorimetric
+p = perceptual, s = saturation
+.TP
+\fB\-o\fR order
+n = normal (priority: lut > matrix > monochrome)
+r = reverse (priority: monochrome > matrix > lut)
+.TP
+\fB\-p\fR oride
+x = XYZ_PCS, X = XYZ * 100, l = Lab_PCS, L = LCh, y = Yxy
+j = CIECAM02 Appearance Jab, J = CIECAM02 Appearance JCh
+.TP
+\fB\-s\fR scale
+Scale device range 0.0 \- scale rather than 0.0 \- 1.0
+.TP
+\fB\-e\fR flag
+Video encode device input as:
+.TP
+\fB\-E\fR flag
+Video decode device output as:
+.TP
+n
+normal 0..1 full range RGB levels (default)
+.TP
+t
+(16\-235)/255 "TV" RGB levels
+.TP
+6
+Rec601 YCbCr SD (16\-235,240)/255 "TV" levels
+.TP
+7
+Rec709 1125/60Hz YCbCr HD (16\-235,240)/255 "TV" levels
+.TP
+5
+Rec709 1250/50Hz YCbCr HD (16\-235,240)/255 "TV" levels
+.TP
+2
+Rec2020 YCbCr UHD (16\-235,240)/255 "TV" levels
+.TP
+C
+Rec2020 Constant Luminance YCbCr UHD (16\-235,240)/255 "TV" levels
+.TP
+\fB\-k\fR [zhxrlv]
+Black value target: z = zero K,
+h = 0.5 K, x = max K, r = ramp K (def.)
+l = extra PCS input is portion of K locus
+v = extra PCS input is K target value
+.HP
+\fB\-k\fR p stle stpo enpo enle shape
+.IP
+stle: K level at White 0.0 \- 1.0
+stpo: start point of transition Wh 0.0 \- Bk 1.0
+enpo: End point of transition Wh 0.0 \- Bk 1.0
+enle: K level at Black 0.0 \- 1.0
+shape: 1.0 = straight, 0.0\-1.0 concave, 1.0\-2.0 convex
+.HP
+\fB\-k\fR q stle0 stpo0 enpo0 enle0 shape0 stle2 stpo2 enpo2 enle2 shape2
+.IP
+Transfer extra PCS input to dual curve limits
+.TP
+\fB\-K\fR parameters
+Same as \fB\-k\fR, but target is K locus rather than K value itself
+.TP
+\fB\-l\fR tlimit
+set total ink limit, 0 \- 400% (estimate by default)
+.TP
+\fB\-L\fR klimit
+set black ink limit, 0 \- 100% (estimate by default)
+.TP
+\fB\-a\fR
+show actual target values if clipped
+.TP
+\fB\-u\fR
+warn if output PCS is outside the spectrum locus
+.TP
+\fB\-m\fR
+merge output processing into clut
+.TP
+\fB\-b\fR
+use CAM Jab for clipping
+.TP
+\fB\-c\fR viewcond
+set viewing conditions for CIECAM97s,
+either an enumerated choice, or a parameter:value changes
+.IP
+pp \- Practical Reflection Print (ISO\-3664 P2)
+pe \- Print evaluation environment (CIE 116\-1995)
+pc \- Critical print evaluation environment (ISO\-3664 P1)
+mt \- Monitor in typical work environment
+mb \- Bright monitor in bright work environment
+md \- Monitor in darkened work environment
+jm \- Projector in dim environment
+jd \- Projector in dark environment
+tv \- Television/Film Studio
+.IP
+pcd \- Photo CD \- original scene outdoors
+.IP
+ob \- Original scene \- Bright Outdoors
+cx \- Cut Sheet Transparencies on a viewing box
+.TP
+s:surround
+n = auto, a = average, m = dim, d = dark,
+c = transparency (default average)
+.TP
+w:X:Y:Z
+Adapted white point as XYZ (default media white, Abs: D50)
+.TP
+w:x:y
+Adapted white point as x, y
+.TP
+a:adaptation
+Adaptation luminance in cd.m^2 (default 50.0)
+.TP
+b:background
+Background % of image luminance (default 20)
+.TP
+l:imagewhite
+Image white in cd.m^2 if surround = auto (default 250)
+.TP
+f:flare
+Flare light % of image luminance (default 0)
+.TP
+g:glare
+Flare light % of ambient (default 1)
+.TP
+g:X:Y:Z
+Flare color as XYZ (default media white, Abs: D50)
+.TP
+g:x:y
+Flare color as x, y
+.IP
+The colors to be translated should be fed into standard in,
+one input color per line, white space separated.
+A line starting with a # will be ignored.
+A line not starting with a number will terminate the program.
+Use \fB\-v0\fR for just output colors.
diff --git a/debian/missing-sources/deep_arrays.json b/debian/missing-sources/deep_arrays.json
new file mode 100644
index 0000000..3e1c094
--- /dev/null
+++ b/debian/missing-sources/deep_arrays.json
@@ -0,0 +1,18 @@
+[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
+[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
+[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
+[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
+[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
+[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
+[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
+[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
+[[[[[[[[[[[[[[[[
+]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
+]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
+]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
+]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
+]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
+]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
+]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
+]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
+]]]]]]]]]]]]]]]] \ No newline at end of file
diff --git a/debian/missing-sources/difficult_json_c_test_case.json b/debian/missing-sources/difficult_json_c_test_case.json
new file mode 100644
index 0000000..d2bf5ea
--- /dev/null
+++ b/debian/missing-sources/difficult_json_c_test_case.json
@@ -0,0 +1,7 @@
+{ "glossary":
+ { "title": "example glossary", "GlossDiv":
+ { "title": "S", "GlossList":
+ [{ "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML", "markup"] } ]
+ }
+ }
+}
diff --git a/debian/missing-sources/difficult_json_c_test_case_with_comments.json b/debian/missing-sources/difficult_json_c_test_case_with_comments.json
new file mode 100644
index 0000000..189dca8
--- /dev/null
+++ b/debian/missing-sources/difficult_json_c_test_case_with_comments.json
@@ -0,0 +1,7 @@
+{ "glossary":
+ { /* you */ "title": /**/ "example glossary", /*should*/"GlossDiv":
+ { "title": /*never*/"S", /*ever*/"GlossList":
+ [ { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": "A meta-markup language, used to create markup languages such as DocBook.", /*see*/"GlossSeeAlso"/*this*/:/*coming*/[/*out*/"GML"/*of*/,/*the*/"XML"/*parser!*/, "markup"] /*hey*/}/*ho*/]/*hey*/
+ }/*ho*/
+ }
+} // and the parser won't even get this far, so chill. /* hah!
diff --git a/debian/missing-sources/non_utf8_char_in_string.json b/debian/missing-sources/non_utf8_char_in_string.json
new file mode 100644
index 0000000..7d75519
--- /dev/null
+++ b/debian/missing-sources/non_utf8_char_in_string.json
@@ -0,0 +1,88 @@
+{
+ "CoreletAPIVersion":2,
+ "CoreletType":"standalone",
+ "documentation":"A corelet that provides the capability to upload a folder’s contents into a user’s locker.",
+ "functions":
+ [
+ {
+ "documentation":"Displays a dialog box that allows user to select a folder on the local system.",
+ "name":"ShowBrowseDialog","parameters":
+ [
+ {
+ "documentation":"The callback function for results.",
+ "name":"callback",
+ "required":true,
+ "type":"callback"
+ }
+ ]
+ },
+ {
+ "documentation":"Uploads all mp3 files in the folder provided.",
+ "name":"UploadFolder","parameters":
+ [
+ {
+ "documentation":"The path to upload mp3 files from.",
+ "name":"path",
+ "required":true,
+ "type":"string"
+ },
+ {
+ "documentation":"The callback function for progress.",
+ "name":"callback",
+ "required":true,
+ "type":"callback"
+ }
+ ]
+ },
+ {
+ "documentation":"Returns the server name to the current locker service.",
+ "name":"GetLockerService",
+ "parameters":[]
+ },
+ {
+ "documentation":"Changes the name of the locker service.",
+ "name":"SetLockerService",
+ "parameters":
+ [
+ {
+ "documentation":"The value of the locker service to set active.",
+ "name":"LockerService",
+ "required":true,
+ "type":"string"
+ }
+ ]
+ },
+ {
+ "documentation":"Downloads locker files to the suggested folder.",
+ "name":"DownloadFile",
+ "parameters":
+ [
+ {
+ "documentation":"The origin path of the locker file.",
+ "name":"path",
+ "required":true,
+ "type":"string"
+ },
+ {
+ "documentation":"The Window destination path of the locker file.",
+ "name":"destination",
+ "required":true,"type":"integer"
+ },
+ {
+ "documentation":"The callback function for progress.",
+ "name":"callback",
+ "required":true,
+ "type":"callback"
+ }
+ ]
+ }
+ ],
+ "name":"LockerUploader",
+ "version":
+ {
+ "major":0,
+ "micro":1,
+ "minor":0
+ },
+ "versionString":"0.0.1"
+} \ No newline at end of file
diff --git a/debian/patches/100_spelling.patch b/debian/patches/100_spelling.patch
new file mode 100644
index 0000000..6ec2078
--- /dev/null
+++ b/debian/patches/100_spelling.patch
@@ -0,0 +1,616 @@
+Description: correct some typos
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Last-Update: 2015-08-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/spectro/dispcal.c
+===================================================================
+--- trunk.orig/spectro/dispcal.c
++++ trunk/spectro/dispcal.c
+@@ -1937,7 +1937,7 @@ int main(int argc, char *argv[]) {
+ /* Serial port flow control */
+ } else if (argv[fa][1] == 'W') {
+ fa = nfa;
+- if (na == NULL) usage(0,"Paramater expected following -W");
++ if (na == NULL) usage(0,"Parameter expected following -W");
+ if (na[0] == 'n' || na[0] == 'N')
+ fc = fc_none;
+ else if (na[0] == 'h' || na[0] == 'H')
+@@ -1960,13 +1960,13 @@ int main(int argc, char *argv[]) {
+ /* Black point correction amount */
+ } else if (argv[fa][1] == 'k') {
+ fa = nfa;
+- if (na == NULL) usage(0,"Paramater expected following -k");
++ if (na == NULL) usage(0,"Parameter expected following -k");
+ bkcorrect = atof(na);
+ if (bkcorrect < 0.0 || bkcorrect > 1.0) usage(0,"-k parameter must be between 0.0 and 1.0");
+ /* Neutral blend rate (power) */
+ } else if (argv[fa][1] == 'A') {
+ fa = nfa;
+- if (na == NULL) usage(0,"Paramater expected following -A");
++ if (na == NULL) usage(0,"Parameter expected following -A");
+ x.nbrate = atof(na);
+ if (x.nbrate < 0.05 || x.nbrate > 20.0) usage(0,"-A parameter must be between 0.05 and 20.0");
+ /* Black brightness */
+@@ -1999,7 +1999,7 @@ int main(int argc, char *argv[]) {
+ /* COM port */
+ } else if (argv[fa][1] == 'c') {
+ fa = nfa;
+- if (na == NULL) usage(0,"Paramater expected following -c");
++ if (na == NULL) usage(0,"Parameter expected following -c");
+ comport = atoi(na);
+ if (comport < 1 || comport > 50) usage(0,"-c parameter %d out of range",comport);
+
+@@ -3063,7 +3063,7 @@ int main(int argc, char *argv[]) {
+ /* Black level adjustment */
+ /* Due to the possibility of the channel offsets not being even, */
+ /* we use the largest of the XYZ values after they have been */
+- /* scaled to be even acording to the white XYZ balance. */
++ /* scaled to be even according to the white XYZ balance. */
+ /* It's safer to set the black level a bit low, and then the */
+ /* calibration curves can bump the low ones up. */
+ if (c == '1') {
+Index: trunk/spectro/spotread.c
+===================================================================
+--- trunk.orig/spectro/spotread.c
++++ trunk/spectro/spotread.c
+@@ -483,7 +483,7 @@ int main(int argc, char *argv[]) {
+ /* COM port */
+ } else if (argv[fa][1] == 'c') {
+ fa = nfa;
+- if (na == NULL) usage("Paramater expected following -c");
++ if (na == NULL) usage("Parameter expected following -c");
+ {
+ comport = atoi(na);
+ if (comport < 1 || comport > 40) usage("-c parameter %d out of range",comport);
+@@ -492,7 +492,7 @@ int main(int argc, char *argv[]) {
+ /* Display type */
+ } else if (argv[fa][1] == 'y') {
+ fa = nfa;
+- if (na == NULL) usage("Paramater expected following -y");
++ if (na == NULL) usage("Parameter expected following -y");
+ dtype = na[0];
+
+ #ifndef SALONEINSTLIB
+@@ -500,7 +500,7 @@ int main(int argc, char *argv[]) {
+ } else if (argv[fa][1] == 'I') {
+
+ fa = nfa;
+- if (na == NULL) usage("Paramater expected following -I");
++ if (na == NULL) usage("Parameter expected following -I");
+ if (strcmp(na, "A") == 0
+ || strcmp(na, "M0") == 0) {
+ tillum_set = spec = 1;
+@@ -539,7 +539,7 @@ int main(int argc, char *argv[]) {
+ /* Spectral Illuminant type for XYZ computation */
+ } else if (argv[fa][1] == 'i') {
+ fa = nfa;
+- if (na == NULL) usage("Paramater expected following -i");
++ if (na == NULL) usage("Parameter expected following -i");
+ if (strcmp(na, "A") == 0) {
+ illum_set = spec = 1;
+ illum = icxIT_A;
+@@ -579,7 +579,7 @@ int main(int argc, char *argv[]) {
+ /* Spectral Observer type */
+ } else if (argv[fa][1] == 'Q') {
+ fa = nfa;
+- if (na == NULL) usage("Paramater expected following -Q");
++ if (na == NULL) usage("Parameter expected following -Q");
+ if (strcmp(na, "1931_2") == 0) { /* Classic 2 degree */
+ obType = icxOT_CIE_1931_2;
+ } else if (strcmp(na, "1964_10") == 0) { /* Classic 10 degree */
+@@ -657,7 +657,7 @@ int main(int argc, char *argv[]) {
+ /* Filter configuration */
+ } else if (argv[fa][1] == 'F') {
+ fa = nfa;
+- if (na == NULL) usage("Paramater expected following -F");
++ if (na == NULL) usage("Parameter expected following -F");
+ if (na[0] == 'n' || na[0] == 'N')
+ fe = inst_opt_filter_none;
+ else if (na[0] == 'p' || na[0] == 'P')
+@@ -672,7 +672,7 @@ int main(int argc, char *argv[]) {
+ /* Extra filter compensation file */
+ } else if (argv[fa][1] == 'E') {
+ fa = nfa;
+- if (na == NULL) usage("Paramater expected following -E");
++ if (na == NULL) usage("Parameter expected following -E");
+ strncpy(filtername,na,MAXNAMEL-1); filtername[MAXNAMEL-1] = '\000';
+
+ /* Show Yxy */
+Index: trunk/spectro/colorhug.c
+===================================================================
+--- trunk.orig/spectro/colorhug.c
++++ trunk/spectro/colorhug.c
+@@ -212,7 +212,7 @@ colorhug_command(colorhug *p,
+
+ a1logd(p->log,8,"colorhug_command: Read %d bytes and %d read\n",xrbytes,rbytes);
+ if (rbytes >= 2) {
+- a1logd(p->log,6,"colorhug_command: recieved cmd '%s' error '%s' args '%s'\n",
++ a1logd(p->log,6,"colorhug_command: received cmd '%s' error '%s' args '%s'\n",
+ inst_desc(buf[1]),
+ colorhug_interp_error((inst *) p, buf[0]),
+ icoms_tohex(buf, rbytes - 2));
+Index: trunk/spectro/dispwin.c
+===================================================================
+--- trunk.orig/spectro/dispwin.c
++++ trunk/spectro/dispwin.c
+@@ -2734,7 +2734,7 @@ int dispwin_install_profile(dispwin *p,
+
+ /* Un-Install a display profile */
+ /* Return nz if failed, */
+-/* 1 if not sucessfully deleted */
++/* 1 if not successfully deleted */
+ /* 2 if profile not found */
+ int dispwin_uninstall_profile(dispwin *p, char *fname, p_scope scope) {
+ debugr2((errout,"dispwin_uninstall_profile '%s'\n", fname));
+@@ -5128,7 +5128,7 @@ int ddebug /* >0 to print debug sta
+ p->native = native &= ~2;
+ }
+
+- debugr("new_dispwin: return sucessfully\n");
++ debugr("new_dispwin: return successfully\n");
+ return p;
+ }
+
+Index: trunk/spectro/dtp51.c
+===================================================================
+--- trunk.orig/spectro/dtp51.c
++++ trunk/spectro/dtp51.c
+@@ -679,7 +679,7 @@ dtp51_interp_error(inst *pp, int ec) {
+ case DTP51_INVALID_STEP:
+ return "Invalid step";
+ case DTP51_NO_DATA_AVAILABLE:
+- return "No data availble";
++ return "No data avaialble";
+ case DTP51_LAMP_MARGINAL:
+ return "Lamp marginal";
+ case DTP51_LAMP_FAILURE:
+Index: trunk/spectro/dtp92.c
+===================================================================
+--- trunk.orig/spectro/dtp92.c
++++ trunk/spectro/dtp92.c
+@@ -928,7 +928,7 @@ dtp92_interp_error(inst *pp, int ec) {
+ case DTP92_NO_DATA_AVAILABLE:
+ return "No data available";
+ case DTP92_MISSING_PARAMETER:
+- return "Paramter is missing";
++ return "Parameter is missing";
+ case DTP92_CALIBRATION_DENIED:
+ return "Invalid calibration enable code";
+ case DTP92_NEEDS_OFFSET_CAL:
+Index: trunk/spectro/hidio.c
+===================================================================
+--- trunk.orig/spectro/hidio.c
++++ trunk/spectro/hidio.c
+@@ -739,7 +739,7 @@ icoms_hid_read(icoms *p,
+ {
+ unsigned char *rbuf2;
+
+- /* Create a copy of the data recieved with one more byte */
++ /* Create a copy of the data received with one more byte */
+ if ((rbuf2 = malloc(bsize + 1)) == NULL) {
+ a1loge(p->log, ICOM_SYS, "icoms_hid_read: malloc failed\n");
+ return ICOM_SYS;
+Index: trunk/spectro/huey.c
+===================================================================
+--- trunk.orig/spectro/huey.c
++++ trunk/spectro/huey.c
+@@ -81,7 +81,7 @@ static int icoms2huey_err(int se, int to
+ /* i1Display command codes */
+ /* B = byte (8bit), S = short (16bit), W = word (32bit), A = string */
+ /* U = unused byte, - = no arguments/results */
+-/* The is a 7 byte command buffer and 6 response recieve buffer. */
++/* The is a 7 byte command buffer and 6 response receive buffer. */
+ /* :2 means the read is from a second 8 byte ep x81 read. */
+ /* cbuf[-] is command byte */
+ /* rbuf[-2] is continuation byte */
+Index: trunk/spectro/i1pro_imp.c
+===================================================================
+--- trunk.orig/spectro/i1pro_imp.c
++++ trunk/spectro/i1pro_imp.c
+@@ -3768,7 +3768,7 @@ i1pro_code i1pro_restore_refspot_cal(i1p
+ return I1PRO_OK;
+ }
+
+- /* We've sucessfully restored the dark calibration */
++ /* We've successfully restored the dark calibration */
+ s->dark_valid = 1;
+ s->ddate = m->caldate;
+
+@@ -3813,7 +3813,7 @@ i1pro_code i1pro_restore_refspot_cal(i1p
+ return I1PRO_OK;
+ }
+
+- /* We've sucessfully restored the calibration */
++ /* We've successfully restored the calibration */
+ s->cal_valid = 1;
+ s->cfdate = m->caldate;
+
+Index: trunk/spectro/madvrwin.c
+===================================================================
+--- trunk.orig/spectro/madvrwin.c
++++ trunk/spectro/madvrwin.c
+@@ -593,7 +593,7 @@ int ii = 0;
+ }
+ #endif
+
+- debugr("new_madvrwin: return sucessfully\n");
++ debugr("new_madvrwin: return successfully\n");
+
+ return p;
+ }
+Index: trunk/spectro/ss.c
+===================================================================
+--- trunk.orig/spectro/ss.c
++++ trunk/spectro/ss.c
+@@ -1787,7 +1787,7 @@ ss_interp_error(inst *pp, int ec) {
+ case ss_et_BadHexEncoding:
+ return "Message received from instrument has bad Hex encoding";
+ case ss_et_RecBufferOverun:
+- return "Message received from instrument would overflow recieve buffer";
++ return "Message received from instrument would overflow receive buffer";
+ default:
+ return "Unknown error code";
+ }
+Index: trunk/spectro/ss_imp.c
+===================================================================
+--- trunk.orig/spectro/ss_imp.c
++++ trunk/spectro/ss_imp.c
+@@ -216,7 +216,7 @@ static int h2b(ss *p, char c) {
+ return 0;
+ }
+
+-/* Return the first enum from the recieve buffer without removing it. */
++/* Return the first enum from the receive buffer without removing it. */
+ int ss_peek_ans(ss *p) {
+ int rv;
+
+Index: trunk/spectro/webwin.c
+===================================================================
+--- trunk.orig/spectro/webwin.c
++++ trunk/spectro/webwin.c
+@@ -396,7 +396,7 @@ int ddebug /* >0 to print debug sta
+ msec_sleep(50);
+ }
+
+- debugr("new_webwin: return sucessfully\n");
++ debugr("new_webwin: return successfully\n");
+
+ return p;
+ }
+Index: trunk/xicc/cv.c
+===================================================================
+--- trunk.orig/xicc/cv.c
++++ trunk/xicc/cv.c
+@@ -101,7 +101,7 @@ main(int argc, char *argv[]) {
+
+ printf("There are %d parameters:\n",np); fflush(stdout);
+ for (i = 0; i < np; i++) {
+- printf("Paramter %d = %f\n",i, params[i]); fflush(stdout);
++ printf("Parameter %d = %f\n",i, params[i]); fflush(stdout);
+ }
+
+ /* Display the result */
+Index: trunk/spectro/ss_imp.h
+===================================================================
+--- trunk.orig/spectro/ss_imp.h
++++ trunk/spectro/ss_imp.h
+@@ -720,7 +720,7 @@ void ss_add_string(struct _ss *p, char *
+ /* - - - - - - - - - - - - - - - - - - - - - */
+ /* ANSWER: */
+
+-/* Return the first enum from the recieve buffer without removing it. */
++/* Return the first enum from the receive buffer without removing it. */
+ int ss_peek_ans(struct _ss *p);
+
+ /* Remove a Spectrolino answer enum from the revieve buffer, */
+Index: trunk/imdi/cctiff.c
+===================================================================
+--- trunk.orig/imdi/cctiff.c
++++ trunk/imdi/cctiff.c
+@@ -36,7 +36,7 @@
+ Add flag to ignore inkname mismatches.
+
+
+- Should add support for transfering any extra alpha
++ Should add support for transferring any extra alpha
+ planes from input to output, rather than simply ignoring them.
+
+
+@@ -1953,11 +1953,11 @@ main(int argc, char *argv[]) {
+
+ if (wh != NULL) {
+ printf("Output TIFF file '%s'\n",out_name);
+- printf("Ouput raster file ICC colorspace is %s\n",icm2str(icmColorSpaceSignature,su.outs));
++ printf("Output raster file ICC colorspace is %s\n",icm2str(icmColorSpaceSignature,su.outs));
+ printf("Output TIFF file photometric is %s\n",Photometric2str(wphotometric));
+ } else {
+ printf("Output JPEG file '%s'\n",out_name);
+- printf("Ouput raster file ICC colorspace is %s\n",icm2str(icmColorSpaceSignature,su.outs));
++ printf("Output raster file ICC colorspace is %s\n",icm2str(icmColorSpaceSignature,su.outs));
+ printf("Output JPEG file colorspace is %s\n",JPEG_cspace2str(wj.jpeg_color_space));
+ if (wdesc != NULL)
+ printf("Output raster file description: '%s'\n",wdesc);
+Index: trunk/imdi/imdi.h
+===================================================================
+--- trunk.orig/imdi/imdi.h
++++ trunk/imdi/imdi.h
+@@ -38,7 +38,7 @@ struct _imdi {
+
+ /* Note that once an imdi is created, multiple can call interp() without */
+ /* interfering with each other, allowing parallel execution. */
+- void (*interp)(struct _imdi *s, void **outp, int outst, /* Ouput pointers and stride */
++ void (*interp)(struct _imdi *s, void **outp, int outst, /* Output pointers and stride */
+ void **inp, int inst, /* Input pointers and stride */
+ unsigned int npixels); /* Number of pixels */
+
+Index: trunk/spectro/munki_imp.c
+===================================================================
+--- trunk.orig/spectro/munki_imp.c
++++ trunk/spectro/munki_imp.c
+@@ -6393,7 +6393,7 @@ munki_code munki_create_hr(munki *p, int
+ int i, j, jj, k, cx, sx;
+ munki_fc coeff[40][16]; /* Existing filter cooefficients */
+ int nwav1; /* Number of filters */
+- double wl_short1, wl_long1; /* Ouput wavelength of first and last filters */
++ double wl_short1, wl_long1; /* Output wavelength of first and last filters */
+ double wl_step1;
+ munki_xp xp[41]; /* Crossover points each side of filter */
+ munki_code ev = MUNKI_OK;
+Index: trunk/target/printtarg.c
+===================================================================
+--- trunk.orig/target/printtarg.c
++++ trunk/target/printtarg.c
+@@ -2953,7 +2953,7 @@ char *argv[];
+ double sscale = 1.0; /* Spacer size scale */
+ int rand = 1;
+ int qbits = 0; /* Quantization bits */
+- int oft = 0; /* Ouput File type, 0 = PS, 1 = EPS , 2 = TIFF */
++ int oft = 0; /* Output File type, 0 = PS, 1 = EPS , 2 = TIFF */
+ int nocups = 0; /* Supress CUPS PS/EPS job ticket */
+ depth2d tiffdpth = bpc8_2d; /* TIFF pixel depth */
+ double tiffres = 100.0; /* TIFF resolution in DPI */
+Index: trunk/gamut/nearsmth.c
+===================================================================
+--- trunk.orig/gamut/nearsmth.c
++++ trunk/gamut/nearsmth.c
+@@ -261,7 +261,7 @@ double dxratio /* Depth expansion ratio
+ double va, vr = 0.0, vl, vd, vv = 0.0;
+
+ /* Absolute, Delta E^2 between test point and destination closest */
+- /* aodv is already positioned acording to the LCh weights, */
++ /* aodv is already positioned according to the LCh weights, */
+ /* so weight as per average of these */
+ a_o = w->a.o;
+ va = wdesq(dtp, aodv, a_o, a_o, a_o, SUM_POW);
+@@ -3598,7 +3598,7 @@ static void create_influence_plot(nearsm
+ swdiag = new_rspl(RSPL_NOFLAGS, 3, 3); /* Allocate 3D -> 3D */
+ swdiag->fit_rspl(swdiag, RSPL_NOFLAGS, fpnts, nmpts, NULL, NULL, gres, NULL, NULL, 1.0, avgdev, NULL);
+
+- /* Now create a plot of the sci_gam with the vertexes colored acording to the */
++ /* Now create a plot of the sci_gam with the vertexes colored according to the */
+ /* diagnostic map. */
+ if ((wrl = new_vrml("sci_gam_wt", 1, vrml_lab)) == NULL) {
+ fprintf(stderr,"gamut map: new_vrml failed for '%s%s'\n","sci_gam_wt",vrm_ext());
+Index: trunk/gamut/nearsmth.h
+===================================================================
+--- trunk.orig/gamut/nearsmth.h
++++ trunk/gamut/nearsmth.h
+@@ -274,7 +274,7 @@ gammapweights *src1, double wgt1,
+ gammapweights *src2, double wgt2
+ );
+
+-/* Tweak weights acording to extra cmy cusp flags or rel override */
++/* Tweak weights according to extra cmy cusp flags or rel override */
+ void tweak_weights(gammapweights out[14], int dst_cmymap, int rel_oride);
+
+ #endif /* NEARSMTH_H */
+Index: trunk/imdi/cctiffo.c
+===================================================================
+--- trunk.orig/imdi/cctiffo.c
++++ trunk/imdi/cctiffo.c
+@@ -307,7 +307,7 @@ int pmtc
+ case PHOTOMETRIC_LOGLUV:
+ return "CIELog2Luv";
+ }
+- sprintf(buf,"Unknonw Tag %d",pmtc);
++ sprintf(buf,"Unknown Tag %d",pmtc);
+ return buf;
+ }
+
+Index: trunk/imdi/greytiff.c
+===================================================================
+--- trunk.orig/imdi/greytiff.c
++++ trunk/imdi/greytiff.c
+@@ -132,7 +132,7 @@ int pmtc
+ case PHOTOMETRIC_LOGLUV:
+ return "CIELog2Luv";
+ }
+- sprintf(buf,"Unknonw Tag %d",pmtc);
++ sprintf(buf,"Unknown Tag %d",pmtc);
+ return buf;
+ }
+
+Index: trunk/link/collink.c
+===================================================================
+--- trunk.orig/link/collink.c
++++ trunk/link/collink.c
+@@ -1138,7 +1138,7 @@ void devip_devop(void *cntx, double *out
+ }
+ /* We've got the input profile PCS' at this point. */
+
+- /* If we're transfering the K value from the input profile to the */
++ /* If we're transferring the K value from the input profile to the */
+ /* output, copy it into locus[], which will be given to the inverse */
+ /* lookup function, else the inverse lookup will generate a K using */
+ /* the curve parameters. */
+@@ -1270,7 +1270,7 @@ void devip_devop(void *cntx, double *out
+ if (p->nhack == 2) {
+ /* Ideally we would create a 4D PCSK -> PCSK gamut mapping */
+ /* to smoothly and accurately cope with the changing source */
+- /* and destination gamuts acording to their degree of "K onlyness". */
++ /* and destination gamuts according to their degree of "K onlyness". */
+ /* In practice we're going to simply interpolated between */
+ /* two extremes: unrestricted gamut and K only black gamut. */
+ double map0[3], map1[3];
+Index: trunk/profile/printcal.c
+===================================================================
+--- trunk.orig/profile/printcal.c
++++ trunk/profile/printcal.c
+@@ -1294,7 +1294,7 @@ int main(int argc, char *argv[]) {
+ icmXYZ2Lab(&wht, wp->Lab, wp->XYZ);
+ }
+
+- /* Sort the channel acording to device value */
++ /* Sort the channel according to device value */
+ /* For a consistent result for identical device values, */
+ /* secondary sort by inverse CIE value */
+ //#define HEAP_COMPARE(A,B) ((A).dev < (B).dev)
+Index: trunk/spectro/dispsup.c
+===================================================================
+--- trunk.orig/spectro/dispsup.c
++++ trunk/spectro/dispsup.c
+@@ -707,7 +707,7 @@ static int disprd_read_imp(
+ scb->serno = p->serno++;
+ scb->msec = msec_time();
+
+- a1logd(p->log,1, "got reading %f %f %f, transfering to col\n",
++ a1logd(p->log,1, "got reading %f %f %f, transferring to col\n",
+ val.XYZ[0], val.XYZ[1], val.XYZ[2]);
+
+ scb->mtype = val.mtype;
+Index: trunk/gamut/gammap.c
+===================================================================
+--- trunk.orig/gamut/gammap.c
++++ trunk/gamut/gammap.c
+@@ -775,7 +775,7 @@ gammap *new_gammap(
+ #endif
+ if (gmi->bph == gmm_clipBP) {
+
+- /* Extend the target black point to accomodate the */
++ /* Extend the target black point to accommodate the */
+ /* bent or clipped destination space L* range */
+ if (fabp[0] < dr_cs_bp[0]) {
+ t = (fabp[0] - dr_cs_wp[0])/(dr_cs_bp[0] - dr_cs_wp[0]);
+Index: trunk/profile/profout.c
+===================================================================
+--- trunk.orig/profile/profout.c
++++ trunk/profile/profout.c
+@@ -1048,7 +1048,7 @@ make_output_icc(
+ if (iccver < icmVersion2_4) {
+ iccver = icmVersion2_4; /* Need 2.4.0 for Display intents */
+ if (verb)
+- fprintf(verbo,"Bumped ICC version to 2.4.0 to accomodate multiple Display intents\n");
++ fprintf(verbo,"Bumped ICC version to 2.4.0 to accommodate multiple Display intents\n");
+ }
+ }
+ if (wr_icco->set_version(wr_icco, iccver) != 0)
+Index: trunk/render/thscreen.c
+===================================================================
+--- trunk.orig/render/thscreen.c
++++ trunk/render/thscreen.c
+@@ -636,7 +636,7 @@ thscreen *new_thscreen(
+ mrang = 65535.0/(t->oelev - 1.0);
+ DBG(("new_thscreen() raw modulation rande = %f\n",mrang));
+
+- /* Modify the modulation range to accomodate any level overlap */
++ /* Modify the modulation range to accommodate any level overlap */
+ if (olap > 0.0 && t->oelev > 2) {
+ mrang = ((t->oelev - 2.0) * olap * mrang + 65535.0)/(t->oelev - 1.0);
+ DBG(("new_thscreen() modulation adjusted for overlap = %f\n",mrang));
+Index: trunk/xicc/xspect.c
+===================================================================
+--- trunk.orig/xicc/xspect.c
++++ trunk/xicc/xspect.c
+@@ -4440,7 +4440,7 @@ void xspect_plot10(xspect *sp, int n) {
+ /* Given an emission spectrum, set the UV output to the given level. */
+ /* The shape of the UV is taken from FWA1_stim, and the level is */
+ /* with respect to the Y of the input spectrum. */
+-/* The output range is extended to accomodate the UV wavelengths */
++/* The output range is extended to accommodate the UV wavelengths */
+ void xsp_setUV(xspect *out, xspect *in, double uvlevel) {
+ int i, xs, xe;
+ double ww, avg;
+Index: trunk/spectro/ccxxmake.c
+===================================================================
+--- trunk.orig/spectro/ccxxmake.c
++++ trunk/spectro/ccxxmake.c
+@@ -395,7 +395,7 @@ int main(int argc, char *argv[]) {
+ /* COM port */
+ } else if (argv[fa][1] == 'c') {
+ fa = nfa;
+- if (na == NULL) usage(0,"Paramater expected following -c");
++ if (na == NULL) usage(0,"Parameter expected following -c");
+ comno = atoi(na);
+ if (comno < 1 || comno > 40) usage(0,"-c parameter %d out of range",comno);
+
+@@ -495,7 +495,7 @@ int main(int argc, char *argv[]) {
+ /* Serial port flow control */
+ } else if (argv[fa][1] == 'W') {
+ fa = nfa;
+- if (na == NULL) usage(0,"Paramater expected following -W");
++ if (na == NULL) usage(0,"Parameter expected following -W");
+ if (na[0] == 'n' || na[0] == 'N')
+ fc = fc_none;
+ else if (na[0] == 'h' || na[0] == 'H')
+Index: trunk/spectro/dispread.c
+===================================================================
+--- trunk.orig/spectro/dispread.c
++++ trunk/spectro/dispread.c
+@@ -413,7 +413,7 @@ int main(int argc, char *argv[]) {
+ /* COM port */
+ } else if (argv[fa][1] == 'c') {
+ fa = nfa;
+- if (na == NULL) usage(0,"Paramater expected following -c");
++ if (na == NULL) usage(0,"Parameter expected following -c");
+ comport = atoi(na);
+ if (comport < 1 || comport > 50) usage(0,"-c parameter %d out of range",comport);
+
+Index: trunk/spectro/fakeread.c
+===================================================================
+--- trunk.orig/spectro/fakeread.c
++++ trunk/spectro/fakeread.c
+@@ -814,7 +814,7 @@ int main(int argc, char *argv[])
+
+ /* We're assuming that the input space has a perfect black point... */
+
+- /* Lookup the ouput black point in XYZ PCS. We're assuming monotonicity.. */
++ /* Lookup the output black point in XYZ PCS. We're assuming monotonicity.. */
+ bp[0] = bp[1] = bp[2] = 0.0;
+ oluo->lookup(oluo, bp, bp);
+
+@@ -827,7 +827,7 @@ int main(int argc, char *argv[])
+ bt1886 == 1 ? egamma : tgamma, bt1886 == 1 ? 1 : 0);
+
+ if (verb)
+- printf("Gamma Curve: Using ouput black offset proportion %f\n",outoprop);
++ printf("Gamma Curve: Using output black offset proportion %f\n",outoprop);
+
+ if (bt1886 == 1) { /* Using effective gamma */
+ if (verb)
+Index: trunk/profile/invprofcheck.c
+===================================================================
+--- trunk.orig/profile/invprofcheck.c
++++ trunk/profile/invprofcheck.c
+@@ -99,7 +99,7 @@ void usage(void) {
+ fprintf(stderr," -k Show CIEDE2000 delta E values\n");
+ fprintf(stderr," -w create %s visualisation (profile%s)\n",vrml_format(),vrml_ext());
+ fprintf(stderr," -x Use %s axes\n",vrml_format());
+- fprintf(stderr," -e Color vectors acording to delta E\n");
++ fprintf(stderr," -e Color vectors according to delta E\n");
+ fprintf(stderr," profile.icm Profile to check\n");
+ exit(1);
+ }
+Index: trunk/profile/profcheck.c
+===================================================================
+--- trunk.orig/profile/profcheck.c
++++ trunk/profile/profcheck.c
+@@ -59,7 +59,7 @@ usage(void) {
+ fprintf(stderr," -w create %s visualisation (iccprofile%s)\n",vrml_format(),vrml_ext());
+ fprintf(stderr," -x Use %s axes\n",vrml_format());
+ fprintf(stderr," -m Make %s lines a minimum of 0.5\n",vrml_format());
+- fprintf(stderr," -e Color vectors acording to delta E\n");
++ fprintf(stderr," -e Color vectors according to delta E\n");
+ fprintf(stderr," -h Plot a histogram of delta E's\n");
+ fprintf(stderr," -s Sort output by delta E\n");
+ fprintf(stderr," -P N.NN Create a pruned .ti3 with points less or equal to N.NN delta E\n");
diff --git a/debian/patches/110_dispwin_segfault.patch b/debian/patches/110_dispwin_segfault.patch
new file mode 100644
index 0000000..2b1e684
--- /dev/null
+++ b/debian/patches/110_dispwin_segfault.patch
@@ -0,0 +1,20 @@
+Description: Add check for NULL pointer
+Author: Jörg Frings-Fürst <debian@jff-webhsoting.net>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700253
+Forwarded: http://www.freelists.org/post/argyllcms/dispwin-bad-command-line-option-makes-dispwin-segfault
+Reviewed-by:
+Last-Update: 2015-08-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/spectro/dispwin.c
+===================================================================
+--- trunk.orig/spectro/dispwin.c
++++ trunk/spectro/dispwin.c
+@@ -5553,6 +5553,7 @@ main(int argc, char *argv[]) {
+
+ /* Display number */
+ else if (argv[fa][1] == 'd') {
++ if(na == NULL) usage(0, "-d parameter missing");
+ if (strncmp(na,"web",3) == 0
+ || strncmp(na,"WEB",3) == 0) {
+ webdisp = 8080;
diff --git a/debian/patches/120_usb-db_new.patch b/debian/patches/120_usb-db_new.patch
new file mode 100644
index 0000000..f826509
--- /dev/null
+++ b/debian/patches/120_usb-db_new.patch
@@ -0,0 +1,19 @@
+Description: Use hwdb builtin, instead of the obsolete usb-db in the udev rules.
+Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1200185
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762887
+Last-Update: 2014-09-26
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/usb/55-Argyll.rules
+===================================================================
+--- trunk.orig/usb/55-Argyll.rules 2014-09-25 11:10:12.000000000 +0200
++++ trunk/usb/55-Argyll.rules 2014-09-26 14:08:21.067295380 +0200
+@@ -85,6 +85,6 @@
+ ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}!="*?", MODE="660", GROUP="plugdev"
+
+ # Set ID_VENDOR and ID_MODEL acording to VID and PID
+-TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p"
++IMPORT{builtin}="hwdb --subsystem=usb"
+
+ LABEL="argyll_rules_end"
diff --git a/debian/patches/15_jam.patch b/debian/patches/15_jam.patch
new file mode 100644
index 0000000..251f61f
--- /dev/null
+++ b/debian/patches/15_jam.patch
@@ -0,0 +1,143 @@
+Description: Add multiarch support to jam files
+Author: Jörg Frings Fürst <debian@jff-webhosting.net>
+Forwarded: http://www.freelists.org/post/argyllcms/Some-buildsystem-issues
+Last-Update: 2015-08-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/Jambase
+===================================================================
+--- trunk.orig/Jambase
++++ trunk/Jambase
+@@ -941,7 +941,7 @@ else if $(UNIX)
+
+ # UNIX defaults
+
+- CCFLAGS ?= -DUNIX -D_THREAD_SAFE -pipe ;
++ CCFLAGS ?= $(CPPFLAGS) -g -DUNIX -D_THREAD_SAFE -pipe ;
+ CCOPTFLAG ?= -O2 ;
+ CCDEBUGFLAG ?= -g ;
+ CCPROFFLAG ?= ;
+@@ -951,7 +951,7 @@ else if $(UNIX)
+ CHGRP ?= chgrp ;
+ CHOWN ?= chown ;
+ LEX ?= lex ;
+- LINKFLAGS ?= ;
++ LINKFLAGS ?= $(LDFLAGS) ;
+ LINKOPTFLAG ?= -O ; # Affects creating .so's
+ LINKSTRIPFLAG ?= -s ;
+ LINKDEBUGFLAG ?= ;
+@@ -1037,7 +1037,7 @@ else if $(UNIX)
+ RMDIR ?= $(RM) ;
+ RSH ?= rsh ;
+ SED ?= sed ;
+- SHELLHEADER ?= "#!/bin/sh" ;
++ SHELLHEADER ?= "#!/bin/bash" ;
+ SHELLMODE ?= 755 ;
+ SLASH ?= / ;
+ STDHDRS ?= /usr/include ;
+Index: trunk/Jamtop
+===================================================================
+--- trunk.orig/Jamtop
++++ trunk/Jamtop
+@@ -23,6 +23,7 @@ ANCHORED_PATH_VARS = DESTDIR ;
+ # Should we also allow CFLAGS, CXXFLAGS, CPPFLAGS & LDFLAGS env. variables
+ # to have effect ?
+
++BUILD_SHARED_LIB = 1 ;
+
+ # Tell standalone libraries that they are part of Argyll:
+ DEFINES += ARGYLLCMS ;
+@@ -139,17 +140,82 @@ rule CheckForLibrary {
+ }
+
+ if ! $(BUILTIN_$(UCASE)) && $(UNIX) {
+- if [ 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 ] {
+- if [ 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 ]
+- || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).a ] {
++ if [ 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 ]
++ || [ GLOB /usr/include/alpha-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/aarch64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/arm-linux-gnueabi$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/arm-linux-gnueabihf$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/hppa-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/i386-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/x86_64-kfreebsd-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/i386-kfreebsd-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/m68k-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/mips-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/mipsel-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/mips64el-linux-gnuabi64$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/powerpc-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/powerpc-linux-gnuspe$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/powerpc64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/powerpc64le-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/s390x-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ GLOB /usr/include/sh4-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ || [ 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 ]
++ || [ 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 ]
++ || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/alpha-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/alpha-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/aarch64-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/aarch64-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/arm-linux-gnueabi : lib$(lcase).so ]
++ || [ GLOB /usr/lib/arm-linux-gnueabi : lib$(lcase).a ]
++ || [ GLOB /usr/lib/arm-linux-gnueabihf : lib$(lcase).so ]
++ || [ GLOB /usr/lib/arm-linux-gnueabihf : lib$(lcase).a ]
++ || [ GLOB /usr/lib/hppa-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/hppa-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/i386-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/i386-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/i386-kfreebsd-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/i386-kfreebsd-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/m68k-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/m68k-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/mips-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/mips-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/mipsel-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/mipsel-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/mips64el-linux-gnuabi64 : lib$(lcase).so ]
++ || [ GLOB /usr/lib/mips64el-linux-gnuabi64 : lib$(lcase).a ]
++ || [ GLOB /usr/lib/powerpc-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/powerpc-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/powerpc-linux-gnuspe : lib$(lcase).so ]
++ || [ GLOB /usr/lib/powerpc-linux-gnuspe : lib$(lcase).a ]
++ || [ GLOB /usr/lib/powerpc64-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/powerpc64-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/powerpc64le-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/powerpc64le-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/s390x-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/s390x-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/sh4-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/sh4-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/sparc-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/sparc-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/sparc64-linux-gnu : lib$(lcase).so ]
++ || [ GLOB /usr/lib/sparc64-linux-gnu : lib$(lcase).a ]
++ || [ GLOB /usr/lib/x86_64-linux-gnux32 : lib$(lcase).so ]
++ || [ GLOB /usr/lib/x86_64-linux-gnux32 : lib$(lcase).a ] {
+ echo "Using system $(UCASE) library" ;
+ $(UCASE)LIB = ;
+ $(UCASE)INC = ;
diff --git a/debian/patches/20_hurd_PATH_MAX.patch b/debian/patches/20_hurd_PATH_MAX.patch
new file mode 100644
index 0000000..0079adb
--- /dev/null
+++ b/debian/patches/20_hurd_PATH_MAX.patch
@@ -0,0 +1,81 @@
+Description: Add on hurdi386 missing PATH_MAX
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762774
+Last-Update: 2014-09-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/numlib/numsup.c
+===================================================================
+--- trunk.orig/numlib/numsup.c
++++ trunk/numlib/numsup.c
+@@ -40,6 +40,10 @@
+
+ /* Globals */
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ char *exe_path = "\000"; /* Directory executable resides in ('/' dir separator) */
+ //char *error_program = "Unknown"; /* Name to report as responsible for an error */
+
+Index: trunk/spectro/mongoose.c
+===================================================================
+--- trunk.orig/spectro/mongoose.c
++++ trunk/spectro/mongoose.c
+@@ -46,6 +46,10 @@
+ added to /usr/lib/firewalld/services
+ */
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ #if defined(_WIN32)
+ #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005
+ #else
+Index: trunk/spectro/usbio_lx.c
+===================================================================
+--- trunk.orig/spectro/usbio_lx.c
++++ trunk/spectro/usbio_lx.c
+@@ -33,6 +33,10 @@
+ #define poll_x poll
+ #endif
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ /* USB descriptors are little endian */
+
+ /* Take a word sized return buffer, and convert it to an unsigned int */
+Index: trunk/spectro/usbio_nt.c
+===================================================================
+--- trunk.orig/spectro/usbio_nt.c
++++ trunk/spectro/usbio_nt.c
+@@ -31,6 +31,10 @@
+ #define LIBUSBW1_PATH_MAX 512
+ #define LIBUSBW1_DEFAULT_TIMEOUT 5000
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ /* USB descriptors are little endian */
+
+ /* Take a word sized return buffer, and convert it to an unsigned int */
+Index: trunk/spectro/hidio.c
+===================================================================
+--- trunk.orig/spectro/hidio.c
++++ trunk/spectro/hidio.c
+@@ -100,6 +100,10 @@
+ #endif
+ #endif
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ #if defined(NT)
+
+ /* Declartions to enable HID access without using the DDK */
diff --git a/debian/patches/25_kfreebsd.patch b/debian/patches/25_kfreebsd.patch
new file mode 100644
index 0000000..2b4b622
--- /dev/null
+++ b/debian/patches/25_kfreebsd.patch
@@ -0,0 +1,55 @@
+From: Steven Chamberlain <steven@pyro.eu.org>
+Subject: use FreeBSD USB I/O code on GNU/kFreeBSD
+
+Use the FreeBSD USB I/O code not just on __FreeBSD__ itself,
+but on any system having __FreeBSD_kernel__ (such as GNU/kFreeBSD).
+
+--- a/spectro/usbio.c
++++ b/spectro/usbio.c
+@@ -94,7 +94,7 @@
+ # include "usbio_ox.c"
+ # endif
+ # if defined(UNIX_X11)
+-# if defined(__FreeBSD__)
++# if defined(__FreeBSD_kernel__)
+ # include "usbio_bsd.c"
+ # else
+ # include "usbio_lx.c"
+--- a/spectro/usbio_bsd.c
++++ b/spectro/usbio_bsd.c
+@@ -37,7 +37,7 @@
+ #include <fcntl.h>
+ #include <glob.h>
+ #include <sys/ioctl.h>
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD_kernel__)
+ # include <dev/usb/usb_ioctl.h> /* Not sure what's going on with FreeBSD... */
+ #else
+ # include <dev/usb/usb.h> /* The usual include for BSD */
+@@ -59,7 +59,7 @@
+ ) {
+ int i, j;
+ char *paths[] = {
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD_kernel__)
+ "/dev/usb/[0-9]*.*.0", /* FreeBSD >= 8 */
+ "/dev/ugen[0-9]*", /* FreeBSD < 8, but no .E */
+ #else
+@@ -94,7 +94,7 @@
+ /* For all the nodes found by the glob */
+ for (i = 0; i < g.gl_pathc; i++) {
+
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD_kernel__)
+ /* Skip anything with an end point number */
+ if (j == 1 && strchr(g.gl_pathv[i], '.') != NULL)
+ continue;
+@@ -141,7 +141,7 @@
+
+ /* Create the base device path */
+ dpath = g.gl_pathv[i];
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD_kernel__)
+ if (j == 0) { /* Remove .0 */
+ if ((cp = strrchr(dpath, '.')) != NULL
+ && cp[1] == '0' && cp[2] == '\000')
diff --git a/debian/patches/30_gcc5.patch b/debian/patches/30_gcc5.patch
new file mode 100644
index 0000000..2806745
--- /dev/null
+++ b/debian/patches/30_gcc5.patch
@@ -0,0 +1,20 @@
+Description: Fix FTBFS with GCC 5
+Author: James Cowgill <james410@cowgill.org.uk>
+Bug-Debian: https://bugs.debian.org/777779
+Forwarded: no
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/icc/icc.h
++++ b/icc/icc.h
+@@ -100,7 +100,11 @@
+ #define CF64PREC "LL" /* Constant precision specifier */
+
+ #ifndef ATTRIBUTE_NORETURN
++#ifdef _MSC_VER
+ # define ATTRIBUTE_NORETURN __declspec(noreturn)
++#else
++# define ATTRIBUTE_NORETURN __attribute__((noreturn))
++#endif
+ #endif
+
+ #else /* !__STDC_VERSION__ */
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8f5d038
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,7 @@
+110_dispwin_segfault.patch
+100_spelling.patch
+15_jam.patch
+20_hurd_PATH_MAX.patch
+#120_usb-db_new.patch
+#25_kfreebsd.patch
+30_gcc5.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..50d805e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,122 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DH_OPTIONS
+
+NO_PROC=$(shell cat /proc/cpuinfo | grep processor | wc -l)
+
+JAMCMDLINE = -q -fJambase -j$(NO_PROC) -sPREFIX=/usr -sDESTDIR=$(CURDIR)/debian/tmp -sREFSUBDIR=share/color/argyll/ref
+CHDATE=$(shell dpkg-parsechangelog -S Date)
+CRDATE=$(shell date --utc -d "$(CHDATE)" "+%a %b %d %T %Y")
+
+#
+# Test for gcc-5 support
+#
+#export CC=gcc-5
+#export CXX=g++-5
+
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ gcc --version
+ jam $(JAMCMDLINE) all
+
+override_dh_auto_install:
+ jam $(JAMCMDLINE) dirs
+ jam $(JAMCMDLINE) install
+ rm $(CURDIR)/debian/tmp/usr/bin/License.txt
+ #
+ # Make build results reproducible.
+ #
+ sed -i 's/CREATED.*/CREATED $(CRDATE)/' $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/RefMediumGamut.gam
+ sed -i 's/CREATED.*/CREATED $(CRDATE)/' $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/linear.cal
+ sed -i 's/CREATED.*/CREATED $(CRDATE)/' $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/strange.cal
+
+override_dh_installdocs:
+ dh_installdocs
+ rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/License.txt
+ rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/License2.txt
+ rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/License3.txt
+ rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/DocLicense.txt
+ rm -f $(CURDIR)/debian/argyll-doc/usr/share/doc/argyll-doc/afiles
+
+override_dh_installchangelogs:
+ dh_installchangelogs log.txt
+
+override_dh_strip:
+ dh_strip --dbg-package=argyll-dbg
+
+override_dh_builddeb:
+ dh_builddeb
+
+override_dh_compress:
+ dh_compress -X.html
+
+build-manpages:
+ help2man -N --no-discard-stderr --name="Apply device calibration to an ICC profile." debian/tmp/usr/bin/applycal > debian/man/applycal.1
+ help2man -N --no-discard-stderr --name="Dump an ICC file in human readable form." debian/tmp/usr/bin/iccdump > debian/man/iccdump.1
+ help2man -N --no-discard-stderr --name="Translate colors through an ICC profile." debian/tmp/usr/bin/icclu > debian/man/icclu.1
+ help2man -N --no-discard-stderr --name="Average or merge values in .ti3 like files." debian/tmp/usr/bin/average > debian/man/average.1
+ help2man -N --no-discard-stderr --name="Convert Colorblind raw device profile data to Argyll data." debian/tmp/usr/bin/cb2ti3 > debian/man/cb2ti3.1
+ help2man -N --no-discard-stderr --name="Color Correct a TIFF file using any sequence of ICC profiles or Calibrations." debian/tmp/usr/bin/cctiff > debian/man/cctiff.1
+ help2man -N --no-discard-stderr --name="Create CCMX or CCSS." debian/tmp/usr/bin/ccxxmake > debian/man/ccxxmake.1
+ help2man -N --no-discard-stderr --name="Read Target Test Chart." debian/tmp/usr/bin/chartread > debian/man/chartread.1
+ help2man -N --no-discard-stderr --name="Link ICC profiles." debian/tmp/usr/bin/collink > debian/man/collink.1
+ help2man -N --no-discard-stderr --name="Create ICC profile." debian/tmp/usr/bin/colprof > debian/man/colprof.1
+ help2man -N --no-discard-stderr --name="Verify CIE values." debian/tmp/usr/bin/colverify > debian/man/colverify.1
+ help2man -N --no-discard-stderr --name="Calibrate a Display." debian/tmp/usr/bin/dispcal > debian/man/dispcal.1
+ help2man -N --no-discard-stderr --name="Read a Display." debian/tmp/usr/bin/dispread > debian/man/dispread.1
+ help2man -N --no-discard-stderr --name="Test display patch window, Set Video LUTs, Install profiles." debian/tmp/usr/bin/dispwin > debian/man/dispwin.1
+ help2man -N --no-discard-stderr --name="Extract an ICC profile from a TIFF file." debian/tmp/usr/bin/extracticc > debian/man/extracticc.1
+ help2man -N --no-discard-stderr --name="Extract a text tag from an ICC profile." debian/tmp/usr/bin/extractttag > debian/man/extractttag.1
+ help2man -N --no-discard-stderr --name="Create a fake CMY data file from a CMYK profile." debian/tmp/usr/bin/fakeCMY > debian/man/fakeCMY.1
+ help2man -N --no-discard-stderr --name="Fake test chart reader - lookup values in ICC/MPP profile." debian/tmp/usr/bin/fakeread > debian/man/fakeread.1
+ help2man -N --no-discard-stderr --name="Convert a TIFF file to monochrome using an ICC device profile." debian/tmp/usr/bin/greytiff > debian/man/greytiff.1
+ help2man -N --no-discard-stderr --name="Dump an ICC file in human readable form." debian/tmp/usr/bin/iccdump > debian/man/iccdump.1
+ help2man -N --no-discard-stderr --name="Create Lab/Jab gamut plot." debian/tmp/usr/bin/iccgamut > debian/man/iccgamut.1
+ help2man -N --no-discard-stderr --name="Measure an illuminant." debian/tmp/usr/bin/illumread > debian/man/illumread.1
+ help2man -N --no-discard-stderr --name="Check fwd to bwd relative transfer of an ICC file." debian/tmp/usr/bin/invprofcheck > debian/man/invprofcheck.1
+ help2man -N --no-discard-stderr --name="Convert Kodak raw printer profile data to Argyll print data." debian/tmp/usr/bin/kodak2ti3 > debian/man/kodak2ti3.1
+ help2man -N --no-discard-stderr --name="Check Model Printer Profile." debian/tmp/usr/bin/mppcheck > debian/man/mppcheck.1
+ help2man -N --no-discard-stderr --name="Translate colors through an MPP profile." debian/tmp/usr/bin/mpplu > debian/man/mpplu.1
+ help2man -N --no-discard-stderr --name="Create Model Printer Profile." debian/tmp/usr/bin/mppprof > debian/man/mppprof.1
+ help2man -N --no-discard-stderr --name="List information about the FILEs." debian/tmp/usr/bin/oeminst > debian/man/oeminst.1
+ help2man -N --no-discard-stderr --name="Create printer calibration." debian/tmp/usr/bin/printcal > debian/man/printcal.1
+ help2man -N --no-discard-stderr --name="Generate Target PostScrip file." debian/tmp/usr/bin/printtarg > debian/man/printtarg.1
+ help2man -N --no-discard-stderr --name="Check accuracy of ICC profile." debian/tmp/usr/bin/profcheck > debian/man/profcheck.1
+ help2man -N --no-discard-stderr --name="Create abstract correction profile given table of absolute CIE correction values." debian/tmp/usr/bin/refine > debian/man/refine.1
+ help2man -N --no-discard-stderr --name="Invert AtoB1 to make BtoA1 for CMYK profiles." debian/tmp/usr/bin/revfix > debian/man/revfix.1
+ help2man -N --no-discard-stderr --name="Scanin." debian/tmp/usr/bin/scanin > debian/man/scanin.1
+ help2man -N --no-discard-stderr --name="Convert spectral .ti3 file." debian/tmp/usr/bin/spec2cie > debian/man/spec2cie.1
+ help2man -N --no-discard-stderr --name="Plot spectrum and calculate CCT and VCT." debian/tmp/usr/bin/specplot > debian/man/specplot.1
+ help2man -N --no-discard-stderr --name="Split a .ti3 into two." debian/tmp/usr/bin/splitti3 > debian/man/splitti3.1
+ help2man -N --no-discard-stderr --name="Read Print Spot values." debian/tmp/usr/bin/spotread > debian/man/spotread.1
+ help2man -N --no-discard-stderr --name="Create a synthetic calibration file." debian/tmp/usr/bin/synthcal > debian/man/synthcal.1
+ help2man -N --no-discard-stderr --name="Synthetic device model test chart reader." debian/tmp/usr/bin/synthread > debian/man/synthread.1
+ help2man -N --no-discard-stderr --name="Generate Target deviceb test chart color values." debian/tmp/usr/bin/targen > debian/man/targen.1
+ help2man -N --no-discard-stderr --name="Create VRML image of the gamut surface of a TIFF." debian/tmp/usr/bin/tiffgamut > debian/man/tiffgamut.1
+ help2man -N --no-discard-stderr --name="Create test images, default hex RGB surface and wedge." debian/tmp/usr/bin/timage > debian/man/timage.1
+ help2man -N --no-discard-stderr --name="Convert Gretag/Logo or X-Rite ColorPport raw RGB or CMYK device profile data to Argyll CGATS data." debian/tmp/usr/bin/txt2ti3 > debian/man/txt2ti3.1
+ help2man -N --no-discard-stderr --name="View gamuts." debian/tmp/usr/bin/viewgam > debian/man/viewgam.1
+ help2man -N --no-discard-stderr --name="Translate colors through an xicc." debian/tmp/usr/bin/xicclu > debian/man/xicclu.1
+ help2man -N --no-discard-stderr --name="Convert LightSpace raw RGB device profile data to Argyll CGATS dat" debian/tmp/usr/bin/ls2ti3 > debian/man/ls2ti3.1
+
+VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/+.*).*//;s/\+/\-/')
+
+get-orig-source:
+ wget http://www.argyllcms.com/Argyll_V${VERSION}_src.zip -O ../Argyll_V${VERSION}_src.zip
+ unzip ../Argyll_V${VERSION}_src.zip -d ../
+ mv ../Argyll_V${VERSION} ../argyll_${VERSION}
+ rm -f ../argyll_${VERSION}/yajl/yajl_test.exe ../argyll_${VERSION}/yajl/yajl_test.obj
+ rm -fr ../argyll_${VERSION}/usb/bin
+ rm -fr ../argyll_${VERSION}/jpeg
+ rm -fr ../argyll_${VERSION}/tiff
+ rm -fr ../argyll_${VERSION}/zlib
+ rm -fr ../argyll_${VERSION}/png
+ chmod -R -x+X ../argyll_${VERSION}/*
+ tar cJf ../argyll_${VERSION}+repack.orig.tar.xz ../argyll_${VERSION}
+ rm -fr ../argyll_${VERSION} ../Argyll_V${VERSION}_src.zip
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tools/buildman.sh b/debian/tools/buildman.sh
new file mode 100644
index 0000000..fee4393
--- /dev/null
+++ b/debian/tools/buildman.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+cd ../../
+
+quilt push -a
+
+debian/rules override_dh_auto_build
+debian/rules override_dh_auto_install
+debian/rules build-manpages
+debian/rules override_dh_auto_clean
+
+quilt pop -a
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..fddab5e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+
+#opts="dversionmangle=s/\+repack\d+$//" http://www.argyllcms.com/downloadsrc.html Argyll_V(.*)_src\.zip
+opts=dversionmangle=s/\+repack(.*)// \
+http://www.argyllcms.com/downloadsrc.html Argyll_V(.*)_src\.zip