SHA256
10
0
forked from pool/wcslib

29 Commits

Author SHA256 Message Date
cb176d74e2 Accepting request 1132261 from science
OBS-URL: https://build.opensuse.org/request/show/1132261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=13
2023-12-10 18:40:18 +00:00
866b2b36d1 Accepting request 1132251 from home:bnavigator:branches:devel:languages:python:numeric
Required by astropy v6.0

- Update to 8.2.2
  * In prj.c, a number of variables with global scope that are only
    used internally were declared static to avoid namespace
    conflicts arising in Link Time Optimization (LTO) builds of the
    Rwcs wrappers.  This is a patch release as it does not affect
    the library itself other than in localising some symbols that
    were never meant to be global. Reported by Rodrigo Carrizo with
    patch.
    Likewise for an internally used helper function, prjoff().
    Likewise for a handful of variables in cel.c, dis.c, lin.c,
    tab.c, wcs.c, wcsfix.c, and wcshdr.c.
- WCSLIB version 8.2
  * In wcshdo(), fixed character buffer overflows in the comment
    string for the longitude and latitude axes triggered by some
    projections, and also the formatting for generic coordinate
    systems.  Reported by Shu Niu.
- WCSLIB version 8.1
  * Changes in the contents of the auxprm struct (in 8.0 beta)
    necessitated incrementing the major version number from 7 to 8,
    i.e. the ABI changed. Took the opportunity for minor tweaks to
    wcsprm and disprm.
  ## C library
  * In disprm, changed the order of maxdis and totdis to ensure
      correct alignment of doubles on 32-bit machines.
  ## Fortran wrappers
  * Match changes to disprm in the C library.
  * In the Fortran test suite, inserted a brief pause between plots
    in tprj2, tspc, and tpih2, which have long been a blur.
  ## PGSBOX
  * Quell innocuous compiler warnings from gfortran 12.1.0.

OBS-URL: https://build.opensuse.org/request/show/1132251
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=27
2023-12-09 19:49:20 +00:00
1397f968a7 Accepting request 1009934 from science
OBS-URL: https://build.opensuse.org/request/show/1009934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=12
2022-10-12 16:25:38 +00:00
Asterios Dramis
d8b92379ff Accepting request 1009932 from home:adra:branches:science
Update to version 7.12

OBS-URL: https://build.opensuse.org/request/show/1009932
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=25
2022-10-11 20:58:47 +00:00
1521c910e3 Accepting request 975270 from science
OBS-URL: https://build.opensuse.org/request/show/975270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=11
2022-05-06 16:59:20 +00:00
Asterios Dramis
034fd64be4 Accepting request 975269 from home:adra:branches:science
Update to version 7.11, Removed 0001-Fix-utils-tofits-location-in-Fortran-GNUmakefile.patch (fixed upstream), Don't use %configure macro for building i586 package (it makes tests fail)

OBS-URL: https://build.opensuse.org/request/show/975269
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=23
2022-05-05 21:56:39 +00:00
fdcb65f14c Accepting request 930764 from science
OBS-URL: https://build.opensuse.org/request/show/930764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=10
2021-11-11 20:37:56 +00:00
Asterios Dramis
bb9570b47e Accepting request 930761 from home:StefanBruens:branches:science
- Update to version 7.7, for details see:
  https://www.atnf.csiro.au/people/mcalabre/WCS/CHANGES
- Remove workarounds for gfortran 10/11
- Add 0001-Fix-utils-tofits-location-in-Fortran-GNUmakefile.patch

OBS-URL: https://build.opensuse.org/request/show/930761
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=22
2021-11-10 23:05:49 +00:00
34905b9810 Accepting request 900459 from science
OBS-URL: https://build.opensuse.org/request/show/900459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=9
2021-06-18 08:13:50 +00:00
Asterios Dramis
5cd3ad91a0 Accepting request 900457 from home:adra:branches:science
Update to version 7.6

OBS-URL: https://build.opensuse.org/request/show/900457
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=20
2021-06-16 20:43:39 +00:00
Richard Brown
9d15d67b91 Accepting request 876058 from science
OBS-URL: https://build.opensuse.org/request/show/876058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=8
2021-03-02 11:35:49 +00:00
Asterios Dramis
c2d5ecd759 Accepting request 876057 from home:adra:branches:science
Update to version 7.4

OBS-URL: https://build.opensuse.org/request/show/876057
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=18
2021-03-01 22:01:01 +00:00
0688039dc8 Accepting request 832380 from science
OBS-URL: https://build.opensuse.org/request/show/832380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=7
2020-09-05 22:04:28 +00:00
8415b9ab4a Accepting request 831044 from home:dirkmueller:branches:science
- update to 7.3.1:
  * There are no functional changes in this release.
  - Changed all C code, including within the flex sources, Fortran and
    PGSBOX wrappers, and test suite, to use C99 style commenting (i.e.
    using //), excluding the header prologues used to generate the user
    manual.
  - Documentation generation moved to doxygen 1.8.19 (was 1.8.18).

OBS-URL: https://build.opensuse.org/request/show/831044
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=16
2020-09-04 19:01:06 +00:00
d835313bf2 Accepting request 819079 from science
- Update to version 7.3
  * C library
    - wcshdo() was writing MJD-OBS twice to the header, and
      MJD-BEG not at all.
    - In wcshdo(), if MJDREF assumes its default value, just write
      MJDREF = 0 (not MJDREFI & MJDREFF), and omit writing DATEREF,
      which, with a value of '1858-11-17', looks strange and is
      potentially confusing.  Reported by Thomas Robitaille.
      If the fractional part of MJDREF is zero, then just write the
      integer part as MJDREF (i.e. not as MJDREFI & MJDREFF).
    - Bug fix in wcsfix() - it was writing error messages that
      referred to DATE-REF and MJD-REF rather then DATEREF and
      MJDREF.  Reported by Mihai Cara.
    - Under control of a new flag, WCSHDR_DATEREF, added the option
      to wcspih() and wcsbth() to accept DATE-REF, MJD-REF,
      MJD-REFI, MJD-REFF, JDREF, JD-REFI, and JD-REFF as synonyms
      for the standard keywords, DATEREF, MJDREF, MJDREFI, MJDREFF,
      JDREF, JDREFI, and JDREFF.  The latter buck the pattern set
      by the other date keywords ({DATE,MJD}-{OBS,BEG,AVG,END}),
      thereby increasing the potential for confusion and error.
  * Fortran wrappers
    - As compilers are becoming much stricter (gfortran 10),
      modified all Fortran test programs to use the type-specific
      equivalents of the various *PUT and *GET routines.
      Reported by Ole Streicher.
    - For the fitshdr wrappers, added type-specific equivalents
      of KEYGET: KEYGTI, KEYGTD, and KEYGTC.
  * PGSBOX
    - Modified pgtest to use the type-specific equivalents of
      WCSPUT.
  * User manual
    - In the section "WCSLIB Fortran wrappers", promoted use of
      the type-specific equivalents of the various *PUT and *GET
      routines.
    - In the section "FITS-WCS and related software", added ASCL
      and ADS codes, where they exist, for all software packages
      mentioned.
    - Documentation generation moved to doxygen 1.8.18
      (was 1.8.17).
- Allow fortran argument mismatches in rank and type to pass the
  tests.
- Update to version 7.2:
  * C library
    - In wcssub(), fixed a bug relating to handling coordinate
      lookup tables.  Reported by Mihai Cara with fix.
      Also increased the number of coordinate axes handled from
      10 to 32.
  * Installation
    - New configure option, --disable-shared, defeats generation
      of the sharable library.
  Version 7.1:
    Changes in the contents of the wcsprm struct necessitated
    incrementing the major version number from 6 to 7 (i.e. the
    ABI changed).
  * C library
    - In wcsset(), set wcsprm::mjdref[] to zero if neither it nor
      wcsprm::dateref are defined, as per the standard.  Reported
      by Thomas Robitaille.
      wcsset() now also checks that the number of coordinate axes
      does not exceed 32.
    - In tabs2x(), fixed an out-of-bounds array access produced
      by invalid world coordinates.  Reported by Mihai Cara and
      Michael Seifert.
      In tab.c, declare static three helper functions, tabedge(),
      tabrow(), and tabvox(), used by tabs2x().  Increased the
      number of coordinate axes handled by tabvox() from 16 to
      32.
    - Extended datfix() to handle MJDREF/DATEREF, overlooked in
      the changes in release 6.1.  Also fixed the handling of
      MJD < 0.
    - Support Solar keywords RSUN_REF, DSUN_OBS, CRLN_OBS,
      CRLT_OBS, HGLN_OBS, and HGLT_OBS by accomodating them
      within an auxiliary struct, auxprm, within the wcsprm
      struct.  Now filled by the header parsers, wcspih() and
      wcsbth() and handled routinely by wcsinit(), wcssub(),
      wcscompare(), wcsfree(), wcsprt(), wcsset(), and wcshdo().
      Requested by Stuart Mumford (SunPy) with input from Bill
      Thompson.
    - Bug fix in wcsprintf_set() for resetting the output
      disposition.
      Reported by Mihai Cara with patch.
    - In dis.{h,c}, the DOCORR record is now handled as a
      first-class value via disprm::docorr.  This required
      changing the struct.
    - In cel.c, spc.c, wcserr.c, wcsfix.c, wcshdr.c, and
      wcsutil.c, quelled compiler warnings from gcc 9.2.0
      generated by
      -Wmaybe-uninitialized and -Wstringop-truncation (via
      -Wall).
      Similarly for various programs in the test suite.
    - In various functions, quelled warnings from the Microsoft
      Visual C++ compiler, mostly relating to pointer arithmetic.
      Reported by Michael Seifert.
  * Fortran wrappers
    - Handled compiler warnings from gcc 9.2.0 generated by
      -Wstringop-truncation (via -Wall).
    - Minor enhancements to character argument handling,
      including, in prjget_(), blank-filling the returned strings
      matching PRJ_CODE and PRJ_NAME, and likewise for SPC_TYPE
      and SPC_CODE in spcget_().
  * Utilities
    - In wcsgrid, handled compiler warnings from gcc 9.2.0
      generated by -Wstringop-truncation (via -Wall).
  * User manual
    - In the section on "FITS-WCS and related software", added
      mention of the R wrappers (Rwcs).  Suggested by Aaron
      Robotham.
    - Added a new section detailing the limit on the number of
      image axes that WCSLIB can handle (currently 32), and how
      this could be increased if needed.  Prompted by Thomas
      Robitaille.
    - Augmented the section on the Fortran wrappers, particularly
      with respect to character string handling in argument
      lists.
    - Documentation generation moved to doxygen 1.8.17 (was
      1.8.16).

OBS-URL: https://build.opensuse.org/request/show/819079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=6
2020-07-08 17:16:43 +00:00
Asterios Dramis
7501447687 OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=14 2020-07-06 23:20:21 +00:00
Asterios Dramis
8b61fb115a OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=13 2020-07-06 23:09:12 +00:00
Asterios Dramis
99ec47426b Accepting request 819014 from home:bnavigator:branches:science
- Update to version 7.3
- allow fortran argument mismatches in rank and type to pass the tests

OBS-URL: https://build.opensuse.org/request/show/819014
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=12
2020-07-06 23:08:23 +00:00
Asterios Dramis
aba21b1d5f Accepting request 810966 from home:adra:branches:science
Update to version 7.2

OBS-URL: https://build.opensuse.org/request/show/810966
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=11
2020-06-02 21:39:26 +00:00
ac50d7cb3c Accepting request 747258 from science
- Update to version 6.4 (2019/08/15):
  * Installation
    - The rule change to the Fortran makefile in v6.3 to add getwcstab_f.o
      to the sharable library causes it to depend on CFITSIO to resolve
      fits_get_wcstab().  Hence backed out of that change.
  * User manual
    - Documentation generation moved to doxygen 1.8.16 (was 1.8.14).
- Update to version 6.3 (2019/07/12)
  * C library
    - Fixed the Polynomial and TPD distortions so that, as stipulated in
      WCS Paper IV, they are now considered to return an additive
      correction to be applied to the given coordinates, rather than the
      corrected coordinates themselves.
        Added a new subsection to the prologue of dis.h entitled 'Historical
      idiosyncrasies', which discusses this issue and other vagueries.
        Amended components of the test suite accordingly: SIPTPV.keyrec,
      TPV7.keyrec, and tdis1.c.
    - Fixed memory leaks and other potential problems that arose in the
      wcserr system consequent on changes made in release 6.1.
        Memory allocated by wcsfixi() for messages in the array of wcserr
      structs must now be freed by the caller.  Amended twcsfix.c
      accordingly.
    - Plugged memory leaks arising in disset().
    - New function wcsdealloc() provided to free memory allocated within
      certain WCSLIB routines.  Suggested by David Motl.
    - Eliminated a swag of inconsequential compiler warnings, particularly
      those emanating from the flex sources.
  * Validation
    - The library, Fortran wrappers, utilities, and test programs now pass
      runtime analysis using -fsanitize=address and -fsanitize=undefined
      in gcc 8.3.0, in addition to valgrind.  Also compile-time strictures
      using -std=c99, -pedantic, -Wall, -Wextra, and -DFORTIFY_SOURCE=2.
      Prompted by feedback from Ole Streicher.
  * Installation
    - The non-graphical tests now run reliably in parallel builds
      (make CHECK=nopgplot -j8 check).  Requested by Mohammed Akhlaghi.
        The graphical tests can also be run in parallel, but as PGPLOT can
      only handle one stream at a time, some graphics are likely to be
      lost.  Nevertheless, it is a useful option, especially with runtime
      analysis via -fsanitize=address, etc.
    - As CFITSIO doesn't provide a Fortran wrapper for fits_read_wcstab(),
      getwcstab_f.o is now always included in the WCSLIB object library
      and sharable library if CFITSIO is available (and the WCSLIB Fortran
      wrappers are required).  Use 'configure --without-cfitsio' to
      defeat this.
    - Tidied up some aspects of the build where CFITSIO is not available.
  * User manual
    - Fixed minor formatting problems in dis.h.

OBS-URL: https://build.opensuse.org/request/show/747258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=5
2019-11-30 09:36:47 +00:00
Asterios Dramis
cb9ba6e093 Accepting request 747228 from home:StefanBruens:branches:science
- Update to version 6.4 (2019/08/15):
  * Installation
    - The rule change to the Fortran makefile in v6.3 to add getwcstab_f.o
      to the sharable library causes it to depend on CFITSIO to resolve
      fits_get_wcstab().  Hence backed out of that change.
  * User manual
    - Documentation generation moved to doxygen 1.8.16 (was 1.8.14).
- Update to version 6.3 (2019/07/12)
  * C library
    - Fixed the Polynomial and TPD distortions so that, as stipulated in
      WCS Paper IV, they are now considered to return an additive
      correction to be applied to the given coordinates, rather than the
      corrected coordinates themselves.
        Added a new subsection to the prologue of dis.h entitled 'Historical
      idiosyncrasies', which discusses this issue and other vagueries.
        Amended components of the test suite accordingly: SIPTPV.keyrec,
      TPV7.keyrec, and tdis1.c.
    - Fixed memory leaks and other potential problems that arose in the
      wcserr system consequent on changes made in release 6.1.
        Memory allocated by wcsfixi() for messages in the array of wcserr
      structs must now be freed by the caller.  Amended twcsfix.c
      accordingly.
    - Plugged memory leaks arising in disset().
    - New function wcsdealloc() provided to free memory allocated within
      certain WCSLIB routines.  Suggested by David Motl.
    - Eliminated a swag of inconsequential compiler warnings, particularly
      those emanating from the flex sources.
  * Validation
    - The library, Fortran wrappers, utilities, and test programs now pass
      runtime analysis using -fsanitize=address and -fsanitize=undefined
      in gcc 8.3.0, in addition to valgrind.  Also compile-time strictures
      using -std=c99, -pedantic, -Wall, -Wextra, and -DFORTIFY_SOURCE=2.
      Prompted by feedback from Ole Streicher.
  * Installation
    - The non-graphical tests now run reliably in parallel builds
      (make CHECK=nopgplot -j8 check).  Requested by Mohammed Akhlaghi.
        The graphical tests can also be run in parallel, but as PGPLOT can
      only handle one stream at a time, some graphics are likely to be
      lost.  Nevertheless, it is a useful option, especially with runtime
      analysis via -fsanitize=address, etc.
    - As CFITSIO doesn't provide a Fortran wrapper for fits_read_wcstab(),
      getwcstab_f.o is now always included in the WCSLIB object library
      and sharable library if CFITSIO is available (and the WCSLIB Fortran
      wrappers are required).  Use 'configure --without-cfitsio' to
      defeat this.
    - Tidied up some aspects of the build where CFITSIO is not available.
  * User manual
    - Fixed minor formatting problems in dis.h.

OBS-URL: https://build.opensuse.org/request/show/747228
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=9
2019-11-10 20:17:45 +00:00
1929fb2528 Accepting request 653609 from science
OBS-URL: https://build.opensuse.org/request/show/653609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=4
2018-12-04 19:55:39 +00:00
Asterios Dramis
151901ab88 Accepting request 653608 from home:adra:branches:science
Update to version 6.2

OBS-URL: https://build.opensuse.org/request/show/653608
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=7
2018-12-03 22:26:06 +00:00
e3352582f8 Accepting request 574869 from science
OBS-URL: https://build.opensuse.org/request/show/574869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=3
2018-02-10 16:59:24 +00:00
Asterios Dramis
3fd3de8266 Accepting request 574868 from home:adra:branches:science
Update to version 5.18

OBS-URL: https://build.opensuse.org/request/show/574868
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=5
2018-02-09 23:17:30 +00:00
0f3aea340f Accepting request 508421 from science
1

OBS-URL: https://build.opensuse.org/request/show/508421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=2
2017-07-07 08:17:10 +00:00
Asterios Dramis
f9388fb27c Accepting request 508419 from home:adra:branches:science
Update to version 5.16

OBS-URL: https://build.opensuse.org/request/show/508419
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=3
2017-07-05 21:41:56 +00:00
dad42408ed Accepting request 411584 from science
According to comment on SR#409123, rename libwcs to wcslib.

OBS-URL: https://build.opensuse.org/request/show/411584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wcslib?expand=0&rev=1
2016-11-09 10:39:09 +00:00
Matthias Mailänder
491b5c2e39 Accepting request 411567 from home:adra:branches:science
According to comment on SR#409123. Rename the package from libwcs to wcslib. Added Provides/Obsoletes entries.

OBS-URL: https://build.opensuse.org/request/show/411567
OBS-URL: https://build.opensuse.org/package/show/science/wcslib?expand=0&rev=1
2016-07-17 19:17:11 +00:00