debian/0000755000000000000000000000000012261004755007170 5ustar debian/wcslib-doc.doc-base0000644000000000000000000000114712235222440012612 0ustar Document: wcslib Title: WCSLIB and PGSBOX documentation Author: Mark Calabretta Section: Programming Abstract: WCSLIB is a C library, supplied with a full set of Fortran wrappers, that implements the "World Coordinate System" (WCS) standard in FITS (Flexible Image Transport System). It also includes a "PGPLOT"-based routine, for drawing general curvilinear coordinate graticules and a number of utility programs. Format: PDF Files: /usr/share/doc/wcslib-doc/wcslib.pdf.gz Format: HTML Index: /usr/share/doc/wcslib-doc/html/index.html Files: /usr/share/doc/wcslib-doc/html/*.html debian/clean0000644000000000000000000000004312235222440010164 0ustar config.status config.log configure debian/libwcs4.shlibs0000644000000000000000000000003412235222440011734 0ustar libwcs 4 libwcs4 (>= 4.8.1) debian/compat0000644000000000000000000000000212235222440010360 0ustar 9 debian/changelog0000644000000000000000000000622712261004434011043 0ustar wcslib (4.20-2) unstable; urgency=low * [Colin Watson] Don't run dh_auto_clean if makedefs doesn't exist, since that would end up running configure before autoreconf has been run and thus fail on new ports. Closes: #733679 -- Ole Streicher Wed, 01 Jan 2014 13:23:03 +0100 wcslib (4.20-1) unstable; urgency=low * New upstream version. * Push standard version to 3.9.5 (no changes) -- Ole Streicher Wed, 18 Dec 2013 12:01:46 +0100 wcslib (4.19-3) unstable; urgency=low * update config.{sub,guess} for the AArch64 port. -- Ole Streicher Sat, 02 Nov 2013 16:41:15 +0100 wcslib (4.19-2) unstable; urgency=low * Propagate CFLAGS and LDFLAGS to Fortran and test. -- Ole Streicher Tue, 01 Oct 2013 23:49:21 +0200 wcslib (4.19-1) unstable; urgency=low * New upstream version. Closes: #715907 -- Ole Streicher Tue, 01 Oct 2013 19:28:10 +0200 wcslib (4.18-1) unstable; urgency=low * New upstream version * Push standard version to 4.9.4 (no changes) -- Ole Streicher Sun, 21 Jul 2013 18:31:47 +0200 wcslib (4.17-1) unstable; urgency=low * New upstream version -- Ole Streicher Tue, 29 Jan 2013 10:04:37 +0100 wcslib (4.16-1) unstable; urgency=low * New upstream version -- Ole Streicher Wed, 07 Nov 2012 13:30:45 +0100 wcslib (4.15-11) unstable; urgency=low * New upstream version -- Ole Streicher Thu, 27 Sep 2012 09:40:18 +0200 wcslib (4.14-1) unstable; urgency=low * New upstream version * Set Maintainers to Debian Science Maintainers * Allow DM-Upload -- Ole Streicher Sun, 15 Jul 2012 16:50:00 +0200 wcslib (4.13.4-1) unstable; urgency=low * New upstream version * Multiarch support * Remove PACKAGE_* defines from header file * Increase tolerances of tspx tests, disable Fortran tests completely. Closes: #663154 -- Ole Streicher Mon, 28 Mar 2012 10:00:00 +0100 wcslib (4.13.1-1) unstable; urgency=low * New upstream version * Excplicitely link library with -lm -- Ole Streicher Thu, 15 Mar 2012 22:00:00 +0100 wcslib (4.12-1) unstable; urgency=low * New upstream version -- Ole Streicher Sun, 04 Mar 2012 17:00:00 +0100 wcslib (4.11-1) unstable; urgency=low * New upstream version * Include upstream changelog and THANKS file -- Ole Streicher Thu, 23 Feb 2012 09:54:22 +0100 wcslib (4.10-1) unstable; urgency=low * New upstream version * Add wcslib.pc to dev package. Closes: #650602 -- Ole Streicher Fri, 10 Feb 2012 16:33:25 +0100 wcslib (4.8.3-1) unstable; urgency=low * New upstream version * Fix "suggest" dependency for wcslib-doc * Remove "help2man" build dependency * Add format version information to copyright file -- Ole Streicher Mon, 21 Nov 2011 16:40:00 +0200 wcslib (4.8.2-1) unstable; urgency=low * New package. Closes: #641624 -- Ole Streicher Tue, 04 Oct 2011 11:15:00 +0200 debian/control0000644000000000000000000000473612255313662010610 0ustar Source: wcslib Maintainer: Debian Science Maintainers Uploaders: Ole Streicher Section: science Priority: optional Build-Depends: autotools-dev, debhelper (>= 9), dh-autoreconf, gfortran, libcfitsio3-dev Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/wcslib.git Vcs-Git: git://anonscm.debian.org/debian-science/packages/wcslib.git Homepage: http://www.atnf.csiro.au/people/mcalabre/WCS/ Package: libwcs4 Architecture: any Multi-Arch: same Section: libs Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Description: Implementation of the FITS WCS standard WCSLIB is a C library, supplied with a full set of Fortran wrappers, that implements the "World Coordinate System" (WCS) standard in FITS (Flexible Image Transport System). . The FITS data format is widely used within the international astronomical community, from the radio to gamma-ray regimes, for data interchange and archive, and also increasingly as an online format. . This package contains what you need to run programs that use this library. Package: wcslib-dev Architecture: any Section: libdevel Depends: libwcs4 (= ${binary:Version}), ${misc:Depends} Suggests: wcslib-doc Description: Header files and static library for libwcs WCSLIB is a C library, supplied with a full set of Fortran wrappers, that implements the "World Coordinate System" (WCS) standard in FITS (Flexible Image Transport System). . This package contains the static library and the C header files. Package: wcslib-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: wcslib-dev Description: API documentation for wcslib WCSLIB is a C library, supplied with a full set of Fortran wrappers, that implements the "World Coordinate System" (WCS) standard in FITS (Flexible Image Transport System). . This package contains the API documentation for WCSLIB. Package: wcslib-tools Architecture: any Depends: libwcs4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Command line tools utilizing wcslib WCSLIB is a C library, supplied with a full set of Fortran wrappers, that implements the "World Coordinate System" (WCS) standard in FITS (Flexible Image Transport System). . This package contains the utility programs fitshdr, wcsware, and HPXcvt that are included in wcslib. debian/copyright0000644000000000000000000000377712235222440011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: WCSLIB Upstram-Author: Mark Calabretta Source: http://www.atnf.csiro.au/people/mcalabre/WCS/ Files: * Copyright: Copyright (C) 1995-2009, Mark Calabretta License: LGPL-3 WCSLIB 4.4 - an implementation of the FITS WCS standard. Copyright (C) 1995-2009, Mark Calabretta . WCSLIB is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . WCSLIB 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 Lesser General Public License for more details. . On Debian systems, the full text of the GNU Lesser General Public License version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'. . Correspondence concerning WCSLIB may be directed to: Internet email: mcalabre@atnf.csiro.au Postal address: Dr. Mark Calabretta Australia Telescope National Facility, CSIRO PO Box 76 Epping NSW 1710 AUSTRALIA Files: debian/* Copyright: 2011 Ole Streicher License: LGPL-3 wcslib is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . wcslib 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 Lesser General Public License for more details. . On Debian systems, the full text of the GNU Lesser General Public License version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'. debian/watch0000644000000000000000000000021212235222440010206 0ustar # format version number, currently 3; this line is compulsory! version=3 ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-(.*).tar.bz2 debian/patches/0000755000000000000000000000000012235222440010611 5ustar debian/patches/fortify.patch0000644000000000000000000000217612235222440013322 0ustar Author: Ole Streicher Description: Debian wants to add --D_FORTIFY_SOURCE=2 to CPPFLAGS. This patch propagates that to the build process. --- a/makedefs.in +++ b/makedefs.in @@ -89,7 +89,7 @@ # C preprocessor and options. CPP := @CPP@ - CPPFLAGS := @DEFS@ + CPPFLAGS := @CPPFLAGS@ @DEFS@ WCSTRIG := WRAPPER # C compiler and options. --- a/Fortran/GNUmakefile +++ b/Fortran/GNUmakefile @@ -117,7 +117,7 @@ $(PICLIB)(%.o) : %.c -@ echo '' - $(CC) $(CPPFLAGS) $(SHRFLAGS) -c $< + $(CC) $(CPPFLAGS) $(CFLAGS) $(SHRFLAGS) -c $< $(AR) r $(PICLIB) $% -@ $(RM) $% @@ -297,7 +297,7 @@ $(MAKE) -C ../pgsbox lib tofits : ../C/test/tofits.c - $(CC) $(CFLAGS) -o $@ $< + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< pih.fits : ../C/test/pih.keyrec tofits sed '/^BADKEYREC/q' $< | ./tofits > $@ --- a/C/GNUmakefile +++ b/C/GNUmakefile @@ -347,7 +347,7 @@ $(MAKE) -C ../pgsbox $(notdir $@) tofits : test/tofits.c - $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< pih.fits : test/pih.keyrec tofits ./tofits < $< > $@ debian/patches/series0000644000000000000000000000010412235222440012021 0ustar increase_tspx_test_tol.patch disable_Ftspx_test.patch fortify.patch debian/patches/disable_Ftspx_test.patch0000644000000000000000000000145012235222440015460 0ustar Author: Ole Streicher Description: Disable the Fortran TSPX test. TSPX tests the spectral transformation routines for closure. On some systems (sparc, s390), this test fails completely for unknown reasons in the Fortran variant, but the C variant succeeds. The reason here is still unknown. Since wcslib is going to be used from C mainly, and after a discussion with upstream, this test failure is will not cause an error. --- a/GNUmakefile +++ b/GNUmakefile @@ -70,7 +70,7 @@ -@ echo 'Summary of results for non-graphical tests' -@ echo '------------------------------------------' -@ cat ./*/test_results - @ if grep 'FAIL:' ./*/test_results > /dev/null ; then \ + @ if grep 'FAIL:' ./C/test_results > /dev/null ; then \ exit 1 ; \ else \ exit 0 ; \ debian/patches/increase_tspx_test_tol.patch0000644000000000000000000000102312235222440016412 0ustar Author: Ole Streicher Description: Increase the tolerance in the TSPX test. TSPX tests the spectral transformation routines for closure. On some systems (armel, armhf), this test shows a slightly increased residual, which is however still acceptable. --- a/Fortran/test/tspx.f +++ b/Fortran/test/tspx.f @@ -191,7 +191,7 @@ : SPEC2(NSPEC), TOL CHARACTER FROM*(*), TO*(*) - PARAMETER (TOL = 1D-9) + PARAMETER (TOL = 2D-9) INTEGER FWD, REV EXTERNAL FWD, REV debian/rules0000755000000000000000000000072012261004212010233 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autoreconf,autotools_dev override_dh_auto_clean: [ ! -e makedefs ] || dh_auto_clean override_dh_autoreconf: AUTOHEADER=true dh_autoreconf override_dh_auto_configure: dh_auto_configure -- --docdir=$$\{prefix\}/share/doc/wcslib-doc override_dh_install: dh_install -Xjquery.js override_dh_installchangelogs: dh_installchangelogs CHANGES debian/libwcs4.dirs0000644000000000000000000000001012235222440011403 0ustar usr/lib debian/wcslib-doc.install0000644000000000000000000000014512235222440012600 0ustar THANKS usr/share/doc/wcslib-doc/ usr/share/doc/wcslib-doc/html/* usr/share/doc/wcslib-doc/wcslib.pdf debian/libwcs4.install0000644000000000000000000000002712235222440012120 0ustar usr/lib/*/libwcs*.so.* debian/source/0000755000000000000000000000000012235222440010462 5ustar debian/source/format0000644000000000000000000000001412235222440011670 0ustar 3.0 (quilt) debian/wcslib-dev.dirs0000644000000000000000000000002412235222440012100 0ustar usr/lib usr/include debian/wcslib-tools.install0000644000000000000000000000020512235222440013170 0ustar usr/bin/HPXcvt usr/bin/fitshdr usr/bin/wcsware usr/share/man/man1/HPXcvt.* usr/share/man/man1/fitshdr.* usr/share/man/man1/wcsware.* debian/wcslib-dev.install0000644000000000000000000000012412235222440012606 0ustar usr/include/* usr/lib/*/libwcs*.a usr/lib/*/libwcs.so usr/lib/*/pkgconfig/wcslib.pc debian/wcslib-doc.dirs0000644000000000000000000000006712235222440012076 0ustar usr/share/doc/wcslib-doc usr/share/doc/wcslib-doc/html