commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2020-08-20 22:23:19 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new.3399 (New) Package is "cfitsio" Thu Aug 20 22:23:19 2020 rev:21 rq:827152 version:3.490 Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2020-07-15 11:21:39.585397020 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new.3399/cfitsio.changes 2020-08-20 22:24:03.739847562 +0200 @@ -1,0 +2,16 @@ +Sun Aug 16 17:37:19 UTC 2020 - Dirk Mueller + +- update to 3.490: + - Fix to imcompress.c. It now turns off quantization if ZSCALE +and ZZERO columns are missing. Treatment will be the same as +if ZQUANTIZ were set to 'NONE', even if ZQUANTIZ is present +and set to something else. + - Added mutex to fits_execute_template() function so that the +creation of files using ASCII templates will be thread safe. + - In fpack when using -table flag, replaced warning message with a +more detailed description mentioning FITS format update. + - Added flag to CMake builds to disable curl dependency. Also +only add CURL_LIBRARIES to CMake link target if curl is found. + - Minor adjustment to download progress output. + +--- Old: cfitsio-3.48.tar.gz New: cfitsio-3.49.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.Je9jGo/_old 2020-08-20 22:24:07.215849187 +0200 +++ /var/tmp/diff_new_pack.Je9jGo/_new 2020-08-20 22:24:07.219849189 +0200 @@ -16,10 +16,10 @@ # -%define tar_ver 3.48 +%define tar_ver 3.49 %define so_ver 9 Name: cfitsio -Version:3.480 +Version:3.490 Release:0 Summary:Library for manipulating FITS data files License:ISC ++ cfitsio-3.48.tar.gz -> cfitsio-3.49.tar.gz ++ 7291 lines of diff (skipped)
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2020-07-15 11:19:04 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new.3060 (New) Package is "cfitsio" Wed Jul 15 11:19:04 2020 rev:20 rq:819076 version:3.480 Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2019-10-07 13:42:24.120114415 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new.3060/cfitsio.changes 2020-07-15 11:21:39.585397020 +0200 @@ -1,0 +2,32 @@ +Mon Jul 6 13:36:45 UTC 2020 - Benjamin Greiner + +- Update to version 3.480: + * Now can handle parentheses in path names rather than +automatically interpreting them as output file specifiers. + * Fixed bug in imcompress.c that wasn't properly handling +conversion between float and double types when reading from a +gzip compressed float or double image. + * Fixed bug that was preventing use of bracket and parentheses +symbols in pathnames when opening multiple READWRITE files, +even when requesting no-extended-syntax usage. *This fix +necessitates a library interface version number change. + * Fixed bug in ffmnhd / fits_movnam_hdu to properly handle +wildcard syntax. + * Fixed bug in fits_open_extlist to handle filename[EXT] syntax +properly. The hdutype parameter may now be null. More +documentaion for this function is in cfitsio.tex. + * Added new function fits_copy_hdutab to create a new table with +the same structure as an existing table. + * fits_copy_col / ffcpcl handles long long integer data types +more natively to prevent precision loss. + * histo.c routines now recognize integer columns that have been +scaled by TSCALn keywords and may be closer to floating point +type. + * Added backward compatibility for very old Rice compressed files +which were not using the ZVAL2 keyword in the way that later +became standard. + * Change made to cfitsio.pc.in to prevent forcing downstream +libraries to link against cfitsio's dependencies when using +pkgconfig. + +--- Old: cfitsio-3.47.tar.gz New: cfitsio-3.48.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.hjw7qm/_old 2020-07-15 11:21:47.409404765 +0200 +++ /var/tmp/diff_new_pack.hjw7qm/_new 2020-07-15 11:21:47.409404765 +0200 @@ -1,7 +1,7 @@ # # spec file for package cfitsio # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # -%define tar_ver 3.47 -%define so_ver 8 +%define tar_ver 3.48 +%define so_ver 9 Name: cfitsio -Version:3.470 +Version:3.480 Release:0 Summary:Library for manipulating FITS data files License:ISC -URL:https://heasarc.nasa.gov/fitsio/ +URL:https://heasarc.gsfc.nasa.gov/fitsio/ Source0: https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/%{name}-%{tar_ver}.tar.gz # PATCH-FIX-OPENSUSE cfitsio-zlib.patch asterios.dra...@gmail.com -- Use system zlib, link programs to shared libcfitsio (based on patches from Fedora and Debian) Patch0: cfitsio-zlib.patch @@ -93,8 +93,7 @@ # so please drop them if they are not needed (in next round of updates) # Add include dir, multithreading support, zlib dependency sed -i 's|Cflags: -I${includedir}|Cflags: -D_REENTRANT -I${includedir} -I${includedir}/%{name}|' cfitsio.pc.in -sed -i 's|Libs: -L${libdir} -lcfitsio @LIBS@|Libs: -L${libdir} -lcfitsio|' cfitsio.pc.in -sed -i 's|Libs.private: -lm|Libs.private: @LIBS@ -lz -lm|' cfitsio.pc.in +sed -i 's|Libs.private: -lm @LIBS@|Libs.private: -lz -lm @LIBS@|' cfitsio.pc.in %configure --enable-reentrant make shared %{?_smp_mflags} ++ cfitsio-3.47.tar.gz -> cfitsio-3.48.tar.gz ++ 52448 lines of diff (skipped)
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2019-10-07 13:42:22 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new.2352 (New) Package is "cfitsio" Mon Oct 7 13:42:22 2019 rev:19 rq:735454 version:3.470 Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2018-12-10 12:22:02.198904217 +0100 +++ /work/SRC/openSUSE:Factory/.cfitsio.new.2352/cfitsio.changes 2019-10-07 13:42:24.120114415 +0200 @@ -1,0 +2,41 @@ +Sat Oct 5 19:54:42 UTC 2019 - Asterios Dramis + +- Update to version 3.470: + * Added set of drivers for performing ftps file transfers. + * Tile sizes for compression may now be specified for any pair of +axes, where previously 2D tiles where limited to just X and y. + * Fix to ffgsky and ffgkls functions for case of keyword with +long string values where the final CONTINUE statement ended +with '&'. If the final CONTINUE also contained a comment, it +was being repeated twice when passed back through the 'comm' +argument. + * Fix made to ffedit_columns() for case of multiple col filters +containing wildcards. Only the first filter was being +searched. + * fits_copy_rows (ffcprw) can now handle 'P'-type variable-length +columns. + * Fix made to an obscure case in fits_modify_vector_len, where a +wrongly issued EOF error may occur. + * Added internal fffvcl() function. + From version 3.460 (Ftools release): + * Improved the algorithm for ensuring no tile dimensions are +smaller than 4 pixels for HCOMPRESS compression. + * Added new functions intended to assist in diagnosing (primarily +https) download issues: fits_show_download_progress, +fits_get_timeout, fits_set_timeout. + * Added the '-O ' option to fpack, which previously existed +only for funpack. Also added fpack/funpack auto-removal of +.bz2 suffix equivalent to what existed for .gz. + * For the fpack '-table' cases, warning message is now sent to +stderr instead of stdout. This is to allow users to pipe the +results from stdout in valid FITS format. (The warning message +is otherwise placed at the start of the FITS file and therefore +corrupts it.) + * Fix made to the '-P' file prefix option in funpack. + * Added wildcard deletion syntax for columns, i.e. -COLNAM* will +delete the first matching column as always; -COLNAM*+ will +delete all matching columns (or none); exact symmetry with the +keyword deletion syntax. +- Rebased cfitsio-zlib.patch to apply cleanly. + +--- Old: cfitsio3450.tar.gz New: cfitsio-3.47.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.bD8H78/_old 2019-10-07 13:42:24.896112269 +0200 +++ /var/tmp/diff_new_pack.bD8H78/_new 2019-10-07 13:42:24.900112258 +0200 @@ -1,7 +1,7 @@ # # spec file for package cfitsio # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,15 @@ # -%define tar_ver 3450 -%define so_ver 7 +%define tar_ver 3.47 +%define so_ver 8 Name: cfitsio -Version:3.450 +Version:3.470 Release:0 Summary:Library for manipulating FITS data files License:ISC -Group: Productivity/Scientific/Other -URL:http://heasarc.nasa.gov/fitsio/ -Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/%{name}%{tar_ver}.tar.gz +URL:https://heasarc.nasa.gov/fitsio/ +Source0: https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/%{name}-%{tar_ver}.tar.gz # PATCH-FIX-OPENSUSE cfitsio-zlib.patch asterios.dra...@gmail.com -- Use system zlib, link programs to shared libcfitsio (based on patches from Fedora and Debian) Patch0: cfitsio-zlib.patch BuildRequires: gcc-fortran @@ -45,7 +44,6 @@ %package devel Summary:Headers required when building programs against cfitsio library -Group: Development/Libraries/Other Requires: libcfitsio%{so_ver} = %{version} Requires: pkgconfig Suggests: cfitsio-devel-doc = %{version} @@ -59,7 +57,6 @@ %package devel-doc Summary:Documentation for the cfitsio library -Group: Documentation/Other # libcfitsio-doc was last used in openSUSE 12.1 (version 3.280) Obsoletes: libcfitsio-doc <= 3.280 # libcfitsio-devel-doc was last used in openSUSE 13.1 (version 3.350) @@ -71,7 +68,6 @@ %package -n
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2018-12-10 12:21:59 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new.19453 (New) Package is "cfitsio" Mon Dec 10 12:21:59 2018 rev:18 rq:653392 version:3.450 Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2018-04-20 17:30:59.267236570 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new.19453/cfitsio.changes 2018-12-10 12:22:02.198904217 +0100 @@ -1,0 +2,14 @@ +Sat Dec 1 20:50:19 UTC 2018 - Asterios Dramis + +- Update to version 3.450: + * New support for reading and writing unsigned long long +datatypes. This includes 'implicit datatype conversion' between +the unsigned long long datatype and all the other datatypes. + * Increased the hardcoded NMAXFILES setting for maximum number of +open files from 1000 to 1. + * Bug fix to fits_calc_binning wrapper function, which wasn't +filling in the returned float variables. + * Fixed a parsing bug for image subsection and column binning +range specifiers that was introduced in v3.44. + +--- Old: cfitsio3440.tar.gz New: cfitsio3450.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.d98Pc7/_old 2018-12-10 12:22:11.878894574 +0100 +++ /var/tmp/diff_new_pack.d98Pc7/_new 2018-12-10 12:22:11.882894571 +0100 @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define tar_ver 3440 -%define so_ver 6 +%define tar_ver 3450 +%define so_ver 7 Name: cfitsio -Version:3.440 +Version:3.450 Release:0 Summary:Library for manipulating FITS data files License:ISC ++ cfitsio3440.tar.gz -> cfitsio3450.tar.gz ++ 9558 lines of diff (skipped)
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2018-04-20 17:29:13 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is "cfitsio" Fri Apr 20 17:29:13 2018 rev:17 rq:597599 version:3.440 Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2018-04-13 12:50:54.477079147 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2018-04-20 17:30:59.267236570 +0200 @@ -1,0 +2,25 @@ +Mon Apr 16 19:19:15 UTC 2018 - asterios.dra...@gmail.com + +- Update to version 3.440: + * This release primarily patches security vulnerabilities. We +strongly encourage this upgrade, particularly for those running +CFITSIO in web accessible applications. + * Enhancement to 'template' and 'colfilter' functionality. It is +now possible to delete multiple keywords using wildcard syntax. +See "Column and Keyword Filtering Specification" section of +manual for details. + * histo.c uses double precision internally for all floating point +binning; new double-precision subroutines fits_calc_binningd(), +fits_rebin_wcsd(), and fits_make_histd(); existing +single-precision histogram functions still work but convert +values to double-precision internally. + * new subroutine fits_copy_cols() / ffccls() to copy multiple +columns + * Fix in imcompress.c for HCOMPRESS and PLIO compression of +unsigned short integers. + * Fix to fits_insert_card(ffikey). It had wrongly been +capitalizing letters that appeared before an '=' sign on a +CONTINUE line. +- Rebased cfitsio-zlib.patch to apply cleanly. + +--- Old: cfitsio3430.tar.gz New: cfitsio3440.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.mZEaFo/_old 2018-04-20 17:31:00.387195958 +0200 +++ /var/tmp/diff_new_pack.mZEaFo/_new 2018-04-20 17:31:00.391195813 +0200 @@ -16,10 +16,10 @@ # -%define tar_ver 3430 -%define so_ver 5 +%define tar_ver 3440 +%define so_ver 6 Name: cfitsio -Version:3.430 +Version:3.440 Release:0 Summary:Library for manipulating FITS data files License:ISC ++ cfitsio-zlib.patch ++ --- /var/tmp/diff_new_pack.mZEaFo/_old 2018-04-20 17:31:00.427194508 +0200 +++ /var/tmp/diff_new_pack.mZEaFo/_new 2018-04-20 17:31:00.427194508 +0200 @@ -1,10 +1,15 @@ +--- + Makefile.in |8 +++- + zlib/zcompress.c |2 +- + 2 files changed, 4 insertions(+), 6 deletions(-) + Index: cfitsio/Makefile.in === --- cfitsio.orig/Makefile.in +++ cfitsio/Makefile.in -@@ -68,9 +68,7 @@ CORE_SOURCES = buffers.c cfileio.c chec +@@ -67,9 +67,7 @@ CORE_SOURCES = buffers.c cfileio.c chec pliocomp.c fits_hcompress.c fits_hdecompress.c \ - simplerng.c + simplerng.c @GSIFTP_SRC@ -ZLIB_SOURCES =zlib/adler32.c zlib/crc32.c zlib/deflate.c zlib/infback.c \ - zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \ @@ -13,7 +18,7 @@ SOURCES = ${CORE_SOURCES} ${ZLIB_SOURCES} @F77_WRAPPERS@ -@@ -103,7 +101,7 @@ lib${PACKAGE}.a: ${OBJECTS} +@@ -102,7 +100,7 @@ lib${PACKAGE}.a: ${OBJECTS} shared: lib${PACKAGE}${SHLIB_SUFFIX} lib${PACKAGE}${SHLIB_SUFFIX}: ${OBJECTS} @@ -22,7 +27,7 @@ @if [ "x${CFITSIO_SHLIB_SONAME}" != x ]; then \ ln -sf ${CFITSIO_SHLIB} ${CFITSIO_SHLIB_SONAME}; \ ln -sf ${CFITSIO_SHLIB_SONAME} $@; \ -@@ -143,7 +141,7 @@ smem: smem.o lib${PACKAGE}.a ${OBJECTS} +@@ -142,7 +140,7 @@ smem: smem.o lib${PACKAGE}.a ${OBJECTS} ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm testprog: testprog.o lib${PACKAGE}.a ${OBJECTS} ++ cfitsio3430.tar.gz -> cfitsio3440.tar.gz ++ 20917 lines of diff (skipped)
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2018-04-13 12:50:32 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is "cfitsio" Fri Apr 13 12:50:32 2018 rev:16 rq:595795 version:3.430 Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2018-02-10 17:59:20.417584237 +0100 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2018-04-13 12:50:54.477079147 +0200 @@ -1,0 +2,17 @@ +Wed Apr 11 20:43:09 UTC 2018 - asterios.dra...@gmail.com + +- Update to version 3.430: + * Fixed security vulnerabilities (bsc#1088590, CVE-2018-1000166). + * Calls to https driver functions in cfileio.c need to be macro- +protected by the HAVE_NET_SERVICES variable (as are the http +and ftp driver function calls). Otherwise CMake builds on +native Windows will fail since drvrnet.o is left empty. + * Bug fix to ffmvec function. Should be resetting a local colptr +variable after making a call to ffiblk (which can reallocate +Ftpr->tableptr). + * Ignore any attempted request to not quantize an image before +compressing it if the image has integer datatype pixels. + * Improved error message construction throughout CFITSIO. +- Package licence file as license, not doc (boo#1082318). + +--- Old: cfitsio3420.tar.gz New: cfitsio3430.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.xKDiiR/_old 2018-04-13 12:51:00.852848153 +0200 +++ /var/tmp/diff_new_pack.xKDiiR/_new 2018-04-13 12:51:00.852848153 +0200 @@ -16,10 +16,10 @@ # -%define tar_ver 3420 +%define tar_ver 3430 %define so_ver 5 Name: cfitsio -Version:3.420 +Version:3.430 Release:0 Summary:Library for manipulating FITS data files License:ISC @@ -122,7 +122,8 @@ %postun -n libcfitsio%{so_ver} -p /sbin/ldconfig %files -%doc License.txt README docs/{changes.txt,fpackguide.pdf} +%doc README docs/{changes.txt,fpackguide.pdf} +%license License.txt %{_bindir}/fpack %{_bindir}/funpack @@ -132,7 +133,7 @@ %{_libdir}/pkgconfig/cfitsio.pc %files devel-doc -%doc docs/{cfitsio.doc,cfitsio.ps,cfortran.doc,fitsio.doc,fitsio.ps,quick.ps} +%doc docs/{cfitsio.ps,cfortran.doc,fitsio.doc,fitsio.ps,quick.ps} %files -n libcfitsio%{so_ver} %{_libdir}/libcfitsio.so.%{so_ver}* ++ cfitsio3420.tar.gz -> cfitsio3430.tar.gz ++ 14698 lines of diff (skipped)
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2018-02-10 17:59:20 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is "cfitsio" Sat Feb 10 17:59:20 2018 rev:15 rq:574853 version:3.420 Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2017-03-03 17:45:06.268301292 +0100 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2018-02-10 17:59:20.417584237 +0100 @@ -1,0 +2,37 @@ +Thu Feb 8 19:38:09 UTC 2018 - asterios.dra...@gmail.com + +- Update to version 3.420: + * added https support to the collection of drivers handled in +cfileio.c and drvrnet.c. This also handles the case where http +transfers are rerouted to https. Note that this enhancement +introduces a dependency on the libcurl development package. If +this package is absent, CFITSIO will still build but will not +have https capability. + * made fix to imcomp_init_table function in imcompress.c. It now +writes ZSIMPLE keyword only to a compressed image that will be +placed in the primary header. + * fix made to fits_get_col_display_width for case of a vector +column of strings. + * in ftp_open_network and in ftp_file_exist, added code to +repeatedly attempt to make a ftp connection if the ftp server +does not respond to the first request. (some ftp servers don't +appear to be 100% reliable). + * in drvrnet.c added many calls to 'fclose' to close unneeded +files, to avoid exceeding the maximum allowed number of files +that can be open at once. + * made substantial changes to the ftp_checkfile and +http_checkfile routines to streamline the process of checking +for the existence of a .gz or .Z compressed version of the file +before opening the uncompressed file (when using http or ftp to +open the file). + * modified the code in ftp_open_network to send "\r\n" as +end-of-line characters instead of just "\n". Some ftp servers +(in particular, at heasarc.gsfc.nasa.gov) now require both +characters, otherwise the network connection simply hangs. + * modified the http_open_network routine to handle HTTP 301 or +302 redirects to a FTP url. This is needed to support the new +configuration on the heasarc HTTP server which sometimes +redirects http URLS to a ftp URL. +- Added new build requirement libcurl-devel. + +--- Old: cfitsio3410.tar.gz New: cfitsio3420.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.yW26yH/_old 2018-02-10 17:59:21.881531242 +0100 +++ /var/tmp/diff_new_pack.yW26yH/_new 2018-02-10 17:59:21.885531097 +0100 @@ -1,7 +1,7 @@ # # spec file for package cfitsio # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,22 @@ # -%define tar_ver 3410 +%define tar_ver 3420 %define so_ver 5 - Name: cfitsio -Version:3.410 +Version:3.420 Release:0 Summary:Library for manipulating FITS data files License:ISC Group: Productivity/Scientific/Other -Url:http://heasarc.nasa.gov/fitsio/ +URL:http://heasarc.nasa.gov/fitsio/ Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/%{name}%{tar_ver}.tar.gz # PATCH-FIX-OPENSUSE cfitsio-zlib.patch asterios.dra...@gmail.com -- Use system zlib, link programs to shared libcfitsio (based on patches from Fedora and Debian) Patch0: cfitsio-zlib.patch BuildRequires: gcc-fortran -BuildRequires: pkg-config +BuildRequires: libcurl-devel +BuildRequires: pkgconfig BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description CFITSIO is a library of C and Fortran subroutines for reading and writing data @@ -48,7 +47,7 @@ Summary:Headers required when building programs against cfitsio library Group: Development/Libraries/Other Requires: libcfitsio%{so_ver} = %{version} -Requires: pkg-config +Requires: pkgconfig Suggests: cfitsio-devel-doc = %{version} # libcfitsio-devel was last used in openSUSE 13.1 (version 3.350) Provides: libcfitsio-devel = %{version} @@ -120,27 +119,22 @@ rm -f %{buildroot}%{_libdir}/libcfitsio.a %post -n libcfitsio%{so_ver} -p /sbin/ldconfig - %postun -n libcfitsio%{so_ver} -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc License.txt README
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2017-03-03 17:45:05 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is "cfitsio" Fri Mar 3 17:45:05 2017 rev:14 rq:461138 version:3.410 Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2016-07-01 09:59:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2017-03-03 17:45:06.268301292 +0100 @@ -1,0 +2,69 @@ +Tue Feb 28 20:56:46 UTC 2017 - asterios.dra...@gmail.com + +- Update to version 3.410: + * The change made in version 3.40 to include strings.h caused +problems on Windows (and other) platforms, so this change was +backed out. The reason for including it was to define the +strcasecmp and strcasencmp functions, so as an alternative, new +equivalent functions called fits_strcasecmp and +fits_strncasecmp have been added to CFITSIO.as a substitute. +All the previous calls to the str[n]casecmp functions have been +changed to now call fits_str[n]casecmp. In addition, the +previously defined ngp_strcasecmp function (in grparser.c) has +been removed and the calls to it have been changed to +fits_strcasecmp. + * The speed.c utility program was changed to correctly call +the gettimeofday function with a NULL second arguement. + From version 3.400: + * fixed a bug when writing long string keywords with the CONTINUE +convention which caused the CONTINUE'd strings to only be 16 +characters long, instead of using up all the available space in +the 80-character header record. + * fixed a missing 'defined' keyword in fitsio.h. + * replaced all calls to strtok (which is not threadsafe) with a +new ffstrtok function which internally calls the threadsafe +strtok_r function. One byproduct of this change is that + must also be included in several of the C source +code files. + * modified the ffphbn function in putkey.c to support TFORM +specifiers that use lowercase 'p' (instead of uppercase) when +referring to a variable-length array column. + * modified the lexical parser in eval.y and eval_y.c to support +bit array columns (with TFORMn = 'X') with greater than 256 +elements. Fix to bitcmp function: The internal 'stream' array +is now allocated dynamically rather than statically fixed at +size 256. This was failing when users attempted a row filtering +of a bitcol that was wider than 256X. In bitlgte, bitand, and +bitor functions, replaced static stream[256] array allocation +with dynamic allocation. + * modified the ffiter function in putcol.c to fix a problem which +could cause the iterator function to incorrectly deal with null +values. This only affected TLONG type columns in cases where +sizeof(long) = 8, as well as for TLONGLONG type columns. + * Fix made to uncompress2mem function in zcomprss.c for case +where output uncompressed file expands to over the 2^32 (4Gb) +limit. It now checks for this case at the start, and +implements a 4Gb paging system through the output buffer. The +problem was specifically caused by the d_stream.avail_out +member being of 4-byte type uInt, and thus unable to handle any +memory position values above 4Gb. + * fixed a bug in fpackutil.c when using the -i2f (integer to +float) option in fpack to compress an integer image that is +scaled with non-default values for BSCALE and BZERO. This +required an additional call to ffrhdu to reset the internal +structures that describe the input FITS file. + * modified fits_uncompress_table in imcompress.c to silently +ignore the ZTILELEN keyword value if it larger than the number +of rows in the table + * Tweak strcasecmp/strncasecmp ifdefs to exclude 64-bit MINGW +environment, as it does not lack those functions. (eval_l.c, +fitsio2.h) + * CMakeLists.txt: Set M_LIB to "" for MINGW build environment (in +addition to MSVC). + * Makefile.in: Add *.dSYM (non-XCode gcc leftovers on Macs) to +clean list. Install libs by name rather than using a wildcard. + * configure: Fix rpath token usage for XCode vs. non-XCode gcc on +Macs. +- Rebased cfitsio-zlib.patch to apply cleanly. + +--- Old: cfitsio3390.tar.gz New: cfitsio3410.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.iWAIHy/_old 2017-03-03 17:45:07.932066168 +0100 +++ /var/tmp/diff_new_pack.iWAIHy/_new 2017-03-03 17:45:07.936065603 +0100 @@ -1,7 +1,7 @@ # # spec file for package cfitsio # -# Copyright (c) 2016 SUSE
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2016-07-01 09:58:59 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is "cfitsio" Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2014-12-30 00:50:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2016-07-01 09:59:01.0 +0200 @@ -1,0 +2,7 @@ +Sun Jun 26 22:18:52 UTC 2016 - asterios.dra...@gmail.com + +- Update to version 3.390: + * Lots of changes - see changes.txt for details. +- Rebased cfitsio-zlib.patch to apply cleanly. + +--- Old: cfitsio3370.tar.gz New: cfitsio3390.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.hZjao9/_old 2016-07-01 09:59:02.0 +0200 +++ /var/tmp/diff_new_pack.hZjao9/_new 2016-07-01 09:59:02.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package cfitsio # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,11 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define tar_ver 3370 -%define so_ver 2 + +%define tar_ver 3390 +%define so_ver 5 Name: cfitsio -Version:3.370 +Version:3.390 Release:0 Summary:Library for manipulating FITS data files License:ISC @@ -82,7 +83,7 @@ in FITS files. %prep -%setup -q -n cfitsio +%setup -q -n %{name} %patch0 -p1 # Remove bundled zlib @@ -115,9 +116,6 @@ %install make DESTDIR=%{buildroot} CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} install -mkdir %{buildroot}%{_bindir} -install -pm 0755 f{,un}pack %{buildroot}%{_bindir}/ - # Remove static libraries rm -f %{buildroot}%{_libdir}/libcfitsio.a ++ cfitsio-zlib.patch ++ --- /var/tmp/diff_new_pack.hZjao9/_old 2016-07-01 09:59:02.0 +0200 +++ /var/tmp/diff_new_pack.hZjao9/_new 2016-07-01 09:59:02.0 +0200 @@ -1,46 +1,38 @@ diff -Naur cfitsio.orig/Makefile.in cfitsio/Makefile.in cfitsio.orig/Makefile.in 2013-12-06 00:20:57.0 +0200 -+++ cfitsio/Makefile.in2014-02-16 22:57:32.164992353 +0200 -@@ -63,9 +63,7 @@ +--- cfitsio.orig/Makefile.in 2016-04-01 22:06:28.0 +0300 cfitsio/Makefile.in2016-06-27 00:40:36.249217879 +0300 +@@ -68,9 +68,7 @@ pliocomp.c fits_hcompress.c fits_hdecompress.c \ simplerng.c -ZLIB_SOURCES =zlib/adler32.c zlib/crc32.c zlib/deflate.c zlib/infback.c \ - zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \ - zlib/uncompr.c zlib/zcompress.c zlib/zuncompress.c zlib/zutil.c -+ZLIB_SOURCES =zlib/zcompress.c zlib/zuncompress.c ++ZLIB_SOURCES = zlib/zcompress.c zlib/zuncompress.c SOURCES = ${CORE_SOURCES} ${ZLIB_SOURCES} @F77_WRAPPERS@ -@@ -97,7 +95,7 @@ - shared: libcfitsio${SHLIB_SUFFIX} +@@ -103,7 +101,7 @@ + shared: lib${PACKAGE}${SHLIB_SUFFIX} - libcfitsio${SHLIB_SUFFIX}: ${OBJECTS} + lib${PACKAGE}${SHLIB_SUFFIX}: ${OBJECTS} - ${SHLIB_LD} ${LDFLAGS} -o ${CFITSIO_SHLIB} ${OBJECTS} -lm ${LIBS} + ${SHLIB_LD} ${LDFLAGS} -o ${CFITSIO_SHLIB} ${OBJECTS} -lm ${LIBS} -lz @if [ "x${CFITSIO_SHLIB_SONAME}" != x ]; then \ ln -sf ${CFITSIO_SHLIB} ${CFITSIO_SHLIB_SONAME}; \ ln -sf ${CFITSIO_SHLIB_SONAME} $@; \ -@@ -118,13 +116,13 @@ - ${CC} $(CFLAGS) $(DEFS) -o smem smem.o -L. -lcfitsio -lm +@@ -137,7 +135,7 @@ + ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm - testprog: testprog.o libcfitsio.a ${OBJECTS} -- ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o -L. -lcfitsio -lm ${LIBS} -+ ${CC} $(CFLAGS) $(DEFS) -o testprog testprog.o -L. -lcfitsio -lm ${LIBS} -lz - - fpack:fpack.o fpackutil.o libcfitsio.a ${OBJECTS} -- ${CC} $(CFLAGS) $(DEFS) -o fpack fpack.o fpackutil.o libcfitsio.a -lm ${LIBS} -+ ${CC} $(CFLAGS) $(DEFS) -o fpack fpack.o fpackutil.o -L. -lcfitsio -lm ${LIBS} - - funpack: funpack.o fpackutil.o libcfitsio.a ${OBJECTS} -- ${CC} $(CFLAGS) $(DEFS) -o funpack funpack.o fpackutil.o libcfitsio.a -lm ${LIBS} -+ ${CC} $(CFLAGS) $(DEFS) -o funpack funpack.o fpackutil.o -L. -lcfitsio -lm ${LIBS} + testprog: testprog.o lib${PACKAGE}.a ${OBJECTS}
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2014-12-30 00:50:03 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is cfitsio Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2014-02-19 06:51:38.0 +0100 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2014-12-30 00:50:30.0 +0100 @@ -1,0 +2,16 @@ +Thu Dec 25 17:09:27 UTC 2014 - p.drou...@gmail.com + +- Update to version 3.370 + + Added configure options to support reading bzip2 compressed FITS files. +This depends on having the bzlib library installed on the local machine. + + Replaced the random Gaussian and Poissonian distribution functions with +new code written by Craig Markwardt derived from public domain C++ functions + + Patched fitsio2.h to support CFITSIO on AArch64 (64-bit ARM) + architecture (both big and little endian). + + Fixed bug in fpackutil.c that caused fpack to exit prematurely if +the FZALGOR directive keyword was present in the HDU header. +- Remove obsolete patches; fixed on upstream release + + aarch64-support.patch + + ppc64le-support.patch + +--- Old: aarch64-support.patch cfitsio3360.tar.gz ppc64le-support.patch New: cfitsio3370.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.y7prEp/_old 2014-12-30 00:50:32.0 +0100 +++ /var/tmp/diff_new_pack.y7prEp/_new 2014-12-30 00:50:32.0 +0100 @@ -15,23 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - +%define tar_ver 3370 %define so_ver 2 Name: cfitsio -Version:3.360 +Version:3.370 Release:0 Summary:Library for manipulating FITS data files License:ISC Group: Productivity/Scientific/Other Url:http://heasarc.nasa.gov/fitsio/ -Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3360.tar.gz +Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/%{name}%{tar_ver}.tar.gz # PATCH-FIX-OPENSUSE cfitsio-zlib.patch asterios.dra...@gmail.com -- Use system zlib, link programs to shared libcfitsio (based on patches from Fedora and Debian) Patch0: cfitsio-zlib.patch -# PATCH-FIX-OPENSUSE aarch64-support.patch sch...@suse.de -- Add support for aarch64 -Patch1: aarch64-support.patch -# PATCH-FIX-OPENSUSE ppc64le-support.patch uweig...@de.ibm.com -- Add support for ppc64le -Patch2: ppc64le-support.patch BuildRequires: gcc-fortran BuildRequires: pkg-config BuildRequires: zlib-devel @@ -88,8 +84,6 @@ %prep %setup -q -n cfitsio %patch0 -p1 -%patch1 -p1 -%patch2 -p1 # Remove bundled zlib pushd zlib ++ cfitsio-zlib.patch ++ --- /var/tmp/diff_new_pack.y7prEp/_old 2014-12-30 00:50:32.0 +0100 +++ /var/tmp/diff_new_pack.y7prEp/_new 2014-12-30 00:50:32.0 +0100 @@ -1,9 +1,9 @@ diff -Naur cfitsio.orig/Makefile.in cfitsio/Makefile.in --- cfitsio.orig/Makefile.in 2013-12-06 00:20:57.0 +0200 +++ cfitsio/Makefile.in2014-02-16 22:57:32.164992353 +0200 -@@ -62,9 +62,7 @@ - swapproc.c wcssub.c wcsutil.c imcompress.c quantize.c ricecomp.c \ - pliocomp.c fits_hcompress.c fits_hdecompress.c +@@ -63,9 +63,7 @@ + pliocomp.c fits_hcompress.c fits_hdecompress.c \ + simplerng.c -ZLIB_SOURCES =zlib/adler32.c zlib/crc32.c zlib/deflate.c zlib/infback.c \ - zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \ ++ cfitsio3360.tar.gz - cfitsio3370.tar.gz ++ 21882 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2014-02-19 06:51:37 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is cfitsio Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2013-12-19 12:07:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2014-02-19 06:51:38.0 +0100 @@ -1,0 +2,62 @@ +Sun Feb 16 21:46:00 UTC 2014 - asterios.dra...@gmail.com + +- Update to version 3.360: + * added 9 Dec: small change to the fileseek function in drvrfile.c to +support large files 2 GB when building CFITSIO with MinGW on Windows + * reorganized the CFITSIO code directory structure; added a 'docs' +subdirectory for all the documentation, and a 'zlib' directory +for the zlib/gzip file compression code. + * made major changes to the compression code for FITS binary table +to support all types of columns, including variable-length arrays. +This code is mainly used via the fpack and funpack programs. + * increased the number of FITS files that can be opened as one +time to 1000, as defined by NMAXFILES in fitsio2.h. + * made small configuration changes to configure.in, configure, +fitsio.h, and drvrfile.c to support large files (64-bit file +offsets} when using the mingw-w64 compiler (provided by +Benjamin Gilbert). + * made small change to fits_delete_file to more completely ignore +any non-zero input status value. + * fixed a logic error in a 'if' test when parsing a keyword name +in the ngp_keyword_is_write function in grparser.c (provided +by David Binderman). + * when specifying the image compression parameters as part of the +compressed image file name (using the [compress] qualifier +after the name of the file), the quantization level value, if +specified, was not being recognized by the CFITSIO compression +routines. The image would always be compressed with the default +quantization level of 4.0, regardless of what was specified. This +affected the imcopy program, and potentially other user-generated +application programs that used this method to specify the +compression parameters. This bug did not affect fpack or +funpack. This was fixed in the imcomp_get_compressed_image_par +routine in the imcompress.c file. (reported by Sean Peters) + * defined a new CFITS_API macro in fitsio.h which is used to export the +public symbols when building CFITSIO on Windows systems with CMake. This +works in conjunction with the new Windows CMake build procedure that +is described in the README.win32 file. This complete revamping of the +way CFITSIO is built under Windows now supports building 64-bit +versions of the library. Thanks to Daniel Kaneider (Luminance HDR +Team) for providing these new CMake build procedures. + * modified the way that the low-level file_create routine works when +running in the Hera environment to ensure that the FITS file that is +created is within the allow user data disk area. + * modified fits_get_compression_type so that it does not return an error +if the HDU is a normal FITS IMAGE extension, and is not a tile-compressed +image. + * modified the low-level ffgcl* and ffpcl* routines to ensure that they +never try ro read or write more than 2**31 bytes from disk at one time, +as might happen with very large images, to avoid integer overflow errors. +Fix kindly provided by Fred Gutsche at NanoFocus AG (www.nanofocus.de). + * modified Makefile.in so that doing 'make distclean' does not delete +new config.sub and config.guess files that were recently added. + * adopted a patch from Debian in zcompress.c to define the values of +GZBUFSIZE and BUFFINCR, instead of exporting the symbols as 'int's. +- Renamed libcfitsio-devel to cfitsio-devel and libcfitsio-devel-doc to + cfitsio-devel-doc. Added appropriate Provides/Obsoletes entries. +- Removed the following patches (fixed upstream): + * implicit-pointer-decl.patch + * no-return-in-nonvoid-function.patch +- Rebased cfitsio-zlib.patch to apply cleanly. + +--- Old: cfitsio3350.tar.gz implicit-pointer-decl.patch no-return-in-nonvoid-function.patch New: cfitsio3360.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.JJ1wcb/_old 2014-02-19 06:51:39.0 +0100 +++ /var/tmp/diff_new_pack.JJ1wcb/_new 2014-02-19 06:51:39.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package cfitsio # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg,
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2013-12-19 12:07:40 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is cfitsio Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2013-07-07 22:17:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2013-12-19 12:07:41.0 +0100 @@ -1,0 +2,5 @@ +Sun Dec 15 23:41:27 UTC 2013 - uweig...@de.ibm.com + +- ppc64le-support.patch: Add support for ppc64le. + +--- New: ppc64le-support.patch Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.KZEzwY/_old 2013-12-19 12:07:42.0 +0100 +++ /var/tmp/diff_new_pack.KZEzwY/_new 2013-12-19 12:07:42.0 +0100 @@ -34,6 +34,7 @@ Patch2: aarch64-support.patch # PATCH-FIX-OPENSUSE no-return-in-nonvoid-function.patch asterios.dra...@gmail.com -- Fix Program returns random data in a function rpm post build check error Patch3: no-return-in-nonvoid-function.patch +Patch4: ppc64le-support.patch BuildRequires: gcc-fortran BuildRequires: pkg-config BuildRequires: zlib-devel @@ -87,6 +88,7 @@ %patch1 %patch2 -p1 %patch3 +%patch4 -p1 # Remove bundled zlib rm -f adler32.c crc32.c crc32.h deflate.c deflate.h infback.c inffast.c \ ++ ppc64le-support.patch ++ Index: cfitsio/fitsio2.h === --- cfitsio.orig/fitsio2.h +++ cfitsio/fitsio2.h @@ -107,8 +107,12 @@ extern int Fitsio_Pthread_Status; #elif defined(__powerpc64__) || defined(__64BIT__) /* IBM 64-bit AIX powerpc*/ /* could also test for __ppc64__ or __PPC64 */ +#ifdef __LITTLE_ENDIAN__ +#define BYTESWAPPED TRUE +#else #define BYTESWAPPED FALSE #define MACHINE NATIVE +#endif #define LONGSIZE 64 #elif defined(_MIPS_SZLONG) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2013-07-07 22:17:08 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is cfitsio Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2013-06-17 10:02:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2013-07-07 22:17:10.0 +0200 @@ -1,0 +2,81 @@ +Sun Jul 7 11:36:05 UTC 2013 - asterios.dra...@gmail.com + +- Update to version 3.350: + * fixed problem with the default tile size when compressing images with +fpack using the Hcompress algorithm. + * fixed returned value (status instead of *status) + * in imcompress.c, declared some arrays that are used to store the dimensions +of the image from 'int' to 'long', to support very large images (at least +on systems where sizeof(long) = 8), + * modified the routines that convert a string value to a float or double +to prevent them from returning a NaN or Inf value if the +string is NaN or Inf (as can happen with gcc implementation of the +strtod function). + * removed/replaced the use of the assert() functions when locking or +unlocking threads because they did not work correctly if NDEBUG is +defined. + * made modifications to the way the command-line file filters are parsed to +1) remove the 1024-character limit when specifying a column filter, +2) fixed a potential character buffer-overflow risk in fits_get_token, and +3) improved the parsing logic to remove any possible of confusing +2 slash characters (//) in the string as the beginning of a +comment string. + * modified configure and Makefile.in so that when building CFITSIO +as a shared library on linux or Mac platforms, it will use the SONAME +convention to indicate whether each new release of the CFITSIO +library is binary-compatible with the previous version. Application +programs that link with the shared library will not need to be +recompiled as long as the versions are compatible. In practice, +this means that the shared library binary file that is created (on +Linux systems) will have a name like 'libcfitsio.so.I.J.K', where I is the +SONAME version number, J is the major CFITSIO version number (e.g. 3), +and K is the minor CFITSIO version number (e.g., 34). Two link +files will also be created such that + libcfitsio.so - libcfitsio.so.I, and + libcfitsio.so.I - libcfitsio.I.J.K +Application programs will still run correctly with the new version of +CFITSIO as long as the 'I' version number remains the same, but the +applications will fail to run if the 'I' number changes, thus alerting +the user that the application must be rebuilt. + * fixed bug in fits_insert_col when computing the new table row width +when inserting a '1Q' variable length array column. + * modified the image compression routines so that the output compressed +image (stored in a FITS binary table) uses the '1Q' variable length +array format (instead of '1P') when the input file is larger than 4 GB. + * added support for compression directive keywords which indicate how +that HDU should be compressed (e.g., which compression algorithm to use, +what tiling pattern to use, etc.). The values of these keywords will +override the compression parameters that were specified on the command +line when running the fpack FITS file compression program. + * globally changed the variable and/or subroutine name dither_offset +to dither_seed and quantize_dither to quantize_method so +that the names more accurately reflects their purpose. + * added support for a new SUBTRACTIVE_DITHER_2 method when compressing +floating point images. The only difference with the previous method +is that pixels with a value exactly equal to 0.0 will not be dithered, +and instead will be exactly preserved when the image is compressed. + * added support for an alias of RICE_ONE for RICE_1 as the value +of the ZCMPTYPE keyword, which gives the name of the image compression +algorithm. This alias is used if the new SUBTRACTIVE_DITHER_2 option +is used, to prevent old versions of funpack from creating a corrupted +uncompressed image file. Only newer versions of funpack will recognize +this alias and be able to uncompress the image. + * made performance improvement to fits_read_compressed_img so that +when reading a section of an compressed image that includes only +every nth pixel in some dimension, it will only uncompressed a tile +if there are actually any pixels of interest in that tile. + * fixed several issues with the beta FITS binary table compression code +that is
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2013-06-17 10:02:42 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is cfitsio Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2013-04-06 08:51:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2013-06-17 10:02:44.0 +0200 @@ -1,0 +2,5 @@ +Sun Jun 16 08:33:04 UTC 2013 - sch...@suse.de + +- aarch64-support.patch: Add support for aarch64 + +--- New: aarch64-support.patch Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.skbJqW/_old 2013-06-17 10:02:44.0 +0200 +++ /var/tmp/diff_new_pack.skbJqW/_new 2013-06-17 10:02:44.0 +0200 @@ -30,6 +30,8 @@ Patch1: cfitsio-zlib.patch # PATCH-FIX-OPENSUSE implicit-pointer-decl.patch asterios.dra...@gmail.com -- Fix implicit-pointer-decl rpm post build check warning Patch2: implicit-pointer-decl.patch +# PATCH-FIX-OPENSUSE aarch64-support.patch sch...@suse.de -- Add support for aarch64 +Patch3: aarch64-support.patch BuildRequires: gcc-fortran BuildRequires: pkg-config BuildRequires: zlib-devel @@ -82,6 +84,7 @@ %patch0 -p1 %patch1 -p1 %patch2 +%patch3 -p1 # Remove bundled zlib rm -f adler32.c crc32.c crc32.h deflate.c deflate.h infback.c inffast.c \ ++ aarch64-support.patch ++ Index: cfitsio/fitsio2.h === --- cfitsio.orig/fitsio2.h +++ cfitsio/fitsio2.h @@ -195,6 +195,18 @@ extern int Fitsio_Pthread_Status; #define BYTESWAPPED FALSE #endif +#elif defined(__aarch64__) + +/* AArch64 CPU can be used in both little and big endian modes */ + +#if defined(__AARCH64EB__) +#define BYTESWAPPED FALSE +#define MACHINE NATIVE +#else +#define BYTESWAPPED TRUE +#endif +#define LONGSIZE 64 + #else /* assume all other machine uses the same IEEE formats as used in FITS files */ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2013-04-06 08:51:57 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is cfitsio, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2012-08-05 07:59:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2013-04-06 08:51:56.0 +0200 @@ -1,0 +2,95 @@ +Wed Apr 3 18:35:45 UTC 2013 - asterios.dra...@gmail.com + +- Update to version 3.340: + * modified configure and configure.in to support cross-compiled cfitsio +as a static library for Windows on a Linux platform using MXE +(http://mxe.cc) - a build environment for mingw32. (contributed by +Niels Kristian Bech Jensen) + * added conditional compilation statementsfor the mingw32 environment in +drvrfile.c because mingw32 does not include the ftello and fseeko +functions. (contributed by Niels Kristian Bech Jensen) + * fixed a potential bug in ffcpcl (routine to copy a column from one table +to another table) when dealing with the rare case of a '0X' column (zero +length bit column). + * fixed an issue in the routines that update or modify string-valued +keyword values, as a result of the change to ffc2s in the previous +release. These routines would exit with a 204 error status if the +current value of the keyword to be updated or modified is null. + * fixed typo in the previous modification that was intended to ignore +numerical overflows in Hcompress when decompressing an image. + * moved the 'startcol' static variable out of the ffgcnn routine and +instead added it as a member of the 'FITSfile' structure that is defined +in fitsio.h. This removes a possible race condition in ffgcnn in +multi-threaded environments. + From version 3.330: + * modified the imcomp_decompress_tile routine to ignore any numerical +overflows that might occur when using Hcompress to decompress the +image. If Hcompress is used in its 'lossy' mode, the uncompressed +image pixel values may slightly exceed the range of an integer*2 +variable. This is generally of no consequence, so we can safely ignore +any overflows in this case and just clip the values to the legal range. + * the default tiling pattern when writing a tile-compressed image +has been changed. The old behaviour was to compress the whole image +as one single large tile. This is often not optimal when dealing +with large images, so the new default behavior is to treat each +row of the image as one tile. This is the same default behavior +as in the standalone fpack program. The default tile size can +be overridden by calling fits_set_tile_dim. + * fixed bug bug that resulted in a corrupted output FITS image when +attempting to write a float or double array of values to a +tile-compressed integer data type image. CFITSIO does not support +implicit data type conversion in this case and now correctly +returns an appropriate error status. + * modified ricecomp.c to define the nonzero_count lookup table as an +external variable, rather then dynamically allocating it within the +3 routines that use it. This simplifies the code and eliminates the +need for special thread locking and unlocking statements. (Thanks to +Lars Kr. Lundin for this suggestion). + * modifed how the uncompressed size of a gzipped file is computed in the +mem_compress_open routine in drvrmem.c. Since gzip only uses 4 bytes +in the compressed file header to store the original file size, one may +need to apply a modulo 2^32 byte correction in some cases. The logic +here was modified to allow for corner cases (e.g., very small files, and +when running on 32-bit platforms that do not support files larger than +2^31 bytes in size). + * added new public routine to construct a 80 keyword record from the 3 input +component strings, i.e, the keyword name string, the value string, and +the comment string: fits_make_key/ffmkky. (This was already an undocumented +internal routine in previous versions of CFITSIO). + * modified ffc2s so that if the input keyword value string is a null string, +then it will return a VALUE_UNDEFINED (204) status value. This makes it +consistent with the behavior when attempting to read a null keyword +(which has no value) as a logical or as a number (which also returns +the 204 error). This should only affect cases where the header keyword +does not have an equal sign followed by a space character in columns 9 +and 10 of the header record. + * Changed the char * parameter declarations to const char * in many +of the routines
commit cfitsio for openSUSE:Factory
Hello community, here is the log from the commit of package cfitsio for openSUSE:Factory checked in at 2012-08-05 07:59:00 Comparing /work/SRC/openSUSE:Factory/cfitsio (Old) and /work/SRC/openSUSE:Factory/.cfitsio.new (New) Package is cfitsio, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/cfitsio/cfitsio.changes 2012-05-14 16:11:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes 2012-08-05 07:59:02.0 +0200 @@ -1,0 +2,36 @@ +Tue Jul 31 16:10:47 UTC 2012 - asterios.dra...@gmail.com + +- Update to version 3.310: + * Enhanced the CFITSIO column filtering syntax to allow the comma, in +addition to the semi-colon, to be used to separate clauses, for example: +[col X,Y;Z = max(X,Y)]. This was done because users are not allowed to +enter the semi-colon character in the on-line Hera data processing +system due to computer security concerns. + * Enhanced the CFITSIO extended filename syntax to allow specifying image +compression parameters (e.g. '[compress Rice]') when opening an existing +FITS file with write access. The specified compression parameters will +be used by default if more images are appended to the existing file. + * Modified drvrfile.c to do additional file secrity checks when CFITSIO +is running within the HEASARC's Hera software system. In this case +CFITSIO will not allow FITS files to be created outside of the user's +individual Hera data directory area. + * Fixed an issue in fpack and funpack on Windows machines, caused by +the fact that the 'rename' function behaves differently on Windows +in that it does not clobber an existing file, as it does on Unix +platforms. + * Fixed bug in the way byte-swapping was being performed when writing +integer*8 null values to an image or binary table column. + * Added the missing macro definition for fffree to fitsio.h. + * Modified the low level table read and write functions in getcol*.c and +putcol*.c to remove the 32-bit limitation on the number of elements. +These routines now support reading and writing more than 2**31 elements +at one time. Thanks to Keh-Cheng Chu (Stanford U.) for the patch. + * Modified Makefile.in so that the shared libcfitsio.so is linked against +pthreads and libm. +- Removed the fix to link the library to libpthread and libm from cfitsio.patch + (fixed upstream). +- Rebased cfitsio-zlib.patch to apply cleanly. Removed the linking of the + programs (fpack and funpack) to libz from the patch (not needed). +- Remove some more bundled zlib files from the package. + +--- Old: cfitsio3300.tar.gz New: cfitsio3310.tar.gz Other differences: -- ++ cfitsio.spec ++ --- /var/tmp/diff_new_pack.AeQ8WQ/_old 2012-08-05 07:59:20.0 +0200 +++ /var/tmp/diff_new_pack.AeQ8WQ/_new 2012-08-05 07:59:20.0 +0200 @@ -17,16 +17,16 @@ Name: cfitsio -Version:3.300 +Version:3.310 Release:0 Summary:Library for manipulating FITS data files License:ISC Group: Productivity/Scientific/Other Url:http://heasarc.nasa.gov/fitsio/ -Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3300.tar.gz -# PATCH-FIX-OPENSUSE cfitsio.patch asterios.dra...@gmail.com -- Fix library soname, link with libpthread and libm (taken from Fedora) +Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3310.tar.gz +# PATCH-FIX-OPENSUSE cfitsio.patch asterios.dra...@gmail.com -- Fix library soname (taken from Fedora) Patch0: cfitsio.patch -# PATCH-FIX-OPENSUSE cfitsio-zlib.patch asterios.dra...@gmail.com -- Use system zlib (based on patches from Fedora and Debian) +# PATCH-FIX-OPENSUSE cfitsio-zlib.patch asterios.dra...@gmail.com -- Use system zlib, link programs to shared libcfitsio (based on patches from Fedora and Debian) Patch1: cfitsio-zlib.patch # PATCH-FIX-OPENSUSE implicit-pointer-decl.patch asterios.dra...@gmail.com -- Fix implicit-pointer-decl rpm post build check warning Patch2: implicit-pointer-decl.patch @@ -84,9 +84,9 @@ %patch2 # Remove bundled zlib -rm -f adler32.c crc32.c deflate.c infback.c inffast.c inflate.c inflate.h \ - inftrees.c inftrees.h zlib.h deflate.h trees.c trees.h uncompr.c zconf.h \ - zutil.c zutil.h +rm -f adler32.c crc32.c crc32.h deflate.c deflate.h infback.c inffast.c \ + inffast.h inffixed.h inflate.c inflate.h inftrees.c inftrees.h trees.c trees.h \ + uncompr.c zconf.h zlib.h zutil.c zutil.h %build # lines bellow contain fixes for pkgconfig file bnc#546004, some of them are already fixed by upstream @@ -96,7