Package: skycat / 3.1.2+starlink1~b+dfsg-7

Metadata

Package Version Patches format
skycat 3.1.2+starlink1~b+dfsg-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Fix build problems.patch | (download)

astrotcl/aclocal.m4 | 7 5 + 2 - 0 !
rtd/Makefile.in | 15 9 + 6 - 0 !
rtd/configure.in | 2 1 + 1 - 0 !
rtd/generic/tkCanvasPsImage.c | 7 5 + 2 - 0 !
4 files changed, 20 insertions(+), 11 deletions(-)

 fix build problems.

Adopted from the Mageia package.

Use standard BLT.patch | (download)

cat/library/AstroImage.tcl | 6 3 + 3 - 0 !
cat/library/AstroQuery.tcl | 8 4 + 4 - 0 !
rtd/library/RtdImageBias.tcl | 14 7 + 7 - 0 !
rtd/library/RtdImageCut.tcl | 4 2 + 2 - 0 !
rtd/library/RtdImageHduChooser.tcl | 2 1 + 1 - 0 !
rtd/library/RtdImagePanel.tcl | 30 15 + 15 - 0 !
rtd/library/RtdImagePick2.tcl | 24 12 + 12 - 0 !
rtd/library/RtdImagePickView.tcl | 2 1 + 1 - 0 !
rtd/library/RtdImagePixTable.tcl | 6 3 + 3 - 0 !
rtd/library/RtdImagePrint.tcl | 2 1 + 1 - 0 !
rtd/library/RtdRecorder.tcl | 8 4 + 4 - 0 !
tclutil/aclocal.m4 | 4 2 + 2 - 0 !
tclutil/library/Batch.tcl | 5 1 + 4 - 0 !
tclutil/library/CanvasDraw.tcl | 2 1 + 1 - 0 !
tclutil/library/EntryForm.tcl | 10 5 + 5 - 0 !
tclutil/library/GraphPrint.tcl | 7 6 + 1 - 0 !
tclutil/library/LabelCheck.tcl | 4 2 + 2 - 0 !
tclutil/library/LabelChoice.tcl | 4 2 + 2 - 0 !
18 files changed, 72 insertions(+), 70 deletions(-)

 use standard blt.

This reverts patch 4b228b...1d3dea on github.

Change the paths so that they correspond to the FHS.patch | (download)

astrotcl/Makefile.in | 10 6 + 4 - 0 !
astrotcl/configure.in | 2 1 + 1 - 0 !
cat/Makefile.in | 10 6 + 4 - 0 !
rtd/Makefile.in | 18 10 + 8 - 0 !
rtd/rtd.in | 12 4 + 8 - 0 !
skycat/Makefile.in | 16 9 + 7 - 0 !
skycat/configure.in | 4 2 + 2 - 0 !
skycat/skycat.in | 12 4 + 8 - 0 !
tclconfig/tcl.m4 | 7 4 + 3 - 0 !
tclutil/Makefile.in | 10 6 + 4 - 0 !
tclutil/configure.in | 2 1 + 1 - 0 !
11 files changed, 53 insertions(+), 50 deletions(-)

 change the paths so that they correspond to the fhs.

Also remove the "-star" suffix from the executable.

Use the system libwcstools instead of the convienience co.patch | (download)

astrotcl/configure.in | 8 4 + 4 - 0 !
astrotcl/generic/FitsIO.C | 3 0 + 3 - 0 !
2 files changed, 4 insertions(+), 7 deletions(-)

 use the system libwcstools instead of the convienience copy


Configure shared libs for hurd i386 and kfreeBSD correctl.patch | (download)

tclconfig/tcl.m4 | 16 8 + 8 - 0 !
tclutil/generic/Mem_Map.h | 5 5 + 0 - 0 !
2 files changed, 13 insertions(+), 8 deletions(-)

 configure shared libs for hurd-i386 and kfreebsd-* correctly.

Also, define the obsolete "MAXPATHLEN" on hurd.

Remove Tclx dependency.patch | (download)

astrotcl/library/AstrotclInit.tcl | 2 1 + 1 - 0 !
cat/library/AstroCat.tcl | 2 1 + 1 - 0 !
cat/library/AstroImage.tcl | 2 1 + 1 - 0 !
cat/library/CatInit.tcl | 2 1 + 1 - 0 !
rtd/library/Rtd.tcl | 2 1 + 1 - 0 !
rtd/library/RtdImageBias.tcl | 6 6 + 0 - 0 !
rtd/library/RtdImageFitsHeader.tcl | 10 6 + 4 - 0 !
rtd/library/RtdImageHduChooser.tcl | 3 2 + 1 - 0 !
rtd/library/RtdImagePerf.tcl | 1 1 + 0 - 0 !
rtd/library/RtdImagePick2.tcl | 3 2 + 1 - 0 !
rtd/library/RtdInit.tcl | 2 1 + 1 - 0 !
rtd/library/tRtd.tcl | 1 1 + 0 - 0 !
rtd/util/rmipc.tcl | 2 1 + 1 - 0 !
skycat/library/SkycatInit.tcl | 4 3 + 1 - 0 !
tclutil/library/Batch.tcl | 5 3 + 2 - 0 !
tclutil/library/TclutilInit.tcl | 3 1 + 2 - 0 !
tclutil/library/canvastext.tcl | 4 2 + 2 - 0 !
tclutil/library/itcldoc.tcl | 1 0 + 1 - 0 !
tclutil/library/list.tcl | 6 6 + 0 - 0 !
19 files changed, 40 insertions(+), 21 deletions(-)

 remove tclx dependency

The package seems to have only little dependencies of tclx. Since Tclx
is not available for tcl8.6 and up, the dependency is removed. To get
the "fork" call, we additionally need the "expect" package.

Replace iqefunc.c with a version that does not need NR co.patch | (download)

rtd/generic/ImageData.C | 2 1 + 1 - 0 !
rtd/generic/iqefunc.c | 222 162 + 60 - 0 !
rtd/generic/mpfit.c | 2292 2292 + 0 - 0 !
rtd/generic/mpfit.h | 197 197 + 0 - 0 !
4 files changed, 2652 insertions(+), 61 deletions(-)

 replace iqefunc.c with a version that does not need nr code

This patch replaces iqefunc.c by the version from ESO-MIDAS 15SEPpl1.0
Remove lines that lead to crash with ImageBias.patch | (download)

rtd/library/RtdImageBias.tcl | 6 0 + 6 - 0 !
1 file changed, 6 deletions(-)

 remove lines that lead to crash with imagebias

This is a *very* pragmatic workaround: it is unclear why the crash happens

Use Tcl Tk stubs.patch | (download)

astrotcl/configure.in | 4 2 + 2 - 0 !
astrotcl/generic/Astrotcl.C | 5 5 + 0 - 0 !
cat/configure.in | 4 2 + 2 - 0 !
cat/generic/TclAstroCat.C | 7 7 + 0 - 0 !
rtd/configure.in | 4 2 + 2 - 0 !
rtd/generic/RtdImage.C | 5 5 + 0 - 0 !
skycat/configure.in | 4 2 + 2 - 0 !
skycat/generic/Skycat.C | 5 5 + 0 - 0 !
tclconfig/tcl.m4 | 4 2 + 2 - 0 !
tclutil/generic/Tclutil.C | 5 5 + 0 - 0 !
10 files changed, 37 insertions(+), 10 deletions(-)

 use tcl/tk stubs

This will allow one to make skycat independent of the Tcl version once BLT
uses stubs as well (which is not the case in the moment).

rtd Don t use zero character as null pointer.patch | (download)

rtd/generic/BiasData.C | 2 1 + 1 - 0 !
rtd/generic/RtdPerf.C | 26 13 + 13 - 0 !
rtd/rtdevt/rtdCLNT.C | 2 1 + 1 - 0 !
3 files changed, 15 insertions(+), 15 deletions(-)

 don't use zero character as null pointer in rtd

This is to avoid a compiler error about a char having been
used in place of a char*.

Replace byte by unsigned char.patch | (download)

rtd/generic/ByteImageData.C | 2 1 + 1 - 0 !
rtd/generic/ByteImageData.h | 22 11 + 11 - 0 !
rtd/generic/DoubleImageData.h | 2 1 + 1 - 0 !
rtd/generic/FloatImageData.h | 2 1 + 1 - 0 !
rtd/generic/ImageData.h | 3 1 + 2 - 0 !
rtd/generic/ImageTemplates.icc | 18 9 + 9 - 0 !
rtd/generic/LongImageData.h | 2 1 + 1 - 0 !
rtd/generic/LongLongImageData.h | 2 1 + 1 - 0 !
rtd/generic/LookupTable.h | 2 0 + 2 - 0 !
rtd/generic/ShortImageData.h | 2 1 + 1 - 0 !
rtd/generic/UShortImageData.h | 2 1 + 1 - 0 !
rtd/generic/XImageData.C | 4 2 + 2 - 0 !
rtd/generic/XImageData.h | 24 12 + 12 - 0 !
13 files changed, 42 insertions(+), 45 deletions(-)

 replace byte by unsigned char

byte is already defined as std:byte