debian/0000755000000000000000000000000012262743473007200 5ustar debian/README.source0000644000000000000000000000014112262741057011347 0ustar The patch patches/rename_library.sh is created with the script create_patches_rename_library.sh. debian/watch0000644000000000000000000000021012262741057010216 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://www.starlink.ac.uk/download/ast/ast-(.+)\.tar\.gz \ debian \ debian/repack-dfsg.sh debian/libstarlink-ast-grf3d0.install0000644000000000000000000000004512262741057014751 0ustar usr/lib/*/libstarlink_ast_grf3d.so.* debian/patches/0000755000000000000000000000000012262741057010623 5ustar debian/patches/series0000644000000000000000000000011712262741057012037 0ustar rename_library use_std_automake.patch use_external_pal.patch use_liberfa.patch debian/patches/rename_library0000644000000000000000000002133112262741057013541 0ustar Author: Ole Streicher Last-Update: 2012-05-10 Description: "ast" is a quite short name for a library that is so specific as this one. Therefore, and for consistency with the "pal" library, "ast" is prefixed by the vendor name "starlink". . This patch can be re-created by running debian/create_patches_rename_library.sh on the freshly unpacked source tarball. --- a/Makefile.am +++ b/Makefile.am @@ -235,7 +235,7 @@ # The following list should include AST_PAR, but that must not be # distributed, and so it is listed separately in -# nodist_libast_la_SOURCES below. +# nodist_libstarlink_ast_la_SOURCES below. GRP_F_INCLUDE_FILES = \ GRF_PAR \ AST_ERR @@ -544,21 +544,21 @@ if EXTERNAL_PAL PAL_LIB = else -PAL_LIB = libast_pal.la +PAL_LIB = libstarlink_ast_pal.la endif lib_LTLIBRARIES = \ $(PAL_LIB) \ - libast.la \ - libast_err.la \ - libast_ems.la \ - libast_drama.la \ - libast_grf3d.la \ - libast_grf_2.0.la \ - libast_grf_3.2.la \ - libast_grf_5.6.la \ - libast_pgplot.la \ - libast_pgplot3d.la + libstarlink_ast.la \ + libstarlink_ast_err.la \ + libstarlink_ast_ems.la \ + libstarlink_ast_drama.la \ + libstarlink_ast_grf3d.la \ + libstarlink_ast_grf_2.0.la \ + libstarlink_ast_grf_3.2.la \ + libstarlink_ast_grf_5.6.la \ + libstarlink_ast_pgplot.la \ + libstarlink_ast_pgplot3d.la stardocs_DATA = @STAR_LATEX_DOCUMENTATION@ dist_starnews_DATA = ast.news @@ -573,31 +573,31 @@ if !NOTHREADS if !NOPIC -libast_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -DTHREAD_SAFE +libstarlink_ast_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -DTHREAD_SAFE else -libast_la_CFLAGS = $(AM_CFLAGS) -DTHREAD_SAFE +libstarlink_ast_la_CFLAGS = $(AM_CFLAGS) -DTHREAD_SAFE endif else -libast_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_la_CFLAGS = $(AM_CFLAGS) -prefer-pic endif if !NOPIC -libast_err_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_ems_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_drama_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_grf3d_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_grf_2_0_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_grf_3_2_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_grf_5_6_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_pgplot_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_pgplot3d_la_CFLAGS = $(AM_CFLAGS) -prefer-pic -libast_pal_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_err_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_ems_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_drama_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_grf3d_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_grf_2_0_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_grf_3_2_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_grf_5_6_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_pgplot_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_pgplot3d_la_CFLAGS = $(AM_CFLAGS) -prefer-pic +libstarlink_ast_pal_la_CFLAGS = $(AM_CFLAGS) -prefer-pic endif # The module containing the main AST classes -libast_la_SOURCES = \ +libstarlink_ast_la_SOURCES = \ $(GRP_C_ROUTINES) \ $(GRP_C_INCLUDE_FILES) \ $(GRP_F_INCLUDE_FILES) \ @@ -605,55 +605,55 @@ $(WCSLIB_FILES) \ ast_err.h -# Ensure libast links against libraries containing functions used within -# libast. If AST is configured --with-external-pal, then the internal -# libast_pal library will be empty, and we link to an external PAL +# Ensure libstarlink_ast links against libraries containing functions used within +# libstarlink_ast. If AST is configured --with-external-pal, then the internal +# libstarlink_ast_pal library will be empty, and we link to an external PAL # library instead. if EXTERNAL_PAL -libast_la_LIBADD = $(libdir)/libpal.la +libstarlink_ast_la_LIBADD = $(libdir)/libpal.la else -libast_la_LIBADD = libast_pal.la +libstarlink_ast_la_LIBADD = libstarlink_ast_pal.la endif # AST_PAR is really part of GRP_F_INCLUDE_FILES, but it must not be # distributed, so list it separately. -nodist_libast_la_SOURCES = \ +nodist_libstarlink_ast_la_SOURCES = \ ast.h \ AST_PAR # The default error reporting module. -libast_err_la_SOURCES = err_null.c +libstarlink_ast_err_la_SOURCES = err_null.c # The error reporting module that uses EMS to deliver errors. -libast_ems_la_SOURCES = err_ems.c +libstarlink_ast_ems_la_SOURCES = err_ems.c # The error reporting module that uses DRAMA Ers to deliver errors. -libast_drama_la_SOURCES = err_drama.c +libstarlink_ast_drama_la_SOURCES = err_drama.c # The module containing null implementations of the 3D graphics routines # required by AST -libast_grf3d_la_SOURCES = grf3d.c +libstarlink_ast_grf3d_la_SOURCES = grf3d.c # The module containing null implementations of the graphics routines # required by AST V2.0 -libast_grf_2_0_la_SOURCES = grf_2.0.c +libstarlink_ast_grf_2_0_la_SOURCES = grf_2.0.c # The module containing null implementations of the graphics routines # added by AST V3.2 and not present in V2.0 -libast_grf_3_2_la_SOURCES = grf_3.2.c +libstarlink_ast_grf_3_2_la_SOURCES = grf_3.2.c # The module containing null implementations of the graphics routines # added by AST V5.6 and not present in V3.2 -libast_grf_5_6_la_SOURCES = grf_5.6.c +libstarlink_ast_grf_5_6_la_SOURCES = grf_5.6.c # The graphics module that uses PGPLOT for 2D graphical output. -libast_pgplot_la_SOURCES = grf_pgplot.c +libstarlink_ast_pgplot_la_SOURCES = grf_pgplot.c # The graphics module that uses PGPLOT for 3D graphical output. -libast_pgplot3d_la_SOURCES = grf3d_pgplot.c +libstarlink_ast_pgplot3d_la_SOURCES = grf3d_pgplot.c # Positional astronomy libraries. -libast_pal_la_SOURCES = $(PAL_FILES) +libstarlink_ast_pal_la_SOURCES = $(PAL_FILES) # The following files are built by the targets in this makefile. MAINTAINERCLEANFILES = version.h builddocs addversion \ @@ -707,24 +707,24 @@ # Form a second link to the main object library (static and shared). This # is used when a second pass through the library is needed during linking # to resolve references made within other AST libraries (e.g. the grf -# modules, etc), to functions defined within libast (e.g. memory management +# modules, etc), to functions defined within libstarlink_ast (e.g. memory management # and error reporting functions). Do not forget to change the contents of -# the libast_pass2.la file to refer to libast_pass2.* rather than libast.*. +# the libstarlink_ast_pass2.la file to refer to libstarlink_ast_pass2.* rather than libstarlink_ast.*. # Use target install-exec-hook rather than install-exec-local so that the # soft links and files are created *after* the main library has been # installed. -install-exec-hook: libast.la +install-exec-hook: libstarlink_ast.la $(mkdir_p) $(DESTDIR)$(libdir) cd $(DESTDIR)$(libdir); \ - for f in `ls libast.*`; do \ - ff=`echo $$f | sed -e 's/libast/libast_pass2/'`; \ + for f in `ls libstarlink_ast.*`; do \ + ff=`echo $$f | sed -e 's/libstarlink_ast/libstarlink_ast_pass2/'`; \ if test -f "$$ff"; then rm "$$ff"; fi; \ $(LN_S) $$f $$ff; \ $(MANIFEST) && echo "MANIFEST:$(DESTDIR)$(libdir)/$$ff" || :; \ done; \ - if test -f "libast.la"; then \ - if test -f "libast_pass2.la"; then rm "libast_pass2.la"; fi; \ - sed -e 's/libast\./libast_pass2\./g' libast.la > libast_pass2.la; \ + if test -f "libstarlink_ast.la"; then \ + if test -f "libstarlink_ast_pass2.la"; then rm "libstarlink_ast_pass2.la"; fi; \ + sed -e 's/libstarlink_ast\./libstarlink_ast_pass2\./g' libstarlink_ast.la > libstarlink_ast_pass2.la; \ fi # Make pre-distribution files. These are files which are required for @@ -760,5 +760,5 @@ ast_test_SOURCES = ast_test.c #ast_test_LDADD = `ast_link` -# Expand ast_link to avoid libast_pass2, which causes problems for Solaris -ast_test_LDADD = @LIBPAL@ libast.la libast_pal.la libast_grf_3.2.la libast_grf_5.6.la libast_grf_2.0.la libast_grf3d.la libast_err.la -lm +# Expand ast_link to avoid libstarlink_ast_pass2, which causes problems for Solaris +ast_test_LDADD = @LIBPAL@ libstarlink_ast.la libstarlink_ast_pal.la libstarlink_ast_grf_3.2.la libstarlink_ast_grf_5.6.la libstarlink_ast_grf_2.0.la libstarlink_ast_grf3d.la libstarlink_ast_err.la -lm --- a/ast.news +++ b/ast.news @@ -163,7 +163,7 @@ Main Changes in V7.0.2 ---------------------- -- The libast_pal library is no longer built if the "--with-external_pal" +- The libstarlink_ast_pal library is no longer built if the "--with-external_pal" option is used when AST is configured. @@ -171,7 +171,7 @@ ---------------------- - The levmar and wcslib code distributed within AST is now stored in the -main AST library (libast.so) rather than in separate libraries. +main AST library (libstarlink_ast.so) rather than in separate libraries. Main Changes in V7.0.0 debian/patches/use_std_automake.patch0000644000000000000000000001004512262741057015200 0ustar Author: Ole Streicher Description: Do not depend on the starlink's automake, but use their macro file together with the standard automake --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,11 @@ dnl Require autoconf-2.50 at least AC_PREREQ(2.50) dnl Require Starlink automake -AM_INIT_AUTOMAKE(1.8.2-starlink) +AM_INIT_AUTOMAKE([foreign]) + +# Comment out predistribution sources in Makefile.am +PREDIST='#' # safe default +AC_SUBST(PREDIST) dnl Sanity-check: name a file in the source directory AC_CONFIG_SRCDIR([ast_link.in]) @@ -107,6 +111,7 @@ # ast_link needs to be able to link against the Fortran runtime if # necessary +AC_PROG_FC AC_FC_LIBRARY_LDFLAGS # Find an absolute path to the Perl binary, augmenting the path with the @@ -175,7 +180,7 @@ # satisfy these targets, so give a non-null value # for the second argument, to suppress automatic generation of # rules. -STAR_LATEX_DOCUMENTATION([sun210 sun211], [sun210.pdf sun210.tex sun211.pdf sun211.tex sun210.htx_tar sun211.htx_tar]) +STAR_LATEX_DOCUMENTATION([sun211]) STAR_PREDIST_SOURCES(sun_master.tex) STAR_CHECK_PROGS(star2html) STAR_CHECK_PROGS(prolat, sst) # prolat is part of SST --- a/Makefile.am +++ b/Makefile.am @@ -560,9 +560,14 @@ libstarlink_ast_pgplot.la \ libstarlink_ast_pgplot3d.la -stardocs_DATA = @STAR_LATEX_DOCUMENTATION@ -dist_starnews_DATA = ast.news -dist_pkgdata_DATA = LICENCE +dist_pkgdata_DATA = @STARDOCS@.pdf @STARDOCS@/index.html +.tex.pdf: + pdflatex $^ && pdflatex $^ + +@STARDOCS@/index.html: @STARDOCS@.tex + latex2html -noaddress $^ + rm -f @STARDOCS@/@STARDOCS@.html @STARDOCS@/WARNINGS + # Make all library code position independent by default. This is handy for # creating shareable libraries from the static ones (Java JNI libraries). @@ -713,6 +718,7 @@ # Use target install-exec-hook rather than install-exec-local so that the # soft links and files are created *after* the main library has been # installed. +MANIFEST=/bin/true install-exec-hook: libstarlink_ast.la $(mkdir_p) $(DESTDIR)$(libdir) cd $(DESTDIR)$(libdir); \ --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1 +1,56 @@ -m4_define([OVERRIDE_PREFIX],[/usr/local]) +m4_define([OVERRIDE_PREFIX],[/usr/]) + +AC_DEFUN([STAR_DEFAULTS],[ + +# Create a PACKAGE_VERSION_INTEGER variable, which contains the +# package's version number as an integer major*1e6+minor*1e3+release. +eval [`echo $VERSION | sed -e 's/\([0-9]*\)[^0-9]*\([0-9]*\)[^0-9]*\([0-9]*\).*/PACKAGE_VERSION_MAJOR=\1; PACKAGE_VERSION_MINOR=\2; PACKAGE_VERSION_RELEASE=\3;/'`] +test -n "$PACKAGE_VERSION_MAJOR" || PACKAGE_VERSION_MAJOR=0 +test -n "$PACKAGE_VERSION_MINOR" || PACKAGE_VERSION_MINOR=0 +test -n "$PACKAGE_VERSION_RELEASE" || PACKAGE_VERSION_RELEASE=0 +PACKAGE_VERSION_INTEGER=`expr $PACKAGE_VERSION_MAJOR \* 1000000 + $PACKAGE_VERSION_MINOR \* 1000 + $PACKAGE_VERSION_RELEASE` +AC_SUBST(PACKAGE_VERSION_MAJOR) +AC_SUBST(PACKAGE_VERSION_MINOR) +AC_SUBST(PACKAGE_VERSION_RELEASE) +AC_SUBST(PACKAGE_VERSION_INTEGER) +]) + +# Dummy declaration of starlink intedependencies +AC_DEFUN([STAR_DECLARE_DEPENDENCIES], []) + +# Perform the check that configures f77.h.in for the return type of REAL +# Fortran functions. On 64-bit g77 with f2c compatibility this is double +# not float. +AC_DEFUN([STAR_CNF_F2C_COMPATIBLE], [ + AC_SUBST([REAL_FUNCTION_TYPE], double) +]) + +# Determine the type of Fortran character string lengths. +AC_DEFUN([STAR_CNF_TRAIL_TYPE], [ + AC_SUBST([TRAIL_TYPE], int) +]) + +# Declare the message file. +AC_DEFUN([STAR_MESSGEN], []) + +# Declare the documentation. +# For Debian, this must be explicitely set in the patched Makefile.am +# since we don't use Starlink's automake here. +AC_DEFUN([STAR_LATEX_DOCUMENTATION], [ + AC_SUBST([STARDOCS], [$1]) +]) + + +AC_DEFUN([STAR_PREDIST_SOURCES], []) + +AC_DEFUN([STAR_PLATFORM_SOURCES], [ +for _t in $1; do + (cd ${srcdir}; rm -f ${_t}; cp -p ${_t}default ${_t}) +done +]) + +# We ignor]e any starlinks programs here since we don' install the whole +# Starlink bootstrap chain. +AC_DEFUN([STAR_CHECK_PROGS], []) + + debian/patches/use_liberfa.patch0000644000000000000000000000251112262741057014123 0ustar Author: Ole Streicher Description: Replace calls of the IAU SOFA library by its truly open source pendand erfa. --- a/fitschan.c +++ b/fitschan.c @@ -1292,7 +1292,10 @@ #include "timeframe.h" #include "keymap.h" #include "pal.h" -#include "sofa.h" +#include "erfa.h" +#define iauGd2gc eraGd2gc +#define iauGd2gd eraGd2gd +#define iauGc2gd eraGc2gd #include "slamap.h" #include "specframe.h" #include "dsbspecframe.h" --- a/Makefile.am +++ b/Makefile.am @@ -613,7 +613,7 @@ # libstarlink_ast_pal library will be empty, and we link to an external PAL # library instead. if EXTERNAL_PAL -libstarlink_ast_la_LIBADD = @LIBPAL@ -lm +libstarlink_ast_la_LIBADD = @LIBPAL@ -lerfa -lm else libstarlink_ast_la_LIBADD = libstarlink_ast_pal.la endif --- a/xmlchan.c +++ b/xmlchan.c @@ -222,7 +222,9 @@ #include "object.h" /* Base Object class */ #include "wcsmap.h" /* Angular conversion constants */ #include "xml.h" /* AST XML facilities */ -#include "sofa.h" /* IAU SOFA functions */ +#include "erfa.h" +#define iauGd2gd eraGd2gd +#define iauGc2gd eraGc2gd #include "stcresourceprofile.h" /* IVOA StcResourceProfile class */ #include "stcsearchlocation.h" /* IVOA SearchLocation class */ #include "stccatalogentrylocation.h"/* IVOA CatalogEntryLocation class */ debian/patches/use_external_pal.patch0000644000000000000000000000353212262741057015201 0ustar Author: Ole Streicher Description: The external PAL library in Debian is called "starlink-pal". --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,7 @@ external_pal="0") AC_SUBST( EXTERNAL_PAL, $external_pal ) if test "$external_pal" = "1"; then - AC_SUBST( LIBPAL, "-lpal" ) + AC_SUBST( LIBPAL, "-lstarlink_pal" ) AC_DEFINE([EXTERNAL_PAL],[1],[use external PAL and SOFA libraries]), else AC_SUBST( LIBPAL, "" ) --- a/ast_link.in +++ b/ast_link.in @@ -338,7 +338,7 @@ # If we configured --with-external_pal include a link option to pick up # an external PAL library. - 1) args="${args} -lpal";; + 1) args="${args} @LIBPAL@";; # Otherwise, use the internal PAL & SOFA libraries. *) args="${args} -last_pal";; --- a/Makefile.am +++ b/Makefile.am @@ -551,8 +551,6 @@ $(PAL_LIB) \ libstarlink_ast.la \ libstarlink_ast_err.la \ - libstarlink_ast_ems.la \ - libstarlink_ast_drama.la \ libstarlink_ast_grf3d.la \ libstarlink_ast_grf_2.0.la \ libstarlink_ast_grf_3.2.la \ @@ -615,7 +613,7 @@ # libstarlink_ast_pal library will be empty, and we link to an external PAL # library instead. if EXTERNAL_PAL -libstarlink_ast_la_LIBADD = $(libdir)/libpal.la +libstarlink_ast_la_LIBADD = @LIBPAL@ -lm else libstarlink_ast_la_LIBADD = libstarlink_ast_pal.la endif @@ -767,4 +765,4 @@ #ast_test_LDADD = `ast_link` # Expand ast_link to avoid libstarlink_ast_pass2, which causes problems for Solaris -ast_test_LDADD = @LIBPAL@ libstarlink_ast.la libstarlink_ast_pal.la libstarlink_ast_grf_3.2.la libstarlink_ast_grf_5.6.la libstarlink_ast_grf_2.0.la libstarlink_ast_grf3d.la libstarlink_ast_err.la -lm +ast_test_LDADD = @LIBPAL@ libstarlink_ast.la libstarlink_ast_grf_3.2.la libstarlink_ast_grf_5.6.la libstarlink_ast_grf_2.0.la libstarlink_ast_grf3d.la libstarlink_ast_err.la -lm debian/libstarlink-ast-doc.doc-base0000644000000000000000000000113112262741057014435 0ustar Document: starlink-ast Title: AST - A Library for Handling World Coordinate Systems in Astronomy Author: R.F. Warren-Smith, D.S. Berry Section: Programming Abstract: The AST library provides a comprehensive range of facilities for attaching world coordinate systems to astronomical data, for retrieving and interpreting that information in a variety of formats, including FITS-WCS, and for generating graphical output based on it. Format: PDF Files: /usr/share/doc/*/sun???.pdf.gz Format: HTML Index: /usr/share/doc/libstarlink-ast-doc/index.html Files: /usr/share/doc/libstarlink-ast-doc/*.html debian/clean0000644000000000000000000000010512262741057010175 0ustar NEWS sun???.aux sun???.dvi sun???.log sun???.pdf sun???.toc sun???/* debian/libstarlink-ast0.dirs0000644000000000000000000000001012262741057013231 0ustar usr/lib debian/control0000644000000000000000000001113312262742735010602 0ustar Source: starlink-ast Priority: optional Maintainer: Debian Science Maintainers Uploaders: Ole Streicher Build-Depends: autotools-dev, debhelper (>= 9), dh-autoreconf, ghostscript, latex2html, liberfa-dev, libstarlink-pal-dev, perl (>= 5.18.1-5), texlive, texlive-font-utils Standards-Version: 3.9.5 Section: science Homepage: http://www.starlink.ac.uk/ast Vcs-Git: git://anonscm.debian.org/debian-science/packages/starlink-ast.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/starlink-ast.git Package: libstarlink-ast-dev Section: libdevel Architecture: any Depends: libstarlink-ast-err0(= ${binary:Version}), libstarlink-ast-grf3d0(= ${binary:Version}), libstarlink-ast0 (= ${binary:Version}), libstarlink-pal-dev, ${misc:Depends} Suggests: libstarlink-ast-doc Description: Handle World Coordinate Systems in Astronomy (development package) AST implements an object oriented model for describing physical coordinate systems, and the transformations that exist between them. . It provides a comprehensive range of facilities for attaching world coordinate systems (WCS) to astronomical data and for retrieving and manipulating that information. . It has built-in intelligence for identifying types of celestial, spectral, time and other coordinate systems (including compound systems that combine axes of different types) and determining how to transform between them. This allows general purpose code to be written that makes no assumptions about the nature of the coordinate systems. . This package contains the files needed for development. Package: libstarlink-ast0 Section: libs Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: Handle World Coordinate Systems in Astronomy (main shared lib) AST implements an object oriented model for describing physical coordinate systems, and the transformations that exist between them. . It provides a comprehensive range of facilities for attaching world coordinate systems (WCS) to astronomical data and for retrieving and manipulating that information. . It has built-in intelligence for identifying types of celestial, spectral, time and other coordinate systems (including compound systems that combine axes of different types) and determining how to transform between them. This allows general purpose code to be written that makes no assumptions about the nature of the coordinate systems. . This package contains the main shared library. Package: libstarlink-ast-grf3d0 Section: libs Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: Handle World Coordinate Systems in Astronomy (dummy 3d routines) AST implements an object oriented model for describing physical coordinate systems, and the transformations that exist between them. . This package contains the default (dummy) 3d graphics shared library. This library resolves all 3d graphics calls and reports an error if they are called. Package: libstarlink-ast-err0 Section: libs Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: Handle World Coordinate Systems in Astronomy (error reporting) AST implements an object oriented model for describing physical coordinate systems, and the transformations that exist between them. . This package contains the defaulf error reporting shared library. All error messages are printed to stderr. Package: libstarlink-ast-doc Section: doc Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: Handle World Coordinate Systems in Astronomy (documentation) AST implements an object oriented model for describing physical coordinate systems, and the transformations that exist between them. . It provides a comprehensive range of facilities for attaching world coordinate systems (WCS) to astronomical data and for retrieving and manipulating that information. . It has built-in intelligence for identifying types of celestial, spectral, time and other coordinate systems (including compound systems that combine axes of different types) and determining how to transform between them. This allows general purpose code to be written that makes no assumptions about the nature of the coordinate systems. . This package contains the HTML and PDF documentation. debian/source/0000755000000000000000000000000012262741057010474 5ustar debian/source/format0000644000000000000000000000001412262741057011702 0ustar 3.0 (quilt) debian/libstarlink-ast-err0.install0000644000000000000000000000004312262741057014532 0ustar usr/lib/*/libstarlink_ast_err.so.* debian/libstarlink-ast-dev.install0000644000000000000000000000042212262741057014441 0ustar usr/include/* usr/lib/*/libstarlink_ast.a usr/lib/*/libstarlink_ast.so usr/lib/*/libstarlink_ast_err.a usr/lib/*/libstarlink_ast_err.so usr/lib/*/libstarlink_ast_grf3d.a usr/lib/*/libstarlink_ast_grf3d.so usr/lib/*/libstarlink_ast_pass2.a usr/lib/*/libstarlink_ast_pass2.so debian/compat0000644000000000000000000000000212262741057010372 0ustar 9 debian/changelog0000644000000000000000000000402612262743006011044 0ustar starlink-ast (7.3.3+dfsg-1) unstable; urgency=low * New upstream version * Push standards version to 3.9.5 (no change needed) -- Ole Streicher Tue, 07 Jan 2014 10:00:48 +0100 starlink-ast (7.3.2+dfsg-3) unstable; urgency=low * Set minimal perl release to fix FTBS caused by bug #731365 -- Ole Streicher Fri, 13 Dec 2013 08:57:45 +0100 starlink-ast (7.3.2+dfsg-2) unstable; urgency=low * Re-enable html generation -- Ole Streicher Thu, 12 Dec 2013 11:29:09 +0100 starlink-ast (7.3.2+dfsg-1) unstable; urgency=low * New upstream version * Disable html generation due to some bug in latex2html * Build with erfa instead of iausofa -- Ole Streicher Wed, 25 Sep 2013 14:22:59 +0200 starlink-ast (7.3.1+dfsg-1) unstable; urgency=low * New upstream version -- Ole Streicher Fri, 31 May 2013 14:09:15 +0200 starlink-ast (7.2.0+dfsg-1) unstable; urgency=low * Change distribution to unstable -- Ole Streicher Mon, 22 Apr 2013 20:28:57 +0200 starlink-ast (7.2.0+dfsg-1~exp1) experimental; urgency=low * New upstream version * Push standards version to 3.9.4 (no change needed) -- Ole Streicher Tue, 16 Apr 2013 09:55:12 +0200 starlink-ast (7.1.1+dfsg-1~exp1) experimental; urgency=low * New upstream version -- Ole Streicher Mon, 10 Dec 2012 10:38:19 +0100 starlink-ast (7.0.6+dfsg-1~exp1) experimental; urgency=low * New upstream version * Add -lm flag to LDADD * Multiarch support -- Ole Streicher Fri, 17 Aug 2012 15:24:09 +0200 starlink-ast (7.0.4+dfsg-1) unstable; urgency=low * New upstream version * Set Debian Science Maintainers * Set DM-Upload-Allowed -- Ole Streicher Tue, 12 Jun 2012 10:00:00 +0200 starlink-ast (7.0.3+dfsg-1) unstable; urgency=low * Initial release (Closes: #657957) -- Ole Streicher Thu, 10 May 2012 09:45:00 +0200 debian/README.Debian0000644000000000000000000000163212262741057011237 0ustar This package contains only the most important libraries of Starlink's AST library. To avoid name conflicts, the library has been renamed to "libstarlink_ast": libstarlink_ast .......... Core AST library libstarlink_ast_grf3d .... Dummy 3d graphics implementation libstarlink_ast_err ...... Error message implementation using stderr The following libraries are *not* included yet: libstarlink_ast_drama .... Error messages implementation using DRAMA libstarlink_ast_ems ...... Error messages implementation using EMS libstarlink_ast_grf_2.0 .. Dummy AST v2.0 graphics implementation libstarlink_ast_grf_3.2 .. Dummy AST v3.2 graphics implementation libstarlink_ast_grf_5.6 .. Dummy AST v5.6 graphics implementation libstarlink_ast_pgplot ... Graphics implementation using pgplot libstarlink_ast_pgplot3d . 3d graphics implementation using pgplot -- Ole Streicher Thu, 29 Mar 2012 13:30:00 +0200 debian/libstarlink-ast-doc.docs0000644000000000000000000000003212262741057013707 0ustar sun???.pdf sun???/* NEWS debian/create_patches_rename_library.sh0000755000000000000000000000124612262741057015563 0ustar #!/bin/sh VENDOR=starlink LIBNAME=ast PATCH_SED_CMD="s/lib${LIBNAME}/lib${VENDOR}_${LIBNAME}/g" FILES="Makefile.am ast_link.in ast.news" cat > debian/patches/rename_library < Last-Update: $(date +%Y-%m-%d) Description: "${LIBNAME}" is a quite short name for a library that is so specific as this one. Therefore, and for consistency with the "pal" library, "${LIBNAME}" is prefixed by the vendor name "${VENDOR}". . This patch can be re-created by running ${0} on the freshly unpacked source tarball. $(for f in ${FILES} ; do \ sed ${PATCH_SED_CMD} < ${f} | diff -u ${f} - --label a/${f} --label b/${f}; \ done ) EOF debian/libstarlink-ast0.install0000644000000000000000000000003712262741057013747 0ustar usr/lib/*/libstarlink_ast.so.* debian/repack-dfsg.sh0000755000000000000000000000112212262741057011715 0ustar #!/bin/sh # ./debian/repack # Repackage the AST source files as a DFSG tarball, with unnecessary # files removed to avoid license conflicts. TMPDIR=$(mktemp --directory) trap "rm -fr ${TMPDIR} || exit 1" EXIT INT TERM ver=$2 orig_tar=$3 tardir=$(dirname $orig_tar) tar xf $orig_tar -C $TMPDIR srcdir=$TMPDIR/* echo $srcdir rm -rf $srcdir/sofa* $srcdir/pal* $srcdir/Ers.h \ $srcdir/sun???.htx_tar $srcdir/sun???.ps $srcdir/sun???.pdf dfsg_tar=$tardir/starlink-ast_$ver+dfsg.orig.tar.gz tar czf $dfsg_tar -C $TMPDIR . exec uupdate --no-symlink --upstream-version $ver+dfsg $dfsg_tar debian/libstarlink-ast-dev.dirs0000644000000000000000000000002412262741057013732 0ustar usr/lib usr/include debian/rules0000755000000000000000000000042412262741057010254 0ustar #!/usr/bin/make -f # -*- makefile -*- #export DH_VERBOSE=1 CPPFLAGS+=-I/usr/include/star %: dh $@ --with autoreconf export MANIFEST=/bin/true override_dh_autoreconf: cp ast.news NEWS dh_autoreconf override_dh_auto_configure: dh_auto_configure -- --with-external_pal debian/copyright0000644000000000000000000000413412262741057011131 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202 Upstream-Name: AST Upstream-Author: David Berry, R.F. Warren-Smith Source: http://www.starlink.ac.uk/ast Files: * Copyright: Copyright 1997-2009 Council for the Central Laboratory of the Research Councils Copyright (C) 2007-2012 Science & Technology Facilities Council Copyright (C) 1991,1993 Science & Engineering Research Council Copyright (c) 1988 Smithsonian Astrophysical Observatory Copyright (C) 2004 Manolis Lourakis (lourakis at ics forth gr) Copyright (C) 2006 Particle Physics and Astronomy Research Council License: GPLv2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version. . This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licence for more details. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. Files: proj.h wcstrig.h wcsmath.h proj.c wcstrig.c Copyright: Copyright (C) 1995-2002, Mark Calabretta License: LGPLv2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. Files: debian/* Copyright: not applicable License: public-domain Debian packaging by Ole Streicher