--- xmedcon-0.10.7.orig/config.guess +++ xmedcon-0.10.7/config.guess @@ -1,10 +1,10 @@ #! /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 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. -timestamp='2008-09-28' +timestamp='2009-12-30' # 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 @@ -27,16 +27,16 @@ # the same distribution terms that you use for the rest of that program. -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. +# Originally written by Per Bothner. Please send patches (context +# diff format) to and include a ChangeLog +# entry. # # 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. # -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. +# 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 me=`echo "$0" | sed -e 's,.*/,,'` @@ -56,8 +56,9 @@ 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 (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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,23 +140,6 @@ UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -if [ "${UNAME_SYSTEM}" = "Linux" ] ; then - eval $set_cc_for_build - cat << EOF > $dummy.c - #include - #ifdef __UCLIBC__ - # ifdef __UCLIBC_CONFIG_VERSION__ - LIBC=uclibc __UCLIBC_CONFIG_VERSION__ - # else - LIBC=uclibc - # endif - #else - LIBC=gnu - #endif -EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep LIBC= | sed -e 's: ::g'` -fi - # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in @@ -187,7 +171,7 @@ arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null + | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? @@ -341,14 +325,33 @@ case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize @@ -657,7 +660,7 @@ # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep __LP64__ >/dev/null + grep -q __LP64__ then HP_ARCH="hppa2.0w" else @@ -808,12 +811,12 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - *:Interix*:[3456]*) + *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; - EM64T | authenticamd | genuineintel) + authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) @@ -823,6 +826,9 @@ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we @@ -852,203 +858,125 @@ i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + 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} + 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-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu else - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi + echo ${UNAME_MACHINE}-unknown-linux-gnueabi fi exit ;; avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) - echo cris-axis-linux-${LIBC} + echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) - echo crisv32-axis-linux-${LIBC} + echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) - echo frv-unknown-linux-${LIBC} + echo frv-unknown-linux-gnu + 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}" exit ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } - ;; - mips64:Linux:*:*) + mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU - #undef mips64 - #undef mips64el + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el + CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 + CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) - echo or32-unknown-linux-${LIBC} - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-${LIBC} - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-${LIBC} - exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="gnulibc1" ; fi - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo or32-unknown-linux-gnu exit ;; padre:Linux:*:*) echo sparc-unknown-linux-gnu exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + 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-${LIBC} ;; - PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; - *) echo hppa-unknown-linux-${LIBC} ;; + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; esac exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-${LIBC} + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-${LIBC} + echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) - echo x86_64-unknown-linux-${LIBC} + echo x86_64-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-${LIBC}" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld" - exit ;; - esac - # This should get integrated into the C code below, but now we hack - if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" - test x"${LIBC}" != x && { - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit - } - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } - ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both @@ -1077,7 +1005,7 @@ i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) @@ -1121,8 +1049,11 @@ 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 i386. - echo i386-pc-msdosdjgpp + # 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 ;; Intel:Mach:3*:*) echo i386-pc-mach3 @@ -1160,6 +1091,16 @@ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /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 \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; @@ -1172,7 +1113,7 @@ rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) @@ -1265,6 +1206,16 @@ *: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 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1346,6 +1297,9 @@ i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 --- xmedcon-0.10.7.orig/config.sub +++ xmedcon-0.10.7/config.sub @@ -1,10 +1,10 @@ #! /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 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. -timestamp='2008-09-08' +timestamp='2010-01-22' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -32,13 +32,16 @@ # Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. +# diff and a properly formatted GNU ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD + # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. @@ -72,8 +75,9 @@ 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 (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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." @@ -122,6 +126,7 @@ case $maybe_os in nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | 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/'` @@ -148,10 +153,13 @@ -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) + -apple | -axis | -knuth | -cray | -microblaze) os= basic_machine=$1 ;; + -bluegene*) + os=-cnk + ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 @@ -244,11 +252,12 @@ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ - | d10v | d30v | dlx | dsp16xx | dvp \ + | d10v | d30v | dlx | dsp16xx \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ + | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ @@ -270,6 +279,7 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | moxie \ | mt \ | msp430 \ | nios | nios2 \ @@ -278,20 +288,22 @@ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ + | rx \ | score \ - | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | 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 \ + | ubicom32 \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; - m6811 | m68hc11 | m6812 | m68hc12) + m6811 | m68hc11 | m6812 | m68hc12 | picochip) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown os=-none @@ -331,9 +343,10 @@ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ + | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ @@ -361,15 +374,17 @@ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | 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-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile-* | tilegx-* \ | tron-* \ + | ubicom32-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ @@ -443,6 +458,10 @@ basic_machine=m68k-apollo os=-bsd ;; + aros) + basic_machine=i386-pc + os=-aros + ;; aux) basic_machine=m68k-apple os=-aux @@ -459,6 +478,10 @@ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; c90) basic_machine=c90-cray os=-unicos @@ -711,6 +734,9 @@ basic_machine=ns32k-utek os=-sysv ;; + microblaze) + basic_machine=microblaze-xilinx + ;; mingw32) basic_machine=i386-pc os=-mingw32 @@ -726,24 +752,6 @@ basic_machine=m68k-atari os=-mint ;; - mipsEE* | ee | ps2) - basic_machine=mips64r5900el-scei - case $os in - -linux*) - ;; - *) - os=-elf - ;; - esac - ;; - iop) - basic_machine=mipsel-scei - os=-irx - ;; - dvp) - basic_machine=dvp-scei - os=-elf - ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; @@ -1079,6 +1087,11 @@ basic_machine=tic6x-unknown os=-coff ;; + # This must be matched before tile*. + tilegx*) + basic_machine=tilegx-unknown + os=-linux-gnu + ;; tile*) basic_machine=tile-unknown os=-linux-gnu @@ -1200,7 +1213,7 @@ we32k) basic_machine=we32k-att ;; - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) @@ -1250,6 +1263,9 @@ # 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 + ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; @@ -1270,10 +1286,11 @@ # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ + | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ @@ -1292,7 +1309,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1425,6 +1442,8 @@ -dicos*) os=-dicos ;; + -nacl*) + ;; -none) ;; *) @@ -1622,7 +1641,7 @@ -sunos*) vendor=sun ;; - -aix*) + -cnk*|-aix*) vendor=ibm ;; -beos*) --- xmedcon-0.10.7.orig/debian/xmedcon.menu +++ xmedcon-0.10.7/debian/xmedcon.menu @@ -0,0 +1,3 @@ +?package(xmedcon):needs="X11" section="Applications/Science/Medicine"\ + title="xmedcon" command="/usr/bin/xmedcon"\ + icon="/usr/share/pixmaps/xmedcon.xpm" --- xmedcon-0.10.7.orig/debian/libmdc2.install +++ xmedcon-0.10.7/debian/libmdc2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libmdc.so.* --- xmedcon-0.10.7.orig/debian/changelog +++ xmedcon-0.10.7/debian/changelog @@ -0,0 +1,387 @@ +xmedcon (0.10.7-1) unstable; urgency=low + + * New upstream release + * Bumped Standards-Version to 3.9.1 + + -- Roland Marcus Rutschmann Thu, 14 Oct 2010 10:32:22 +0000 + +xmedcon (0.10.5-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Work around bug #519006 by passing -g0 to the compiler on mips and mipsel + (closes: #590612). + + -- Jakub Wilk Fri, 13 Aug 2010 11:04:27 +0200 + +xmedcon (0.10.5-2) unstable; urgency=low + + * closes: #589881 (changed builddep to libnifti-dev from libnifti1-dev) + * Bumped Standards-Version to 3.9.0 + + -- Roland Marcus Rutschmann Sun, 25 Jul 2010 12:04:16 +0000 + +xmedcon (0.10.5-1) unstable; urgency=low + + * New upstream release + * Changed menu section from viewers to science/medicine + * Bumped Standards-Version to 3.8.2 + + -- Roland Marcus Rutschmann Mon, 13 Jul 2009 19:58:05 +0000 + +xmedcon (0.10.4-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Thu, 20 Mar 2008 16:30:00 +0000 + +xmedcon (0.10.2-1) unstable; urgency=low + + * New upstream release + * closes: #460373 (changed builddep to libnifti1-dev from libniftiio1-dev) + * Fixed lintian warning 'description-contains-homepage' and moved homepage + from Description to Homepage field for the package. + * Bumped Standards-Version to 3.7.3 + * Removed NEWS file wich is kept up on upstreams web-page + * moved xmedcon.xpm and Readme.siemens_mosaic to debian directory to keep + all changes to this directory + + -- Roland Marcus Rutschmann Sat, 05 Jan 2008 15:43:57 +0000 + +xmedcon (0.10.1-1) unstable; urgency=low + + * New upstream release + * redid the changes from 0.9.1 leaving the source nifti libs configure and Makefile + from upstream untouched to keep more compatible with upstream. libmdc is still + linked against debians libnifti1 + * changed build-dependancies to libgtk-2.0-dev + + -- Roland Marcus Rutschmann Thu, 29 Nov 2007 16:11:55 +0000 + +xmedcon (0.9.10-2) unstable; urgency=low + + * closes: #449032 (added dh_icons to rules to adjust to ubuntu source) + * closes: #450312 (updated debian/watch file to new website) + * closes: #450589 (patched xmedcon.m4 with quotes for AC_DEFUN to work with + automake-1.9 + + -- Roland Marcus Rutschmann Thu, 08 Nov 2007 09:45:06 +0000 + +xmedcon (0.9.10-1) unstable; urgency=low + + * New upstream release + * removed nifti libs from source as they are packaged in debian allready + * patched ./configure and libs/Makefile.in to not fail after removal of libs/nifti + + -- Roland Marcus Rutschmann Wed, 26 Sep 2007 10:57:23 +0200 + +xmedcon (0.9.9.7-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Mon, 24 Sep 2007 11:07:10 +0200 + +xmedcon (0.9.9.6.2-1) unstable; urgency=low + + * New upstream release + * fixed dist-clean rule in debian/rules as suggested by lintian + * changed dependencies to libniftiio1-dev to allow nifti files >2GB + * changed menu entry from Apps to Applications + + -- Roland Marcus Rutschmann Fri, 21 Sep 2007 16:57:35 +0200 + +xmedcon (0.9.9.6-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Mon, 16 Jul 2007 17:20:16 +0200 + +xmedcon (0.9.9.5.1-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Fri, 06 Jul 2007 15:55:02 +0200 + +xmedcon (0.9.9.4-2) unstable; urgency=low + + * Add xmedcon as viewer to /etc/mailcap + * closes: #407016 (asking for that) + + -- Roland Marcus Rutschmann Fri, 19 Jan 2007 21:13:10 +0100 + +xmedcon (0.9.9.4-1) unstable; urgency=low + + * New upstream release + * closes: #401529 (Segmentation fault when processing compressed jpeg DICOM) + * better support for nifti headers in debian + + -- Roland Marcus Rutschmann Wed, 13 Dec 2006 14:40:46 +0000 + +xmedcon (0.9.9.3-3) unstable; urgency=low + + * put libniftiio0-dev in builddep (stupid mistake :-( ) + * closes: #402152 (FTBFS: checking for NIFTI package) + + -- Roland Marcus Rutschmann Fri, 8 Dec 2006 16:27:02 +0100 + +xmedcon (0.9.9.3-2) unstable; urgency=low + + * really include nifti support with change to rules and configure, forgot in v-1 :-( + + -- Roland Marcus Rutschmann Tue, 5 Dec 2006 11:44:28 +0100 + +xmedcon (0.9.9.3-1) unstable; urgency=low + + * New upstream release + * limited nifti support. Build depends on libniftiio0-dev now + * bumped to standards 3.7.2 + + -- Roland Marcus Rutschmann Mon, 2 Oct 2006 13:27:48 +0200 + +xmedcon (0.9.9.0-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Mon, 19 Dec 2005 21:02:43 +0100 + +xmedcon (0.9.8.7-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Mon, 10 Oct 2005 19:34:15 +0000 + +xmedcon (0.9.8.6-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Wed, 3 Aug 2005 20:08:55 +0200 + +xmedcon (0.9.8.5-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Mon, 23 May 2005 11:54:09 +0200 + +xmedcon (0.9.8.4-1) unstable; urgency=low + + * New upstream release + * Removed dh_changelog as no changelog is included upstream anymore + + -- Roland Marcus Rutschmann Thu, 17 Feb 2005 11:47:33 +0100 + +xmedcon (0.9.8.1-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Thu, 11 Nov 2004 15:53:37 +0100 + +xmedcon (0.9.7.3-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Thu, 16 Sep 2004 16:14:14 +0200 + +xmedcon (0.9.7.2-2) unstable; urgency=low + + * accidentially uploaded woody backported sources in 0.9.7.2-1 + * changed icon path back to /usr/share/pixmaps + + -- Roland Marcus Rutschmann Mon, 9 Aug 2004 15:39:01 +0200 + +xmedcon (0.9.7.2-1) unstable; urgency=low + + * New upstream release + closes: #262145 (New upstream release available 0.9.7.2) + + -- Roland Marcus Rutschmann Thu, 5 Aug 2004 20:26:54 +0200 + +xmedcon (0.9.6-1) unstable; urgency=low + + * New upstream release + closes: #252687 (New upstream release available 0.9.6) + * Changed Build-Dependancy (again) to libpng12-dev + + -- Roland Marcus Rutschmann Mon, 7 Jun 2004 09:00:14 +0200 + +xmedcon (0.9.3-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Tue, 30 Mar 2004 11:56:23 +0200 + +xmedcon (0.9.1-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Wed, 21 Jan 2004 12:46:38 +0100 + +xmedcon (0.9.0-1) unstable; urgency=low + + * New upstream release + * Adapted headers of dummy-versions of m-gif.c and m-ecat*.c in debian's + orig.tar.gz to headers of version 0.9.0 + + -- Roland Marcus Rutschmann Mon, 5 Jan 2004 20:21:50 +0100 + +xmedcon (0.8.13a-2) unstable; urgency=low + + * Bumped to standards 3.6.1 + * Changed Build-Dependancy to libpng2-dev (see README.Debian) and debhelper to + version > 4.0.0 + * Removed libc6-dev dependency from libmdc2-dev (redundancy with build-depends) + * Cleaned up rules a bit (deleting some dh_* calls, replacing dh_movefile with + dh_install) + + -- Roland Marcus Rutschmann Mon, 5 Jan 2004 10:29:20 +0100 + +xmedcon (0.8.13a-1) unstable; urgency=low + + * fixed the orig.tar.gz source (patent related patches see README.Debian) + + -- Roland Marcus Rutschmann Fri, 31 Oct 2003 10:17:40 +0100 + +xmedcon (0.8.13-1) unstable; urgency=low + + * New upstream release + * Bumped to standards 3.5.10 (no changes needed) + + -- Roland Marcus Rutschmann Mon, 16 Jun 2003 10:33:23 +0200 + +xmedcon (0.8.11-1) unstable; urgency=low + + * New upstream release + * Upstream now uses autoconf-2.57, automake-1.7.4 & libtool-1.5 + closes: #190233 + + -- Roland Marcus Rutschmann Mon, 28 Apr 2003 17:54:45 +0200 + +xmedcon (0.8.9-1) unstable; urgency=low + + * New upstream release + * changed maintainer's email-address to reflect the debian signed address + * update standards to 3.5.9 + * reduced icon to 16 colors to satisfy lintian + * moved libmdc to Section libs + * moved libmdc-dev to Section libdevel + * included Homepage in description (devel-ref 6.2.4) + * renamed libmdc* to libmdc2 to satisfy library so naming convention + + -- Roland Marcus Rutschmann Wed, 16 Apr 2003 17:48:00 +0200 + +xmedcon (0.8.8-1) unstable; urgency=low + + * New upstream release + * changed copyrights file to include all copyrights + * included new (V2) Copyrights for ljpeglib by Cornell University + + -- Roland Marcus Rutschmann Thu, 12 Dec 2002 08:58:57 +0100 + +xmedcon (0.8.7-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Tue, 19 Nov 2002 16:11:59 +0100 + +xmedcon (0.8.6-2) unstable; urgency=low + + * Removed 2 references to GIF Format in control-file + + -- Roland Marcus Rutschmann Tue, 19 Nov 2002 15:34:07 +0100 + +xmedcon (0.8.6-1) unstable; urgency=low + + * New upstream release + * First official Debian package + closes: #141352 + * incorporate better dummy versions for non-GPL modules (see README.Debian) + * Standards-Version: 3.5.7 (changed by Andreas Tille ) + * Minor spelling fixes in README.Debian (changed by Andreas Tille + ) + * Added xmedcon.xpm icon acording to the policy of menu package and + changed menu entry accordingly (changed by Andreas Tille + ) + + -- Roland Marcus Rutschmann Mon, 18 Nov 2002 23:18:44 +0100 + +xmedcon (0.8.5-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Wed, 13 Nov 2002 20:37:04 +0100 + +xmedcon (0.8.4-3) unstable; urgency=low + + * removed license-problematic code from source and binaries + + -- Roland Marcus Rutschmann Wed, 13 Nov 2002 18:16:42 +0100 + +xmedcon (0.8.4-2) unstable; urgency=low + + * updated build-debends + * (x)medcon depends on same version libmdc + + -- Roland Marcus Rutschmann Mon, 11 Nov 2002 19:09:08 +0100 + +xmedcon (0.8.4-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Mon, 4 Nov 2002 20:58:21 +0100 + +xmedcon (0.8.1-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Wed, 9 Oct 2002 17:43:36 +0200 + +xmedcon (0.8.0-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Wed, 11 Sep 2002 15:49:13 +0200 + +xmedcon (0.7.9-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Mon, 10 Jun 2002 14:45:36 +0200 + +xmedcon (0.7.8-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Tue, 14 May 2002 18:25:11 +0200 + +xmedcon (0.7.7-1) unstable; urgency=low + + * New upstream release + + -- Roland Marcus Rutschmann Tue, 30 Apr 2002 14:42:40 +0200 + +xmedcon (0.7.5-1) unstable; urgency=low + + * New upstream release + * upstream's manpage for xmedcon-config included + * upstream's icon for xmedcon included in xmedcon.menu + + -- Roland Marcus Rutschmann Wed, 27 Mar 2002 17:10:10 +0100 + +xmedcon (0.7.4-3) unstable; urgency=low + + * split into 4 packages + + -- Roland Marcus Rutschmann Thu, 21 Mar 2002 18:27:43 +0100 + +xmedcon (0.7.4-2) unstable; urgency=low + + * added a quick Bugfix from Eric Nolf for m-acr.c + * added copyright notice for gif and ecat + + -- Roland Marcus Rutschmann Fri, 8 Mar 2002 13:18:52 +0100 + +xmedcon (0.7.4-1) unstable; urgency=low + + * Initial Release. + * added NEWS frome http://xmedcon.sourceforge.net/new/ + + -- Roland Marcus Rutschmann Mon, 4 Mar 2002 21:42:01 +0100 + --- xmedcon-0.10.7.orig/debian/docs +++ xmedcon-0.10.7/debian/docs @@ -0,0 +1 @@ +README --- xmedcon-0.10.7.orig/debian/libmdc2-dev.install +++ xmedcon-0.10.7/debian/libmdc2-dev.install @@ -0,0 +1,9 @@ +debian/tmp/usr/lib/*.a +debian/tmp/usr/lib/*.la +debian/tmp/usr/lib/*.so +debian/tmp/usr/include +debian/tmp/usr/share/man/man1/xmedcon-config.1 +debian/tmp/usr/share/man/man3 +debian/tmp/usr/share/man/man4 +debian/tmp/usr/share/aclocal +debian/tmp/usr/bin/xmedcon-config --- xmedcon-0.10.7.orig/debian/xmedcon.install +++ xmedcon-0.10.7/debian/xmedcon.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/man/man1/xmedcon.1 +debian/tmp/usr/bin/xmedcon +debian/tmp/etc/xmedconrc --- xmedcon-0.10.7.orig/debian/copyright +++ xmedcon-0.10.7/debian/copyright @@ -0,0 +1,172 @@ +This package was debianized by Roland Marcus Rutschmann on +Mon, 4 Mar 2002 20:35:41 +0100. + +It was downloaded from http://xmedcon.sourceforge.net + +Upstream Author: Erik Nolf + +This software is copyright (c) 2000-2002 by Erik Nolf + +Some files had to be removed because of problematic licenses. See RAEDME.Debian + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU GPL, Version 2. (for libraries GNU LGPL, +Version 2.1) + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2' +and `/usr/share/common-licenses/LGPL-2.1'. + +Some parts of this program have additional copyrights: + +1. m-qmedian.c: code adapted from 'tiffmedian.c' (see http://www.libtiff.org) + + Copyright (c) 1988-1997 Sam Leffler + Copyright (c) 1991-1997 Silicon Graphics, Inc. + + "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." + +2. DICOM 3.0 + + a) original library (libdicom 0.31 - 1998) + ---------------- + + Contributed by Tony Voet, released under the GNU (L)GPL license. + Quite some changes have been made since. + + b) dictionary (dict-dicom.dic) + ---------- + + Dictionary borrowed from the supperb OFFIS DCMTK Toolkit + + "Copyright (C) 1994-2001, OFFIS" (see http://www.offis.uni-oldenburg.de) + +/* + * Copyright (C) 1994-2001, OFFIS + * + * This software and supporting documentation were developed by + * + * Kuratorium OFFIS e.V. + * Healthcare Information and Communication Systems + * Escherweg 2 + * D-26121 Oldenburg, Germany + * + * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY + * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR + * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR + * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND + * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. + * + * Copyright of the software and supporting documentation is, unless + * otherwise stated, owned by OFFIS, and free access is hereby granted as + * a license to use this software, copy this software and prepare + * derivative works based upon this software. However, any distribution + * of this software source code or supporting documentation or derivative + * works (source code and supporting documentation) must include the + * three paragraphs of this copyright notice. + * + */ + + + c) encapsulated pixeldata (rle, lossless jpeg) + ---------------------- + + Contributed by Jaslet Bertrand, released under the GNU (L)GPL license. + + However, the lossless jpeg library (LJPG) is based in part on the work of: + + a) Cornell University LossLess JPEG lib (see ftp://ftp.cs.cornell.edu) + + b) Independent JPEG Group's JPEG software (see http://www.ijg.org) + + +--- Copyright V2 as mailed to Roland M. Rutschmann + by Cornell University on 10 Dec 2002 --- + +Copyright (c) 1993 Cornell University, Kongji Huang +All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose, without fee, and without written +agreement is hereby granted, provided that the above copyright notice +and the following two paragraphs appear in all copies of this +software. + +IN NO EVENT SHALL THE CORNELL UNIVERSITY BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF CORNELL +uNIVERSITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +THE CORNELL UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE +PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND CORNELL UNIVERSITY HAS +NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, +OR MODIFICATIONS. + +--------------------------------------------------------------------------- + +Copyright (c) 1993 The Regents of the University of California, Brian +C. Smith All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose, without fee, and without written +agreement is hereby granted, provided that the above copyright notice +and the following two paragraphs appear in all copies of this +software. + +IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY +FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF +THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE +PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF +CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, +ENHANCEMENTS, OR MODIFICATIONS. + +--------------------------------------------------------------------------- +IJG Copyright + +The authors make NO WARRANTY or representation, either express or +implied, with respect to this software, its quality, accuracy, +merchantability, or fitness for a particular purpose. This software is +provided "AS IS", and you, its user, assume the entire risk as to its +quality and accuracy. + +This software is copyright (C) 1991, 1992, Thomas G. Lane. All Rights +Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to +these conditions: (1) If any part of the source code for this software +is distributed, then this README file must be included, with this +copyright and no-warranty notice unaltered; and any additions, +deletions, or changes to the original files must be clearly indicated +in accompanying documentation. (2) If only executable code is +distributed, then the accompanying documentation must state that "this +software is based in part on the work of the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user +accepts full responsibility for any undesirable consequences; the +authors accept NO LIABILITY for damages of any kind. + +Permission is NOT granted for the use of any IJG author's name or +company name in advertising or publicity relating to this software or +products derived from it. This software may be referred to only as +"the Independent JPEG Group's software". + +We specifically permit and encourage the use of this software as the +basis of commercial products, provided that all warranty or liability +claims are assumed by the product vendor. + + + --- xmedcon-0.10.7.orig/debian/compat +++ xmedcon-0.10.7/debian/compat @@ -0,0 +1 @@ +5 --- xmedcon-0.10.7.orig/debian/control +++ xmedcon-0.10.7/debian/control @@ -0,0 +1,82 @@ +Source: xmedcon +Section: graphics +Priority: optional +Maintainer: Roland Marcus Rutschmann +Build-Depends: debhelper (>= 5.0.51~), libgtk2.0-dev, zlib1g-dev, libpng12-dev, libnifti-dev +Standards-Version: 3.9.1 + +Package: libmdc2 +Section: libs +Architecture: any +Conflicts: libmdc +Replaces: libmdc +Depends: ${shlibs:Depends},${misc:Depends} +Description: Medical Image (DICOM, ECAT, ...) conversion tool + This project stands for Medical Image Conversion. Released under the + (L)GPL, it comes with the full C-source code of the library, a + flexible command line utility and a neat graphical front-end using + the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0, + Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG. + . + This is the central library needed by medcon, xmedcon and derived + programs + . +Homepage: http://xmedcon.sourceforge.net/ + +Package: libmdc2-dev +Section: libdevel +Architecture: any +Depends: libmdc2 (= ${binary:Version}),${misc:Depends} +Conflicts: libmdc-dev +Replaces: libmdc-dev +Description: Medical Image (DICOM, ECAT, ...) conversion tool + This project stands for Medical Image Conversion. Released under the + (L)GPL, it comes with the full C-source code of the library, a + flexible command line utility and a neat graphical front-end using + the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0, + Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG. + . + Static library, include files and documentation for developers. + . +Homepage: http://xmedcon.sourceforge.net/ + +Package: medcon +Architecture: any +Depends: ${shlibs:Depends},${misc:Depends} +Suggests: xmedcon +Description: Medical Image (DICOM, ECAT, ...) conversion tool + This project stands for Medical Image Conversion. Released under the + (L)GPL, it comes with the full C-source code of the library, a + flexible command line utility and a neat graphical front-end using + the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0, + Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG. + . + The program also allows to read unsupported files without + compression, to print pixel values or to extract/reorder specified + images. It is possible to retrieve the raw binary/ascii image arrays + or to write PNG for desktop applications. + . + This is the command line tool for batch processing. + . +Homepage: http://xmedcon.sourceforge.net/ + +Package: xmedcon +Architecture: any +Depends: ${shlibs:Depends},${misc:Depends} +Recommends: medcon +Description: Medical Image (DICOM, ECAT, ...) conversion tool + This project stands for Medical Image Conversion. Released under the + (L)GPL, it comes with the full C-source code of the library, a + flexible command line utility and a neat graphical front-end using + the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0, + Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG. + . + The program also allows to read unsupported files without + compression, to print pixel values or to extract/reorder specified + images. It is possible to retrieve the raw binary/ascii image arrays + or to write PNG for desktop applications. + . + This is the program version for X based on GTK+. Processes only one + file at a time. + . +Homepage: http://xmedcon.sourceforge.net/ --- xmedcon-0.10.7.orig/debian/medcon.docs +++ xmedcon-0.10.7/debian/medcon.docs @@ -0,0 +1,2 @@ +REMARKS +debian/Readme.siemens_mosaic --- xmedcon-0.10.7.orig/debian/xmedcon.dirs +++ xmedcon-0.10.7/debian/xmedcon.dirs @@ -0,0 +1 @@ +usr/share/pixmaps --- xmedcon-0.10.7.orig/debian/rules +++ xmedcon-0.10.7/debian/rules @@ -0,0 +1,109 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +# stolen from gsm-lib debian source +mdc_version=`ls source/.libs/libmdc*.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +mdc_major=`ls source/.libs/libmdc*.so.* | \ + awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif + +ifneq (,$(filter $(DEB_HOST_GNU_TYPE),mips-linux-gnu mipsel-linux-gnu)) + # Work-around for bug #519006 + CFLAGS += -g0 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=\$${prefix}/../etc --enable-nifti --with-nifti-prefix=/usr + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/xmedcon.sgml > xmedcon.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + -test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config.sub + -test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/xmedcon. + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr + cp -a debian/xmedcon.xpm \ + $(CURDIR)/debian/xmedcon/usr/share/pixmaps/ + -test -r $(CURDIR)/debian/tmp/etc/xmedcon.png && \ + cp -f $(CURDIR)/debian/tmp/etc/xmedcon.png \ + $(CURDIR)/debian/xmedcon/usr/share/icons/hicolor/48x48/apps/ + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + # divide packages + dh_install + + dh_installdocs + #not installed by upstream any more I'll remove the line next version if this hold + #dh_installexamples -pxmedcon debian/tmp/etc/xmedconrc.linux + dh_installmenu -pxmedcon + dh_installmime -pxmedcon + dh_installman + dh_installchangelogs + dh_icons + #dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs -V + dh_installdeb + ## For debhelper 4.1.* + ## dh_shlibdeps -L libmdc -l debian/libmdc2/usr/lib + dh_shlibdeps -l debian/libmdc2/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- xmedcon-0.10.7.orig/debian/Readme.siemens_mosaic +++ xmedcon-0.10.7/debian/Readme.siemens_mosaic @@ -0,0 +1,48 @@ +What is the mosaic format? + +From what a Philipps engineer told me DICOM is supposed to be able to +handle 3 and 4dimensional data eventually (xmedcon can handle 3 dim +data in several slices in one file). But there is no conformance +statement out (which I think is not a real reason since none of the +producers feel too obligated to any standard) so at the moment only +one slice per file is DICOM standard. + +Siemens built a format formally complying to the standard by setting +the slices together in one plane. + +Even though the Siemens' idea was/is good, it was problematic +converting the data into other formats. While (X)medcon did a great +job in converting normal 1slice/1file data it couldn't handle mosaic +data. So I took the libmdc from medcon put a hack around it and could +convert mosaic files. This wild hack was put proberly into medcon by +Eric Nolf (thanks a lot) around April 2001. Everything was fine. + +After a discussion in the spm-mailing list I couldn't be nice and +quiet (having a solution for my own data) but had to write to +everybody why they didn't use the solution medcon gave them. They sent +me some data. Needles to say Siemens created a whole new version of +their mosaic DICOM files :-(((( + +What to do? (After Eric put in the new -fmosaic option in 0.7.7) + +For older Siemens Vision dicoms the automatic mosaic (option -mosaic) +might work. If it doesn't. Use the -fmosaic option with the apropriate +numbers for your format (you can try with xmedcon first using the +medcon option dialog). + +Look at your converted voxel sizes. If they are to small try the +-mfixv (for xy Plane sizes) or the -gap option (for slice +thickness). I still didn't give up the idea of automatic detection but +I need Siemens insider info for that. I you (or someone you know) know +something about the tags coding this info pleas send me a message. + + +R.M. Rutschmann 30.4.2002 + +Update 9.10.2002: + +I did get information by a Siemens programmer. Unfortunatly he told me +that there is no way of getting the relevant information from the DICOM +format. According to him the information I got for the old format is +unreliable. So unless somebody comes up with a real good idea I give up +on automatic detection. -fmosaic must be good enough. --- xmedcon-0.10.7.orig/debian/xmedcon.mime +++ xmedcon-0.10.7/debian/xmedcon.mime @@ -0,0 +1 @@ +application/dicom; /usr/bin/xmedcon --enable-contrast --enable-mosaic -f '%s'; test=test -n "$DISPLAY";description=DICOM Image; nametemplate=%s.dcm --- xmedcon-0.10.7.orig/debian/xmedcon.xpm +++ xmedcon-0.10.7/debian/xmedcon.xpm @@ -0,0 +1,52 @@ +/* XPM */ +static char *xmedcon1[] = { +/* columns rows colors chars-per-pixel */ +"32 32 14 1", +" c black", +". c #191919", +"X c gray20", +"o c #7F0000", +"O c #7F7F00", +"+ c #4C4C4C", +"@ c #666667", +"# c gray50", +"$ c yellow", +"% c gray60", +"& c #B2B2B2", +"* c gray80", +"= c gray90", +"- c None", +/* pixels */ +"----------------------O---------", +"---------------------+#---------", +"---------------------O----------", +"-----------------O---+----------", +"-----------------O--@-----------", +"----------------@+--@-----------", +"----------------+---++X+--------", +"----------------X---oO.+--------", +"--------------oO---..X. X@------", +"------------@++----XX.o. @----@O", +"------------@XO#--@X.oo -O@O#-", +"----------++#-XXXoo. ...XX------", +"--------+X-#X#--+XO ...O--------", +"-------@X#--++-.XX .+---OXXO#--", +"---@O+..----#+XOo....#--O O-----", +"---------@oXX++. .X+XX%#X-------", +"-------+XX@+o. ..X--XX.+-------", +"------O+--XOO. ++----XX--------", +"-----#X--o+o. ..X+o----@--------", +"-----XO-+OX.o....-.O------------", +"---@++--+.o .X.+ -#.#-----------", +"-@.@----.o..o.XXX--XO-----------", +"+X------....XX- --+X------------", +"--------+..+#--X--+#------------", +"-------------O.+-.#-------------", +"--------- --X.+.-+.-. ..--- ..--", +"---------.+X -. .. --.-..--.-", +"---------- .-- .X -- - -----", +"----------X -- ... --.-.-----", +"---------- .- -- -- - -----", +"---------.--. . -- . -. -- --.-", +"---------X-----------.-.--------" +}; --- xmedcon-0.10.7.orig/debian/watch +++ xmedcon-0.10.7/debian/watch @@ -0,0 +1,6 @@ +version=2 +# 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. +# Site Directory Pattern Version Script +http://sf.net/xmedcon/xmedcon-(.*)\.tar\.gz debian uupdate --- xmedcon-0.10.7.orig/debian/README.Debian +++ xmedcon-0.10.7/debian/README.Debian @@ -0,0 +1,47 @@ +xmedcon for Debian (unstable) +----------------------------- +The files COPYING and COPYING.Libs in README are GPL and (L)GPL. I left am out +and added the reference to copyright.Debian. + +The complete Documentation and some additional (by now mostly obsolete) files +can be found at: + +http://xmedcon.sourceforge.net/ + +The code handling ecat and gif format had to be removed for legal reasons. +The following files from the original source code where replaced by mostly +empty dummies: + +m-gif.c + m-gif.h +m-ecat64.c + m-ecat64.h +m-ecat72.c + m-ecat72.h +m-matrix.c + m-matrix.h + +If you need the removed formats you can get the complete code and binaries from + +http://xmedcon.sourceforge.net/ + +I might provide a nonfree version of libmdc there too (have a look). + +You also can get the original source code and apply the debian source patch which should give you +also gif and ecat functionality. + + -- Roland Marcus Rutschmann Wed, 13 Nov 2002 16:43:18 +0100 + +Version 0.8.13a: +---------------- +Due to a mistake the above files were included in 0.8.13.orig.tar.gz. To upload the new orig.tar.gz +the version had to be bumped but there was no newer version upstream. The binary files and the +debian sources (after aplying the debian diff to orig.tar.gz) are the same as the 0.8.13 version. + + + +Build-dependancy on libpng2-dev or libpng3-dev: +----------------------------------------------- + +I originally had builddependancy (libpng2-dev | libpng3-dev), because both work. I switched to +libpng12-dev because of possible problems (libpng2 and 3 are binary incompatible) and because libpng2/3 +are now named libpng10/12. As libpng12 seems to be the "future" I switched to that. To compile under +woody, just change the dependency or use dpkg-buildpackage -d. + + -- Roland Marcus Rutschmann Mo, 7 Jun 2004 09:14:19 +0100 --- xmedcon-0.10.7.orig/debian/medcon.install +++ xmedcon-0.10.7/debian/medcon.install @@ -0,0 +1,2 @@ +debian/tmp/usr/share/man/man1/medcon.1 +debian/tmp/usr/bin/medcon