Hello community, here is the log from the commit of package libcfitsio0 for openSUSE:Factory checked in at 2011-12-07 14:37:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcfitsio0 (Old) and /work/SRC/openSUSE:Factory/.libcfitsio0.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libcfitsio0", Maintainer is "MSeben@novell.com" Changes: -------- --- /work/SRC/openSUSE:Factory/libcfitsio0/libcfitsio0.changes 2011-10-04 21:33:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libcfitsio0.new/libcfitsio0.changes 2011-12-07 14:37:50.000000000 +0100 @@ -1,0 +2,63 @@ +Mon Dec 5 15:19:10 UTC 2011 - idoenmez@suse.de + +- Set license to ISC, bnc#734865 + +------------------------------------------------------------------- +Sun Dec 4 21:06:24 UTC 2011 - idoenmez@suse.de + +- Fix SLE_11 build + +------------------------------------------------------------------- +Sun Dec 4 16:44:07 UTC 2011 - asterios.dramis@gmail.com + +- Update to version 3.290: + Enhancements + * modified Makefile.in to allow configure to override the lib and include + destination directories. + * added (or restored actually) support for tile compression of 1-byte integer + images in imcomp_compress_tile. Support for that data type was overlooked + during recent updates to this routine. + * modified the fits_get_token command-line parsing routine to perform more + rigorous checks to determine if the token can be interpreted as a number + or not. + * made small modification to fpack.c to not allow the -i2f option (convert + image from integer to floating point) with the "-g -q 0" option (do lossless + gzip compression). It is more efficient to simply use the -g option alone. + * made modifications to fitsio.h and drvrfile.c to support reading and + writing large FITS files (> 2.1 GB) when building CFITSIO using + Microsoft Visual C++ on Windows platforms. + * added new WCS routine (ffgicsa) which returns the WCS keyword values + for a particular WCS version ('A' - 'Z'). + Bug Fixes + * fixed a problem with multi-threaded apps that open/close FITS files + simultaneously by putting mutex locks around the call to + fits_already_open and in fits_clear_Fptr. + * fixed a bug when using the 'regfilter' function to select a subset of the + rows in a FITS table that have coordinates that lie within a specified + spatial region on the sky. This bug only affects the rarely used panda + (and epanda and bpanda) region shapes in which the region is defined by + the intersection of an annulus and a pie-shaped wedge. The previous code + (starting with version 3.181 of CFITSIO where support for the panda region + was first introduced) only worked correctly if the 2 angles that define + the wedge have values between -180 and +180. If not, then fewer rows than + expected may have been selected from the table. + * fixed the extended filename parser so that when creating a histogram by + binning 2 table columns, if a keyword or column name is given as the + weighting factor, then the output histrogram image will have a floating + point datatype, not the default integer datatype as is the case when no + weigth is specified (e.g. with a filename like + "myfile.fits[bin x,y; weight_column]" + * added fix to the code in imcompress.c to work around a problem with + dereferencing the value of a pointer, in cases where the address of + that pointer has not been defined (e.g., the nulval variable). + * modified the byte shuffling algorithm in fits_shuffle_8bytes to work + around a strange bug in the proprietary SunStudioExpress C compiler + under OpenSolaris. + * removed spurious messages on the CFITSIO error stack when opening a + FITS file with FTP (in drvrnet.c); +- Removed the Makefile.in changes from cfitsio-makefile.patch (fixed upstream). +- Spec file updates: + * Changed License entry to SPDX style. + * Enable multithreading support. + +------------------------------------------------------------------- Old: ---- cfitsio3280.tar.gz New: ---- cfitsio3290.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcfitsio0.spec ++++++ --- /var/tmp/diff_new_pack.IMWBnk/_old 2011-12-07 14:37:52.000000000 +0100 +++ /var/tmp/diff_new_pack.IMWBnk/_new 2011-12-07 14:37:52.000000000 +0100 @@ -15,17 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libcfitsio0 -Version: 3.280 +Version: 3.290 Release: 1 -License: GPLv2 ; Other uncritical OpenSource License +License: ISC Summary: Library for manipulating FITS data files Url: http://heasarc.nasa.gov/fitsio/fitsio.html Group: System/Libraries -Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3280.tar.gz +Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3290.tar.gz # PATCH-FIX-OPENSUSE cfitsio-makefile.patch -- Fix installation paths and library soname Patch0: cfitsio-makefile.patch BuildRequires: gcc-fortran @@ -41,7 +40,6 @@ in FITS files. %package -n cfitsio -License: GPLv2 ; Other uncritical OpenSource License Summary: FITS image compression and decompression utilities Group: Productivity/Scientific/Other Requires: %{name} = %{version} @@ -50,18 +48,16 @@ This package contains some FITS image compression and decompression utilities. %package -n libcfitsio-devel -License: GPLv2 ; Other uncritical OpenSource License Summary: Headers required when building programs against cfitsio library Group: Development/Libraries/Other Requires: %{name} = %{version} -Requires: pkgconfig +Requires: pkg-config %description -n libcfitsio-devel This package contains headers required when building programs against cfitsio library. %package -n libcfitsio-doc -License: GPLv2 ; Other uncritical OpenSource License Summary: Documentation for the cfitsio library Group: Documentation/Other Requires: %{name} = %{version} @@ -76,15 +72,15 @@ %build # lines bellow contain fixes for pkgconfig file bnc#546004, some of them are already fixed by upstream # so please drop them if they are not needed (in next round of updates) -# Add include dir -sed -i 's|Cflags: -I${includedir}|Cflags: -I${includedir} -I${includedir}/%{name}|' cfitsio.pc.in +# Add include dir, multithreading support +sed -i 's|Cflags: -I${includedir}|Cflags: -D_REENTRANT -I${includedir} -I${includedir}/%{name}|' cfitsio.pc.in # Fix version -sed -i 's|3.28|3.280|' cfitsio.pc.in +sed -i 's|3.29|3.290|' cfitsio.pc.in export CC=gcc export FC=f95 export CFLAGS="%{optflags} -fno-strict-aliasing" -%configure +%configure --enable-reentrant make shared %{?_smp_mflags} ln -s libcfitsio.so.0 libcfitsio.so make fpack %{?_smp_mflags} @@ -98,14 +94,12 @@ cmp testprog.fit testprog.std ; echo $? %install -mkdir -p %{buildroot} -mkdir -p %{buildroot}%{_libdir} -mkdir -p %{buildroot}%{_includedir}/%{name} -make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_LIB=%{buildroot}%{_libdir} \ - CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} install +%makeinstall CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} + pushd %{buildroot}%{_libdir} ln -s libcfitsio.so.0 libcfitsio.so popd + mkdir %{buildroot}%{_bindir} install -pm 0755 f{,un}pack %{buildroot}%{_bindir}/ ++++++ cfitsio-makefile.patch ++++++ --- /var/tmp/diff_new_pack.IMWBnk/_old 2011-12-07 14:37:52.000000000 +0100 +++ /var/tmp/diff_new_pack.IMWBnk/_new 2011-12-07 14:37:52.000000000 +0100 @@ -1,16 +1,3 @@ ---- Makefile.in -+++ Makefile.in -@@ -22,8 +22,8 @@ - exec_prefix = @exec_prefix@ - DESTDIR = - CFITSIO_PREFIX = $(prefix) --CFITSIO_LIB = $(DESTDIR)$(exec_prefix)/lib --CFITSIO_INCLUDE = $(DESTDIR)$(prefix)/include -+CFITSIO_LIB = $(DESTDIR)$(exec_prefix)/$(LIBDIR) -+CFITSIO_INCLUDE = $(DESTDIR)$(prefix)/$(INCLUDEDIR) - INSTALL_DIRS = $(DESTDIR)@INSTALL_ROOT@ ${CFITSIO_LIB} ${CFITSIO_LIB}/pkgconfig ${CFITSIO_INCLUDE} - - --- configure +++ configure @@ -3397,7 +3397,8 @@ ++++++ cfitsio3280.tar.gz -> cfitsio3290.tar.gz ++++++ ++++ 10237 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org