Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 204469 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-129 / +1321 lines)
Line  Link Here
0
-- ctn-3.0.6.orig/apps/scripts/start_his_server
0
++ ctn-3.0.6/apps/scripts/start_his_server
Lines 1-4 Link Here
1
# !/bin/csh
1
#!/bin/csh
2
#
2
#
3
# A simple script for starting the his server for a ctn...
3
# A simple script for starting the his server for a ctn...
4
#
4
#
5
-- ctn-3.0.6.orig/apps/scripts/start_img_displays
5
++ ctn-3.0.6/apps/scripts/start_img_displays
Lines 1-4 Link Here
1
# !/bin/csh
1
#!/bin/csh
2
#
2
#
3
# This script starts the display programs for the imaging demonstration.
3
# This script starts the display programs for the imaging demonstration.
4
# $Revision: 1.12 $
4
# $Revision: 1.12 $
5
-- ctn-3.0.6.orig/apps/scripts/start_pacs_server
5
++ ctn-3.0.6/apps/scripts/start_pacs_server
Lines 1-4 Link Here
1
# !/bin/csh
1
#!/bin/csh
2
#
2
#
3
# A simple script for starting the pacs server for any ctn...
3
# A simple script for starting the pacs server for any ctn...
4
#
4
#
5
-- ctn-3.0.6.orig/apps/scripts/start_pacs_client
5
++ ctn-3.0.6/apps/scripts/start_pacs_client
Lines 1-4 Link Here
1
# !/bin/csh
1
#!/bin/csh
2
#
2
#
3
# A simple script for starting the pacs demo for any given company...
3
# A simple script for starting the pacs demo for any given company...
4
#
4
#
5
-- ctn-3.0.6.orig/apps/scripts/start_img_client
5
++ ctn-3.0.6/apps/scripts/start_img_client
Lines 1-4 Link Here
1
# !/bin/csh
1
#!/bin/csh
2
#
2
#
3
# This script starts the imaging demonstration.  It is to be used to
3
# This script starts the imaging demonstration.  It is to be used to
4
# start the img_client program when a vendor logs in to the CTN.  It has
4
# start the img_client program when a vendor logs in to the CTN.  It has
5
-- ctn-3.0.6.orig/apps/scripts/start_print_client
5
++ ctn-3.0.6/apps/scripts/start_print_client
Lines 1-4 Link Here
1
# !/bin/csh
1
#!/bin/csh
2
#
2
#
3
# A simple script for starting the print manager for any given company.
3
# A simple script for starting the print manager for any given company.
4
#
4
#
5
-- ctn-3.0.6.orig/apps/scripts/stop_img_displays
5
++ ctn-3.0.6/apps/scripts/stop_img_displays
Lines 1-4 Link Here
1
# !/bin/csh
1
#!/bin/csh
2
#
2
#
3
# This script stops the image display programs (and removes the
3
# This script stops the image display programs (and removes the
4
# shared memory queues).
4
# shared memory queues).
5
-- ctn-3.0.6.orig/apps/scripts/start_his_client
5
++ ctn-3.0.6/apps/scripts/start_his_client
Lines 1-4 Link Here
1
# !/bin/csh
1
#!/bin/csh
2
#
2
#
3
# A simple script for starting the his demo for any given company...
3
# A simple script for starting the his demo for any given company...
4
#
4
#
5
-- ctn-3.0.6.orig/apps/dcm_modify_object/gram.h
5
++ ctn-3.0.6/apps/dcm_modify_object/gram.h
Lines 1-22 Link Here
1
#ifndef BISON_Y_TAB_H
1
/* A Bison parser, made by GNU Bison 2.3.  */
2
# define BISON_Y_TAB_H
3
2
4
#ifndef YYSTYPE
3
/* Skeleton interface for Bison's Yacc-like parsers in C
5
typedef union{
4
5
   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6
   Free Software Foundation, Inc.
7
8
   This program is free software; you can redistribute it and/or modify
9
   it under the terms of the GNU General Public License as published by
10
   the Free Software Foundation; either version 2, or (at your option)
11
   any later version.
12
13
   This program is distributed in the hope that it will be useful,
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
   GNU General Public License for more details.
17
18
   You should have received a copy of the GNU General Public License
19
   along with this program; if not, write to the Free Software
20
   Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
   Boston, MA 02110-1301, USA.  */
22
23
/* As a special exception, you may create a larger work that contains
24
   part or all of the Bison parser skeleton and distribute that work
25
   under terms of your choice, so long as that work isn't itself a
26
   parser generator using the skeleton or a modified version thereof
27
   as a parser skeleton.  Alternatively, if you modify or redistribute
28
   the parser skeleton itself, you may (at your option) remove this
29
   special exception, which will cause the skeleton and the resulting
30
   Bison output files to be licensed under the GNU General Public
31
   License without this special exception.
32
33
   This special exception was added by the Free Software Foundation in
34
   version 2.2 of Bison.  */
35
36
/* Tokens.  */
37
#ifndef YYTOKENTYPE
38
# define YYTOKENTYPE
39
   /* Put the tokens into the symbol table, so that GDB and other debuggers
40
      know about them.  */
41
   enum yytokentype {
42
     NUMBER = 258,
43
     VALUE = 259
44
   };
45
#endif
46
/* Tokens.  */
47
#define NUMBER 258
48
#define VALUE 259
49
50
51
52
53
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
54
typedef union YYSTYPE
55
#line 25 "gram.y"
56
{
6
	unsigned long	num;
57
	unsigned long	num;
7
	char		str[DICOM_LO_LENGTH+1];
58
	char		str[DICOM_LO_LENGTH+1];
8
	char		*s;
59
	char		*s;
9
	DCM_ELEMENT	*e;
60
	DCM_ELEMENT	*e;
10
	LST_HEAD	*l;
61
	LST_HEAD	*l;
11
	void		*v;
62
	void		*v;
12
} yystype;
63
}
13
# define YYSTYPE yystype
64
/* Line 1489 of yacc.c.  */
65
#line 66 "y.tab.h"
66
	YYSTYPE;
67
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
68
# define YYSTYPE_IS_DECLARED 1
14
# define YYSTYPE_IS_TRIVIAL 1
69
# define YYSTYPE_IS_TRIVIAL 1
15
#endif
70
#endif
16
# define	NUMBER	257
17
# define	VALUE	258
18
19
71
20
extern YYSTYPE yylval;
72
extern YYSTYPE yylval;
21
73
22
#endif /* not BISON_Y_TAB_H */
74
++ ctn-3.0.6/cfg_scripts/mysql/PrintTables
23
-- ctn-3.0.6.orig/cfg_scripts/mysql/PrintTables
Lines 1-11 Link Here
1
#!/bin/csh
1
#!/bin/bash
2
#
2
#
3
# PrintTables
3
# PrintTables
4
#
4
#
5
if ($1 == "" || $2 == "" ) then
5
if [ -z $1 -o -z $2 ];  then
6
  echo " "
6
  echo " "
7
  echo Usage: "$0 <DIM|Control|FIS> <Database Name>"
7
  echo Usage: "$0 <DIM|Control|FIS> <Database Name>"
8
  echo " "
8
  echo " "
9
  exit
9
  exit
10
endif
10
fi
11
mysql -uctn -pctn $2 < Print$1Tables.script
11
12
mysql -uctn -pctn $2 < Print${1}Tables.script
12
-- ctn-3.0.6.orig/cfg_scripts/mysql/ListTables
13
++ ctn-3.0.6/cfg_scripts/mysql/ListTables
Lines 1-16 Link Here
1
#!/bin/csh
1
#!/bin/bash
2
#
2
#
3
# ListTables
3
# ListTables
4
#
4
#
5
if ($1 == "" || $2 == "" ) then
5
if [ -z $1 -o -z $2 ]; then
6
  echo " "
6
  echo " "
7
  echo Usage: "$0 <DIM|Control> <Database Name>"
7
  echo Usage: "$0 <DIM|Control> <Database Name>"
8
  echo " "
8
  echo " "
9
  exit
9
  exit
10
endif
10
fi
11
#
11
#
12
#
12
#
13
if( $1 == "Control" )then
13
if [ "$1" = "Control" ]; then
14
mysqlshow -pctn -uctn $2 ApplicationEntity
14
mysqlshow -pctn -uctn $2 ApplicationEntity
15
mysqlshow -pctn -uctn $2 GroupNames
15
mysqlshow -pctn -uctn $2 GroupNames
16
mysqlshow -pctn -uctn $2 StorageAccess
16
mysqlshow -pctn -uctn $2 StorageAccess
Lines 19-33 Link Here
19
mysqlshow -pctn -uctn $2 FISAccess
19
mysqlshow -pctn -uctn $2 FISAccess
20
mysqlshow -pctn -uctn $2 PrintServerCFG
20
mysqlshow -pctn -uctn $2 PrintServerCFG
21
mysqlshow -pctn -uctn $2 VideoImageDest
21
mysqlshow -pctn -uctn $2 VideoImageDest
22
endif
22
fi
23
#
23
#
24
#
24
#
25
#
25
#
26
if( $1 == "DIM" )then
26
if [ "$1" = "DIM" ]; then
27
mysqlshow -pctn -uctn $2 ApplicationEntity
27
mysqlshow -pctn -uctn $2 ApplicationEntity
28
mysqlshow -pctn -uctn $2 PatientLevel
28
mysqlshow -pctn -uctn $2 PatientLevel
29
mysqlshow -pctn -uctn $2 StudyLevel
29
mysqlshow -pctn -uctn $2 StudyLevel
30
mysqlshow -pctn -uctn $2 SeriesLevel
30
mysqlshow -pctn -uctn $2 SeriesLevel
31
mysqlshow -pctn -uctn $2 ImageLevel
31
mysqlshow -pctn -uctn $2 ImageLevel
32
mysqlshow -pctn -uctn $2 InstanceTable
32
mysqlshow -pctn -uctn $2 InstanceTable
33
endif
33
fi
34
-- ctn-3.0.6.orig/cfg_scripts/mysql/ClearTables
34
++ ctn-3.0.6/cfg_scripts/mysql/ClearTables
Lines 1-11 Link Here
1
#!/bin/csh
1
#!/bin/bash
2
#
2
#
3
# ClearTables
3
# ClearTables
4
#
4
#
5
if ( $1 == "" || $2 == "" ) then
5
if [ -z $1 -o -z $2 ]; then
6
  echo " "
6
  echo " "
7
  echo Usage: "$0 <DIM|Control|TBLTest|FIS> <Database Name>"
7
  echo Usage: "$0 <DIM|Control|TBLTest|FIS> <Database Name>"
8
  echo " "
8
  echo " "
9
  exit
9
  exit
10
endif
10
fi
11
mysql $2 < Clear$1Tables.script
11
12
mysql $2 < Clear${1}Tables.script
12
-- ctn-3.0.6.orig/cfg_scripts/mysql/FillTables
13
++ ctn-3.0.6/cfg_scripts/mysql/FillTables
Lines 1-15 Link Here
1
#!/bin/csh
1
#!/bin/bash
2
#
2
#
3
# FillTables
3
# FillTables
4
#
4
#
5
if ($1 == "" || $2 == "" ) then
5
if [ -z $1 -o $2 ]; then
6
  echo " "
6
  echo " "
7
  echo Usage: "$0 <DIM> <Database Name>"
7
  echo Usage: "$0 <DIM> <Database Name>"
8
  echo " "
8
  echo " "
9
  exit
9
  exit
10
endif
10
fi
11
mysql -uctn -pctn $2 < Fill$1Tables.script
11
12
if ($status != 0) then
12
mysql -uctn -pctn $2 < Fill${1}Tables.script
13
14
if [ $? != 0 ]; then
13
  echo Could not drop database: $1
15
  echo Could not drop database: $1
14
  exit 1
16
  exit 1
15
endif
17
fi
16
-- ctn-3.0.6.orig/cfg_scripts/mysql/CreateTables
18
++ ctn-3.0.6/cfg_scripts/mysql/CreateTables
Lines 1-11 Link Here
1
#!/bin/csh
1
#!/bin/bash
2
#
2
#
3
# CreateTables
3
# CreateTables
4
#
4
#
5
if ($1 == "" || $2 == "" ) then
5
if [ -z $1 -o -z $2 ]; then
6
  echo " "
6
  echo " "
7
  echo Usage: "$0 <DIM|Control|TBLTest|FIS> <Database Name>"
7
  echo Usage: "$0 <DIM|Control|TBLTest|FIS> <Database Name>"
8
  echo " "
8
  echo " "
9
  exit
9
  exit
10
endif
10
fi
11
mysql -uctn -pctn $2 < Create$1Tables.script
11
12
mysql -uctn -pctn $2 < Create${1}Tables.script
12
-- ctn-3.0.6.orig/cfg_scripts/mysql/DropTables
13
++ ctn-3.0.6/cfg_scripts/mysql/DropTables
Lines 1-15 Link Here
1
#!/bin/csh
1
#!/bin/bash
2
#
2
#
3
# DropTables
3
# DropTables
4
#
4
#
5
if ( $1 == "" || $2 == "" ) then
5
if [ -z $1 -o -z $2 ]; then
6
  echo " "
6
  echo " "
7
  echo Usage: "$0 <DIM|Control|TBLTest|FIS> <Database Name>"
7
  echo Usage: "$0 <DIM|Control|TBLTest|FIS> <Database Name>"
8
  echo " "
8
  echo " "
9
  exit
9
  exit
10
endif
10
fi
11
mysql -uctn -pctn $2 < Drop$1Tables.script
11
12
if ($status != 0) then
12
mysql -uctn -pctn $2 < Drop${1}Tables.script
13
if [ $? != 0 ]; then
13
  echo Could not drop database: $1
14
  echo Could not drop database: $1
14
  exit 1
15
  exit 1
15
endif
16
fi
16
-- ctn-3.0.6.orig/cfg_scripts/mysql/DropDB
17
++ ctn-3.0.6/cfg_scripts/mysql/DropDB
Lines 1-15 Link Here
1
#!/bin/csh
1
#!/bin/bash
2
#
2
#
3
# DropDB
3
# DropDB
4
#
4
#
5
if ($1 == "") then
5
if [ -z $1 ]; then
6
  echo " "
6
  echo " "
7
  echo Usage: "$0 <Database Name>"
7
  echo Usage: "$0 <Database Name>"
8
  echo " "
8
  echo " "
9
  exit
9
  exit
10
endif
10
fi
11
11
mysqladmin -uctn -pctn drop $1
12
mysqladmin -uctn -pctn drop $1
12
if ($status != 0) then
13
if [ $? != 0 ]; then
13
  echo Could not drop database: $1
14
  echo Could not drop database: $1
14
  exit 1
15
  exit 1
15
endif
16
fi
16
-- ctn-3.0.6.orig/cfg_scripts/mysql/CreateDB
17
++ ctn-3.0.6/cfg_scripts/mysql/CreateDB
Lines 1-15 Link Here
1
#!/bin/csh
1
#!/bin/bash
2
#
2
#
3
# CreateDB
3
# CreateDB
4
#
4
#
5
if ($1 == "") then
5
if [ -z "$1" ]; then
6
  echo " "
6
  echo " "
7
  echo Usage: "$0 <DB Name>"
7
  echo Usage: "$0 <DB Name>"
8
  echo " "
8
  echo " "
9
  exit
9
  exit
10
endif
10
fi
11
11
mysqladmin -uctn -pctn create $1
12
mysqladmin -uctn -pctn create $1
12
if ($status != 0) then
13
if [ $? != 0 ]; then
13
  echo Could not create database: $1
14
  echo Could not create database: $1
14
  exit 1
15
  exit 1
15
endif
16
fi
16
-- ctn-3.0.6.orig/facilities/objects/dcmprivate.h
17
++ ctn-3.0.6/facilities/objects/dcmprivate.h
Lines 117-127 Link Here
117
}   SHORT_WORD;
117
}   SHORT_WORD;
118
118
119
typedef union {
119
typedef union {
120
#ifdef __alpha
121
    unsigned int l;
120
    unsigned int l;
122
#else
123
    unsigned long l;
124
#endif
125
    unsigned char u[4];
121
    unsigned char u[4];
126
}   LONG_WORD;
122
}   LONG_WORD;
127
123
128
-- ctn-3.0.6.orig/facilities/utility/utility.c
124
++ ctn-3.0.6/facilities/utility/utility.c
Lines 912-918 Link Here
912
  if (configFile == 0 || configFile[0] == '\0') {
912
  if (configFile == 0 || configFile[0] == '\0') {
913
    char* p = getenv("CTN_TARGET");
913
    char* p = getenv("CTN_TARGET");
914
    if (p == NULL) {
914
    if (p == NULL) {
915
      return UTL_NO_CTN_TARGET;
915
       /* Debian patch: Can not make operation dependent on Env var */
916
       /* return UTL_NO_CTN_TARGET; */
917
       p = "/etc/ctn";
916
    }
918
    }
917
    UTL_configFile = (char*) malloc(strlen(p) + strlen("/runtime/ctn_cfg.txt") + 1);
919
    UTL_configFile = (char*) malloc(strlen(p) + strlen("/runtime/ctn_cfg.txt") + 1);
918
    strcpy(UTL_configFile, p);
920
    strcpy(UTL_configFile, p);
919
-- ctn-3.0.6.orig/facilities/xutl/xutl.c
921
++ ctn-3.0.6/facilities/xutl/xutl.c
Lines 31-37 Link Here
31
31
32
  c = getenv("CTN_TARGET");
32
  c = getenv("CTN_TARGET");
33
  if (c == NULL)
33
  if (c == NULL)
34
    c = "/opt/ctn";
34
     /* Debian patch: conform to debian directory policy */
35
     /* c = "/opt/ctn"; */
36
     c = "/etc/ctn";
35
37
36
  sprintf(s->runtime, "%s/runtime/fontmap", c);
38
  sprintf(s->runtime, "%s/runtime/fontmap", c);
37
}
39
}
38
-- ctn-3.0.6.orig/facilities/dicom/dicom.h
40
++ ctn-3.0.6/facilities/dicom/dicom.h
Lines 57-62 Link Here
57
57
58
#ifdef _MSC_VER
58
#ifdef _MSC_VER
59
#include "dicom_platform.h"
59
#include "dicom_platform.h"
60
#else
61
#include "intsizes.h"
60
#endif
62
#endif
61
63
62
#ifdef  __cplusplus
64
#ifdef  __cplusplus
Lines 85-98 Link Here
85
    typedef unsigned short U16;	/* unsigned, 16 bit */
87
    typedef unsigned short U16;	/* unsigned, 16 bit */
86
    typedef short S16;		/* signed, 16 bit */
88
    typedef short S16;		/* signed, 16 bit */
87
89
88
#if LONGSIZE == 64 && INTSIZE == 32	/* Such as an Alpha */
90
#if LONGSIZE == 64 && INTSIZE == 32    /* Such as an Alpha */
89
    typedef unsigned int U32;
91
    typedef unsigned int U32;
90
    typedef int S32;
92
    typedef int S32;
91
93
92
#elif LONGSIZE == 32		/* Most 32 bit workstations */
94
#elif LONGSIZE == 32		/* Most 32 bit workstations */
93
    typedef unsigned long U32;
95
    typedef unsigned long U32;
94
    typedef long S32;
96
    typedef long S32;
95
96
#else				/* Something we do not support */
97
#else				/* Something we do not support */
97
98
98
/* The writers of this code assume that we can find a 32 bit integer
99
/* The writers of this code assume that we can find a 32 bit integer
99
-- ctn-3.0.6.orig/facilities/dicom/Makefile
100
++ ctn-3.0.6/facilities/dicom/Makefile
Lines 8-13 Link Here
8
install:
8
install:
9
	$(INSTALLINCLUDE) ctn_os.h $(DICOM_INCLUDE)
9
	$(INSTALLINCLUDE) ctn_os.h $(DICOM_INCLUDE)
10
	$(INSTALLINCLUDE) dicom.h $(DICOM_INCLUDE)
10
	$(INSTALLINCLUDE) dicom.h $(DICOM_INCLUDE)
11
	$(INSTALLINCLUDE) intsizes.h $(DICOM_INCLUDE)
11
	$(INSTALLINCLUDE) dicom_platform.h $(DICOM_INCLUDE)
12
	$(INSTALLINCLUDE) dicom_platform.h $(DICOM_INCLUDE)
12
13
13
export:
14
export:
Lines 19-27 Link Here
19
	$(INSTALLINCLUDE) dicom_platform.h $(DICOM_INCLUDE)
20
	$(INSTALLINCLUDE) dicom_platform.h $(DICOM_INCLUDE)
20
links:
21
links:
21
	rm -f $(DICOM_LIBSRC)/dicom.h $(DICOM_LIBSRC)/dicom_platform.h $(DICOM_LIBSRC)/ctn_os.h
22
	rm -f $(DICOM_LIBSRC)/dicom.h $(DICOM_LIBSRC)/dicom_platform.h $(DICOM_LIBSRC)/ctn_os.h
22
	ln -s ../facilities/dicom/ctn_os.h $(DICOM_LIBSRC)
23
	ln -sf ../facilities/dicom/ctn_os.h $(DICOM_LIBSRC)
23
	ln -s ../facilities/dicom/dicom.h $(DICOM_LIBSRC)
24
	ln -sf ../facilities/dicom/dicom.h $(DICOM_LIBSRC)
24
	ln -s ../facilities/dicom/dicom_platform.h $(DICOM_LIBSRC)
25
	ln -sf ../facilities/dicom/intsizes.h $(DICOM_LIBSRC)
26
	ln -sf ../facilities/dicom/dicom_platform.h $(DICOM_LIBSRC)
25
27
26
clean:
28
clean:
27
	rm -f *.a *.o *.BAK *% core
29
	rm -f *.a *.o *.BAK *% core
28
-- ctn-3.0.6.orig/debian/ctn-dev.dirs
30
++ ctn-3.0.6/debian/ctn-dev.dirs
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/control
1
usr
2
usr/lib
3
usr/lib/ctn
4
usr/include
5
usr/include/ctn
6
++ ctn-3.0.6/debian/control
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/debian.mysql.options.env
1
Source: ctn
2
Section: graphics
3
Priority: extra
4
Maintainer: Thijs Kinkhorst <thijs@debian.org>
5
Uploaders: Steve M. Robbins <smr@debian.org>
6
Build-Depends: debhelper (>= 5), lesstif2-dev, libxaw7-dev, flex, bison, zlib1g-dev, libmysqlclient15-dev, libx11-dev, libxt-dev, x-dev, csh | c-shell
7
Standards-Version: 3.7.2
8
XS-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/ctn/ctn
9
XS-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/ctn/ctn/
10
11
Package: ctn
12
Section: graphics
13
Architecture: any
14
Depends: ${shlibs:Depends}, ${misc:Depends}
15
Suggests: ctn-doc
16
Description: Central Test Node, a DICOM implementation for medical imaging
17
 DICOM is the standard for image storage, annotation, and networking.
18
 It is used widely for medical imaging. The Central Test Node software (CTN)
19
 provides an implementation of this standard.
20
 .
21
 This package includes the binary and run-time configuration files for CTN.
22
 .
23
 Homepage: http://www.erl.wustl.edu/DICOM/ctn.html
24
 
25
Package: ctn-dev
26
Section: devel
27
Architecture: any
28
Depends: ctn (= ${binary:Version}), ${misc:Depends}
29
Suggests: ctn-doc
30
Description: Development files for Central Test Node, a DICOM implementation 
31
 DICOM is the standard for image storage, annotation, and networking.
32
 It is used widely for medical imaging.
33
 .
34
 This package includes the header files and static library used for
35
 creating programs that use the CTN library.
36
 .
37
 Homepage: http://www.erl.wustl.edu/DICOM/ctn.html
38
++ ctn-3.0.6/debian/debian.mysql.options.env
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/compat
1
export CWD=`pwd`
2
mkdir -p $CWD/debian/build-tmp
3
export CTN_TARGET=$CWD/debian/build-tmp
4
export DICOM_ROOT=$CWD
5
export DICOM_BIN=$CTN_TARGET/bin
6
export DICOM_LIB=$DICOM_ROOT/lib/ctn-mysql
7
export DICOM_LIBSRC=$DICOM_ROOT/libsrc
8
export DICOM_INCLUDE=$DICOM_ROOT/include 
9
export DICOM_MAKE=$DICOM_ROOT/debian/ctnmake.debian.mysql.options.full
10
11
export MYSQL_LIB=/usr/lib
12
export MYSQL_INCLUDE=/usr/include/mysql
13
14
gcc debian/test-endian.c -o debian/test-endian
15
export TEST_ENDIAN=`./debian/test-endian`
16
rm debian/test-endian
17
echo "TEST_ENDIAN: $TEST_ENDIAN" 
18
#export ARCHITECTURE=LITTLE_ENDIAN_ARCHITECTURE
19
export ARCHITECTURE=$TEST_ENDIAN
20
21
export OS=LINUX
22
export CC=gcc
23
export XCC=gcc
24
export DBLINK=gcc
25
export INSTALL=install
26
export INSTALLUID="install -m 4775"
27
export INSTALLINCLUDE="install -c -m 444 "
28
export CI="echo Use ci on a sun"
29
export CO="echo Use co on a sun"
30
export INDENT="Use indent on a sun"
31
export LINTOPTIONS=$DICOM_ROOT/lint/minimal.lnt
32
export RANLIB=ranlib
33
export LEX=flex
34
35
++ ctn-3.0.6/debian/compat
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/ctn.dirs
1
5
2
++ ctn-3.0.6/debian/ctn.dirs
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/README.Debian
1
usr/bin
2
etc
3
etc/ctn
4
etc/ctn/runtime
5
usr/share
6
usr/share/doc
7
usr/share/doc/ctn
8
usr/share/ctn
9
usr/share/ctn/mysql
10
++ ctn-3.0.6/debian/README.Debian
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/test-sizes.c
1
The Debian Package CTN
2
--------------------------
3
4
This is the CTN (Central Test Node) system packaged for Debian
5
by Kevin M. Rosenberg <kmr@debian.org>, May 2002.
6
Current maintainer is Thijs Kinkhorst <thijs@debian.org>.
7
8
CTN is an implementation of the DICOM standard.
9
10
The home page for CTN is http://www.erl.wustl.edu/DICOM/ctn.html.
11
12
There is extensive documentation for using CTN in the Debian package
13
ctn-doc.
14
15
The changes made to the Debian package compared to the upstream
16
package are:
17
18
  1. Source code changes to set the configuration directory to
19
  /etc/ctn rather than rely on an runtime environmental variable.
20
21
  2. Rewrite SQL helper scripts to use bash shell rather than csh
22
23
  3. CTN can be compiled to support a single SQL server.
24
  The Debian package supports only the MySQL database. The upstream
25
  version allows a choice of other SQL servers that could be used.
26
27
  4. Added man pages. 
28
29
++ ctn-3.0.6/debian/test-sizes.c
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/rules
1
#include <stdio.h>
2
int main(){ 
3
    printf("LONGSIZE=%d\n", 8*sizeof(long int));
4
    printf("INTSIZE=%d\n", 8*sizeof(int));
5
    printf("SHORTSIZE=%d\n", 8*sizeof(short));
6
return 0;
7
}
8
++ ctn-3.0.6/debian/rules
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/postinst
1
#!/usr/bin/make -f
2
3
build	:= debian/build-tmp
4
pkg-ctn	:= debian/ctn
5
pkg-ctn-dev := debian/ctn-dev
6
7
INSTALL	:= install
8
INSTALLFLAGS	:= -g root -o root -m 0644
9
INSTALLEXECFLAGS:= -g root -o root
10
INSTALLDIRFLAGS	:= -d -g root -o root -m 0755
11
12
DOCDIR		:= $(pkg-ctn)/usr/share/doc/ctn
13
14
15
16
build: build-stamp
17
18
# we must provide *SIZE inside dicom.h or otherwise applications which
19
# would use ctn might be doomed to get improper U32 types etc
20
# that file will be included in dicom.h - hard patched
21
debian/intsizes.h: debian/test-sizes
22
	sh debian/intsizes_h.sh
23
24
build-stamp: debian/test-sizes debian/intsizes.h
25
	dh_testdir
26
	debian/test-sizes >| debian/ctnmake.debian.mysql.options.full
27
	cat debian/ctnmake.debian.mysql.options >> debian/ctnmake.debian.mysql.options.full
28
	mv debian/intsizes.h facilities/dicom/
29
30
	# Add here commands to compile the package.
31
	(. debian/debian.mysql.options.env; make install)
32
	touch build-stamp
33
34
clean:
35
	dh_testdir
36
	dh_testroot
37
	rm -f build-stamp 
38
39
	# Add here commands to clean up after the build process.
40
	[ ! -f Makefile ] || $(MAKE) clean
41
	rm -f debian/ctn*.postinst.* debian/ctn*.prerm.* debian/intsizes.h
42
	rm -f debian/ctnmake.debian.mysql.options.full debian/test-sizes
43
	rm -f facilities/dicom/intsizes.h
44
	rm -rf ${build}
45
	rm -f libsrc/*.c libsrc/*.h
46
	rm -f `find . -name \*.o -or -name \*.a`
47
	rm -f include/*
48
	rmdir lib/ctn-mysql || true
49
	dh_clean
50
51
scripts := $(build)/bin/add-accession-numbers $(build)/bin/create_common $(build)/bin/create_icons $(build)/bin/create_icons.94 $(build)/bin/createdirectory $(build)/bin/fillImageDBScript $(build)/bin/his_layout $(build)/bin/icon_script $(build)/bin/img_layout $(build)/bin/pacs_layout $(build)/bin/print_layout $(build)/bin/start_clients $(build)/bin/start_clients $(build)/bin/start_img_server $(build)/bin/start_his_client $(build)/bin/start_img_displays $(build)/bin/start_pacs_client $(build)/bin/stop_img_displays $(build)/bin/start_his_server $(build)/bin/start_pacs_server $(build)/bin/start_print_client $(build)/bin/start_img_client
52
53
install: build
54
	dh_testdir
55
	dh_testroot
56
	dh_clean -k
57
	dh_installdirs
58
59
	# install ctn-dev
60
	$(INSTALL) $(INSTALLFLAGS) include/* $(pkg-ctn-dev)/usr/include/ctn
61
	$(INSTALL) $(INSTALLFLAGS) lib/*/* $(pkg-ctn-dev)/usr/lib/ctn
62
63
	# install ctn
64
	$(INSTALL) $(INSTALLEXECFLAGS) $(filter-out $(scripts),$(wildcard $(build)/bin/*)) $(pkg-ctn)/usr/bin
65
	$(INSTALL) $(INSTALLFLAGS) runtime/ctn_cfg.txt runtime/fontmap runtime/queuemap $(pkg-ctn)/etc/ctn/runtime
66
	$(INSTALL) $(INSTALLFLAGS) cfg_scripts/mysql/* $(pkg-ctn)/usr/share/ctn/mysql
67
	chmod +x `echo $(pkg-ctn)/usr/share/ctn/mysql/*`
68
	chmod -x `echo $(pkg-ctn)/usr/share/ctn/mysql/*.script`
69
70
# Build architecture-independent files here.
71
binary-indep: build install
72
73
74
# Build architecture-dependent files here.
75
binary-arch: build install
76
	dh_testdir
77
	dh_testroot
78
	dh_installdocs --all
79
	dh_installexamples -p ctn $(scripts)
80
	dh_installman -p ctn debian/man/*
81
	dh_installchangelogs 
82
	dh_link
83
	dh_strip -A
84
	dh_compress
85
	dh_fixperms
86
	dh_installdeb
87
	dh_shlibdeps -A
88
	dh_gencontrol
89
	dh_md5sums
90
	dh_builddeb
91
92
binary: binary-indep binary-arch
93
.PHONY: build clean binary-indep binary-arch binary install
94
95
++ ctn-3.0.6/debian/postinst
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/ctnmake.debian.mysql.options
1
#! /bin/sh
2
# postinst script for uffi
3
#
4
# see: dh_installdeb(1)
5
6
set -e
7
8
# summary of how this script can be called:
9
#        * <postinst> `configure' <most-recently-configured-version>
10
#        * <old-postinst> `abort-upgrade' <new version>
11
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
#          <new-version>
13
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
14
#          <failed-install-package> <version> `removing'
15
#          <conflicting-package> <version>
16
# for details, see http://www.debian.org/doc/debian-policy/ or
17
# the debian-policy package
18
#
19
# quoting from the policy:
20
#     Any necessary prompting should almost always be confined to the
21
#     post-installation script, and should be protected with a conditional
22
#     so that unnecessary prompting doesn't happen if a package's
23
#     installation fails and the `postinst' is called with `abort-upgrade',
24
#     `abort-remove' or `abort-deconfigure'.
25
26
case "$1" in
27
    configure)
28
    ;;
29
30
    abort-upgrade|abort-remove|abort-deconfigure)
31
32
    ;;
33
34
    *)
35
        echo "postinst called with unknown argument \`$1'" >&2
36
        exit 1
37
    ;;
38
esac
39
40
# dh_installdeb will replace this with shell code automatically
41
# generated by other debhelper scripts.
42
43
#DEBHELPER#
44
45
exit 0
46
47
48
++ ctn-3.0.6/debian/ctnmake.debian.mysql.options
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_rm_element.1
1
#  Global rules for compilation for sunos
2
3
X11_INCLUDE = /usr/X11R6/include
4
XM_INCLUDE = /usr/include/Xm
5
6
LIBPATH_X11 = -L/usr/X11R6/lib
7
LIBPATH_MOTIF = -L/usr/lib
8
LIBPATH_UCB =
9
LIBPATH_DATABASE =-L$(MYSQL_LIB)
10
LIBS_X11 = -lXext -lXt -lX11
11
LIBS_MOTIF = -lXm
12
LIBS_XAW = -lXaw -lXmu -lXt -lXext -lm
13
LIBS_OS = -lz
14
LIBS_DATABASE = -ltbl_mysql -lmysqlclient -lcrypt
15
LIBS_LEX = -lfl
16
LIBS_CTN = -lctn $(LIBPATH_DATABASE) -lmysqlclient -lcrypt
17
LIBS_CTN_NODB = -lctn 
18
19
TBL_DB = tbl_mysql.o
20
TBLMB_DB = not_supported_with_this_software
21
22
CFLAGS_X11 = -I$(X11_INCLUDE)
23
CFLAGS_MOTIF = -I$(XM_INCLUDE)
24
25
#DEBUG_LIBS = -lmalloc
26
C_OPTS = -g -DDEBUG -D$(ARCHITECTURE) -D$(OS) -DSHARED_MEMORY \
27
-DSEMAPHORE -DX11 -DATHENA -DX11R4 -DUSLEEP -DMYSQLDB \
28
-I$(DICOM_INCLUDE) -I$(MYSQL_INCLUDE) \
29
$(CFLAGS_MOTIF) $(CFLAGS_X11) \
30
-DLONGSIZE=$(LONGSIZE) -DINTSIZE=$(INTSIZE) -DSHORTSIZE=$(SHORTSIZE) \
31
-DTIMEOFDAYARGS=2 -DMOTIF -DUSEREGCOMP
32
++ ctn-3.0.6/debian/man/dcm_rm_element.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_verify.1
1
.\" -*- NROFF -*-
2
.TH "dcm_rm_element" "1"
3
.SH "NAME"
4
dcm_rm_element \- Remove an element from a DICOM file
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_rm_element [-b] [-t] [-v] group element filein fileout
8
9
.SH "DESCRIPTION "
10
\fIdcm_rm_element\fP removes and element from DICOM file while writing into an output file.
11
12
.SH "OPTIONS"
13
\fIdcm_rm_element\fP accepts the following options:
14
.TP 16 
15
.B \-b
16
Input files are stored in big-endian byte order
17
.TP 16
18
.B \-t
19
Read file assuming DICOM Part 10 format
20
.TP 16
21
.B \-v
22
Place DCM facility in verbose mode
23
.TP 16
24
.B group element
25
The tag of the element to be removed
26
.TP 16
27
.B filein fileout
28
Input and output files
29
30
31
32
++ ctn-3.0.6/debian/man/dcm_verify.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_map_to_8.1
1
.\" -*- NROFF -*-
2
.TH "dcm_verify" "1"
3
.SH "NAME"
4
dcm_verify \- Verify DICOM File
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_verify [-b] [-t] [-v] file
8
9
.SH "DESCRIPTION "
10
\fIdcm_verify\fP verifies the contents of a DICOM file
11
12
.SH "OPTIONS"
13
\fIdcm_verify\fP accepts the following options:
14
.TP 16 
15
.B \-b
16
Input files are stored in big-endian byte order
17
.TP 16
18
.B \-t
19
Read file with Part 10 format
20
.TP 16
21
.B \-v
22
Place DCM facility in verbose mode
23
.TP 16
24
.B file
25
The name of the file to be verified
26
27
28
29
++ ctn-3.0.6/debian/man/dcm_map_to_8.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_dump_element.1
1
.\" -*- NROFF -*-
2
.TH "dcm_map_to_8" "1"
3
.SH "NAME"
4
dcm_map_to_8 \- map original pixel data (10, 12 bit) to 8 bit
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_map_to_8 [-b] [-v] [-W width] [-C center] input output
8
9
.SH "DESCRIPTION "
10
\fIdcm_map_to_8\fP reads one DICOM image (monochrome) and maps the pixel
11
data to 8 bits. It does this by applying window width, window center, rescale
12
slope, and rescale intercept values found in the information object.
13
The user can override the window width and center values by supplying 
14
different values as command line arguments.
15
16
.SH "OPTIONS"
17
\fIdcm_map_to_8\fP accepts the following options:
18
.TP 16 
19
.B \-b
20
Read input file assuming the data is stored in big-endian byte order
21
.TP 16
22
.B \-v
23
Place DCM facility in verbose mode
24
.TP 16
25
.B -W width
26
Override window width with this value
27
.TP 16
28
.B -C center 
29
Override window center with this value
30
.TP 16
31
.B input output
32
Input and output files
33
++ ctn-3.0.6/debian/man/dcm_dump_element.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_make_object.1
1
.\" -*- NROFF -*-
2
.TH "dcm_dump_element" "1"
3
.SH "NAME"
4
dcm_dump_element \- Dump element from a DICOM file into to another
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_dump_element [-b] [-t] [-v] group element filein fileout
8
9
.SH "DESCRIPTION "
10
\fIdcm_dump_element\fP dumps element from DICOM file into another
11
12
.SH "OPTIONS"
13
\fIdcm_dump_element\fP accepts the following options:
14
.TP 16 
15
.B \-b
16
Input files are stored in big-endian byte order
17
.TP 16
18
.B \-t
19
Read file assuming DICOM Part 10 format
20
.TP 16
21
.B \-v
22
Place DCM facility in verbose mode
23
.TP 16
24
.B group element
25
The tag of the element to be dumped
26
.TP 16
27
.B filein fileout
28
Input and output files
29
30
.SH NOTES
31
This is the method used to extract pixel data from images.
32
33
34
++ ctn-3.0.6/debian/man/dcm_make_object.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_diff.1
1
.\" -*- NROFF -*-
2
.TH "dcm_make_object" "1"
3
.SH "NAME"
4
dcm_make_object \- Make a DICOM information object from an ASCII description.
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_make_object [-p pixels] [-v] fileout
8
9
.SH "DESCRIPTION "
10
\fIdcm_make_object\fP creates a DICOM information object and stores it
11
in a file. It reads a description of the data elements int the object
12
from stdin and adds them to the information object.
13
14
.SH "OPTIONS"
15
\fIdcm_make_object\fP accepts the following options:
16
.TP 16 
17
.B \-p pixels
18
Read raw pixel data from this file and add as 7FE0 0010
19
.TP 16
20
.B \-v
21
Place DCM facility in verbose mode
22
.B fileout
23
Stores the DICOM object
24
25
26
++ ctn-3.0.6/debian/man/dcm_diff.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_dump_file.1
1
.\" -*- NROFF -*-
2
.TH "dcm_diff" "1"
3
.SH "NAME"
4
dcm_diff \- Compare the attributes in two DICOM files.
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_diff [-b] [-t] [-v] [-g] [-o] [-z] file1 file2
8
9
.SH "DESCRIPTION "
10
\fIdcm_diff\fP reads the user designated files and compares attribute values.
11
Differencs are printed to the standard output.
12
13
.SH "OPTIONS"
14
\fIdcm_diff\fP accepts the following options:
15
.TP 16 
16
.B \-b
17
Input files are stored in big-endian byte order
18
.TP 16
19
.B \-g
20
Remove group length elements
21
.TP 16
22
.B \-l
23
Use (retired) length-to-end attribute for object length
24
.TP 16
25
.B \-o
26
Place output in verbose mode
27
.TP 16
28
.B \-t
29
Read file assuming DICOM Part 10 format
30
.TP 16
31
.B \-v
32
Place DCM facility in verbose mode
33
.TP 16
34
.B \-z
35
Perform format conversion (verificatioon) on data in files
36
.TP 16
37
.B file1 file2
38
Comparison files
39
40
41
42
++ ctn-3.0.6/debian/man/dcm_dump_file.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_ctnto10.1
1
.\" -*- NROFF -*-
2
.TH "dcm_dump_file" "1"
3
.SH "NAME"
4
dcm_dump_file \- Dump the contents of a DICOM File
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_dump_file [-b] [-g] [-l] [-m mult] [-t] [-v] [-w flag] [-z] file [file ...]
8
9
.SH "DESCRIPTION "
10
\fIdcm_dump_file\fP dumps the contents of a DICOM V3 file to
11
standard output in human readable form.
12
13
.SH "OPTIONS"
14
\fIdcm_dump_file\fP accepts the following options:
15
.TP 16 
16
.B \-b
17
Input files are stored in big-endian byte order
18
.TP 16
19
.B \-e
20
Exit on file open error.  Do not process other files
21
.TP 16
22
.B \-g
23
Remove group length elements
24
.TP 16
25
.B \-m mult
26
Change VM limit from 0 to mult
27
.TP 16
28
.B \-v
29
Place DCM facility in verbose mode
30
.TP 16
31
.B \-t
32
Part 10 file
33
.TP 16
34
.B \-w
35
Set open options; flag can be REPEAT
36
.TP 16
37
.B \-z
38
Perform format conversion (verification) on data in files
39
.TP 16
40
.B file
41
One or more information objects to be dumped
42
43
44
++ ctn-3.0.6/debian/man/dcm_ctnto10.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_create_object.1
1
.\" -*- NROFF -*-
2
.TH "dcm_ctnto10" "1"
3
.SH "NAME"
4
dcm_ctnto10 \- Convert a CTN DICOM file to Part 10 conforming format.
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_ctnto10 [-bBL] [-v] filein fileout
8
9
.SH "DESCRIPTION "
10
\fIdcm_ctnto10\fP converts a DICOM file to Part 10 format
11
12
.SH "OPTIONS"
13
\fIdcm_ctnto10\fP accepts the following options:
14
.TP 16 
15
.B \-b
16
Big endian output (non standard)
17
.TP 16
18
.B \-B
19
Big endian explicit transfer syntax
20
.TP 16
21
.B \-L
22
Little endian explicit transfer syntax
23
.TP 16
24
.B filein fileout
25
Input and output files
26
27
28
29
++ ctn-3.0.6/debian/man/dcm_create_object.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_resize.1
1
.\" -*- NROFF -*-
2
.TH "dcm_create_object" "1"
3
.SH "NAME"
4
dcm_create_object \- Create a object in a DICOM File
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_create_object [-i inputfile] [-p pixels] [-v] fileout
8
9
.SH "DESCRIPTION "
10
\fIdcm_create_object\fP makes creates DICOM file from raw pixel data and an input source.
11
12
.SH "OPTIONS"
13
\fIdcm_create_object\fP accepts the following options:
14
.TP 16 
15
.B \-i 
16
Take input from this file rather than stdin
17
.TP 16 
18
.B \-p pixels
19
Read raw pixel data from this file and add as 7FE0 0010
20
.TP 16
21
.B \-v
22
Place DCM facility in verbose mode
23
.TP 16
24
.B fileout
25
Name of the output file
26
27
28
++ ctn-3.0.6/debian/man/dcm_resize.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/dcm_add_fragments.1
1
.\" -*- NROFF -*-
2
.TH "dcm_resize" "1"
3
.SH "NAME"
4
dcm_resize \- Resize a DICOM image
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_resize [-b] [-c cols] [-r rows] [-t] [-v] input output
8
9
.SH "DESCRIPTION "
10
\fIdcm_resize\fP resizes the number of rows and/or columns in a DICOM image.
11
Differencs are printed to the standard output.
12
13
.SH "OPTIONS"
14
\fIdcm_resize\fP accepts the following options:
15
.TP 16 
16
.B \-b
17
Input files are stored in big-endian byte order
18
.TP 16
19
.B \-c
20
New number of columns in image
21
.TP 16
22
.B \-r
23
New number of rows in image
24
.TP 16
25
.B \-t
26
Read file assuming DICOM Part 10 format
27
.TP 16
28
.B \-v
29
Place DCM facility in verbose mode
30
.TP 16
31
.B input output
32
Input and output files
33
++ ctn-3.0.6/debian/man/dcm_add_fragments.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/man/ctn_manpage.1
1
.\" -*- NROFF -*-
2
.TH "dcm_add_fragments" "1"
3
.SH "NAME"
4
dcm_add_fragments \- Dump element from DICOM file to another
5
	
6
.SH "SYNOPSIS"
7
.B  dcm_add_fragments [-t] [-x xfer] filein fileout f1 [f2...]
8
9
.SH "DESCRIPTION "
10
\fIdcm_add_fragments\fP adds elements from one DICOM file into another
11
12
.SH "OPTIONS"
13
\fIdcm_add_fragments\fP accepts the following options:
14
.TP 16 
15
.B \-t
16
Read file assuming DICOM Part 10 format
17
.TP 16
18
.B \-x
19
Specify transfer syntax for output
20
.TP 16
21
.B filein
22
Input file
23
.TP 16
24
.B fileout
25
Output file
26
.TP 16
27
.B f1
28
First fragment to add
29
.TP 16
30
.B f2
31
Zero or more fragments to add
32
33
34
35
++ ctn-3.0.6/debian/man/ctn_manpage.1
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/intsizes_h.sh
1
.\" -*- NROFF -*-
2
.TH "ctn_manpage" "1"
3
.SH "NAME"
4
ctn_manpage \- Generic CTN manual page
5
	
6
.SH "DESCRIPTION "
7
This is a generic manual package for a CTN program. All CTN programs will 
8
give their brief usage synopsis when invoked with a "\-h" command-line parameter.
9
10
11
12
++ ctn-3.0.6/debian/intsizes_h.sh
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/links
1
#!/bin/bash
2
#-------------------------- =+- Shell script -+= --------------------------
3
#
4
# @file      intsizes_h.sh
5
# @date      Fri Jan 26 15:18:19 2007
6
# @brief
7
#
8
#
9
#  Yaroslav Halchenko                                      CS@UNM, CS@NJIT
10
#  web:     http://www.onerussian.com                      & PSYCH@RUTGERS
11
#  e-mail:  yoh@onerussian.com                              ICQ#: 60653192
12
#
13
# DESCRIPTION (NOTES):
14
#
15
# COPYRIGHT: Yaroslav Halchenko 2007
16
#
17
# LICENSE:
18
#
19
#  This program is free software; you can redistribute it and/or modify
20
#  it under the terms of the GNU General Public License as published by
21
#  the Free Software Foundation; either version 2 of the License, or
22
#  (at your option) any later version.
23
#
24
#  This program is distributed in the hope that it will be useful,
25
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
26
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27
#  GNU General Public License for more details.
28
#
29
#  You should have received a copy of the GNU General Public License
30
#  along with this program; if not, write to the 
31
#  Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
32
#  MA 02110-1301, USA.
33
#
34
# On Debian system see /usr/share/common-licenses/GPL for the full license.
35
#
36
#-----------------\____________________________________/------------------
37
export `debian/test-sizes`
38
39
cat > debian/intsizes.h <<EOF
40
#ifndef INTSIZES_IS_IN
41
#define INTSIZES_IS_IN 1
42
43
#ifdef  __cplusplus
44
extern "C" {
45
#endif
46
47
# define INTSIZE $INTSIZE
48
# define LONGSIZE $LONGSIZE
49
# define SHORTSIZE $SHORTSIZE
50
51
#ifdef  __cplusplus
52
}
53
#endif
54
55
#endif
56
EOF
57
++ ctn-3.0.6/debian/links
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/copyright
1
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/add-accession-numbers.1
2
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/archive_agent.1
3
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/archive_cleaner.1
4
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/archive_server.1
5
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/clone_study.1
6
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/commit_agent.1
7
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/create_common.1
8
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/create_greyscale_module.1
9
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/create_icons.1
10
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/create_icons.94.1
11
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/create_print_entry.1
12
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/createdirectory.1
13
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ctn_version.1
14
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ctndisp.1
15
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ctnnetwork.1
16
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_dump_compressed.1
17
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_mask_image.1
18
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_modify_elements.1
19
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_modify_object.1
20
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_print_dictionary.1
21
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_rm_group.1
22
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_snoop.1
23
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_template.1
24
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_to_html.1
25
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_to_text.1
26
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_vr_patterns.1
27
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dcm_x_disp.1
28
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dicom_echo.1
29
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/dump_commit_requests.1
30
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/enq_ctndisp.1
31
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/enq_ctnnetwork.1
32
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ex1_initiator.1
33
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ex2_initiator.1
34
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ex3_acceptor.1
35
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ex3_initiator.1
36
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ex4_acceptor.1
37
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ex4_initiator.1
38
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/fillImageDB.1
39
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/fillImageDBScript.1
40
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/fillRSA.1
41
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/fillRSAImpInterp.1
42
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/fis_server.1
43
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/gqinitq.1
44
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/gqkillq.1
45
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/his_layout.1
46
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/icon_append_file.1
47
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/icon_append_index.1
48
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/icon_dump_file.1
49
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/icon_dump_index.1
50
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/icon_script.1
51
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/image_server.1
52
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/img_layout.1
53
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/kill_ctndisp.1
54
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/kill_ctnnetwork.1
55
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/load_control.1
56
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/mwlQuery.1
57
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/pacs_layout.1
58
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/pq_ctndisp.1
59
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/pq_ctnnetwork.1
60
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/print_client.1
61
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/print_layout.1
62
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/print_mgr.1
63
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/print_server.1
64
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/print_server_display.1
65
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ris_gateway.1
66
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/send_image.1
67
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/send_results.1
68
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/send_study.1
69
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/simple_pacs.1
70
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/simple_storage.1
71
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/snp_to_files.1
72
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_clients.1
73
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_his_client.1
74
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_his_server.1
75
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_img_client.1
76
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_img_displays.1
77
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_img_server.1
78
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_pacs_client.1
79
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_pacs_server.1
80
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/start_print_client.1
81
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/stop_img_displays.1
82
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/storage_classes.1
83
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/storage_commit.1
84
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ttdelete.1
85
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ttinsert.1
86
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ttlayout.1
87
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ttselect.1
88
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ttunique.1
89
usr/share/man/man1/ctn_manpage.1 /usr/share/man/man1/ttupdate.1
90
++ ctn-3.0.6/debian/copyright
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/README.mysql-versions
1
Debian Copyright File
2
=====================
3
4
Upstream source URL: 
5
	ftp://ftp.erl.wustl.edu/pub/dicom/software/ctn/
6
Upstream home page URL: http://www.erl.wustl.edu/DICOM/ctn.html.
7
Upstream authors: Multiple at Mallinckrodt Institute of Radiology.  
8
Debian Maintainer: Thijs Kinkhorst <thijs@debian.org>
9
10
11
Original CTN Copyright Statement
12
================================
13
14
          Copyright (C) 1993, 1994, RSNA and Washington University
15
16
          The software and supporting documentation for the Radiological
17
          Society of North America (RSNA) 1993, 1994 Digital Imaging and
18
          Communications in Medicine (DICOM) Demonstration were developed
19
          at the
20
                  Electronic Radiology Laboratory
21
                  Mallinckrodt Institute of Radiology
22
                  Washington University School of Medicine
23
                  510 S. Kingshighway Blvd.
24
                  St. Louis, MO 63110
25
          as part of the 1993, 1994 DICOM Central Test Node project for, and
26
          under contract with, the Radiological Society of North America.
27
28
          THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER RSNA NOR
29
          WASHINGTON UNIVERSITY MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS
30
          PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
31
          USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY
32
          SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF
33
          THE SOFTWARE IS WITH THE USER.
34
35
          Copyright of the software and supporting documentation is
36
          jointly owned by RSNA and Washington University, and free access
37
          is hereby granted as a license to use this software, copy this
38
          software and prepare derivative works based upon this software.
39
          However, any distribution of this software source code or
40
          supporting documentation or derivative works (source code and
41
          supporting documentation) must include the three paragraphs of
42
          the copyright notice.
43
++ ctn-3.0.6/debian/README.mysql-versions
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/docs
1
CTN and MySQL versions
2
======================
3
4
Due to a change in MySQL 4.1, ctn does not work flawlessly with MySQL 4.1
5
and up, including MySQL 5. It works fine with the 3.23 and 4.0 series.
6
The problem is in the column name 'Mod' in the SeriesLevel and StudyCmpTable
7
tables, which is now a reserved keyword.
8
9
I'm waiting for upstream to address this problem, since it doesn't make sense
10
to fix it for Debian only (we can't control what versions / databases run on
11
remote hosts). In the meantime, you may work around it by replacing Mod with
12
`Mod` in any database dumps you might be using.
13
14
15
++ ctn-3.0.6/debian/docs
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/prerm
1
README
2
debian/README.mysql-versions
3
++ ctn-3.0.6/debian/prerm
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/test-endian.c
1
#! /bin/sh
2
# prerm script for uffi
3
#
4
# see: dh_installdeb(1)
5
6
set -e
7
8
# summary of how this script can be called:
9
#        * <prerm> `remove'
10
#        * <old-prerm> `upgrade' <new-version>
11
#        * <new-prerm> `failed-upgrade' <old-version>
12
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14
#          <package-being-installed> <version> `removing'
15
#          <conflicting-package> <version>
16
# for details, see http://www.debian.org/doc/debian-policy/ or
17
# the debian-policy package
18
19
20
case "$1" in
21
    remove|upgrade|deconfigure)
22
        ;;
23
    failed-upgrade)
24
        ;;
25
    *)
26
        echo "prerm called with unknown argument \`$1'" >&2
27
        exit 1
28
    ;;
29
esac
30
31
# dh_installdeb will replace this with shell code automatically
32
# generated by other debhelper scripts.
33
34
#DEBHELPER#
35
36
exit 0
37
38
39
++ ctn-3.0.6/debian/test-endian.c
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/watch
1
#include <stdio.h>
2
3
main()
4
{
5
  unsigned int i = 1 + (256 * 2) + (256*256 * 3) + (256*256*256 * 4);
6
  unsigned char* p = (unsigned char*) &i;
7
8
  if (*p == 1 && *(p+1) == 2 && *(p+2) == 3 && *(p+3) == 4) {
9
    printf("LITTLE_ENDIAN_ARCHITECTURE\n");
10
    exit (0);
11
  }
12
  else if (*p == 4 && *(p+1) == 3 && *(p+2) == 2 && *(p+3) == 1) {
13
    printf ("BIG_ENDIAN_ARCHITECTURE\n");
14
    exit (0);
15
  }
16
17
  printf ("UNKNOWN_ENDIAN_ARCHITECTURE\n");
18
  exit(1);
19
}
20
21
  
22
++ ctn-3.0.6/debian/watch
Line 0 Link Here
0
-- ctn-3.0.6.orig/debian/changelog
1
version=2
2
ftp://ftp.erl.wustl.edu/pub/dicom/software/ctn/ctn-(.*)\.zip
3
++ ctn-3.0.6/debian/changelog
Line 0 Link Here
0
-- ctn-3.0.6.orig/libsrc/Makefile
1
ctn (3.0.6-12) unstable; urgency=low
2
3
  * Do not bail out if libsrc symlinks already exist, since this
4
    can cause problems in some build order.
5
  * Minor packaging cleanups.
6
7
 -- Thijs Kinkhorst <thijs@debian.org>  Thu, 26 Jul 2007 14:15:04 +0200
8
9
ctn (3.0.6-11) unstable; urgency=low
10
11
  [ Charles Plessy ]
12
  * Fixed subversion repository declaration in debian/control.
13
14
  [ Thijs Kinkhorst ]
15
  * Replace deprecated ${Source-Version} with ${binary:Version}.
16
17
 -- Thijs Kinkhorst <thijs@debian.org>  Mon, 18 Jun 2007 10:36:21 +0200
18
19
ctn (3.0.6-10) unstable; urgency=medium
20
21
  * Fixing build on 64bit platforms and providing *INT preprocessor
22
    definitions for the applications built using ctn-dev.
23
    Patch by Yaroslav Halchenko, thanks! (Closes: 387183)
24
25
 -- Thijs Kinkhorst <thijs@debian.org>  Sat, 27 Jan 2007 19:23:09 +0100
26
27
ctn (3.0.6-9) unstable; urgency=low
28
29
  * Acknowledge NMU (Closes: #388612), thanks Steinar Gunderson!
30
  * Add Subversion repository URL to debian/control.
31
  * Add note to README.Debian about LONGSIZE on 64 bit platforms,
32
    courtesy Michael Hanke.
33
34
 -- Thijs Kinkhorst <thijs@debian.org>  Sun, 24 Sep 2006 13:25:00 +0200
35
36
ctn (3.0.6-8.1) unstable; urgency=medium
37
38
  * Non-maintainer upload.
39
  * In the LONG_WORD structure, always use unsigned int since we want a 32-bit
40
    variable, and int is 32 bits on all platforms supported by Debian (it used
41
    to be unsigned long for all platforms except alpha, which broke on
42
    platforms such as ppc64 and amd64). (Closes: #387183)
43
  * Build-depend on lesstif2-dev instead of lesstif-dev, since the latter is
44
    obsolete.
45
46
 -- Steinar H. Gunderson <sesse@debian.org>  Thu, 21 Sep 2006 15:40:02 +0200
47
48
ctn (3.0.6-8) unstable; urgency=low
49
50
  * Add Steve M. Robbins as a co-maintainer.
51
  * Clarify description.
52
  * Remove unneeded cruft from debian/rules.
53
  * Update maintainer address.
54
  * Checked for standards-version 3.7.2, no changes necessary.
55
56
 -- Thijs Kinkhorst <thijs@debian.org>  Wed,  5 Jul 2006 15:11:40 +0200
57
58
ctn (3.0.6-7) unstable; urgency=low
59
60
  * Update to libmysqlclient15-dev (Closes: #343763).
61
62
  * Add README.mysql-versions with some explanation about ctn not working
63
    with MySQL 4.1+ yet.
64
65
 -- Thijs Kinkhorst <kink@squirrelmail.org>  Thu, 29 Dec 2005 16:05:16 +0100
66
67
ctn (3.0.6-6) unstable; urgency=low
68
69
  * Change build-dependency on xlibs-dev to libx11-dev,
70
    libxt-dev, x-dev since xlibs-dev is going away.
71
72
  * Upgrade debhelper compatibility to the recommended level 5.
73
  
74
  * Clean debian/rules of commented-out commands. 
75
76
 -- Thijs Kinkhorst <kink@squirrelmail.org>  Tue, 13 Dec 2005 23:32:21 +0100
77
78
ctn (3.0.6-5) unstable; urgency=low
79
80
  * Fix test-endian.c for 64-bit big endian architectures, thanks
81
    Andreas Jochens (Closes: #319514).
82
83
 -- Thijs Kinkhorst <kink@squirrelmail.org>  Tue, 26 Jul 2005 00:01:41 +0200
84
85
ctn (3.0.6-4) unstable; urgency=high
86
87
  * Fix incorrect dependencies by using dh_shlibdeps.
88
    (RC, high urgency. Closes: #317985)
89
  * Add watch file.
90
  * Update Standards-Version to 3.6.2, no changes required.
91
92
 -- Thijs Kinkhorst <kink@squirrelmail.org>  Wed, 13 Jul 2005 19:11:33 +0200
93
94
ctn (3.0.6-3) unstable; urgency=low
95
96
  * New maintainer, deorphans package. (Closes: #297419)
97
98
 -- Thijs Kinkhorst <kink@squirrelmail.org>  Mon,  7 Mar 2005 21:52:54 +0100
99
100
ctn (3.0.6-2) unstable; urgency=low
101
102
  * Orphan as in bug #297419
103
  * Update to libmysqlclient14
104
105
 -- Kevin M. Rosenberg <kmr@debian.org>  Sat,  5 Mar 2005 02:53:17 -0700
106
107
ctn (3.0.6-1) unstable; urgency=low
108
109
  * New upstream
110
111
 -- Kevin M. Rosenberg <kmr@debian.org>  Fri, 29 Aug 2003 01:05:50 -0600
112
113
ctn (3.0.5-2) unstable; urgency=low
114
115
  * Change priority to extra 
116
117
 -- Kevin M. Rosenberg <kmr@debian.org>  Fri, 31 Jan 2003 13:30:53 -0700
118
119
ctn (3.0.5-1) unstable; urgency=low
120
121
  * New upstream
122
  * Compile with gcc-3.2
123
  * Update standards-version to 3.5.8.0: move changes compared to upstream
124
  from copyright to README.Debian
125
126
 -- Kevin M. Rosenberg <kmr@debian.org>  Fri, 24 Jan 2003 04:03:12 -0700
127
128
ctn (3.0.4-8) unstable; urgency=low
129
130
  * Add default manpage.
131
132
 -- Kevin M. Rosenberg <kmr@debian.org>  Wed, 25 Sep 2002 11:01:54 -0600
133
134
ctn (3.0.4-7) unstable; urgency=low
135
136
  * Update e-mail address
137
  * Update Standards Version
138
  * Add man page for dcm_resize
139
  
140
 -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 11 Aug 2002 23:53:31 -0600
141
142
ctn (3.0.4-6) unstable; urgency=low
143
144
  * Fix bug in upstream Makefile
145
  
146
  * Reformat debian/copyright
147
148
 -- Kevin M. Rosenberg <kmr@debian.org>  Sun,  7 Jul 2002 06:39:09 -0600
149
150
ctn (3.0.4-5) unstable; urgency=low
151
152
  * Added info to copyright file, README.Debian, and description
153
  
154
  * Added undocumented manpages for remaining CTN binaries so
155
  they can be included in the package. Removed notes about
156
  only a minority of the binary programs being installed.
157
158
  * Put shell scripts in /usr/share/ctn/examples/ directory
159
  
160
 -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 27 Jun 2002 00:36:27 -0600
161
162
ctn (3.0.4-4) unstable; urgency=low
163
164
  * Added zlib1g-dev as a build dependency (closes: 151067)
165
166
  * debhelper V4
167
  
168
  * Added bison to build dependencies
169
  
170
 -- Kevin M. Rosenberg <kmr@debian.org>  Wed, 26 Jun 2002 15:04:04 -0600
171
172
ctn (3.0.4-3) unstable; urgency=low
173
174
  * Update copyright file (closes: 150728)
175
176
 -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 24 Jun 2002 22:23:50 -0600
177
178
ctn (3.0.4-2) unstable; urgency=low
179
180
  * Moved the "csh | c-shell" dependency to correct line (closes: 150902)
181
182
 -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 24 Jun 2002 18:13:26 -0600
183
184
ctn (3.0.4-1) unstable; urgency=low
185
186
  * New upstream version
187
188
  * Added ctn-doc as a Suggest: control field for ctn and ctn-dev
189
  
190
  * Rewrite csh scripts to use bash
191
  
192
  * Changed build-dependencies in control file (closes: 149194)
193
194
 -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 20 Jun 2002 04:40:07 -0600
195
196
ctn (3.0.3-1) unstable; urgency=low
197
198
  * Patched upstream files for Debian: removed runtime dependencies on
199
    environment variable CTN_TARGET. Use default default, standard Debian
200
    directory if CTN_TARGET is not specified at run-time.
201
202
  * Started writing manual pages for the CTN binaries.
203
  
204
  * Initial upload. (closes: #145878)
205
206
 -- Kevin M. Rosenberg <kmr@debian.org>  Sun,  5 May 2002 06:07:24 -0600
207
208
++ ctn-3.0.6/libsrc/Makefile
Lines 25-31 Link Here
25
OBJS = $(BASE_OBJS) $(TBL_DB) tblcond.o idb.o idbcond.o
25
OBJS = $(BASE_OBJS) $(TBL_DB) tblcond.o idb.o idbcond.o
26
OBJS_MBCTN = $(BASE_OBJS) dicom_chr.o $(TBLMB_DB) tblmbcond.o idbmb.o idbmbcond.o xutl_mb.o
26
OBJS_MBCTN = $(BASE_OBJS) dicom_chr.o $(TBLMB_DB) tblmbcond.o idbmb.o idbmbcond.o xutl_mb.o
27
27
28
BASE_HEADER_FILES = cfg.h condition.h ctn_os.h ctnthread.h dbquery.h decode.h dicom.h \
28
BASE_HEADER_FILES = cfg.h condition.h ctn_os.h ctnthread.h dbquery.h decode.h dicom.h intsizes.h \
29
dicom_ddr.h dicom_ie.h dicom_irs.h dicom_messages.h \
29
dicom_ddr.h dicom_ie.h dicom_irs.h dicom_messages.h \
30
dicom_objects.h dicom_platform.h dicom_print.h dicom_services.h \
30
dicom_objects.h dicom_platform.h dicom_print.h dicom_services.h \
31
dicom_sq.h dicom_uids.h dulfsm.h dulprotocol.h dulsnoop.h \
31
dicom_sq.h dicom_uids.h dulfsm.h dulprotocol.h dulsnoop.h \
Lines 34-41 Link Here
34
tbl_msql.h tbl_psql.h tbl_sqlserver.h tbl_sybase.h tbl_ufs.h \
34
tbl_msql.h tbl_psql.h tbl_sqlserver.h tbl_sybase.h tbl_ufs.h \
35
utility.h xutl.h
35
utility.h xutl.h
36
36
37
HEADER_FILES = $(BASE_HEADER_FILES) tbl.h tbl_msql.h tbl_psql.h tbl_sqlserver.h\
37
HEADER_FILES = $(BASE_HEADER_FILES) 
38
tbl_sybase.h tbl_ufs.h
38
# KMR -- removed these files since BASE_HEADER_FILES has them in their
39
# tbl.h tbl_msql.h tbl_psql.h tbl_sqlserver.h tbl_sybase.h tbl_ufs.h
39
40
40
HEADER_FILES_MBCTN = $(BASE_HEADER_FILES) dicom_chr.h idbmb.h tblmb.h tblmb_psql.h
41
HEADER_FILES_MBCTN = $(BASE_HEADER_FILES) dicom_chr.h idbmb.h tblmb.h tblmb_psql.h
41
42
42
-- ctn-3.0.6.orig/libsrc/Makefile.psql
43
++ ctn-3.0.6/libsrc/Makefile.psql
Lines 24-30 Link Here
24
OBJS = $(BASE_OBJS) tbl_psql.o tblcond.o idb.o idbcond.o
24
OBJS = $(BASE_OBJS) tbl_psql.o tblcond.o idb.o idbcond.o
25
OBJS_MBCTN = $(BASE_OBJS) dicom_chr.o tblmb_psql.o tblmbcond.o idbmb.o idbmbcond.o xutl_mb.o
25
OBJS_MBCTN = $(BASE_OBJS) dicom_chr.o tblmb_psql.o tblmbcond.o idbmb.o idbmbcond.o xutl_mb.o
26
26
27
BASE_HEADER_FILES = cfg.h condition.h ctn_os.h ctnthread.h dbquery.h decode.h dicom.h \
27
BASE_HEADER_FILES = cfg.h condition.h ctn_os.h ctnthread.h dbquery.h decode.h dicom.h intsizes.h \
28
dicom_ddr.h dicom_ie.h dicom_irs.h dicom_messages.h \
28
dicom_ddr.h dicom_ie.h dicom_irs.h dicom_messages.h \
29
dicom_objects.h dicom_platform.h dicom_print.h dicom_services.h \
29
dicom_objects.h dicom_platform.h dicom_print.h dicom_services.h \
30
dicom_sq.h dicom_uids.h dulfsm.h dulprotocol.h dulsnoop.h \
30
dicom_sq.h dicom_uids.h dulfsm.h dulprotocol.h dulsnoop.h \

Return to bug 204469