debian/0000775000000000000000000000000013350460620007167 5ustar debian/watch0000664000000000000000000000052512055751165010232 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to find new files on sourceforge, for devscripts >= 2.9 http://sf.net/lcms/lcms2-(.*)\.tar\.gz debian/source/0000775000000000000000000000000012055751165010477 5ustar debian/source/format0000664000000000000000000000001412055751165011705 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000212055751165010375 0ustar 7 debian/liblcms2-utils.manpages0000664000000000000000000000007612055751165013564 0ustar debian/man/linkicc.1 debian/man/psicc.1 debian/man/transicc.1 debian/liblcms2-2.install0000664000000000000000000000002412055751165012431 0ustar usr/lib/*/lib*.so.* debian/patches/0000775000000000000000000000000013350460620010616 5ustar debian/patches/CVE-2013-7455.patch0000664000000000000000000000266512711721142013251 0ustar From fefaaa43c382eee632ea3ad0cfa915335140e1db Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Wed, 10 Jul 2013 10:04:36 +0200 Subject: [PATCH] Fix a double free on error recovering Origin: https://github.com/mm2/Little-CMS/commit/fefaaa43c382eee632ea3ad0cfa915335140e1db#diff-189a94f0a7a47efdd43f5567e27a973b CVE-2013-7455 --- ChangeLog | 3 +++ src/cmscnvrt.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6ef1303..641549a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -125,3 +125,6 @@ Added some checks for non-happy path, mostly failing mallocs ----------------------- 2.5 Maintenance release ----------------------- + +Fixed a double free in recovering from a previous error in default intent handler. + diff --git a/src/cmscnvrt.c b/src/cmscnvrt.c index 908f787..4696cc8 100644 --- a/src/cmscnvrt.c +++ b/src/cmscnvrt.c @@ -571,7 +571,9 @@ cmsPipeline* DefaultICCintents(cmsContext ContextID, // Concatenate to the output LUT if (!cmsPipelineCat(Result, Lut)) goto Error; + cmsPipelineFree(Lut); + Lut = NULL; // Update current space CurrentColorSpace = ColorSpaceOut; @@ -581,7 +583,7 @@ cmsPipeline* DefaultICCintents(cmsContext ContextID, Error: - cmsPipelineFree(Lut); + if (Lut != NULL) cmsPipelineFree(Lut); if (Result != NULL) cmsPipelineFree(Result); return NULL; debian/patches/series0000664000000000000000000000027313350460440012035 0ustar tificc.1 jpgicc.1 config-updates.diff powerpc64le.patch byte-order.patch fix-floating-point-rounding-in-version-numbers.diff CVE-2013-7455.patch CVE-2016-10165.patch CVE-2018-16435.patch debian/patches/jpgicc.10000664000000000000000000000031612055751165012147 0ustar --- lcms2-2.1.orig/utils/jpgicc/jpgicc.1 +++ lcms2-2.1/utils/jpgicc/jpgicc.1 @@ -37,7 +37,7 @@ Soft proof profile .TP .BI \-o\ profile -.p +.TP Output profile (defaults to sRGB). .TP .B \-q <0..100> debian/patches/config-updates.diff0000664000000000000000000012352612173556327014405 0ustar Index: b/config.guess =================================================================== --- a/config.guess +++ b/config.guess @@ -1,14 +1,12 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. +# Copyright 1992-2013 Free Software Foundation, Inc. -timestamp='2009-11-20' +timestamp='2013-05-16' # This file 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 +# 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 @@ -17,26 +15,22 @@ # 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., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Originally written by Per Bothner. Please send patches (context -# diff format) to and include a ChangeLog -# entry. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). # -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. +# Originally written by Per Bothner. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# +# Please send patches with a ChangeLog entry to config-patches@gnu.org. + me=`echo "$0" | sed -e 's,.*/,,'` @@ -56,8 +50,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -139,12 +132,33 @@ UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown +case "${UNAME_SYSTEM}" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + eval $set_cc_for_build + cat <<-EOF > $dummy.c + #include + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + ;; +esac + # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward @@ -180,7 +194,7 @@ fi ;; *) - os=netbsd + os=netbsd ;; esac # The OS release @@ -201,6 +215,10 @@ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} @@ -223,7 +241,7 @@ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on @@ -269,7 +287,10 @@ # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead @@ -295,12 +316,12 @@ echo s390-ibm-zvmoe exit ;; *:OS400:*:*) - echo powerpc-ibm-os400 + echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) + arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) @@ -394,23 +415,23 @@ # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit ;; + exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; @@ -480,8 +501,8 @@ echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ @@ -494,7 +515,7 @@ else echo i586-dg-dgux${UNAME_RELEASE} fi - exit ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; @@ -551,7 +572,7 @@ echo rs6000-ibm-aix3.2 fi exit ;; - *:AIX:*:[456]) + *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 @@ -594,52 +615,52 @@ 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac + esac ;; + esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + sed 's/^ //' << EOF >$dummy.c - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa @@ -730,22 +751,22 @@ exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit ;; + exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; @@ -769,14 +790,14 @@ exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} @@ -788,30 +809,35 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; + i*:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) - case ${UNAME_MACHINE} in + case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; @@ -848,15 +874,22 @@ exit ;; *:GNU:*:*) # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; + aarch64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; @@ -866,52 +899,56 @@ EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; - esac + esac objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + if test "$?" = 0 ; then LIBC="gnulibc1" ; fi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi + else + echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf + fi fi exit ;; avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) - echo cris-axis-linux-gnu + echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) - echo crisv32-axis-linux-gnu + echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; frv:Linux:*:*) - echo frv-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) - LIBC=gnu - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build @@ -930,51 +967,57 @@ #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; + or1k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; or32:Linux:*:*) - echo or32-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) - echo sparc-unknown-linux-gnu + echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu + echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; + PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; + PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; + *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu + echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu + echo powerpc-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux + echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu + echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. @@ -983,11 +1026,11 @@ echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. + # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) @@ -1019,7 +1062,7 @@ fi exit ;; i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. + # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; @@ -1047,13 +1090,13 @@ exit ;; pc:*:*:*) # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i586. + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp - exit ;; + exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; @@ -1088,8 +1131,8 @@ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ @@ -1132,10 +1175,10 @@ echo ns32k-sni-sysv fi exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm @@ -1161,11 +1204,11 @@ exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} + echo mips-nec-sysv${UNAME_RELEASE} else - echo mips-unknown-sysv${UNAME_RELEASE} + echo mips-unknown-sysv${UNAME_RELEASE} fi - exit ;; + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; @@ -1178,6 +1221,9 @@ BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; @@ -1204,19 +1250,21 @@ exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - i386) - eval $set_cc_for_build - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - UNAME_PROCESSOR="x86_64" - fi - fi ;; - unknown) UNAME_PROCESSOR=powerpc ;; - esac + eval $set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) @@ -1230,7 +1278,10 @@ *:QNX:*:4*) echo i386-pc-qnx exit ;; - NSE-?:NONSTOP_KERNEL:*:*) + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) @@ -1275,13 +1326,13 @@ echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} + echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` + UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; @@ -1299,11 +1350,11 @@ i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; esac -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - eval $set_cc_for_build cat >$dummy.c < printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 - "4" + "4" #else - "" + "" #endif - ); exit (0); + ); exit (0); #endif #endif Index: b/config.sub =================================================================== --- a/config.sub +++ b/config.sub @@ -1,38 +1,31 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. - -timestamp='2009-11-20' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file 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 +# Copyright 1992-2013 Free Software Foundation, Inc. + +timestamp='2013-04-24' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# This 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. +# 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., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). -# Please send patches to . Submit a context -# diff and a properly formatted GNU ChangeLog entry. +# Please send patches with a ChangeLog entry to config-patches@gnu.org. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. @@ -75,8 +68,7 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright 1992-2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -123,13 +115,18 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; + android-linux) + os=-linux-android + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown + ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] @@ -152,12 +149,12 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze) + -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; - -bluegene*) - os=-cnk + -bluegene*) + os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= @@ -173,10 +170,10 @@ os=-chorusos basic_machine=$1 ;; - -chorusrdb) - os=-chorusrdb + -chorusrdb) + os=-chorusrdb basic_machine=$1 - ;; + ;; -hiux*) os=-hiuxwe2 ;; @@ -221,6 +218,12 @@ -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 + ;; -lynx*) os=-lynxos ;; @@ -245,20 +248,27 @@ # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ + | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | arc | arceb \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | be32 | be64 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ + | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ + | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep | metag \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -276,34 +286,45 @@ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ - | nios | nios2 \ + | nds32 | nds32le | nds32be \ + | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ - | or32 \ + | open8 \ + | or1k | or32 \ | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ - | rx \ + | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ - | v850 | v850e \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; - m6811 | m68hc11 | m6812 | m68hc12 | picochip) - # Motorola 68HC11/12. + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) basic_machine=$basic_machine-unknown os=-none ;; @@ -313,6 +334,21 @@ basic_machine=mt-unknown ;; + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) + basic_machine=$basic_machine-unknown + os=-none + ;; + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. @@ -327,25 +363,30 @@ # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ + | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ + | be32-* | be64-* \ | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ + | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ @@ -363,29 +404,34 @@ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ - | nios-* | nios2-* \ + | nds32-* | nds32le-* | nds32be-* \ + | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ - | romp-* | rs6000-* | rx-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ | tron-* \ | ubicom32-* \ - | v850-* | v850e-* | vax-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) @@ -410,7 +456,7 @@ basic_machine=a29k-amd os=-udi ;; - abacus) + abacus) basic_machine=abacus-unknown ;; adobe68k) @@ -480,11 +526,20 @@ basic_machine=powerpc-ibm os=-cnk ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; c90) basic_machine=c90-cray os=-unicos ;; - cegcc) + cegcc) basic_machine=arm-unknown os=-cegcc ;; @@ -516,7 +571,7 @@ basic_machine=craynv-cray os=-unicosmp ;; - cr16) + cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; @@ -674,7 +729,6 @@ i370-ibm* | ibm*) basic_machine=i370-ibm ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 @@ -732,9 +786,13 @@ basic_machine=ns32k-utek os=-sysv ;; - microblaze) + microblaze*) basic_machine=microblaze-xilinx ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; mingw32) basic_machine=i386-pc os=-mingw32 @@ -771,10 +829,18 @@ ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; + msys) + basic_machine=i386-pc + os=-msys + ;; mvs) basic_machine=i370-ibm os=-mvs ;; + nacl) + basic_machine=le32-unknown + os=-nacl + ;; ncr3000) basic_machine=i486-ncr os=-sysv4 @@ -839,6 +905,12 @@ np1) basic_machine=np1-gould ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -921,9 +993,10 @@ ;; power) basic_machine=power-ibm ;; - ppc) basic_machine=powerpc-unknown + ppc | ppcbe) basic_machine=powerpc-unknown ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown @@ -948,7 +1021,11 @@ basic_machine=i586-unknown os=-pw32 ;; - rdos) + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) basic_machine=i386-pc os=-rdos ;; @@ -1017,6 +1094,9 @@ basic_machine=i860-stratus os=-sysv4 ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; sun2) basic_machine=m68000-sun ;; @@ -1073,20 +1153,8 @@ basic_machine=t90-cray os=-unicos ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff - ;; tile*) - basic_machine=tile-unknown + basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) @@ -1156,6 +1224,9 @@ xps | xps100) basic_machine=xps100-honeywell ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; ymp) basic_machine=ymp-cray os=-unicos @@ -1253,11 +1324,11 @@ if [ x"$os" != x"" ] then case $os in - # First match some system type aliases - # that might get confused with valid system types. + # First match some system type aliases + # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. - -auroraux) - os=-auroraux + -auroraux) + os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` @@ -1281,20 +1352,21 @@ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ - | -sym* | -kopensolaris* \ + | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ + | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ @@ -1341,7 +1413,7 @@ -opened*) os=-openedition ;; - -os400*) + -os400*) os=-os400 ;; -wince*) @@ -1390,7 +1462,7 @@ -sinix*) os=-sysv4 ;; - -tpf*) + -tpf*) os=-tpf ;; -triton*) @@ -1426,15 +1498,14 @@ -aros*) os=-aros ;; - -kaos*) - os=-kaos - ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; + -nacl*) + ;; -none) ;; *) @@ -1457,10 +1528,10 @@ # system, and we'll never get to this point. case $basic_machine in - score-*) + score-*) os=-elf ;; - spu-*) + spu-*) os=-elf ;; *-acorn) @@ -1472,8 +1543,20 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff + c4x-* | tic4x-*) + os=-coff + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff ;; # This must come before the *-dec entry. pdp10-*) @@ -1493,14 +1576,11 @@ ;; m68000-sun) os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 ;; m68*-cisco) os=-aout ;; - mep-*) + mep-*) os=-elf ;; mips*-cisco) @@ -1509,6 +1589,9 @@ mips*-*) os=-elf ;; + or1k-*) + os=-elf + ;; or32-*) os=-coff ;; @@ -1527,7 +1610,7 @@ *-ibm) os=-aix ;; - *-knuth) + *-knuth) os=-mmixware ;; *-wec) debian/patches/tificc.10000664000000000000000000000032112055751165012145 0ustar --- lcms2-2.1.orig/utils/tificc/tificc.1 +++ lcms2-2.1/utils/tificc/tificc.1 @@ -49,7 +49,7 @@ Soft proof profile. .TP .BI \-o\ profile -.p +.TP Output profile (defaults to sRGB). .TP .BI \-s\ profile debian/patches/powerpc64le.patch0000664000000000000000000000265212252040133014007 0ustar Description: patch aclocal.m4 for ppc64el and regen configure. Author: Adam Conrad --- lcms2-2.5.orig/aclocal.m4 +++ lcms2-2.5/aclocal.m4 @@ -1298,7 +1298,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -1317,7 +1320,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) --- lcms2-2.5.orig/configure +++ lcms2-2.5/configure @@ -7500,7 +7500,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -7519,7 +7522,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux* x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) debian/patches/CVE-2016-10165.patch0000664000000000000000000000141213350460423013313 0ustar From 5ca71a7bc18b6897ab21d815d15e218e204581e2 Mon Sep 17 00:00:00 2001 From: Marti Date: Mon, 15 Aug 2016 23:31:39 +0200 Subject: [PATCH] Added an extra check to MLU bounds Thanks to Ibrahim el-sayed for spotting the bug --- src/cmstypes.c | 1 + 1 file changed, 1 insertion(+) Index: lcms2-2.5/src/cmstypes.c =================================================================== --- lcms2-2.5.orig/src/cmstypes.c +++ lcms2-2.5/src/cmstypes.c @@ -1457,6 +1457,7 @@ void *Type_MLU_Read(struct _cms_typehand // Check for overflow if (Offset < (SizeOfHeader + 8)) goto Error; + if ((Offset + Len) > SizeOfTag + 8) goto Error; // True begin of the string BeginOfThisString = Offset - SizeOfHeader - 8; debian/patches/byte-order.patch0000664000000000000000000000177112252046676013734 0ustar Description: Replace arch-specific tests with __BYTE_ORDER test. Author: Adam Conrad --- lcms2-2.5.orig/include/lcms2.h +++ lcms2-2.5/include/lcms2.h @@ -173,22 +173,9 @@ typedef int cmsBool; // Try to detect big endian platforms. This list can be endless, so only some checks are performed over here. // you can pass this toggle to the compiler by using -DCMS_USE_BIG_ENDIAN or something similar -#if defined(_HOST_BIG_ENDIAN) || defined(__BIG_ENDIAN__) || defined(WORDS_BIGENDIAN) -# define CMS_USE_BIG_ENDIAN 1 -#endif - -#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) -# define CMS_USE_BIG_ENDIAN 1 -#endif - -#if defined(__ppc__) || defined(__s390__) || defined(__s390x__) -# define CMS_USE_BIG_ENDIAN 1 -#endif - -#ifdef TARGET_CPU_PPC -# if TARGET_CPU_PPC -# define CMS_USE_BIG_ENDIAN 1 -# endif +#include +#if __BYTE_ORDER == __BIG_ENDIAN +# define CMS_USE_BIG_ENDIAN 1 #endif #ifdef macintosh debian/patches/CVE-2018-16435.patch0000664000000000000000000000242713350460440013331 0ustar From 768f70ca405cd3159d990e962d54456773bb8cf8 Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Wed, 15 Aug 2018 20:07:56 +0200 Subject: [PATCH] Upgrade Visual studio 2017 15.8 - Upgrade to 15.8 - Add check on CGATS memory allocation (thanks to Quang Nguyen for pointing out this) diff --git a/src/cmscgats.c b/src/cmscgats.c index 53730e9..d4ab2fd 100644 --- a/src/cmscgats.c +++ b/src/cmscgats.c @@ -1500,10 +1500,16 @@ void AllocateDataSet(cmsIT8* it8) t-> nSamples = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_FIELDS")); t-> nPatches = atoi(cmsIT8GetProperty(it8, "NUMBER_OF_SETS")); - t-> Data = (char**)AllocChunk (it8, ((cmsUInt32Number) t->nSamples + 1) * ((cmsUInt32Number) t->nPatches + 1) *sizeof (char*)); - if (t->Data == NULL) { + if (t -> nSamples < 0 || t->nSamples > 0x7ffe || t->nPatches < 0 || t->nPatches > 0x7ffe) + { + SynError(it8, "AllocateDataSet: too much data"); + } + else { + t->Data = (char**)AllocChunk(it8, ((cmsUInt32Number)t->nSamples + 1) * ((cmsUInt32Number)t->nPatches + 1) * sizeof(char*)); + if (t->Data == NULL) { - SynError(it8, "AllocateDataSet: Unable to allocate data array"); + SynError(it8, "AllocateDataSet: Unable to allocate data array"); + } } } debian/patches/fix-floating-point-rounding-in-version-numbers.diff0000664000000000000000000000353612265677466022606 0ustar Description: Fix writing of version header to ICC files Author: Christopher Halse Rogers Forwarded: https://github.com/mm2/Little-CMS/pull/27 --- a/testbed/testcms2.c +++ b/testbed/testcms2.c @@ -5083,6 +5083,41 @@ } +static +cmsInt32Number CheckVersionHeaderWriting(void) +{ + cmsHPROFILE h; + int index; + float test_versions[] = { + 2.3, + 4.08, + 4.09, + 4.3 + }; + + for (index = 0; index < sizeof(test_versions)/sizeof(test_versions[0]); index++) { + h = cmsCreateProfilePlaceholder(DbgThread()); + if (h == NULL) return 0; + + cmsSetProfileVersion(h, test_versions[index]); + + cmsSaveProfileToFile(h, "alltags.icc"); + cmsCloseProfile(h); + + h = cmsOpenProfileFromFileTHR(DbgThread(), "alltags.icc", "r"); + + // Only the first 3 digits are significant + if (fabs(cmsGetProfileVersion(h) - test_versions[index]) > 0.005) { + Fail("Version failed to round-trip: wrote %.2f, read %.2f", + test_versions[index], cmsGetProfileVersion(h)); + return 0; + } + cmsCloseProfile(h); + remove("alltags.icc"); + } + return 1; +} + // This is a very big test that checks every single tag static cmsInt32Number CheckProfileCreation(void) @@ -8303,7 +8338,7 @@ // Profile I/O (this one is huge!) Check("Profile creation", CheckProfileCreation); - + Check("Header version", CheckVersionHeaderWriting); // Error reporting Check("Error reporting on bad profiles", CheckErrReportingOnBadProfiles); --- a/src/cmsio0.c +++ b/src/cmsio0.c @@ -925,7 +925,7 @@ // 4.2 -> 0x4200000 - Icc -> Version = BaseToBase((cmsUInt32Number) floor(Version * 100.0), 10, 16) << 16; + Icc -> Version = BaseToBase((cmsUInt32Number) round(Version * 100.0), 10, 16) << 16; } cmsFloat64Number CMSEXPORT cmsGetProfileVersion(cmsHPROFILE hProfile) debian/man/0000775000000000000000000000000012055751165007752 5ustar debian/man/psicc.10000664000000000000000000000171412055751165011140 0ustar .\"Shiju P. Nair September 30, 2004 .TH PSICC 1 "September 30, 2004" .SH NAME psicc - little cms PostScript converter. .SH SYNOPSIS .B psicc .RI [ options ] .SH DESCRIPTION lcms is a standalone CMM engine, which deals with the color management. It implements a fast transformation between ICC profiles. .B psicc is little cms PostScript converter. .SH OPTIONS .TP .B \-b Black point compensation (CRD only). .TP .BI \-i\ profile Input profile: Generates Color Space Array (CSA). .TP .BI \-o\ profile .TP Output profile: Generates Color Rendering Dictionary(CRD). .TP .B \-t <0,1,2,3> Intent (0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute). .TP .B \-u Do NOT generate resource name on CRD. .SH NOTES For suggestions, comments, bug reports etc. send mail to info@littlecms.com. .SH SEE ALSO .BR jpgicc (1), .BR tificc (1), .BR linkicc (1), .BR transicc (1), .SH AUTHOR This manual page was written by Shiju p. Nair , for the Debian project. debian/man/transicc.10000664000000000000000000000234112055751165011642 0ustar .\"Shiju P. Nair September 30, 2004 .TH TRANSICC 1 "September 30, 2004" .SH NAME transicc - little cms ColorSpace conversion calculator. .SH SYNOPSIS .B transicc .RI [ options ] .SH DESCRIPTION lcms is a standalone CMM engine, which deals with the color management. It implements a fast transformation between ICC profiles. .B transicc is lcms ColorSpace conversion calculator. .SH OPTIONS .TP .B \-% use percent % of ink. .TP .B \-b Black point compensation. .TP .B \-c <0,1,2,3> Precalculates transform. (0=Off, 1=Normal, 2=Hi-res, 3=LoRes) [defaults to 1] .TP .BI \-i\ profile Input profile (defaults to sRGB). .TP .B \-l Transform by device-link profile. .TP .B \-n Terse output, intended for pipe usage. .TP .BI \-o\ profile .TP Output profile (defaults to sRGB). .TP .B \-t <0,1,2,3> Intent (0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute). .TP .B \-v Verbose. .TP .B \-w Use 16 bits. .TP .B \-x Hexadecimal. .TP You can use '*Lab' and '*xyz' as built-in profiles. .SH NOTES For suggestions, comments, bug reports etc. send mail to info@littlecms.com. .SH SEE ALSO .BR jpgicc (1), .BR tificc (1), .BR psicc (1), .BR linkicc (1), .SH AUTHOR This manual page was written by Shiju p. Nair , for the Debian project. debian/man/linkicc.10000664000000000000000000000433612055751165011456 0ustar .\"Shiju P. Nair September 30, 2004 .TH LINKICC 1 "September 30, 2004" .SH NAME linkicc - little cms device link generator. .SH SYNOPSIS .B linkicc .RI [ options ] " " .SH DESCRIPTION lcms is a standalone CMM engine, which deals with the color management. It implements a fast transformation between ICC profiles. .B linkicc is little cms device link generator. .P Links two or more profiles into a single devicelink profile. Colorspaces must be paired except Lab/XYZ, that can be interchanged. .SH OPTIONS .TP .B \-8 Creates 8-bit devicelink. .TP .B \-b Black point compensation. .TP .B \-c <0,1,2,3> Precission (0=LowRes, 1=Normal, 2=Hi-res). [defaults to 1] .TP .BI \-d\ description Description text (quotes can be used). .TP .B \-h <0,1,2,3> Show summary of options and examples. .TP .BI \-i\ profile Input profile (defaults to sRGB). .TP .B -k <0..400> Ink-limiting in % (CMYK only) .TP .BI \-o\ profile Output devicelink profile. [defaults to 'devicelink.icm'] .TP .B \-t <0,1,2,3> Intent (0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute). .TP .B \-x Creatively, guess deviceclass of resulting profile. .TP .nf Built-in profiles: *Lab -- D50-based CIEL*a*b (PCS) *XYZ -- CIE XYZ (PCS) *sRGB -- sRGB color space *Gray22- Monochrome of Gamma 2.2 *Lin2222- CMYK linearization of gamma 2.2 on each channel .fi .SH EXAMPLES .nf To create 'devicelink.icm' from a.icc to b.icc: linkicc a.icc b.icc To create 'out.icc' from sRGB to cmyk.icc: linkicc -o out.icc *sRGB cmyk.icc To create a sRGB input profile working in Lab: linkicc -x -o sRGBLab.icc *sRGB *Lab To create a XYZ -> sRGB output profile: linkicc -x -o sRGBLab.icc *XYZ *sRGB To create a abstract profile doing softproof for cmyk.icc: linkicc -t1 -x -o softproof.icc *Lab cmyk.icc cmyk.icc *Lab To create a 'grayer' sRGB input profile: linkicc -x -o grayer.icc *sRGB gray.icc gray.icc *Lab To embed ink limiting into a cmyk output profile: linkicc -x -o cmyklimited.icc -k 250 cmyk.icc *Lab .fi .SH NOTES For suggestions, comments, bug reports etc. send mail to info@littlecms.com. .SH SEE ALSO .BR jpgicc (1), .BR tificc (1), .BR psicc (1), .BR transicc (1), .SH AUTHOR This manual page was written by Shiju p. Nair , for the Debian project. debian/control0000664000000000000000000000451712055751165010611 0ustar Source: lcms2 Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Oleksandr Moskalenko Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.0), autotools-dev, libjpeg-dev, libtiff-dev, zlib1g-dev, quilt Standards-Version: 3.9.2 Homepage: http://www.littlecms.com/ #Vcs-Git: git://git.debian.org/collab-maint/liblcms2.git #Vcs-Browser: http://git.debian.org/?p=collab-maint/liblcms2.git;a=summary Package: liblcms2-dev Section: libdevel Architecture: any Multi-Arch: same Depends: liblcms2-2 (= ${binary:Version}), ${misc:Depends} Description: Little CMS 2 color management library development headers LittleCMS 2 intends to be a small-footprint color management engine, with special focus on accuracy and performance. It uses the International Color Consortium standard (ICC) of color management. Little CMS 2 is a full implementation of ICC specification 4.2 plus all addendums. It fully supports all V2 and V4 profiles, including abstract, devicelink and named color profiles. This package contains the development headers used for building software that uses Little CMS. Package: liblcms2-2 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Suggests: liblcms2-utils Depends: ${shlibs:Depends}, ${misc:Depends} Description: Little CMS 2 color management library LittleCMS 2 intends to be a small-footprint color management engine, with special focus on accuracy and performance. It uses the International Color Consortium standard (ICC) of color management. LittleCMS 2 is a full implementation of ICC specification 4.2 plus all addendums. It fully supports all V2 and V4 profiles, including abstract, devicelink and named color profiles. Package: liblcms2-utils Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Little CMS 2 olor management library LittleCMS 2 intends to be a small-footprint color management engine, with special focus on accuracy and performance. It uses the International Color Consortium standard (ICC) of color management. LittleCMS 2 is a full implementation of ICC specification 4.2 plus all addendums. It fully supports all V2 and V4 profiles, including abstract, devicelink and named color profiles. This package contains additional utilities (jpegicc and tifficc). debian/liblcms2-utils.install0000664000000000000000000000003012055751165013425 0ustar usr/share/man usr/bin/* debian/liblcms2-2.symbols0000664000000000000000000003764412173556744012504 0ustar liblcms2.so.2 liblcms2-2 #MINVER# _cms15Fixed16toDouble@Base 2.2+git20110628 _cms8Fixed8toDouble@Base 2.2+git20110628 _cmsAdaptationMatrix@Base 2.2+git20110628 _cmsAdjustEndianess16@Base 2.2+git20110628 _cmsAdjustEndianess32@Base 2.2+git20110628 _cmsAdjustEndianess64@Base 2.2+git20110628 _cmsBuildKToneCurve@Base 2.2+git20110628 _cmsBuildRGB2XYZtransferMatrix@Base 2.2+git20110628 _cmsCalloc@Base 2.2+git20110628 _cmsChain2Lab@Base 2.2+git20110628 _cmsCompileProfileSequence@Base 2.2+git20110628 _cmsComputeInterpParams@Base 2.2+git20110628 _cmsComputeInterpParamsEx@Base 2.2+git20110628 _cmsCreateGamutCheckPipeline@Base 2.2+git20110628 _cmsCreateSubAlloc@Base 2.2+git20110628 _cmsDecodeDateTimeNumber@Base 2.2+git20110628 _cmsDefaultICCintents@Base 2.2+git20110628 _cmsDoubleTo15Fixed16@Base 2.2+git20110628 _cmsDoubleTo8Fixed8@Base 2.2+git20110628 _cmsDupMem@Base 2.2+git20110628 _cmsEncodeDateTimeNumber@Base 2.2+git20110628 _cmsEndPointsBySpace@Base 2.2+git20110628 _cmsFloat2Half@Base 2.4 _cmsFormatterIs8bit@Base 2.2+git20110628 _cmsFormatterIsFloat@Base 2.2+git20110628 _cmsFree@Base 2.2+git20110628 _cmsFreeInterpParams@Base 2.2+git20110628 _cmsGetFormatter@Base 2.2+git20110628 _cmsGetTagDescriptor@Base 2.2+git20110628 _cmsGetTagTrueType@Base 2.2+git20110628 _cmsGetTagTypeHandler@Base 2.2+git20110628 _cmsGetTransformFormatters16@Base 2.4 _cmsGetTransformFormattersFloat@Base 2.4 _cmsGetTransformUserData@Base 2.4 _cmsHalf2Float@Base 2.4 _cmsICCcolorSpace@Base 2.2+git20110628 _cmsIOPrintf@Base 2.2+git20110628 _cmsLCMScolorSpace@Base 2.2+git20110628 _cmsLinkProfiles@Base 2.2+git20110628 _cmsMAT3eval@Base 2.2+git20110628 _cmsMAT3identity@Base 2.2+git20110628 _cmsMAT3inverse@Base 2.2+git20110628 _cmsMAT3isIdentity@Base 2.2+git20110628 _cmsMAT3per@Base 2.2+git20110628 _cmsMAT3solve@Base 2.2+git20110628 _cmsMalloc@Base 2.2+git20110628 _cmsMallocZero@Base 2.2+git20110628 _cmsOptimizePipeline@Base 2.2+git20110628 _cmsPipelineSetOptimizationParameters@Base 2.2+git20110628 _cmsPluginMalloc@Base 2.2+git20110628 _cmsQuantizeVal@Base 2.2+git20110628 _cmsRead15Fixed16Number@Base 2.2+git20110628 _cmsReadAlignment@Base 2.2+git20110628 _cmsReadCHAD@Base 2.2+git20110628 _cmsReadDevicelinkLUT@Base 2.2+git20110628 _cmsReadFloat32Number@Base 2.2+git20110628 _cmsReadHeader@Base 2.2+git20110628 _cmsReadInputLUT@Base 2.2+git20110628 _cmsReadMediaWhitePoint@Base 2.2+git20110628 _cmsReadOutputLUT@Base 2.2+git20110628 _cmsReadProfileSequence@Base 2.2+git20110628 _cmsReadTypeBase@Base 2.2+git20110628 _cmsReadUInt16Array@Base 2.2+git20110628 _cmsReadUInt16Number@Base 2.2+git20110628 _cmsReadUInt32Number@Base 2.2+git20110628 _cmsReadUInt64Number@Base 2.2+git20110628 _cmsReadUInt8Number@Base 2.2+git20110628 _cmsReadXYZNumber@Base 2.2+git20110628 _cmsRealloc@Base 2.2+git20110628 _cmsReasonableGridpointsByColorspace@Base 2.2+git20110628 _cmsRegisterFormattersPlugin@Base 2.2+git20110628 _cmsRegisterInterpPlugin@Base 2.2+git20110628 _cmsRegisterMemHandlerPlugin@Base 2.2+git20110628 _cmsRegisterMultiProcessElementPlugin@Base 2.2+git20110628 _cmsRegisterOptimizationPlugin@Base 2.2+git20110628 _cmsRegisterParametricCurvesPlugin@Base 2.2+git20110628 _cmsRegisterRenderingIntentPlugin@Base 2.2+git20110628 _cmsRegisterTagPlugin@Base 2.2+git20110628 _cmsRegisterTagTypePlugin@Base 2.2+git20110628 _cmsRegisterTransformPlugin@Base 2.4 _cmsSearchTag@Base 2.2+git20110628 _cmsSetInterpolationRoutine@Base 2.2+git20110628 _cmsSetTransformUserData@Base 2.4 _cmsStageAllocIdentityCLut@Base 2.2+git20110628 _cmsStageAllocIdentityCurves@Base 2.2+git20110628 _cmsStageAllocLab2XYZ@Base 2.2+git20110628 _cmsStageAllocLabPrelin@Base 2.2+git20110628 _cmsStageAllocLabV2ToV4@Base 2.2+git20110628 _cmsStageAllocLabV2ToV4curves@Base 2.2+git20110628 _cmsStageAllocLabV4ToV2@Base 2.2+git20110628 _cmsStageAllocNamedColor@Base 2.2+git20110628 _cmsStageAllocPlaceholder@Base 2.2+git20110628 _cmsStageAllocXYZ2Lab@Base 2.2+git20110628 _cmsStageGetPtrToCurveSet@Base 2.2+git20110628 _cmsStageNormalizeFromLabFloat@Base 2.4 _cmsStageNormalizeFromXyzFloat@Base 2.4 _cmsStageNormalizeToLabFloat@Base 2.4 _cmsStageNormalizeToXyzFloat@Base 2.4 _cmsSubAlloc@Base 2.2+git20110628 _cmsSubAllocDestroy@Base 2.2+git20110628 _cmsTagSignature2String@Base 2.2+git20110628 _cmsVEC3cross@Base 2.2+git20110628 _cmsVEC3distance@Base 2.2+git20110628 _cmsVEC3dot@Base 2.2+git20110628 _cmsVEC3init@Base 2.2+git20110628 _cmsVEC3length@Base 2.2+git20110628 _cmsVEC3minus@Base 2.2+git20110628 _cmsWrite15Fixed16Number@Base 2.2+git20110628 _cmsWriteAlignment@Base 2.2+git20110628 _cmsWriteFloat32Number@Base 2.2+git20110628 _cmsWriteHeader@Base 2.2+git20110628 _cmsWriteProfileSequence@Base 2.2+git20110628 _cmsWriteTypeBase@Base 2.2+git20110628 _cmsWriteUInt16Array@Base 2.2+git20110628 _cmsWriteUInt16Number@Base 2.2+git20110628 _cmsWriteUInt32Number@Base 2.2+git20110628 _cmsWriteUInt64Number@Base 2.2+git20110628 _cmsWriteUInt8Number@Base 2.2+git20110628 _cmsWriteXYZNumber@Base 2.2+git20110628 cmsAdaptToIlluminant@Base 2.2+git20110628 cmsAllocNamedColorList@Base 2.2+git20110628 cmsAllocProfileSequenceDescription@Base 2.2+git20110628 cmsAppendNamedColor@Base 2.2+git20110628 cmsBFDdeltaE@Base 2.2+git20110628 cmsBuildGamma@Base 2.2+git20110628 cmsBuildParametricToneCurve@Base 2.2+git20110628 cmsBuildSegmentedToneCurve@Base 2.2+git20110628 cmsBuildTabulatedToneCurve16@Base 2.2+git20110628 cmsBuildTabulatedToneCurveFloat@Base 2.2+git20110628 cmsCIE2000DeltaE@Base 2.2+git20110628 cmsCIE94DeltaE@Base 2.2+git20110628 cmsCIECAM02Done@Base 2.2+git20110628 cmsCIECAM02Forward@Base 2.2+git20110628 cmsCIECAM02Init@Base 2.2+git20110628 cmsCIECAM02Reverse@Base 2.2+git20110628 cmsCMCdeltaE@Base 2.2+git20110628 cmsChangeBuffersFormat@Base 2.2+git20110628 cmsChannelsOf@Base 2.2+git20110628 cmsCloseIOhandler@Base 2.2+git20110628 cmsCloseProfile@Base 2.2+git20110628 cmsCreateBCHSWabstractProfile@Base 2.2+git20110628 cmsCreateBCHSWabstractProfileTHR@Base 2.2+git20110628 cmsCreateExtendedTransform@Base 2.2+git20110628 cmsCreateGrayProfile@Base 2.2+git20110628 cmsCreateGrayProfileTHR@Base 2.2+git20110628 cmsCreateInkLimitingDeviceLink@Base 2.2+git20110628 cmsCreateInkLimitingDeviceLinkTHR@Base 2.2+git20110628 cmsCreateLab2Profile@Base 2.2+git20110628 cmsCreateLab2ProfileTHR@Base 2.2+git20110628 cmsCreateLab4Profile@Base 2.2+git20110628 cmsCreateLab4ProfileTHR@Base 2.2+git20110628 cmsCreateLinearizationDeviceLink@Base 2.2+git20110628 cmsCreateLinearizationDeviceLinkTHR@Base 2.2+git20110628 cmsCreateMultiprofileTransform@Base 2.2+git20110628 cmsCreateMultiprofileTransformTHR@Base 2.2+git20110628 cmsCreateNULLProfile@Base 2.2+git20110628 cmsCreateNULLProfileTHR@Base 2.2+git20110628 cmsCreateProfilePlaceholder@Base 2.2+git20110628 cmsCreateProofingTransform@Base 2.2+git20110628 cmsCreateProofingTransformTHR@Base 2.2+git20110628 cmsCreateRGBProfile@Base 2.2+git20110628 cmsCreateRGBProfileTHR@Base 2.2+git20110628 cmsCreateTransform@Base 2.2+git20110628 cmsCreateTransformTHR@Base 2.2+git20110628 cmsCreateXYZProfile@Base 2.2+git20110628 cmsCreateXYZProfileTHR@Base 2.2+git20110628 cmsCreate_sRGBProfile@Base 2.2+git20110628 cmsCreate_sRGBProfileTHR@Base 2.2+git20110628 cmsD50_XYZ@Base 2.2+git20110628 cmsD50_xyY@Base 2.2+git20110628 cmsDeleteTransform@Base 2.2+git20110628 cmsDeltaE@Base 2.2+git20110628 cmsDesaturateLab@Base 2.2+git20110628 cmsDetectBlackPoint@Base 2.2+git20110628 cmsDetectDestinationBlackPoint@Base 2.4 cmsDetectTAC@Base 2.2+git20110628 cmsDictAddEntry@Base 2.2+git20110628 cmsDictAlloc@Base 2.2+git20110628 cmsDictDup@Base 2.2+git20110628 cmsDictFree@Base 2.2+git20110628 cmsDictGetEntryList@Base 2.2+git20110628 cmsDictNextEntry@Base 2.2+git20110628 cmsDoTransform@Base 2.2+git20110628 cmsDoTransformStride@Base 2.4 cmsDupNamedColorList@Base 2.2+git20110628 cmsDupProfileSequenceDescription@Base 2.2+git20110628 cmsDupToneCurve@Base 2.2+git20110628 cmsEstimateGamma@Base 2.2+git20110628 cmsEvalToneCurve16@Base 2.2+git20110628 cmsEvalToneCurveFloat@Base 2.2+git20110628 cmsFloat2LabEncoded@Base 2.2+git20110628 cmsFloat2LabEncodedV2@Base 2.2+git20110628 cmsFloat2XYZEncoded@Base 2.2+git20110628 cmsFormatterForColorspaceOfProfile@Base 2.2+git20110628 cmsFormatterForPCSOfProfile@Base 2.2+git20110628 cmsFreeNamedColorList@Base 2.2+git20110628 cmsFreeProfileSequenceDescription@Base 2.2+git20110628 cmsFreeToneCurve@Base 2.2+git20110628 cmsFreeToneCurveTriple@Base 2.2+git20110628 cmsGBDAlloc@Base 2.2+git20110628 cmsGBDFree@Base 2.2+git20110628 cmsGDBAddPoint@Base 2.2+git20110628 cmsGDBCheckPoint@Base 2.2+git20110628 cmsGDBCompute@Base 2.2+git20110628 cmsGetAlarmCodes@Base 2.2+git20110628 cmsGetColorSpace@Base 2.2+git20110628 cmsGetDeviceClass@Base 2.2+git20110628 cmsGetEncodedICCversion@Base 2.2+git20110628 cmsGetHeaderAttributes@Base 2.2+git20110628 cmsGetHeaderCreationDateTime@Base 2.2+git20110628 cmsGetHeaderCreator@Base 2.5 cmsGetHeaderFlags@Base 2.2+git20110628 cmsGetHeaderManufacturer@Base 2.2+git20110628 cmsGetHeaderModel@Base 2.2+git20110628 cmsGetHeaderProfileID@Base 2.2+git20110628 cmsGetHeaderRenderingIntent@Base 2.2+git20110628 cmsGetNamedColorList@Base 2.2+git20110628 cmsGetPCS@Base 2.2+git20110628 cmsGetPipelineContextID@Base 2.4 cmsGetPostScriptCRD@Base 2.2+git20110628 cmsGetPostScriptCSA@Base 2.2+git20110628 cmsGetPostScriptColorResource@Base 2.2+git20110628 cmsGetProfileContextID@Base 2.2+git20110628 cmsGetProfileInfo@Base 2.2+git20110628 cmsGetProfileInfoASCII@Base 2.2+git20110628 cmsGetProfileVersion@Base 2.2+git20110628 cmsGetSupportedIntents@Base 2.2+git20110628 cmsGetTagCount@Base 2.2+git20110628 cmsGetTagSignature@Base 2.2+git20110628 cmsGetToneCurveEstimatedTable@Base 2.4 cmsGetToneCurveEstimatedTableEntries@Base 2.4 cmsGetToneCurveParametricType@Base 2.2+git20110628 cmsGetTransformContextID@Base 2.2+git20110628 cmsGetTransformInputFormat@Base 2.2+git20110628 cmsGetTransformOutputFormat@Base 2.2+git20110628 cmsIT8Alloc@Base 2.2+git20110628 cmsIT8DefineDblFormat@Base 2.2+git20110628 cmsIT8EnumDataFormat@Base 2.2+git20110628 cmsIT8EnumProperties@Base 2.2+git20110628 cmsIT8EnumPropertyMulti@Base 2.2+git20110628 cmsIT8FindDataFormat@Base 2.2+git20110628 cmsIT8Free@Base 2.2+git20110628 cmsIT8GetData@Base 2.2+git20110628 cmsIT8GetDataDbl@Base 2.2+git20110628 cmsIT8GetDataRowCol@Base 2.2+git20110628 cmsIT8GetDataRowColDbl@Base 2.2+git20110628 cmsIT8GetPatchByName@Base 2.2+git20110628 cmsIT8GetPatchName@Base 2.2+git20110628 cmsIT8GetProperty@Base 2.2+git20110628 cmsIT8GetPropertyDbl@Base 2.2+git20110628 cmsIT8GetPropertyMulti@Base 2.2+git20110628 cmsIT8GetSheetType@Base 2.2+git20110628 cmsIT8LoadFromFile@Base 2.2+git20110628 cmsIT8LoadFromMem@Base 2.2+git20110628 cmsIT8SaveToFile@Base 2.2+git20110628 cmsIT8SaveToMem@Base 2.2+git20110628 cmsIT8SetComment@Base 2.2+git20110628 cmsIT8SetData@Base 2.2+git20110628 cmsIT8SetDataDbl@Base 2.2+git20110628 cmsIT8SetDataFormat@Base 2.2+git20110628 cmsIT8SetDataRowCol@Base 2.2+git20110628 cmsIT8SetDataRowColDbl@Base 2.2+git20110628 cmsIT8SetIndexColumn@Base 2.2+git20110628 cmsIT8SetPropertyDbl@Base 2.2+git20110628 cmsIT8SetPropertyHex@Base 2.2+git20110628 cmsIT8SetPropertyMulti@Base 2.2+git20110628 cmsIT8SetPropertyStr@Base 2.2+git20110628 cmsIT8SetPropertyUncooked@Base 2.2+git20110628 cmsIT8SetSheetType@Base 2.2+git20110628 cmsIT8SetTable@Base 2.2+git20110628 cmsIT8SetTableByLabel@Base 2.2+git20110628 cmsIT8TableCount@Base 2.2+git20110628 cmsIsCLUT@Base 2.2+git20110628 cmsIsIntentSupported@Base 2.2+git20110628 cmsIsMatrixShaper@Base 2.2+git20110628 cmsIsTag@Base 2.2+git20110628 cmsIsToneCurveDescending@Base 2.2+git20110628 cmsIsToneCurveLinear@Base 2.2+git20110628 cmsIsToneCurveMonotonic@Base 2.2+git20110628 cmsIsToneCurveMultisegment@Base 2.2+git20110628 cmsJoinToneCurve@Base 2.2+git20110628 cmsLCh2Lab@Base 2.2+git20110628 cmsLab2LCh@Base 2.2+git20110628 cmsLab2XYZ@Base 2.2+git20110628 cmsLabEncoded2Float@Base 2.2+git20110628 cmsLabEncoded2FloatV2@Base 2.2+git20110628 cmsLinkTag@Base 2.2+git20110628 cmsMD5computeID@Base 2.2+git20110628 cmsMLUalloc@Base 2.2+git20110628 cmsMLUdup@Base 2.2+git20110628 cmsMLUfree@Base 2.2+git20110628 cmsMLUgetASCII@Base 2.2+git20110628 cmsMLUgetTranslation@Base 2.2+git20110628 cmsMLUgetWide@Base 2.2+git20110628 cmsMLUsetASCII@Base 2.2+git20110628 cmsMLUsetWide@Base 2.2+git20110628 cmsMLUtranslationsCodes@Base 2.5 cmsMLUtranslationsCount@Base 2.5 cmsNamedColorCount@Base 2.2+git20110628 cmsNamedColorIndex@Base 2.2+git20110628 cmsNamedColorInfo@Base 2.2+git20110628 cmsOpenIOhandlerFromFile@Base 2.2+git20110628 cmsOpenIOhandlerFromMem@Base 2.2+git20110628 cmsOpenIOhandlerFromNULL@Base 2.2+git20110628 cmsOpenIOhandlerFromStream@Base 2.2+git20110628 cmsOpenProfileFromFile@Base 2.2+git20110628 cmsOpenProfileFromFileTHR@Base 2.2+git20110628 cmsOpenProfileFromIOhandlerTHR@Base 2.2+git20110628 cmsOpenProfileFromMem@Base 2.2+git20110628 cmsOpenProfileFromMemTHR@Base 2.2+git20110628 cmsOpenProfileFromStream@Base 2.2+git20110628 cmsOpenProfileFromStreamTHR@Base 2.2+git20110628 cmsPipelineAlloc@Base 2.2+git20110628 cmsPipelineCat@Base 2.2+git20110628 cmsPipelineCheckAndRetreiveStages@Base 2.2+git20110628 cmsPipelineDup@Base 2.2+git20110628 cmsPipelineEval16@Base 2.2+git20110628 cmsPipelineEvalFloat@Base 2.2+git20110628 cmsPipelineEvalReverseFloat@Base 2.2+git20110628 cmsPipelineFree@Base 2.2+git20110628 cmsPipelineGetPtrToFirstStage@Base 2.2+git20110628 cmsPipelineGetPtrToLastStage@Base 2.2+git20110628 cmsPipelineInputChannels@Base 2.2+git20110628 cmsPipelineInsertStage@Base 2.2+git20110628 cmsPipelineOutputChannels@Base 2.2+git20110628 cmsPipelineSetSaveAs8bitsFlag@Base 2.2+git20110628 cmsPipelineStageCount@Base 2.2+git20110628 cmsPipelineUnlinkStage@Base 2.2+git20110628 cmsPlugin@Base 2.2+git20110628 cmsPluginTHR@Base 2.5 cmsReadRawTag@Base 2.2+git20110628 cmsReadTag@Base 2.2+git20110628 cmsReverseToneCurve@Base 2.2+git20110628 cmsReverseToneCurveEx@Base 2.2+git20110628 cmsSaveProfileToFile@Base 2.2+git20110628 cmsSaveProfileToIOhandler@Base 2.2+git20110628 cmsSaveProfileToMem@Base 2.2+git20110628 cmsSaveProfileToStream@Base 2.2+git20110628 cmsSetAdaptationState@Base 2.2+git20110628 cmsSetAlarmCodes@Base 2.2+git20110628 cmsSetColorSpace@Base 2.2+git20110628 cmsSetDeviceClass@Base 2.2+git20110628 cmsSetEncodedICCversion@Base 2.2+git20110628 cmsSetHeaderAttributes@Base 2.2+git20110628 cmsSetHeaderFlags@Base 2.2+git20110628 cmsSetHeaderManufacturer@Base 2.2+git20110628 cmsSetHeaderModel@Base 2.2+git20110628 cmsSetHeaderProfileID@Base 2.2+git20110628 cmsSetHeaderRenderingIntent@Base 2.2+git20110628 cmsSetLogErrorHandler@Base 2.2+git20110628 cmsSetPCS@Base 2.2+git20110628 cmsSetProfileVersion@Base 2.2+git20110628 cmsSignalError@Base 2.2+git20110628 cmsSliceSpace16@Base 2.2+git20110628 cmsSliceSpaceFloat@Base 2.2+git20110628 cmsSmoothToneCurve@Base 2.2+git20110628 cmsStageAllocCLut16bit@Base 2.2+git20110628 cmsStageAllocCLut16bitGranular@Base 2.2+git20110628 cmsStageAllocCLutFloat@Base 2.2+git20110628 cmsStageAllocCLutFloatGranular@Base 2.2+git20110628 cmsStageAllocIdentity@Base 2.2+git20110628 cmsStageAllocMatrix@Base 2.2+git20110628 cmsStageAllocToneCurves@Base 2.2+git20110628 cmsStageData@Base 2.2+git20110628 cmsStageDup@Base 2.2+git20110628 cmsStageFree@Base 2.2+git20110628 cmsStageInputChannels@Base 2.2+git20110628 cmsStageNext@Base 2.2+git20110628 cmsStageOutputChannels@Base 2.2+git20110628 cmsStageSampleCLut16bit@Base 2.2+git20110628 cmsStageSampleCLutFloat@Base 2.2+git20110628 cmsStageType@Base 2.2+git20110628 cmsTagLinkedTo@Base 2.2+git20110628 cmsTempFromWhitePoint@Base 2.2+git20110628 cmsTransform2DeviceLink@Base 2.2+git20110628 cmsUnregisterPlugins@Base 2.2+git20110628 cmsWhitePointFromTemp@Base 2.2+git20110628 cmsWriteRawTag@Base 2.2+git20110628 cmsWriteTag@Base 2.2+git20110628 cmsXYZ2Lab@Base 2.2+git20110628 cmsXYZ2xyY@Base 2.2+git20110628 cmsXYZEncoded2Float@Base 2.2+git20110628 cmsfilelength@Base 2.2+git20110628 cmsstrcasecmp@Base 2.2+git20110628 cmsxyY2XYZ@Base 2.2+git20110628 debian/liblcms2-dev.install0000664000000000000000000000006112055751165013047 0ustar usr/include/* usr/lib/*/*.so usr/lib/*/pkgconfig debian/changelog0000664000000000000000000001312513350460477011055 0ustar lcms2 (2.5-0ubuntu4.2) trusty-security; urgency=medium * SECURITY UPDATE: Denial of service - debian/patches/CVE-2016-10165.patch: fix in src/cmstypes.c. - CVE-2016-10165 * SECURITY UPDATE: Integer overflow - debian/patches/CVE-2018-16435.patch: fix in src/cmscgats.c. - CVE-2018-16435 -- Leonidas S. Barbosa Wed, 19 Sep 2018 11:46:00 -0300 lcms2 (2.5-0ubuntu4.1) trusty-security; urgency=medium * SECURITY UPDATE: double free in DefaultICCintents() - debian/patches/CVE-2013-7455.patch: ensure that the variable Lut is freed only once. - CVE-2013-7455 -- Steve Beattie Mon, 02 May 2016 11:54:40 -0700 lcms2 (2.5-0ubuntu4) trusty; urgency=low * fix-floating-point-rounding-in-version-numbers.diff: Fix roundtripping of version header field; writing 2.30 in the version field would read as 2.29. Fixes the colord autopkgtests. Yay! -- Christopher James Halse Rogers Thu, 16 Jan 2014 16:45:47 +1100 lcms2 (2.5-0ubuntu3) trusty; urgency=low * Remove bizarre and unnecessary clean target and use dh_autotools_dev. * byte-order.patch: Replace arch-specific tests with __BYTE_ORDER test. -- Adam Conrad Wed, 11 Dec 2013 04:13:40 -0700 lcms2 (2.5-0ubuntu2) trusty; urgency=low * powerpc64le.patch: patch aclocal.m4 for ppc64el and regen configure. -- Adam Conrad Wed, 11 Dec 2013 03:36:06 -0700 lcms2 (2.5-0ubuntu1) saucy; urgency=low * New upstream version (fixes various crashes that could be used by attackers to crash (NULL ptr deref) programs using lcms2. * Update config.{gues,sub} for Aarch64. * Update symbols file. -- Matthias Klose Tue, 23 Jul 2013 21:39:38 +0200 lcms2 (2.4-0ubuntu3) raring; urgency=low * Drop fix-threading-issue-in-plugin-registration.patch. This was added for GhostScript 9.07, but gs 9.07 segfaults with only this patch; they need more patches from their lcms2 fork. It seems sensible at this point to wait until they've upstreamed their fork, rather than trying to pick bits out of it or adopt the fork wholesale. -- Christopher James Halse Rogers Fri, 15 Mar 2013 18:50:41 +1100 lcms2 (2.4-0ubuntu2) raring; urgency=low * debian/patches/fix-threading-issue-in-plugin-registration.patch: - Provide a thread-safe way for plugins to register; needed for new ghostscript 9.07 (LP: #1126427) -- Christopher James Halse Rogers Wed, 13 Mar 2013 12:13:21 +1100 lcms2 (2.4-0ubuntu1) raring; urgency=low * New upstream release - Update debian/liblcms2-2.symbols - Add new symbols for 2.4 - Drop lost symbol cmsGetStockOutputFormatter after verifying it is not used in any packaged reverse build-depends - Corrected previous symbol entries to not inclue package revision -- Scott Kitterman Thu, 29 Nov 2012 16:24:47 -0500 lcms2 (2.2+git20110628-2.2ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control: Use unversioned libtiff-dev instead of libtiff4-dev - debian/liblcms2-2.symbols: Add symbols file for the shared library -- Michael Terry Sat, 17 Nov 2012 11:24:34 -0500 lcms2 (2.2+git20110628-2.2) unstable; urgency=low * Non-maintainer upload. * Enable multi-arch (closes: #667556). -- Michael Gilbert Tue, 22 May 2012 23:57:24 -0400 lcms2 (2.2+git20110628-2.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: dpkg-buildpackage: error: dpkg-source -b lcms2- 2.2+git20110628 gave error exit status 2": - drop auto-generated patches - use make distclean in debian/rules' clean target (Closes: #643177) * Don't install the .la file anymore (release goal). -- gregor herrmann Tue, 06 Mar 2012 18:46:04 +0100 lcms2 (2.2+git20110628-2ubuntu4) quantal; urgency=low * debian/control: - Use unversioned libtiff-dev instead of libtiff4-dev -- Michael Terry Tue, 17 Jul 2012 11:49:39 -0400 lcms2 (2.2+git20110628-2ubuntu3) precise; urgency=low * Rebuild for libjpeg8. -- Colin Watson Tue, 18 Oct 2011 17:22:44 +0100 lcms2 (2.2+git20110628-2ubuntu2) oneiric; urgency=low * Convert library packages to multiarch. LP: #836004. -- Matthias Klose Sun, 28 Aug 2011 13:40:38 +0200 lcms2 (2.2+git20110628-2ubuntu1) oneiric; urgency=low * debian/liblcms2-2.symbols: Added symbols file for the shared library, generated with "dpkg-gensymbols -pliblcms2-2". -- Till Kamppeter Tue, 09 Aug 2011 17:05:31 +0200 lcms2 (2.2+git20110628-2) unstable; urgency=low * debian/control: - Updated libjpeg dependency for the transition. - Updated package descriptions for better search results. -- Oleksandr Moskalenko Mon, 18 Jul 2011 23:39:39 -0500 lcms2 (2.2+git20110628-1) unstable; urgency=low * Upstream git update (Closes: #631598). -- Oleksandr Moskalenko Wed, 29 Jun 2011 01:20:02 -0500 lcms2 (2.2+git20110627-1) unstable; urgency=low * Upstream git update to fix a FTBFS on i386. -- Oleksandr Moskalenko Mon, 27 Jun 2011 23:22:54 -0500 lcms2 (2.2-1) unstable; urgency=low * New upstream release. * debian/control: Updated standards version to 3.9.2. -- Oleksandr Moskalenko Sun, 12 Jun 2011 00:36:06 -0500 lcms2 (2.1-1) unstable; urgency=low * Initial release (Closes: #590222). -- Oleksandr Moskalenko Sun, 23 Jan 2011 15:26:53 -0600 debian/rules0000775000000000000000000000120613350460507010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 include /usr/share/quilt/quilt.make override_dh_auto_configure: dh_auto_configure -- \ --libdir=/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) #override_dh_auto_test: %: dh $@ --with autotools_dev debian/liblcms2-dev.docs0000664000000000000000000000000612055751165012330 0ustar doc/* debian/copyright0000664000000000000000000000404412055751165011134 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: Little CMS Source: http://www.littlecms.com/ Files: * Copyright: 1998-2011 Marti Maria Saguer License: MIT 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: debian/* Copyright: 2011 Oleksandr Moskalenko License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".