r77793 - in /branches/upstream/libastro-fits-cfitsio-perl/current: CFITSIO.pm CFITSIO.xs ChangeLog INSTALL LICENSE MANIFEST META.yml README examples/m51.fits.gz

chrisb at users.alioth.debian.org chrisb at users.alioth.debian.org
Sun Jul 24 13:08:39 UTC 2011


Author: chrisb
Date: Sun Jul 24 13:08:36 2011
New Revision: 77793

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77793
Log:
[svn-upgrade] new version libastro-fits-cfitsio-perl (1.07)

Removed:
    branches/upstream/libastro-fits-cfitsio-perl/current/LICENSE
Modified:
    branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.pm
    branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.xs
    branches/upstream/libastro-fits-cfitsio-perl/current/ChangeLog
    branches/upstream/libastro-fits-cfitsio-perl/current/INSTALL
    branches/upstream/libastro-fits-cfitsio-perl/current/MANIFEST
    branches/upstream/libastro-fits-cfitsio-perl/current/META.yml
    branches/upstream/libastro-fits-cfitsio-perl/current/README
    branches/upstream/libastro-fits-cfitsio-perl/current/examples/m51.fits.gz

Modified: branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.pm?rev=77793&op=diff
==============================================================================
--- branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.pm (original)
+++ branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.pm Sun Jul 24 13:08:36 2011
@@ -1,5 +1,5 @@
 package Astro::FITS::CFITSIO;
-$VERSION = '1.06';
+$VERSION = '1.07';
 
 use strict;
 use Carp;
@@ -137,6 +137,8 @@
 	       ffgcrd => 'fits_read_card',
 	       ffgunt => 'fits_read_key_unit',
 	       ffgkyn => 'fits_read_keyn',
+	       ffgstr => 'fits_read_str',
+	       ffdstr => 'fits_delete_str',
 	       ffgky => 'fits_read_key',
 	       ffgkey => 'fits_read_keyword',
 	       ffgkys => 'fits_read_key_str',
@@ -148,6 +150,7 @@
 	       ffgkym => 'fits_read_key_dblcmp',
 	       ffgkyt => 'fits_read_key_triple',
 	       ffgkls => 'fits_read_key_longstr',
+	       fffree => 'fits_free_memory',
 	       ffhdr2str => 'fits_hdr2str',
 	       ffcnvthdr2str => 'fits_convert_hdr2str',
 	       ffgtdm => 'fits_read_tdim',
@@ -360,7 +363,6 @@
 	       ffgsfk => 'fits_read_subsetnull_int',
 	       ffgsfe => 'fits_read_subsetnull_flt',
 	       ffgsfd => 'fits_read_subsetnull_dbl',
-	       fits_comp_img => 'fits_compress_img',
 	       fits_decomp_img => 'fits_decompress_img',
 	       ffgcv => 'fits_read_col',
 	       ffgcf => 'fits_read_colnull',
@@ -1185,21 +1187,33 @@
 
 =head1 AUTHOR
 
-Pete Ratzlaff <pratzlaff at cfa.harvard.edu>, with a great deal of code taken
-from Karl Glazebrook's PGPLOT module.
+Pete Ratzlaff E<lt>pratzlaff at cfa.harvard.eduE<gt>, with a great deal
+of code taken from Karl Glazebrook's PGPLOT module.
 
 Contributors include:
 
 =over 4
 
-=item Tim Jenness <t.jenness at jach.hawaii.edu>
+=item Diab Jerius, E<lt>djerius at cpan.orgE<gt>
+
+general improvements
+
+=item Tim Jenness, E<lt>t.jenness at jach.hawaii.eduE<gt>
 
 convenience routines
 
-=item Tim Conrow <tim at ipac.caltech.edu>
+=item Tim Conrow, E<lt>tim at ipac.caltech.eduE<gt>
 
 function implementations, bug fixes
 
 =back
 
+=head1 COPYRIGHT AND LICENSE
+
+Copyright (C) 2002,2004,2006,2011 by the Smithsonian Astrophysical
+Observatory.
+
+This software is released under the same terms as Perl. A copy of the
+Perl license may be obtained at http://dev.perl.org/licenses/
+
 =cut

Modified: branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.xs?rev=77793&op=diff
==============================================================================
--- branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.xs (original)
+++ branches/upstream/libastro-fits-cfitsio-perl/current/CFITSIO.xs Sun Jul 24 13:08:36 2011
@@ -1577,21 +1577,6 @@
 	ALIAS:
 		Astro::FITS::CFITSIO::fits_compress_heap = 1
 		fitsfilePtr::compress_heap = 2
-	OUTPUT:
-		status
-
-int
-fits_comp_img(infptr,outfptr,comptype,tilesize,blocksize,noisebits,status)
-	fitsfile * infptr
-	fitsfile * outfptr
-	int comptype
-	long * tilesize
-	int blocksize
-	int noisebits
-	int &status
-	ALIAS:
-		Astro::FITS::CFITSIO::fits_compress_img = 1
-		fitsfilePtr::compress_img = 2
 	OUTPUT:
 		status
 
@@ -7503,6 +7488,30 @@
 		RETVAL
 
 int
+ffgstr(fptr, string, card, status)
+	fitsfile * fptr
+	char * string
+	char * card = NO_INIT
+	int &status
+	ALIAS:
+		Astro::FITS::CFITSIO::fits_read_str = 1
+		fitsfilePtr::read_str = 2
+	OUTPUT:
+		card
+		status
+
+int
+ffdstr(fptr, string, status)
+	fitsfile * fptr
+	char * string
+	int &status
+	ALIAS:
+		Astro::FITS::CFITSIO::fits_delete_str = 1
+		fitsfilePtr::delete_str = 2
+	OUTPUT:
+		status
+
+int
 ffgky(fptr,datatype,keyname,value,comment,status)
 	fitsfile * fptr
 	int datatype
@@ -7589,6 +7598,17 @@
 		comment
 		status
 		RETVAL
+
+int
+fffree(fptr, value, status)
+	fitsfile * fptr
+	char * value
+	int &status
+	ALIAS:
+		Astro::FITS::CFITSIO::fits_free_memory = 1
+		fitsfilePtr::read_free_memory = 2
+	OUTPUT:
+		status
 
 int
 ffgkys(fptr,keyname,value,comment,status)

Modified: branches/upstream/libastro-fits-cfitsio-perl/current/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libastro-fits-cfitsio-perl/current/ChangeLog?rev=77793&op=diff
==============================================================================
--- branches/upstream/libastro-fits-cfitsio-perl/current/ChangeLog (original)
+++ branches/upstream/libastro-fits-cfitsio-perl/current/ChangeLog Sun Jul 24 13:08:36 2011
@@ -1,4 +1,15 @@
-2011-01-26  Pete Ratzlaff  <rpete at legs.cfa.harvard.edu>
+2011-07-21  Pete Ratzlaff  <rpete at cfa.harvard.edu>
+
+	* CFITSIO.pm: $VERSION = '1.07';
+
+	* CFITSIO.xs: update to cfitsio 3.28, removal of
+	fits_compress_img. Removal of LICENSE file and inclusion of
+	copyright and license in README.
+
+2011-07-21  Pete Ratzlaff  <rpete at cfa.harvard.edu>
+
+	* CFITSIO.xs: update to cfitsio 3.27, added fits_free_memory,
+	fits_read_str, fits_delete_str
 
 2011-01-26  Pete Ratzlaff  <pratzlaff at cfa.harvard.edu>
 

Modified: branches/upstream/libastro-fits-cfitsio-perl/current/INSTALL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libastro-fits-cfitsio-perl/current/INSTALL?rev=77793&op=diff
==============================================================================
--- branches/upstream/libastro-fits-cfitsio-perl/current/INSTALL (original)
+++ branches/upstream/libastro-fits-cfitsio-perl/current/INSTALL Sun Jul 24 13:08:36 2011
@@ -1,24 +1,23 @@
-NOTE: Astro::FITS::CFITSIO v1.05 requires cfitsio library version
-      3.006 or later. It can be obtained from
+NOTE: Astro::FITS::CFITSIO v1.07 requires cfitsio library version
+      3.28 or later. It can be obtained from
       http://heasarc.gsfc.nasa.gov/fitsio
 
 NOTE: gcc takes a very long time to compile CFITSIO.c (created from
-      CFITSIO.xs) with -O2 optimization on ix86. With -O, it takes
+      CFITSIO.xs) with -O2 optimization on ix86. With -O0, it takes
       about one tenth the time. This is the explanation for the
-      optimization flag below. Use whatever flag you want, of
-      course...
+      optimization flag below.
 
 1. Set the CFITSIO environment variable pointing to the location of
    your cfitsio library and headers (e.g., /usr/local/cfitsio), or a
    prefix with include and lib subdirectories containing the cfitsio
    headers and library, respectively (e.g., /usr/local).
 
-   $ CFITSIO=/usr/local/cfitsio         # Bourne shell and friends
+   $ CFITSIO=/usr/local/cfitsio         # Bourne shell and variants
    $ export CFITSIO
 
    % setenv CFITSIO /usr/local/cfitsio  # C shell variants
 
-2. perl Makefile.PL OPTIMIZE=-O
+2. perl Makefile.PL OPTIMIZE=-O0
 
 3. make
 

Modified: branches/upstream/libastro-fits-cfitsio-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libastro-fits-cfitsio-perl/current/MANIFEST?rev=77793&op=diff
==============================================================================
--- branches/upstream/libastro-fits-cfitsio-perl/current/MANIFEST (original)
+++ branches/upstream/libastro-fits-cfitsio-perl/current/MANIFEST Sun Jul 24 13:08:36 2011
@@ -2,7 +2,6 @@
 CFITSIO.xs
 ChangeLog
 INSTALL
-LICENSE
 MANIFEST
 Makefile.PL
 NOTES

Modified: branches/upstream/libastro-fits-cfitsio-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libastro-fits-cfitsio-perl/current/META.yml?rev=77793&op=diff
==============================================================================
--- branches/upstream/libastro-fits-cfitsio-perl/current/META.yml (original)
+++ branches/upstream/libastro-fits-cfitsio-perl/current/META.yml Sun Jul 24 13:08:36 2011
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Astro-FITS-CFITSIO
-version:            1.06
+version:            1.07
 abstract:           ~
 author:  []
 license:            unknown

Modified: branches/upstream/libastro-fits-cfitsio-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libastro-fits-cfitsio-perl/current/README?rev=77793&op=diff
==============================================================================
--- branches/upstream/libastro-fits-cfitsio-perl/current/README (original)
+++ branches/upstream/libastro-fits-cfitsio-perl/current/README Sun Jul 24 13:08:36 2011
@@ -13,7 +13,7 @@
 
 What version of cfitsio does this module require?
 ----------------------------------------------
-  Astro::FITS::CFITSIO version 1.06 requires at least cfitsio version 3.26
+  Astro::FITS::CFITSIO version 1.07 requires at least cfitsio version 3.28
 
 Installation
 ------------
@@ -26,8 +26,14 @@
      $ make test
      $ make install
 
-Acknowledgement
----------------
-   m51.fits is included as a demonstration by kind permission of the
-   IRAF group at the National Optical and Astronomical Observatories,
-   in particular Pat Seitzer, who retain ownership.
+Copyright and License
+---------------------
+   Copyright (C) 2002,2004,2006,2011 by the Smithsonian Astrophysical
+   Observatory.
+
+   This software is released under the same terms as Perl. A copy of
+   the Perl license may be obtained at http://dev.perl.org/licenses/
+
+   The demonstration image m51.fits.gz is derived from the Hubble
+   Heritage project archival images; its creation was funded in part
+   by a grant from NASA. The image is in the public domain.

Modified: branches/upstream/libastro-fits-cfitsio-perl/current/examples/m51.fits.gz
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libastro-fits-cfitsio-perl/current/examples/m51.fits.gz?rev=77793&op=diff
==============================================================================
Binary files - no diff available.




More information about the Pkg-perl-cvs-commits mailing list