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.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cfitsio.new/cfitsio.changes     2013-04-06 
08:51:56.000000000 +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 (mainly the routines that modify or update keywords) to
+    avoid compiler warnings or errors from C++ programs that tend to be more
+    rigorous about using "const char *" when appropriate.
+  * added support for caching uncompressed image tiles, so that the tile does
+    not need to be uncompressed again if the application program wants
+    to read more data from the same tile. This required changes to the
+    main FITS file structure that is defined in fitsio.h, as well as
+    changes to imcompress.c.
+  * enhanced the previous modification to drvrfile.c to handle additional user
+    cases when running in the HEASARC's Hera environment.
+  From version 3.320:
+  * fixed flaw in the way logical columns (TFORM = 'L') in binary tables
+    were read which caused an illegal value of 1 in the column to be
+    interpreted as a 'T' (TRUE) value.
+  * extended the column filtering syntax in the CFITSIO file name parser to
+    enable users and scripts to append new COMMENT or HISTORY keyword into the
+    header of the filtered file (provided by Craig Markwardt).  For example,
+    fcopy "infile.fits[col #HISTORY='Processed on 2012-10-05']" outfile.fits
+    will append this header keyword: "HISTORY Processed on 2012-10-05"
+  * small change to the code that opens and reads an ASCII region file to
+    return an error if the file is empty.
+  * fixed obscure sign propagation error when attempting to read the
+    uncompressed size of a gzipped FITS file.  This resulted in a memory
+    allocation error if the gzipped file had an uncompressed file
+    size between 2^31 and 2^32 bytes.  Fix supplied by Gudlaugur Johannesson
+    (Stanford).
+- Rebased cfitsio.patch to apply cleanly.
+
+-------------------------------------------------------------------

Old:
----
  cfitsio3310.tar.gz

New:
----
  cfitsio3340.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cfitsio.spec ++++++
--- /var/tmp/diff_new_pack.R8bsr1/_old  2013-04-06 08:51:58.000000000 +0200
+++ /var/tmp/diff_new_pack.R8bsr1/_new  2013-04-06 08:51:58.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cfitsio
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           cfitsio
-Version:        3.310
+Version:        3.340
 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/cfitsio3310.tar.gz
+Source0:        
ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3340.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, link programs to shared libcfitsio (based on patches from Fedora 
and Debian)

++++++ cfitsio.patch ++++++
--- /var/tmp/diff_new_pack.R8bsr1/_old  2013-04-06 08:51:58.000000000 +0200
+++ /var/tmp/diff_new_pack.R8bsr1/_new  2013-04-06 08:51:58.000000000 +0200
@@ -1,7 +1,7 @@
-diff -ur cfitsio/configure cfitsio-fixed/configure
---- cfitsio/configure  2012-04-13 21:16:16.000000000 +0200
-+++ cfitsio-fixed/configure    2012-04-24 13:54:49.295113574 +0200
-@@ -3908,7 +3908,8 @@
+diff -Naur cfitsio.orig/configure cfitsio/configure
+--- cfitsio.orig/configure     2013-03-20 22:02:48.000000000 +0200
++++ cfitsio/configure  2013-04-03 21:32:18.525433305 +0300
+@@ -3932,7 +3932,8 @@
      SHLIB_SUFFIX=".sl"
      ;;
    lnx)
@@ -11,12 +11,12 @@
      ;;
    osf)
      SHLIB_LD="ld -shared -expect_unresolved '*'"
-@@ -3929,7 +3930,7 @@
+@@ -3953,7 +3954,7 @@
  # Darwin uses gcc (=cc), but needs different flags (see above)
- # if test "x$GCC" = xyes; then
- if test "x$GCC" = xyes && test "x$EXT" != xdarwin && test "x$EXT" != xcygwin; 
then
--  SHLIB_LD="$CC -shared"
-+  SHLIB_LD="cc -shared -Wl,-soname,libcfitsio.so.0"
-   lhea_shlib_cflags='-fPIC'
+ if test "x$EXT" != xdarwin && test "x$EXT" != xcygwin && test "x$EXT" != 
xmingw32; then
+   if test "x$GCC" = xyes; then
+-    SHLIB_LD="$CC -shared"
++    SHLIB_LD="cc -shared -Wl,-soname,libcfitsio.so.0"
+     lhea_shlib_cflags='-fPIC'
+   fi
  fi
- if test "x$lhea_shlib_cflags" != x; then

++++++ cfitsio3310.tar.gz -> cfitsio3340.tar.gz ++++++
++++ 16293 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to