--- argyll-1.1.0.orig/Makefile.shared +++ argyll-1.1.0/Makefile.shared @@ -0,0 +1,15 @@ +# -*- mode: Makefile -*- + +# Common CFLAGS for Argyll components +AM_CFLAGS = -DUNIX -I$(top_srcdir)/cgats -I$(top_srcdir)/gamut \ + -I$(top_srcdir)/h -I$(top_srcdir)/jcnf -I$(top_srcdir)/libusb \ + -I$(top_srcdir)/numlib -I$(top_srcdir)/plot -I$(top_srcdir)/profile \ + -I$(top_srcdir)/render -I$(top_srcdir)/rspl -I$(top_srcdir)/spectro \ + -I$(top_srcdir)/target -I$(top_srcdir)/ucmm -I$(top_srcdir)/xicc \ + $(TIFF_CFLAGS) $(ICC_CFLAGS) + +# Build libs in other dirs when required +../%.la: + $(MAKE) -C $(@D) $(@F) +./%.la: + $(MAKE) -C $(@D) $(@F) --- argyll-1.1.0.orig/configure.ac +++ argyll-1.1.0/configure.ac @@ -0,0 +1,91 @@ +AC_INIT([argyll], [1.1.0]) +AM_INIT_AUTOMAKE([1.9 foreign]) + +AC_PROG_CC +AC_PROG_RANLIB +AC_PROG_INSTALL + +AM_PROG_LIBTOOL +AC_PROG_LIBTOOL + +AC_PATH_XTRA + +AC_CHECK_LIB(m, sqrt) +AC_CHECK_LIB(pthread, pthread_create) + +AC_CHECK_LIB(tiff, TIFFOpen, TIFF_LIBS="-ltiff", , -lm) +AC_SUBST([TIFF_LIBS]) + +AC_CHECK_LIB(icc, new_icmFileStd_name, HAVE_ICC="true", , -lm) +if test "$HAVE_ICC" = "true" ; then + ICC_LIBS="-licc" +else + ICC_LIBS='$(top_srcdir)/icc/libicc.la' + ICC_CFLAGS='-I$(top_srcdir)/icc' + ICC_SUBDIRS='icc' +fi +AC_SUBST([ICC_LIBS]) +AC_SUBST([ICC_CFLAGS]) +AC_SUBST([ICC_SUBDIRS]) + +AC_CHECK_LIB(X11, XOpenDisplay, X_LIBS="$X_LIBS -lX11") +AC_CHECK_LIB(Xext, XextFindDisplay, X_LIBS="$X_LIBS -lXext",,-lX11) +AC_CHECK_LIB(Xss, XScreenSaverSuspend, X_LIBS="$X_LIBS -lXss",,-lXext -lX11) +AC_CHECK_LIB(Xrandr, XRRRootToScreen, X_LIBS="$X_LIBS -lXrandr",,-LXext -lX11) +AC_CHECK_LIB(Xinerama, XineramaQueryScreens, X_LIBS="$X_LIBS -lXinerama",,-LXext -lX11) +AC_CHECK_LIB(Xxf86vm, XF86VidModeGetGamma, X_LIBS="$X_LIBS -lXxf86vm",,-lXext -lX11) +AC_SUBST([X_LIBS]) + +AC_SUBST(LINUX_API) +AC_SUBST(BSD_API) +case $host in + *-linux*) + LINUX_API=1 + BSD_API=0 + ;; + *-freebsd*|*-kfreebsd*-gnu|*-openbsd*|*-netbsd*) + LINUX_API=0 + BSD_API=1 + ;; + *) + LINUX_API=0 + BSD_API=0 + ;; +esac +AM_CONDITIONAL([LINUX_API], [case $host in *-linux*) true ;; *) false ;; esac]) +AM_CONDITIONAL([BSD_API], [case $host in *-freebsd*|*-kfreebsd*-gnu|*-openbsd*|*-netbsd*) true ;; *) false ;; esac]) + +AC_C_BIGENDIAN +if test "$ac_cv_c_bigendian" = "yes"; then + BIGENDIAN="1" +else + BIGENDIAN="0" +fi +AC_SUBST(BIGENDIAN) + +AC_CONFIG_FILES([Makefile + h/Makefile + doc/Makefile + ref/Makefile + numlib/Makefile + cgats/Makefile + plot/Makefile + rspl/Makefile + icc/Makefile + gamut/Makefile + xicc/Makefile + link/Makefile + spectro/Makefile + profile/Makefile + tweak/Makefile + scanin/Makefile + render/Makefile + target/Makefile + imdi/Makefile + jcnf/Makefile + jcnf/yajl/Makefile + ucmm/Makefile + libusb/usb.h]) + +AC_OUTPUT + --- argyll-1.1.0.orig/Makefile.am +++ argyll-1.1.0/Makefile.am @@ -0,0 +1,33 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libargyll.la libargyllusb.la +privatelibdir = $(pkglibdir) + +libargyll_la_SOURCES = xicc/xicc.c xicc/xicc.h xicc/xcam.c xicc/xcam.h \ + gamut/gamut.c gamut/gamut.h xicc/xfit.c xicc/xfit.h \ + xicc/cam97s3.c xicc/cam97s3.h xicc/cam02.c xicc/cam02.h \ + xicc/moncurve.c xicc/moncurve.h xicc/xspect.c xicc/xspect.h \ + xicc/xcal.c xicc/xcal.h xicc/xcolorants.h xicc/xcolorants.c +libargyll_la_LIBADD = ./rspl/librspl.la $(ICC_LIBS) \ + ./numlib/libargyllnum.la ./cgats/libcgats.la + +if LINUX_API +LIBUSB_OS_SUPPORT = libusb/linux.c libusb/linux.h +else +if BSD_API +LIBUSB_OS_SUPPORT = libusb/bsd.c +endif +endif + +libargyllusb_la_SOURCES = libusb/usb.c libusb/usbi.h libusb/error.c \ + libusb/error.h libusb/descriptors.c $(LIBUSB_OS_SUPPORT) +libargyllusb_la_CFLAGS = -I $(top_srcdir)/libusb + +SUBDIRS = h doc ref numlib cgats plot rspl $(ICC_SUBDIRS) jcnf ucmm \ + render . gamut spectro xicc target link tweak profile scanin \ + imdi + +EXTRA_DIST = Readme.txt ttbd.txt log.txt + --- argyll-1.1.0.orig/Makefile +++ argyll-1.1.0/Makefile @@ -1,10 +1 @@ -# default Makefile to invoke Jam - -all:: - jam -q -fJambase -j 3 - -clean:: - jam clean - -install:: - jam -q -fJambase -j 3 install +# Empty Makefile --- argyll-1.1.0.orig/h/Makefile.am +++ argyll-1.1.0/h/Makefile.am @@ -0,0 +1,5 @@ +## Process this file with automake to produce Makefile.in + +EXTRA_DIST = Readme.txt copyright.h config.h sort.h llist.h xlist.h \ + counters.h + --- argyll-1.1.0.orig/xicc/Makefile.am +++ argyll-1.1.0/xicc/Makefile.am @@ -0,0 +1,31 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libxicc.la libxutils.la +privatelibdir = $(pkglibdir) + +libxicc_la_SOURCES = xicc.h xicc.c xlutfix.c xspect.c xspect.h xsep.c \ + xsep.h xdevlin.c xdevlin.h xcam.c xcam.h cam97s3.c cam97s3.h \ + cam02.c cam02.h mpp.c xfit.c xfit.h moncurve.c moncurve.h \ + mpp.h xdgb.c +libxicc_la_LIBADD = $(ICC_LIBS) ../gamut/libgamut.la \ + ../numlib/libargyllnum.la ../spectro/libinsttypes.la \ + ../cgats/libcgats.la ../rspl/librspl.la ../libargyll.la + +libxutils_la_SOURCES = xutils.h xutils.c +libxutils_la_LIBADD = $(TIFF_LIBS) $(ICC_LIBS) + +LDADD = ./libxicc.la ./libxutils.la ../rspl/librspl.la \ + ../numlib/libargyllnum.la ../gamut/libgamut.la \ + ../gamut/libgammap.la ../spectro/libinsttypes.la $(ICC_LIBS) \ + ../cgats/libcgats.la ../plot/libvrml.la ../plot/libplot.la \ + $(TIFF_LIBS) $(X_LIBS) ../libargyll.la ../libargyllusb.la + +bin_PROGRAMS = fakeCMY iccgamut mpplu revfix tiffgamut xicclu \ + extracticc extractttag specplot ccttest + +fakeCMY_DEPENDENCIES = ../spectro/libinsttypes.la \ + ../gamut/libgammap.la ../target/libtarget.la + +EXTRA_DIST = xmono.c xmatrix.c xlut.c --- argyll-1.1.0.orig/gamut/Makefile.am +++ argyll-1.1.0/gamut/Makefile.am @@ -0,0 +1,25 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libgamut.la libgammap.la +privatelibdir = $(pkglibdir) + +libgamut_la_SOURCES = gamut.h gamut.c +libgamut_la_LIBADD = ../cgats/libcgats.la $(ICC_LIBS) \ + ../numlib/libargyllnum.la + +libgammap_la_SOURCES = gammap.h gammap.c nearsmth.c nearsmth.h +libgammap_la_LIBADD = ./libgamut.la $(ICC_LIBS) \ + ../numlib/libargyllnum.la ../plot/libvrml.la \ + ../rspl/librspl.la ../libargyll.la ../cgats/libcgats.la + +LDADD = ./libgamut.la ./libgammap.la $(ICC_LIBS) ../cgats/libcgats.la \ + ../rspl/librspl.la ../plot/libvrml.la ../xicc/libxicc.la \ + ../spectro/libinsttypes.la ../numlib/libargyllnum.la + +bin_PROGRAMS = viewgam + +check_PROGRAMS = smthtest GenRMGam GenVisGam maptest surftest fakegam + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/rspl/Makefile.am +++ argyll-1.1.0/rspl/Makefile.am @@ -0,0 +1,17 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = librspl.la +privatelibdir = $(pkglibdir) + +librspl_la_SOURCES = rspl.h rspl_imp.h mlbs.h rspl.c scat.c rev.c \ + rev.h gam.c spline.c opt.c +librspl_la_LIBADD = ../numlib/libargyllnum.la ../plot/libvrml.la + +LDADD = ./librspl.la ../numlib/libargyllnum.la ../plot/libplot.la \ + ../plot/libvrml.la $(X_LIBS) $(TIFF_LIBS) $(ICC_LIBS) + +check_PROGRAMS = revbench c1 c1df t2d t2ddf t3d t3ddf tnd trnd + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/render/Makefile.am +++ argyll-1.1.0/render/Makefile.am @@ -0,0 +1,15 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = librender.la +privatelibdir = $(pkglibdir) + +librender_la_SOURCES = render.h render.c +librender_la_LIBADD = $(TIFF_LIBS) ../numlib/libargyllnum.la + +LDADD = ./librender.la ../numlib/libargyllnum.la $(TIFF_LIBS) + +check_PROGRAMS = timage + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/doc/Makefile.am +++ argyll-1.1.0/doc/Makefile.am @@ -0,0 +1,8 @@ +## Process this file with automake to produce Makefile.in + +docdir = $(datadir)/doc/argyll + +doc_DATA = $(wildcard *.txt) $(wildcard *.html) $(wildcard *.jpg) \ + $(wildcard *.gif) + +EXTRA_DIST = $(doc_DATA) \ No newline at end of file --- argyll-1.1.0.orig/tweak/Makefile.am +++ argyll-1.1.0/tweak/Makefile.am @@ -0,0 +1,13 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +LDADD = ../spectro/libinsttypes.la ../gamut/libgamut.la \ + ../gamut/libgammap.la ../plot/libvrml.la ../xicc/libxutils.la \ + ../xicc/libxicc.la ../rspl/librspl.la ../gamut/libgamut.la \ + ../gamut/libgammap.la $(ICC_LIBS) ../cgats/libcgats.la \ + ../numlib/libargyllnum.la $(TIFF_LIBS) + +bin_PROGRAMS = refine + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/debian/TODO +++ argyll-1.1.0/debian/TODO @@ -0,0 +1,5 @@ +Things that should be done for this package: + +* Convert the HTML docs into manpages. + +* Check udev stuff. --- argyll-1.1.0.orig/debian/changelog +++ argyll-1.1.0/debian/changelog @@ -0,0 +1,232 @@ +argyll (1.1.0-5) unstable; urgency=low + + * Bumped version build-dependency on libicc-dev to prevent segmentation + fault. + + -- Roland Mas 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 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 Mon, 25 Jan 2010 11:42:54 +0100 + +argyll (1.1.0-2) unstable; urgency=low + + * Fix build on FreeBSD, patch from Petr Salinger + (closes: #566768). + + -- Roland Mas 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 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 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 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 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 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 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 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 Sun, 08 Nov 2009 22:19:45 +0100 + +argyll (1.0.4-1) unstable; urgency=low + + * New upstream release. + + -- Roland Mas 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 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 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 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 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 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 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 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 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 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 Fri, 21 Jul 2006 06:25:46 +0200 + +argyll (0.60-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat 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 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 Fri, 12 May 2006 16:27:46 +0200 + +argyll (0.53.1-0.0) unstable; urgency=low + + * New upstream release. + + -- Christian Marillat 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 Wed, 8 Feb 2006 11:42:15 +0100 + +argyll (0.53-0.0) unstable; urgency=low + + * Initial release. + + -- Christian Marillat Sun, 5 Feb 2006 22:08:11 +0100 + --- argyll-1.1.0.orig/debian/control +++ argyll-1.1.0/debian/control @@ -0,0 +1,31 @@ +Source: argyll +Section: graphics +Priority: optional +Maintainer: Roland Mas +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7.0.50~), libtiff4-dev, libx11-dev, libxxf86vm-dev, + x11proto-xf86vidmode-dev, libxinerama-dev, libxrandr-dev, + x11proto-scrnsaver-dev, libxss-dev, libicc-dev (>= 2.12), autoconf, + automake, libtool, libusbhid-dev [kfreebsd-amd64 kfreebsd-i386] +Homepage: http://www.argyllcms.com/ +Vcs-Bzr: http://bzr.debian.org/pkg-phototools/argyll/debian/sid/ +Vcs-Browser: http://bzr.debian.org/loggerhead/pkg-phototools/argyll/debian/sid/changes + +Package: argyll +Architecture: any +Depends: policykit-1, udev [linux-any], ${misc:Depends}, ${shlibs:Depends} +Replaces: argyll-bin +Conflicts: argyll-bin +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. --- argyll-1.1.0.orig/debian/rules +++ argyll-1.1.0/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f + +override_dh_auto_configure: + autoreconf -f -i + LDFLAGS="-Wl,--as-needed -Wl,--no-undefined" dh_auto_configure + +override_dh_auto_clean: + dh_clean bin/License.txt imdi/imdi_k.c ref/RefMediumGamut.gam \ + libusb/Makefile libusb/config.h libusb/config.log libusb/usb.h \ + libusb/config.status libusb/doc/Makefile libusb/libtool \ + libusb/libusb-config libusb/libusb.pc libusb/stamp-h1 \ + libusb/tests/Makefile firmware-package-builder/*.tar.gz + [ ! -f Makefile ] || [ "$$(cat Makefile)" = "# Empty Makefile" ] || $(MAKE) distclean + find bin -executable | xargs --no-run-if-empty rm + +firmware-package-builder/%.tar.gz: firmware-package-builder/argyll-firmware-%-1.0 + tar cfCz $@ firmware-package-builder $(notdir $<) + +build: firmware-package-builder/spyder2.tar.gz + +override_dh_install: + dh_install + rm $(CURDIR)/debian/argyll/usr/share/doc/argyll/License.txt + for i in average refine targen verify ; do mv $(CURDIR)/debian/argyll/usr/bin/$$i $(CURDIR)/debian/argyll/usr/bin/argyll-$$i ; done + +override_dh_installchangelogs: + dh_installchangelogs log.txt + +# For everything else, there's Debhelper +%: + dh $@ --- argyll-1.1.0.orig/debian/README.Spyder2 +++ argyll-1.1.0/debian/README.Spyder2 @@ -0,0 +1,35 @@ +Note for users of the ColorVision Spyder2: +------------------------------------------ + +The Spyder2 device doesn't work "out of the box" because it needs +firmware to be loaded into it. That firmware is proprietary and +cannot be distributed within Debian, but Argyll provides a tool to +extract that firmware from the driver CD provided with the device. + +If you're only using your Spyder2 on one computer, then all you need +to do is run the "spyd2en" utility (as root) while the driver CD is +mounted. spyd2en looks for the CD in a few typical mount points +(/media/ColorVision, /mnt/cdrom, /media/cdrom, /cdrom). If your CD is +mounted somewhere else, just run spyd2en from that mount point. In +both cases, the firmware will be extracted and stored into +/var/lib/argyll/spyd2PLD.bin, where the other utilities will be ablt +to look for it when needed. You're done! + +If you use the Spyder2 on several computers, and don't want to carry +the CD and perform the same operation on all, you might like to +generate a Debian package containing the firmware on one computer, and +install that package on the others. A source package is provided in +/usr/share/doc/argyll/spyder2.tar.gz. Here's the procedure for the +first computer: + +- first, extract the firmware with spyd2en (as above); +- then, apt-get install debhelper fakeroot build-essential; +- uncompress the spyder2.tar.gz archive somewhere; you'll get a + argyll-firmware-spyder2-1.0 directory; +- in that directory, run "fakeroot debian/rules binary clean"; +- you should get a .deb in the parent directory. + +You can then copy that .deb file to other computers and install it +with "dpkg -i argyll-firmware-spyder2_1.0_all.deb". You're done! + + -- Roland Mas , Fri, 17 Apr 2009 23:07:04 +0200 --- argyll-1.1.0.orig/debian/preinst +++ argyll-1.1.0/debian/preinst @@ -0,0 +1,57 @@ +#!/bin/sh +# preinst script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# Remove a no-longer used conffile +rm_conffile() { + local PKGNAME="$1" + local CONFFILE="$2" + + [ -e "$CONFFILE" ] || return 0 + + local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')" + local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ + sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi +} + +case "$1" in + install|upgrade) + if dpkg --compare-versions "$2" le "1.1.0-3"; then + rm_conffile argyll "/etc/udev/permissions.d/10-Argyll.permissions" + rm_conffile argyll "/etc/udev/rules.d/45-Argyll.rules" + rm_conffile argyll "/etc/udev/rules.d/55-Argyll.rules" + fi + ;; + abort-upgrade) + ;; + *) + 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 --- argyll-1.1.0.orig/debian/compat +++ argyll-1.1.0/debian/compat @@ -0,0 +1 @@ +7 --- argyll-1.1.0.orig/debian/copyright +++ argyll-1.1.0/debian/copyright @@ -0,0 +1,774 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Name: ArgyllCMS +Maintainer: Graeme W. Gill +Source: http://www.argyllcms.com/ + +Files: * +Copyright: Copyright 1995-2009, Graeme W. Gill +License: AGPL-3 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + 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. + + + Copyright (C) + + 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 . + + 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 + . + + +Files: icc/*, cgats/*, jcnf/*, ucmm/* +Copyright: Copyright 1995-2009, Graeme W. Gill +License: MIT/X11 + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +Files: jcnf/yajl/* +Copyright: Copyright 2007, Lloyd Hilaiel +License: BSD-3 + +Files: libusb/* +Copyright: Copyright 2000-2003, Johannes Erdfelt +Copyright: Copyright 2003, Brad Hards +Copyright: Copyright Thomas Sailer +License: GPL-2+ + +Files: libusb/usb.h.in +Copyright: Copyright 2000-2003, Johannes Erdfelt +License: GPL-2+ | BSD-3 + +Files: libusbw/* +Copyright: Copyright 2000-2004, Johannes Erdfelt +Copyright: Copyright 2002-2005, Stephan Meyer +Copyright: Copyright Thomas Sailer +License: GPL-2 and 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: spectro/spec2cie.c +Copyright: Copyright 2005 Gerhard Fuernkranz +Copyright: Copyright 2006-2007 Graeme W. Gill +License: GPL-2+ + +Files: spectro/average.c +Copyright: Copyright 2008 Jordi Nodal and Graeme W. Gill +License: GPL-3+ + +Files: tiff/* +Copyright: Copyright 1988-1997, Sam Leffler +Copyright: Copyright 1991-1997, Silicon Graphics, Inc. +License: MIT/X11 + Permission to use, copy, modify, distribute, and sell this software and + its documentation for any purpose is hereby granted without fee, provided + that (i) the above copyright notices and this permission notice appear in + all copies of the software and related documentation, and (ii) the names of + Sam Leffler and Silicon Graphics may not be used in any advertising or + publicity relating to the software without the specific, prior written + permission of Sam Leffler and Silicon Graphics. + + THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + + IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR + ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, + OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF + LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE + OF THIS SOFTWARE. + +Files: tiff/contrib/addtiffo/* +Copyright: Copyright 1999, Frank Warmerdam +License: MIT/X11 + Same as above. + +Files: tiff/contrib/dbs/* +Copyright: Copyright 1990, Digital Equipment Corporation +License: MIT/X11 + Same as above. + +Files: tiff/contrib/mfs/* +Copyright: Copyright 1996 BancTec AB +Copyright: Copyright 1996 Mike Johnson +License: MIT/X11 + Same as above. + +Files: tiff/contrib/ras/* +Copyright: Copyright 1990, Sun Microsystems, Inc. +License: MIT/X11 + Same as above. + +Files: debian/* +Copyright: Copyright 2006-2008, Christian Marillat +Copyright: Copyright 2008-2009, Roland Mas +License: GPL-3+ --- argyll-1.1.0.orig/debian/dirs +++ argyll-1.1.0/debian/dirs @@ -0,0 +1 @@ +var/lib/argyll --- argyll-1.1.0.orig/debian/README.Debian +++ argyll-1.1.0/debian/README.Debian @@ -0,0 +1,8 @@ +Notes for argyll as packaged in Debian: +--------------------------------------- + +* Four binaries with a very generic name (average, refine, targen and + verify) have been renamed to argyll-* in order to prevent naming + collisions. + + -- Roland Mas , Thu, 19 Feb 2009 20:34:17 +0100 --- argyll-1.1.0.orig/debian/postrm +++ argyll-1.1.0/debian/postrm @@ -0,0 +1,35 @@ +#! /bin/sh +# postrm script for argyll +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge) + rm -rf /var/lib/argyll + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + 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# --- argyll-1.1.0.orig/debian/watch +++ argyll-1.1.0/debian/watch @@ -0,0 +1,3 @@ +version=3 + +opts="dversionmangle=s/\+dfsg\d+$//" http://www.argyllcms.com/downloadsrc.html Argyll_V(.*)_src\.zip --- argyll-1.1.0.orig/debian/install +++ argyll-1.1.0/debian/install @@ -0,0 +1,3 @@ +libusb/55-Argyll.rules lib/udev/rules.d/ +libusb/Argyll.usermap etc/hotplug/usb +firmware-package-builder/*.tar.gz usr/share/doc/argyll --- argyll-1.1.0.orig/numlib/Makefile.am +++ argyll-1.1.0/numlib/Makefile.am @@ -0,0 +1,17 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libargyllnum.la +privatelibdir = $(pkglibdir) + +libargyllnum_la_SOURCES = numlib.h numsup.c numsup.h dnsq.c dnsq.h \ + powell.c powell.h dhsx.c dhsx.h ludecomp.c ludecomp.h svd.c \ + svd.h zbrent.c zbrent.h rand.c rand.h sobol.c sobol.h aatree.c + +LDADD = ./libargyllnum.la + +check_PROGRAMS = dnsqtest tpowell tdhsx LUtest svdtest zbrenttest \ + soboltest + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/tiff/Makefile +++ argyll-1.1.0/tiff/Makefile @@ -1,70 +1 @@ -# Boilerplate Makefile for compiling tifflib under Windows - -# Microsoft C++, WinNT setup -#include Makefile.WNT - -# IBM C++, WinNT setup -include Makefile.IBMNT - -# Generic UNIX setup -#include Makefile.UNIX - -############################### - -#Set optimisation on -#CCFLAGS = $(CCFLAGSDEF) $(CCOPTFLAG) -#Set debugging on -CCFLAGS = $(CCFLAGSDEF) $(CCDEBUGFLAG) -STDHDRS = $(STDHDRSDEF) -LINKFLAGS = $(LINKFLAGSDEF) $(LINKDEBUGFLAG) - -all:: libtiff$(SUFLIB) - -# support library for generation utilities - -PORTOBJ = port/getopt$(SUFOBJ) port/strcasecmp$(SUFOBJ) port/strtoul$(SUFOBJ) - -libport$(SUFLIB): $(PORTOBJ) - $(LIBU) $(LIBOF)$@ $? - -# generation utilities -mkg3states$(SUFEXE) : libtiff/mkg3states$(SUFOBJ) libport$(SUFLIB) - $(LINK) $(LINKOF)$@ libtiff/mkg3states$(SUFOBJ) libport$(SUFLIB) - -libtiff/tif_fax3sm.c : mkg3states$(SUFEXE) - mkg3states -c const libtiff\tif_fax3sm.c - -# version file -mkversion$(SUFEXE) : libtiff/mkversion$(SUFOBJ) - $(LINK) $(LINKOF)$@ libtiff/mkversion$(SUFOBJ) - -libtiff/version.h : mkversion$(SUFEXE) - mkversion -v VERSION -a dist/tiff.alpha -r RELEASE-DATE libtiff\version.h - - -# tiff library itlsef -# -#IPATH on libtiff = ../jpeg ; - -LIBOBJS = libtiff/tif_fax3$(SUFOBJ) libtiff/tif_aux$(SUFOBJ) libtiff/tif_close$(SUFOBJ) \ - libtiff/tif_codec$(SUFOBJ) libtiff/tif_fax3sm$(SUFOBJ) libtiff/tif_predict$(SUFOBJ) \ - libtiff/tif_compress$(SUFOBJ) libtiff/tif_dir$(SUFOBJ) libtiff/tif_dirinfo$(SUFOBJ) \ - libtiff/tif_dirread$(SUFOBJ) libtiff/tif_dirwrite$(SUFOBJ) \ - libtiff/tif_dumpmode$(SUFOBJ) libtiff/tif_error$(SUFOBJ) \ - libtiff/tif_getimage$(SUFOBJ) libtiff/tif_flush$(SUFOBJ) libtiff/tif_luv$(SUFOBJ) \ - libtiff/tif_lzw$(SUFOBJ) libtiff/tif_next$(SUFOBJ) libtiff/tif_open$(SUFOBJ) \ - libtiff/tif_packbits$(SUFOBJ) libtiff/tif_print$(SUFOBJ) libtiff/tif_read$(SUFOBJ) \ - libtiff/tif_swab$(SUFOBJ) libtiff/tif_strip$(SUFOBJ) libtiff/tif_thunder$(SUFOBJ) \ - libtiff/tif_tile$(SUFOBJ) libtiff/tif_version$(SUFOBJ) libtiff/tif_warning$(SUFOBJ) \ - libtiff/tif_write$(SUFOBJ) libtiff/tif_msdos$(SUFOBJ) - -libtiff$(SUFLIB): $(LIBOBJS) libtiff/version.h - $(LIBU) $(LIBOF)$@ $(LIBOBJS) - -#ObjectHdrs libtiff.lib : $(IPATH) ; -#Library libtiff.lib : $(LIBSRCS) ; -# -## copy header file to lib directory -#File tiff.h : libtiff/tiff.h ; -#File tiffio.h : libtiff/tiffio.h ; -# +# Empty Makefile --- argyll-1.1.0.orig/tiff/contrib/acorn/Makefile +++ argyll-1.1.0/tiff/contrib/acorn/Makefile @@ -1,165 +1 @@ -# Project: LibTIFF - - -# Toolflags: -CCflags = -c -zo -ffah -depend !Depend -IC: -C++flags = -c -depend !Depend -IC: -throwback -Linkflags = -aif -c++ -o $@ -DrLinkflags = -nounused -aif -c++ -o $@ -ObjAsmflags = -throwback -NoCache -depend !Depend -CMHGflags = -LibFileflags = -c -o $@ -Squeezeflags = -o $@ - - -# Final targets: -@.o.LIBTIFF: \ - @.o.tif_acorn \ - @.o.tif_aux \ - @.o.tif_close \ - @.o.tif_codec \ - @.o.tif_compress \ - @.o.tif_dir \ - @.o.tif_dirinfo \ - @.o.tif_dirread \ - @.o.tif_dirwrite \ - @.o.tif_dumpmode \ - @.o.tif_error \ - @.o.tif_fax3 \ - @.o.tif_flush \ - @.o.tif_getimage \ - @.o.tif_jpeg \ - @.o.tif_lzw \ - @.o.tif_next \ - @.o.tif_open \ - @.o.tif_packbits \ - @.o.tif_predict \ - @.o.tif_print \ - @.o.tif_read \ - @.o.tif_strip \ - @.o.tif_swab \ - @.o.tif_thunder \ - @.o.tif_tile \ - @.o.tif_version \ - @.o.tif_warning \ - @.o.tif_write \ - @.o.tif_zip \ - @.o.tif_fax3sm \ - @.h.version - LibFile $(LibFileflags) \ - @.o.tif_acorn \ - @.o.tif_aux \ - @.o.tif_close \ - @.o.tif_codec \ - @.o.tif_compress \ - @.o.tif_dir \ - @.o.tif_dirinfo \ - @.o.tif_dirread \ - @.o.tif_dirwrite \ - @.o.tif_dumpmode \ - @.o.tif_error \ - @.o.tif_fax3 \ - @.o.tif_flush \ - @.o.tif_getimage \ - @.o.tif_jpeg \ - @.o.tif_lzw \ - @.o.tif_next \ - @.o.tif_open \ - @.o.tif_packbits \ - @.o.tif_predict \ - @.o.tif_print \ - @.o.tif_read \ - @.o.tif_strip \ - @.o.tif_swab \ - @.o.tif_thunder \ - @.o.tif_tile \ - @.o.tif_version \ - @.o.tif_warning \ - @.o.tif_write \ - @.o.tif_zip \ - @.o.tif_fax3sm - - -# User-editable dependencies: -@.mkversion: @.o.mkversion C:o.Stubs - Link $(linkflags) @.o.mkversion C:o.Stubs -@.h.version: @.VERSION @.mkversion - .mkversion -v @.VERSION -a @.tiff/alpha @.h.version -@.mkg3states: @.o.mkg3states @.o.getopt C:o.Stubs - link $(linkflags) @.o.mkg3states C:o.Stubs @.o.getopt -@.c.tif_fax3sm: @.mkg3states - .mkg3states -c const @.c.tif_fax3sm - -# Static dependencies: -@.o.tif_acorn: @.c.tif_acorn - cc $(ccflags) -o @.o.tif_acorn @.c.tif_acorn -@.o.tif_aux: @.c.tif_aux - cc $(ccflags) -o @.o.tif_aux @.c.tif_aux -@.o.tif_close: @.c.tif_close - cc $(ccflags) -o @.o.tif_close @.c.tif_close -@.o.tif_codec: @.c.tif_codec - cc $(ccflags) -o @.o.tif_codec @.c.tif_codec -@.o.tif_compress: @.c.tif_compress - cc $(ccflags) -o @.o.tif_compress @.c.tif_compress -@.o.tif_dir: @.c.tif_dir - cc $(ccflags) -o @.o.tif_dir @.c.tif_dir -@.o.tif_dirinfo: @.c.tif_dirinfo - cc $(ccflags) -o @.o.tif_dirinfo @.c.tif_dirinfo -@.o.tif_dirread: @.c.tif_dirread - cc $(ccflags) -o @.o.tif_dirread @.c.tif_dirread -@.o.tif_dirwrite: @.c.tif_dirwrite - cc $(ccflags) -o @.o.tif_dirwrite @.c.tif_dirwrite -@.o.tif_dumpmode: @.c.tif_dumpmode - cc $(ccflags) -o @.o.tif_dumpmode @.c.tif_dumpmode -@.o.tif_error: @.c.tif_error - cc $(ccflags) -o @.o.tif_error @.c.tif_error -@.o.tif_fax3: @.c.tif_fax3 - cc $(ccflags) -o @.o.tif_fax3 @.c.tif_fax3 -@.o.tif_flush: @.c.tif_flush - cc $(ccflags) -o @.o.tif_flush @.c.tif_flush -@.o.tif_getimage: @.c.tif_getimage - cc $(ccflags) -o @.o.tif_getimage @.c.tif_getimage -@.o.tif_jpeg: @.c.tif_jpeg - cc $(ccflags) -o @.o.tif_jpeg @.c.tif_jpeg -@.o.tif_lzw: @.c.tif_lzw - cc $(ccflags) -o @.o.tif_lzw @.c.tif_lzw -@.o.tif_next: @.c.tif_next - cc $(ccflags) -o @.o.tif_next @.c.tif_next -@.o.tif_open: @.c.tif_open - cc $(ccflags) -o @.o.tif_open @.c.tif_open -@.o.tif_packbits: @.c.tif_packbits - cc $(ccflags) -o @.o.tif_packbits @.c.tif_packbits -@.o.tif_predict: @.c.tif_predict - cc $(ccflags) -o @.o.tif_predict @.c.tif_predict -@.o.tif_print: @.c.tif_print - cc $(ccflags) -o @.o.tif_print @.c.tif_print -@.o.tif_read: @.c.tif_read - cc $(ccflags) -o @.o.tif_read @.c.tif_read -@.o.tif_strip: @.c.tif_strip - cc $(ccflags) -o @.o.tif_strip @.c.tif_strip -@.o.tif_swab: @.c.tif_swab - cc $(ccflags) -o @.o.tif_swab @.c.tif_swab -@.o.tif_thunder: @.c.tif_thunder - cc $(ccflags) -o @.o.tif_thunder @.c.tif_thunder -@.o.tif_tile: @.c.tif_tile - cc $(ccflags) -o @.o.tif_tile @.c.tif_tile -@.o.tif_version: @.c.tif_version - cc $(ccflags) -o @.o.tif_version @.c.tif_version -@.o.tif_warning: @.c.tif_warning - cc $(ccflags) -o @.o.tif_warning @.c.tif_warning -@.o.tif_write: @.c.tif_write - cc $(ccflags) -o @.o.tif_write @.c.tif_write -@.o.tif_zip: @.c.tif_zip - cc $(ccflags) -o @.o.tif_zip @.c.tif_zip -@.o.mkg3states: @.c.mkg3states - cc $(ccflags) -o @.o.mkg3states @.c.mkg3states -@.o.getopt: @.c.getopt - cc $(ccflags) -o @.o.getopt @.c.getopt -@.o.mkspans: @.c.mkspans - cc $(ccflags) -o @.o.mkspans @.c.mkspans -@.o.tif_fax3sm: @.c.tif_fax3sm - cc $(ccflags) -o @.o.tif_fax3sm @.c.tif_fax3sm -@.o.mkversion: @.c.mkversion - cc $(ccflags) -o @.o.mkversion @.c.mkversion - -# Dynamic dependencies: +# Empty Makefile --- argyll-1.1.0.orig/tiff/contrib/addtiffo/Makefile +++ argyll-1.1.0/tiff/contrib/addtiffo/Makefile @@ -1,26 +1 @@ -# -# If libtiff.a is installed in /usr/lib or /usr/local/lib just point -# LIBTIFF_DIR there. It doesn't need a full libtiff tree. -# -LIBTIFF_DIR = ../../libtiff -# -CC = gcc -CFLAGS = -O -I$(LIBTIFF_DIR) -LIBS = $(LIBTIFF_DIR)/libtiff.a -lm - -addtiffo: addtiffo.o tif_overview.o tif_ovrcache.o - $(CXX) $(CFLAGS) addtiffo.o tif_overview.o tif_ovrcache.o \ - $(LIBS) -o addtiffo - - -addtiffo.o: addtiffo.c - $(CC) -c $(CFLAGS) addtiffo.c - -tif_overview.o: tif_overview.c - $(CC) -c $(CFLAGS) tif_overview.c - -tif_ovrcache.o: tif_ovrcache.c - $(CC) -c $(CFLAGS) tif_ovrcache.c - -clean: - rm *.o addtiffo +# Empty Makefile --- argyll-1.1.0.orig/tiff/contrib/iptcutil/Makefile +++ argyll-1.1.0/tiff/contrib/iptcutil/Makefile @@ -1,12 +1 @@ -CC=gcc -CFLAGS= -iptcutil: iptcutil.c - $(CC) $(CFLAGS) -o iptcutil iptcutil.c - -clean: - rm iptcutil *~ - -all: iptcutil - - - +# Empty Makefile --- argyll-1.1.0.orig/plot/Makefile.am +++ argyll-1.1.0/plot/Makefile.am @@ -0,0 +1,14 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libplot.la libvrml.la +privatelibdir = $(pkglibdir) + +libplot_la_SOURCES = plot.h plot.c +libplot_la_LIBADD = $(X_LIBS) + +libvrml_la_SOURCES = vrml.h vrml.c +libvrml_la_LIBADD = $(ICC_LIBS) ../numlib/libargyllnum.la + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/cgats/Makefile.am +++ argyll-1.1.0/cgats/Makefile.am @@ -0,0 +1,11 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libcgats.la +privatelibdir = $(pkglibdir) + +libcgats_la_SOURCES = pars.c pars.h cgats.c cgats.h parsstd.c \ + cgatsstd.c + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/cgats/Makefile +++ argyll-1.1.0/cgats/Makefile @@ -1,68 +1 @@ -# UNIX style makefile, for icclib and friends. -# "include" the right environment for your system, -# by uncommenting the appropriate line: - -# Microsoft C++, WinNT setup -#include Makefile.WNT - -# IBM C++, WinNT setup -include Makefile.IBMNT - -# Generic UNIX setup -#include Makefile.UNIX - -# Apple OSX -#include Makefile.OSX - -############################### - -#Compile with separate stndard malloc & file io -#CCDEFINES = $(DEFFLAG)SEPARATE_STD - -#Set optimisation on -CCFLAGS = $(CCFLAGSDEF) $(CCOPTFLAG) $(CCDEFINES) - -#Set debugging on -#CCFLAGS = $(CCFLAGSDEF) $(CCDEBUGFLAG) $(CCDEFINES) - -STDHDRS = $(STDHDRSDEF) -LINKFLAGS = $(LINKFLAGSDEF) $(LINKDEBUGFLAG) - -all:: libcgats$(SUFLIB) pars$(SUFEXE) cgats$(SUFEXE) - - -# Separate for executables -parsstd$(SUFOBJ): parsstd.c pars.h - $(CC) $(CCOF)parsstd$(SUFOBJ) parsstd.c - -cgatsstd$(SUFOBJ): cgatsstd.c cgats.h pars.h - $(CC) $(CCOF)cgatsstd$(SUFOBJ) cgatsstd.c - - -pars$(SUFOBJ): pars.c pars.h - $(CC) $(CCOF)pars$(SUFOBJ) pars.c - -cgats$(SUFOBJ): cgats.c cgats.h pars.h - $(CC) $(CCOF)cgats$(SUFOBJ) cgats.c - - -libcgats$(SUFLIB): pars$(SUFOBJ) cgats$(SUFOBJ) - $(LIBU) $(LIBOF)libcgats$(SUFLIB) cgats$(SUFOBJ) pars$(SUFOBJ) - $(RANLIB) libcgats$(SUFLIB) - - -sa_pars$(SUFOBJ): pars.c pars.h - $(CC) $(CCOF)sa_pars$(SUFOBJ) $(DEFFLAG)STANDALONE_TEST pars.c - -pars$(SUFEXE): sa_pars$(SUFOBJ) parsstd$(SUFOBJ) - $(LINK) $(LINKOF)pars$(SUFEXE) sa_pars$(SUFOBJ) parsstd$(SUFOBJ) $(LINKLIBS) - - -sa_cgats$(SUFOBJ): cgats.c cgats.h pars.h - $(CC) $(CCOF)sa_cgats$(SUFOBJ) $(DEFFLAG)STANDALONE_TEST cgats.c - -cgats$(SUFEXE): sa_cgats$(SUFOBJ) pars$(SUFOBJ) parsstd$(SUFOBJ) cgatsstd$(SUFOBJ) - $(LINK) $(LINKOF)cgats$(SUFEXE) sa_cgats$(SUFOBJ) pars$(SUFOBJ) parsstd$(SUFOBJ) \ - cgatsstd$(SUFOBJ) $(LINKLIBS) - - +# Empty Makefile --- argyll-1.1.0.orig/imdi/Makefile.am +++ argyll-1.1.0/imdi/Makefile.am @@ -0,0 +1,36 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libimdi.la +privatelibdir = $(pkglibdir) + +libimdi_la_SOURCES = imdi.c imdi_tab.c imdi_arch.h imdi_gen.h imdi.h \ + imdi_tab.h imdi_utl.h refi.h imdi_k.h + +bin_PROGRAMS = cctiff greytiff + +BINLDADD = ./libimdi.la ../spectro/libinsttypes.la ../plot/libvrml.la \ + ../xicc/libxicc.la ../xicc/libxutils.la ../gamut/libgamut.la \ + ../gamut/libgammap.la ../rspl/librspl.la $(ICC_LIBS) \ + ../cgats/libcgats.la ../numlib/libargyllnum.la ../libargyll.la \ + $(TIFF_LIBS) + +cctiff_LDADD = $(BINLDADD) +greytiff_LDADD = $(BINLDADD) + +check_PROGRAMS = ctest + +ctest_SOURCES = ctest.c cgen.c + +noinst_PROGRAMS = imdi_make + +imdi_make_SOURCES = imdi_make.c imdi_gen.c cgen.c + +BUILT_SOURCES = imdi_k.h + +imdi.c: imdi_k.h +imdi_k.h: imdi_make + ./imdi_make + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/imdi/Makefile +++ argyll-1.1.0/imdi/Makefile @@ -1,66 +1 @@ - -# Boilerplate Makefile for compiling imdi - -# Copyright 2000 - 2007 Graeme W. Gill -# This material is licenced under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 :- -# see the License.txt file for licencing details. - -# "include" the right environment for your system, -# by uncommenting the appropriate line: - -# Microsoft VC++, WinNT setup -include Makefile.WNT - -# Generic UNIX setup -#include Makefile.UNIX - -# Apple OS X -#include Makefile.OSX - - -############################### - -#Set optimisation on -CCFLAGS = $(CCFLAGSDEF) $(CCOPTFLAG) $(CCDEFINES) $(BCONFIG) - -#Set debugging on -#CCFLAGS = $(CCFLAGSDEF) $(CCDEBUGFLAG) $(CCDEFINES) $(BCONFIG) -# debugging #define -#CCFLAGS = $(CCFLAGSDEF) $(CCDEBUGFLAG) $(CCDEFINES) $(DEFFLAG)DEBUG -LINKFLAGS = $(LINKFLAGSDEF) $(LINKDEBUGFLAG) - -STDHDRS = $(INCFLAG)$(STDHDRSDEF) - -all:: libimdi$(SUFLIB) - -# Used by both code generator and runtime -imdi_make$(SUFEXE): imdi_make$(SUFOBJ) imdi_gen$(SUFOBJ) cgen$(SUFOBJ) - $(LINK) $(LINKOF)imdi_make$(SUFEXE) imdi_make$(SUFOBJ) imdi_gen$(SUFOBJ) cgen$(SUFOBJ) - - -# The code generator program - -cgen$(SUFOBJ): cgen.c imdi_utl.h imdi_arch.h imdi_gen.h imdi_tab.h - $(CC) cgen.c - -imdi_gen$(SUFOBJ): imdi_gen.c imdi_utl.h imdi_arch.h imdi_gen.h - $(CC) imdi_gen.c - -# Generate the kernel files -imdi_k.h imdi_k.c : imdi_make$(SUFEXE) - .$(SLASH)imdi_make$(SUFEXE) - - -# imdi runtime library - -imdi$(SUFOBJ): imdi.c imdi.h imdi_tab.h imdi_k.h imdi_k.c - $(CC) imdi.c - -libimdi$(SUFLIB): imdi$(SUFOBJ) imdi_tab$(SUFOBJ) - $(LIBU) $(LIBOF)$@ imdi$(SUFOBJ) imdi_tab$(SUFOBJ) - $(RANLIB) libimdi$(SUFLIB) - - - - - +# Empty Makefile --- argyll-1.1.0.orig/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/changelog +++ argyll-1.1.0/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/changelog @@ -0,0 +1,5 @@ +argyll-firmware-spyder2 (1.0) unstable; urgency=low + + * Package automatically generated from the Spyder2 driver CD. + + -- Roland Mas Fri, 17 Apr 2009 22:28:37 +0200 --- argyll-1.1.0.orig/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/control +++ argyll-1.1.0/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/control @@ -0,0 +1,17 @@ +Source: argyll-firmware-spyder2 +Section: non-free/graphics +Priority: optional +Maintainer: Roland Mas +Build-Depends: debhelper (>= 7) +Standards-Version: 3.8.1 + +Package: argyll-firmware-spyder2 +Architecture: all +Recommends: argyll +Depends: ${misc:Depends} +Description: ColorVision Spyder2 firmware for Argyll + Argyll is an open source, ICC compatible color management system. It + can drive display calibrators such as the ColorVision Spyder2, which + requires a firmware to be uploaded to the device. This package is + generated from the drivers CD provided with the Spyder2, and contains + the firmware ready to be used by Argyll. --- argyll-1.1.0.orig/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/rules +++ argyll-1.1.0/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/rules @@ -0,0 +1,10 @@ +#! /usr/bin/make -f + +%: + dh $@ + +override_dh_auto_build: + cp /var/lib/argyll/spyd2PLD.bin . + +override_dh_auto_clean: + rm -f spyd2PLD.bin --- argyll-1.1.0.orig/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/compat +++ argyll-1.1.0/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/compat @@ -0,0 +1 @@ +7 --- argyll-1.1.0.orig/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/copyright +++ argyll-1.1.0/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/copyright @@ -0,0 +1,8 @@ +The binary package contains the proprietary firmware for the +ColorVision Spyder2 device. As such, it is not meant to be +distributed. + +The source package itself (which builds the binary package) is +Copyright 2009, Roland Mas, and can be distributed under the terms of +the GNU General Public License, version 2 or (at your option) any +later version published by the Free Software Foundation. --- argyll-1.1.0.orig/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/dirs +++ argyll-1.1.0/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/dirs @@ -0,0 +1 @@ +lib/firmware --- argyll-1.1.0.orig/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/install +++ argyll-1.1.0/firmware-package-builder/argyll-firmware-spyder2-1.0/debian/install @@ -0,0 +1 @@ +spyd2PLD.bin lib/firmware --- argyll-1.1.0.orig/ucmm/ucmm.c +++ argyll-1.1.0/ucmm/ucmm.c @@ -187,7 +187,7 @@ if ((tt = getenv("XDG_DATA_DIRS")) == NULL) tt = "/usr/local/share/:/usr/share/"; - if ((data_name = malloc(strlen(tt) + cnl + 2)) == NULL) { + if ((data_name = malloc(strlen(tt) + pnl + 2)) == NULL) { free(conf_name); return ucmm_resource; } @@ -526,7 +526,7 @@ if ((tt = getenv("XDG_DATA_DIRS")) == NULL) tt = "/usr/local/share/:/usr/share/"; - if ((data_name = malloc(strlen(tt) + cnl + 2)) == NULL) { + if ((data_name = malloc(strlen(tt) + pnl + 2)) == NULL) { free(conf_name); return ucmm_resource; } --- argyll-1.1.0.orig/ucmm/Makefile.am +++ argyll-1.1.0/ucmm/Makefile.am @@ -0,0 +1,9 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libucmm.la +privatelibdir = $(pkglibdir) + +libucmm_la_SOURCES = ucmm.h ucmm.c +libucmm_la_LIBADD = $(ICC_LIBS) ../jcnf/libjcnf.la --- argyll-1.1.0.orig/jcnf/Makefile.am +++ argyll-1.1.0/jcnf/Makefile.am @@ -0,0 +1,17 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +SUBDIRS = yajl + +privatelib_LTLIBRARIES = libjcnf.la +privatelibdir = $(pkglibdir) + +libjcnf_la_SOURCES = jcnf.h jcnf.c +libjcnf_la_LIBADD = yajl/libyajl.la + +LDADD = ./libjcnf.la yajl/libyajl.la + +check_PROGRAMS = test + +EXTRA_DIST = Readme.txt --- argyll-1.1.0.orig/jcnf/yajl/Makefile.am +++ argyll-1.1.0/jcnf/yajl/Makefile.am @@ -0,0 +1,15 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libyajl.la +privatelibdir = $(pkglibdir) + +libyajl_la_SOURCES = yajl_common.h yajl_gen.h yajl_parse.h yajl.c \ + yajl_alloc.c yajl_alloc.h yajl_buf.c yajl_buf.h yajl_encode.c \ + yajl_encode.h yajl_gen.c yajl_lex.c yajl_lex.h yajl_parser.c \ + yajl_parser.h + +LDADD = ./libyajl.la + +check_PROGRAMS = yajl_test json_verify --- argyll-1.1.0.orig/target/Makefile.am +++ argyll-1.1.0/target/Makefile.am @@ -0,0 +1,24 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libtarget.la +privatelibdir = $(pkglibdir) + +libtarget_la_SOURCES = alphix.c alphix.h randix.c randix.h + +LDADD = ./libtarget.la ../rspl/librspl.la ../plot/libvrml.la \ + $(ICC_LIBS) ../render/librender.la ../cgats/libcgats.la \ + ../xicc/libxicc.la ../gamut/libgamut.la \ + ../spectro/libinsttypes.la ../spectro/libconv.la \ + ../numlib/libargyllnum.la $(TIFF_LIBS) + +bin_PROGRAMS = targen printtarg + +targen_DEPENDENCIES = ../spectro/libinsttypes.la +targen_SOURCES = targen.c targen.h ofps.c ofps.h ifarp.c ifarp.h \ + simplat.c simplat.h simdlat.c simdlat.h prand.c prand.h + +printtarg_SOURCES = printtarg.c + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/icc/Makefile.am +++ argyll-1.1.0/icc/Makefile.am @@ -0,0 +1,18 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +lib_LTLIBRARIES = libicc.la + +libicc_la_SOURCES = icc.h iccV42.h icc.c iccstd.c +libicc_la_LDFLAGS = -release @PACKAGE_VERSION@ + +include_HEADERS = icc.h iccV42.h + +LDADD = libicc.la + +bin_PROGRAMS = iccdump icclu + +check_PROGRAMS = icctest iccrw lutest + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/icc/Makefile +++ argyll-1.1.0/icc/Makefile @@ -1,82 +1 @@ -# UNIX style makefile, for icclib and friends. -# "include" the right environment for your system, -# by uncommenting the appropriate line: - -# Microsoft C++, WinNT setup -include Makefile.WNT - -# IBM C++, WinNT setup -#include Makefile.IBMNT - -# Generic UNIX setup -#include Makefile.UNIX - -# Apple OSX -#include Makefile.OSX - -############################### - -#Compile with separate stdio -#CCDEFINES = $(DEFFLAG)SEPARATE_STD - -#Set optimisation on -CCFLAGS = $(CCFLAGSDEF) $(CCOPTFLAG) $(CCDEFINES) - -#Set debugging on -#CCFLAGS = $(CCFLAGSDEF) $(CCDEBUGFLAG) $(CCDEFINES) - -STDHDRS = $(STDHDRSDEF) -LINKFLAGS = $(LINKFLAGSDEF) $(LINKDEBUGFLAG) - -all:: libicc$(SUFLIB) icctest$(SUFEXE) lutest$(SUFEXE) icclu$(SUFEXE) iccdump$(SUFEXE) iccrw$(SUFEXE) - - -icc$(SUFOBJ): icc.c icc.h - $(CC) $(CCOF)icc$(SUFOBJ) icc.c - -libicc$(SUFLIB): icc$(SUFOBJ) - $(LIBU) $(LIBOF)libicc$(SUFLIB) icc$(SUFOBJ) - $(RANLIB) libicc$(SUFLIB) - - -# Separate for executables -iccstd$(SUFOBJ): iccstd.c icc.h - $(CC) $(CCOF)iccstd$(SUFOBJ) iccstd.c - - -icctest$(SUFOBJ): icctest.c icc.h - $(CC) $(CCOF)icctest$(SUFOBJ) icctest.c - -icctest$(SUFEXE): icctest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - $(LINK) $(LINKOF)icctest$(SUFEXE) icctest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - - -lutest$(SUFOBJ): lutest.c icc.h - $(CC) $(CCOF)lutest$(SUFOBJ) lutest.c - -lutest$(SUFEXE): lutest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - $(LINK) $(LINKOF)lutest$(SUFEXE) lutest$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - - -icclu$(SUFOBJ): icclu.c icc.h - $(CC) $(CCOF)icclu$(SUFOBJ) icclu.c - -icclu$(SUFEXE): icclu$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - $(LINK) $(LINKOF)icclu$(SUFEXE) icclu$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - - -iccdump$(SUFOBJ): iccdump.c icc.h - $(CC) $(CCOF)iccdump$(SUFOBJ) iccdump.c - -iccdump$(SUFEXE): iccdump$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - $(LINK) $(LINKOF)iccdump$(SUFEXE) iccdump$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - - -iccrw$(SUFOBJ): iccrw.c icc.h - $(CC) $(CCOF)iccrw$(SUFOBJ) iccrw.c - -iccrw$(SUFEXE): iccrw$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - $(LINK) $(LINKOF)iccrw$(SUFEXE) iccrw$(SUFOBJ) iccstd$(SUFOBJ) libicc$(SUFLIB) - - - +# Empty Makefile --- argyll-1.1.0.orig/ref/Makefile.am +++ argyll-1.1.0/ref/Makefile.am @@ -0,0 +1,9 @@ +## Process this file with automake to produce Makefile.in + +refdir = $(datadir)/color/argyll/ref + +ref_DATA = $(wildcard *.cal) $(wildcard *.cht) $(wildcard *.cie) \ + $(wildcard *.icm) $(wildcard *.sp) $(wildcard *.ti1) \ + $(wildcard *.ti2) + +EXTRA_DIST = $(ref_DATA) --- argyll-1.1.0.orig/scanin/Makefile.am +++ argyll-1.1.0/scanin/Makefile.am @@ -0,0 +1,21 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libscanrd.la +privatelibdir = $(pkglibdir) + +libscanrd_la_SOURCES = scanrd.h scanrd_.h scanrd.c +libscanrd_la_LIBADD = ../rspl/librspl.la ../numlib/libargyllnum.la + +LDADD = ./libscanrd.la ../numlib/libargyllnum.la $(ICC_LIBS) \ + ../cgats/libcgats.la ../xicc/libxicc.la $(TIFF_LIBS) \ + ../libargyll.la + +bin_PROGRAMS = scanin + +refdir = $(datadir)/color/argyll/ref + +ref_DATA = $(wildcard *.cht) $(wildcard *.cie) + +EXTRA_DIST = $(ref_DATA) License.txt Readme.txt --- argyll-1.1.0.orig/profile/Makefile.am +++ argyll-1.1.0/profile/Makefile.am @@ -0,0 +1,25 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libprof.la +privatelibdir = $(pkglibdir) + +libprof_la_SOURCES = prof.h profin.c profout.c +libprof_la_LIBADD = ../gamut/libgammap.la $(ICC_LIBS) \ + ../gamut/libgamut.la ../xicc/libxicc.la \ + ../numlib/libargyllnum.la ../spectro/libinsttypes.la \ + ../xicc/libxutils.la ../libargyll.la + +LDADD = ./libprof.la ../xicc/libxutils.la ../spectro/libinst.la \ + ../xicc/libxicc.la ../spectro/libinsttypes.la \ + ../gamut/libgamut.la ../gamut/libgammap.la ../plot/libvrml.la \ + ../plot/libplot.la ../rspl/librspl.la \ + ../numlib/libargyllnum.la $(ICC_LIBS) ../cgats/libcgats.la \ + ../libargyll.la $(TIFF_LIBS) ../libargyllusb.la + +bin_PROGRAMS = simpprof kodak2cgats cb2cgats logo2cgats splitcgats \ + profcheck invprofcheck mpprof mppcheck verify colprof printcal \ + applycal sepgen + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/libusb/bsd.c +++ argyll-1.1.0/libusb/bsd.c @@ -39,7 +39,7 @@ #include #include -#include +#include #include "usbi.h" #ifdef HAVE_CONFIG_H --- argyll-1.1.0.orig/link/Makefile.am +++ argyll-1.1.0/link/Makefile.am @@ -0,0 +1,13 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +LDADD = ../spectro/libinsttypes.la ../xicc/libxicc.la \ + ../xicc/libxutils.la ../gamut/libgamut.la \ + ../gamut/libgammap.la ../plot/libplot.la ../plot/libvrml.la \ + ../rspl/librspl.la $(ICC_LIBS) ../cgats/libcgats.la \ + ../numlib/libargyllnum.la $(X_LIBS) $(TIFF_LIBS) + +bin_PROGRAMS = collink pathplot + +EXTRA_DIST = License.txt Readme.txt --- argyll-1.1.0.orig/spectro/Makefile.am +++ argyll-1.1.0/spectro/Makefile.am @@ -0,0 +1,44 @@ +## Process this file with automake to produce Makefile.in + +include $(top_srcdir)/Makefile.shared + +privatelib_LTLIBRARIES = libinsttypes.la libconv.la libinst.la libdisp.la +privatelibdir = $(pkglibdir) + +libinsttypes_la_SOURCES = insttypes.h insttypes.c insttypeinst.h +libinsttypes_la_LIBADD = ../libargyll.la + +libinst_la_SOURCES = inst.h inst.c insttypes.c dtp20.c dtp20.h dtp22.c \ + dtp22.h dtp41.c dtp41.h dtp51.c dtp51.h dtp92.c dtp92.h \ + i1disp.c i1disp.h i1pro.c i1pro.h i1pro_imp.c i1pro_imp.h \ + munki.c munki_imp.c ss.c ss.h ss_imp.c ss_imp.h hcfr.c hcfr.h \ + spyd2.c spyd2.h spyd2setup.h spyd2PLD.h huey.c huey.h unixio.c \ + usbio.c hidio.c pollem.c pollem.h icoms.h conv.h usbio.h \ + hidio.h +libinst_la_LIBADD = ../libargyllusb.la $(ICC_LIBS) ../numlib/libargyllnum.la \ + ../libargyll.la ../rspl/librspl.la libconv.la + +libdisp_la_SOURCES = dispsup.c dispwin.c dispwin.h dispsup.h +libdisp_la_LIBADD = $(X_LIBS) ../ucmm/libucmm.la $(ICC_LIBS) \ + ../numlib/libargyllnum.la libconv.la libinst.la ../libargyll.la + +libconv_la_SOURCES = conv.c pollem.c +libconv_la_LIBADD = ../libargyll.la + +LDADD = ./libinsttypes.la ./libdisp.la ./libinst.la ./libconv.la \ + ../ucmm/libucmm.la ../jcnf/libjcnf.la ../jcnf/yajl/libyajl.la \ + ../xicc/libxicc.la $(ICC_LIBS) ../cgats/libcgats.la \ + ../rspl/librspl.la ../gamut/libgamut.la ../target/libtarget.la \ + ../plot/libplot.la ../numlib/libargyllnum.la $(X_LIBS) \ + ../libargyllusb.la ../libargyll.la + +bin_PROGRAMS = synthcal dispwin dispread dispcal fakeread synthread \ + chartread spotread spec2cie average spyd2en + +dispwin_CFLAGS = $(AM_CFLAGS) -DSTANDALONE_TEST + +synthcal_DEPENDENCIES = ../gamut/libgammap.la ../target/libtarget.la + +spyd2en_SOURCES = spyd2en.c vinflate.c + +EXTRA_DIST = Readme.txt --- argyll-1.1.0.orig/spectro/spyd2setup.h +++ argyll-1.1.0/spectro/spyd2setup.h @@ -54,8 +54,15 @@ spyder2_pld_size = &pld_size; spyder2_pld_bytes = pld_bytes; - if (ovrd_exe_path == NULL) + if (ovrd_exe_path == NULL) { + int tmp; + + if (tmp = setup_spyd2 ("/var/lib/argyll/")) + return tmp; + if (tmp = setup_spyd2 ("/lib/firmware/")) + return tmp; ovrd_exe_path = exe_path; /* Use global */ + } /* If no firmware compiled in, see if there is a file to load from. */ if ((pld_size == 0 || pld_size == 0x11223344) && loaded == 0) { --- argyll-1.1.0.orig/spectro/spyd2en.c +++ argyll-1.1.0/spectro/spyd2en.c @@ -831,7 +831,7 @@ /* Create a binary file containing the firmware */ /* that drivers for the Spyder 2 can use */ - strcpy(scratch_name, exe_path); + strcpy(scratch_name, "/var/lib/argyll/"); strcat(scratch_name, bin_name); write_bin(scratch_name, fbuf, fsize, verb); --- argyll-1.1.0.orig/libusbw/Makefile +++ argyll-1.1.0/libusbw/Makefile @@ -1,263 +1 @@ -# LIBUSB-WIN32, Generic Windows USB Library -# Copyright (c) 2002-2005 Stephan Meyer -# -# 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, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - - -# If you're cross-compiling and your mingw32 tools are called -# i586-mingw32msvc-gcc and so on, then you can compile libusb-win32 -# by running -# make host_prefix=i586-mingw32msvc all - - -ifdef host_prefix - override host_prefix := $(host_prefix)- -endif - -CC = $(host_prefix)gcc -LD = $(host_prefix)ld -WINDRES = $(host_prefix)windres -DLLTOOL = $(host_prefix)dlltool - -MAKE = make -CP = cp -CD = cd -MV = mv -RM = -rm -fr -TAR = tar -ISCC = iscc -INSTALL = install -LIB = lib -IMPLIB = implib -UNIX2DOS = unix2dos - -VERSION_MAJOR = 0 -VERSION_MINOR = 1 -VERSION_MICRO = 12 -VERSION_NANO = 1 - -VERSION = $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_MICRO).$(VERSION_NANO) -RC_VERSION = $(VERSION_MAJOR),$(VERSION_MINOR),$(VERSION_MICRO),$(VERSION_NANO) -RC_VERSION_STR = '\"$(VERSION)\"' -INST_VERSION = $(VERSION) - -INF_DATE = $(shell date +"%m/%d/%Y") -DATE = $(shell date +"%Y%m%d") - -DDK_MAKE_DIR = ./ddk_make - -TARGET = libusb -DLL_TARGET = $(TARGET)$(VERSION_MAJOR) -LIB_TARGET = $(TARGET) -DRIVER_TARGET = $(TARGET)$(VERSION_MAJOR).sys - -DLL_TARGET_X64 = $(TARGET)$(VERSION_MAJOR)_x64 -DRIVER_TARGET_X64 = $(TARGET)$(VERSION_MAJOR)_x64.sys - -INSTALL_DIR = /usr -DLL_OBJECTS = usb.o error.o descriptors.o windows.o resource.o install.o \ - registry.o - -DRIVER_OBJECTS = abort_endpoint.o claim_interface.o clear_feature.o \ - dispatch.o get_configuration.o \ - get_descriptor.o get_interface.o get_status.o \ - ioctl.o libusb_driver.o pnp.o release_interface.o reset_device.o \ - reset_endpoint.o set_configuration.o set_descriptor.o \ - set_feature.o set_interface.o transfer.o vendor_request.o \ - power.o driver_registry.o driver_debug.o libusb_driver_rc.o - -INSTALLER_NAME = $(TARGET)-win32-filter-bin-$(INST_VERSION).exe -SRC_DIST_DIR = $(TARGET)-win32-src-$(INST_VERSION) -BIN_DIST_DIR = $(TARGET)-win32-device-bin-$(INST_VERSION) - - -DIST_SOURCE_FILES = ./src -DIST_MISC_FILES = COPYING_LGPL.txt COPYING_GPL.txt AUTHORS.txt - -SRC_DIR = ./src -DRIVER_SRC_DIR = $(SRC_DIR)/driver - -VPATH = .:./src:./src/driver:./tests - -INCLUDES = -I./src -I./src/driver -I. - -CFLAGS = -O2 -Wall -mno-cygwin -WIN_CFLAGS = $(CFLAGS) -mwindows - -CPPFLAGS = -DVERSION_MAJOR=$(VERSION_MAJOR) \ - -DVERSION_MINOR=$(VERSION_MINOR) \ - -DVERSION_MICRO=$(VERSION_MICRO) \ - -DVERSION_NANO=$(VERSION_NANO) \ - -DINF_DATE='$(INF_DATE)' \ - -DINF_VERSION='$(VERSION)' \ - -DDBG - -WINDRES_FLAGS = -I./src -DRC_VERSION='$(RC_VERSION)' \ - -DRC_VERSION_STR=$(RC_VERSION_STR) - -LDFLAGS = -s -mno-cygwin -L. -lusb -lgdi32 -luser32 -lcfgmgr32 \ - -lsetupapi -lcomctl32 -WIN_LDFLAGS = $(LDFLAGS) -mwindows - - -DLL_LDFLAGS = -s -mdll -mno-cygwin \ - -Wl,--kill-at \ - -Wl,--out-implib,$(LIB_TARGET).a \ - -Wl,--enable-stdcall-fixup \ - -L. -lcfgmgr32 -lsetupapi - - -DRIVER_LDFLAGS = -s -shared -Wl,--entry,_DriverEntry@8 \ - -nostartfiles -nostdlib -L. -lusbd -lntoskrnl -lhal - - -EXE_FILES = testlibusb.exe testlibusb-win.exe inf-wizard.exe install-filter.exe - - -.PHONY: all -all: $(DLL_TARGET).dll $(EXE_FILES) $(DRIVER_TARGET) README.txt - -$(DLL_TARGET).dll: $(DLL_OBJECTS) - $(CC) -o $@ $(DLL_OBJECTS) $(DLL_TARGET).def $(DLL_LDFLAGS) - - -$(DRIVER_TARGET): libusbd.a $(DRIVER_OBJECTS) - $(CC) -o $@ $(DRIVER_OBJECTS) $(DLL_TARGET)_drv.def $(DRIVER_LDFLAGS) - -libusbd.a: - $(DLLTOOL) --dllname usbd.sys --add-underscore --def ./src/driver/usbd.def \ - --output-lib libusbd.a - -inf-wizard.exe: inf_wizard_rc.o inf_wizard.o registry.o error.o - $(CC) $(WIN_CFLAGS) -o $@ -I./src $^ $(WIN_LDFLAGS) - -testlibusb.exe: testlibusb.o - $(CC) $(CFLAGS) -o $@ -I./src $^ $(LDFLAGS) - -install-filter.exe: install_filter.o - $(CC) $(CFLAGS) -o $@ -I./src $^ $(WIN_LDFLAGS) - -testlibusb-win.exe: testlibusb_win.o testlibusb_win_rc.o - $(CC) $(WIN_CFLAGS) -o $@ -I./src $^ $(WIN_LDFLAGS) - -%.o: %.c libusb_driver.h driver_api.h - $(CC) -c $< -o $@ $(CFLAGS) $(CPPFLAGS) $(INCLUDES) - -%.o: %.rc - $(WINDRES) $(WINDRES_FLAGS) $< -o $@ - -README.txt: README.in - sed -e 's/@VERSION@/$(INST_VERSION)/' $< > $@ - - -.PHONY: bcc_implib -bcc_lib: - $(IMPLIB) -a $(LIB_TARGET).lib $(DLL_TARGET).dll - -.PHONY: msvc_lib -msvc_lib: - $(LIB) /machine:i386 /def:$(DLL_TARGET).def - $(MV) $(DLL_TARGET).lib $(LIB_TARGET).lib - -.PHONY: bin_dist -bin_dist: all - $(INSTALL) -d $(BIN_DIST_DIR)/lib/gcc - $(INSTALL) -d $(BIN_DIST_DIR)/lib/bcc - $(INSTALL) -d $(BIN_DIST_DIR)/lib/msvc - $(INSTALL) -d $(BIN_DIST_DIR)/lib/msvc_x64 - $(INSTALL) -d $(BIN_DIST_DIR)/lib/dynamic - $(INSTALL) -d $(BIN_DIST_DIR)/include - $(INSTALL) -d $(BIN_DIST_DIR)/bin - $(INSTALL) -d $(BIN_DIST_DIR)/examples - - $(INSTALL) $(EXE_FILES) $(BIN_DIST_DIR)/bin - - $(INSTALL) $(DRIVER_TARGET) $(BIN_DIST_DIR)/bin - $(INSTALL) $(DLL_TARGET).dll $(BIN_DIST_DIR)/bin - - $(INSTALL) $(DDK_MAKE_DIR)/$(DRIVER_TARGET) $(BIN_DIST_DIR)/bin/$(DRIVER_TARGET_X64) - $(INSTALL) $(DDK_MAKE_DIR)/$(DLL_TARGET).dll $(BIN_DIST_DIR)/bin/$(DLL_TARGET_X64).dll - - $(INSTALL) $(SRC_DIR)/usb.h $(BIN_DIST_DIR)/include - $(INSTALL) $(LIB_TARGET).a $(BIN_DIST_DIR)/lib/gcc - $(MAKE) bcc_lib - $(INSTALL) $(LIB_TARGET).lib $(BIN_DIST_DIR)/lib/bcc - $(MAKE) msvc_lib - $(INSTALL) $(LIB_TARGET).lib $(BIN_DIST_DIR)/lib/msvc - $(INSTALL) $(DDK_MAKE_DIR)/$(LIB_TARGET).lib $(BIN_DIST_DIR)/lib/msvc_x64 - $(INSTALL) $(SRC_DIR)/libusb_dyn.c $(BIN_DIST_DIR)/lib/dynamic - $(INSTALL) $(DIST_MISC_FILES) README.txt $(BIN_DIST_DIR) - $(INSTALL) ./examples/*.iss $(BIN_DIST_DIR)/examples - $(INSTALL) ./examples/*.c $(BIN_DIST_DIR)/examples - $(UNIX2DOS) $(BIN_DIST_DIR)/examples/*.iss - $(UNIX2DOS) $(BIN_DIST_DIR)/*.txt - -.PHONY: src_dist -src_dist: - $(INSTALL) -d $(SRC_DIST_DIR)/src - $(INSTALL) -d $(SRC_DIST_DIR)/src/driver - $(INSTALL) -d $(SRC_DIST_DIR)/tests - $(INSTALL) -d $(SRC_DIST_DIR)/examples - $(INSTALL) -d $(SRC_DIST_DIR)/ddk_make - - $(INSTALL) $(SRC_DIR)/*.c $(SRC_DIST_DIR)/src - $(INSTALL) $(SRC_DIR)/*.h $(SRC_DIST_DIR)/src - $(INSTALL) $(SRC_DIR)/*.rc $(SRC_DIST_DIR)/src - - $(INSTALL) ./examples/*.iss $(SRC_DIST_DIR)/examples - $(INSTALL) ./ddk_make/sources* $(SRC_DIST_DIR)/ddk_make - $(INSTALL) ./ddk_make/makefile $(SRC_DIST_DIR)/ddk_make - $(INSTALL) ./ddk_make/*.txt $(SRC_DIST_DIR)/ddk_make - $(INSTALL) ./ddk_make/*.bat $(SRC_DIST_DIR)/ddk_make - $(UNIX2DOS) $(SRC_DIST_DIR)/ddk_make/* - - $(INSTALL) $(SRC_DIR)/driver/*.h $(SRC_DIST_DIR)/src/driver - $(INSTALL) $(SRC_DIR)/driver/*.c $(SRC_DIST_DIR)/src/driver - $(INSTALL) $(SRC_DIR)/driver/*.def $(SRC_DIST_DIR)/src/driver - $(INSTALL) $(SRC_DIR)/driver/*.rc $(SRC_DIST_DIR)/src/driver - - $(INSTALL) ./tests/*.c $(SRC_DIST_DIR)/tests - $(INSTALL) ./tests/*.rc $(SRC_DIST_DIR)/tests - $(INSTALL) $(DIST_MISC_FILES) *.in Makefile manifest.txt *.def \ - installer_license.txt $(SRC_DIST_DIR) - $(UNIX2DOS) $(SRC_DIST_DIR)/*.txt - - -.PHONY: dist -dist: bin_dist src_dist - sed -e 's/@VERSION@/$(INST_VERSION)/' \ - -e 's/@BIN_DIST_DIR@/$(BIN_DIST_DIR)/' \ - -e 's/@SRC_DIST_DIR@/$(SRC_DIST_DIR)/' \ - -e 's/@INSTALLER_TARGET@/$(INSTALLER_TARGET)/' \ - install.iss.in > install.iss - $(UNIX2DOS) install.iss - $(TAR) -czf $(SRC_DIST_DIR).tar.gz $(SRC_DIST_DIR) - $(TAR) -czf $(BIN_DIST_DIR).tar.gz $(BIN_DIST_DIR) - $(ISCC) install.iss - $(RM) $(SRC_DIST_DIR) - $(RM) $(BIN_DIST_DIR) - -.PHONY: snapshot -snapshot: INST_VERSION = $(DATE) -snapshot: dist - -.PHONY: clean -clean: - $(RM) *.o *.dll *.a *.exp *.lib *.exe *.tar.gz *~ *.iss *.rc *.h - $(RM) ./src/*~ *.sys *.log - $(RM) $(DRIVER_SRC_DIR)/*~ - $(RM) README.txt - +# Empty Makefile