Skip to content

Commit

Permalink
Update to v0.0.7
Browse files Browse the repository at this point in the history
* DESCRIPTION, src/configure.ac: update version, date

* NEWS: add change log

* Makefile, doc/octave-cfitsio.texi: update for current date
  • Loading branch information
lostbard committed Sep 23, 2024
1 parent dd411f6 commit 983d115
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 17 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: cfitsio
Version: 0.0.6
Date: 2023-12-20
Version: 0.0.7
Date: 2024-09-23
Author: John Donoghue
Maintainer: John Donoghue <john.donoghue@ieee.org>
Title: File I/O for FITS files.
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Copyright 2015-2016 Oliver Heimlich
## Copyright 2017 Julien Bect <jbect@users.sf.net>
## Copyright 2017 Olaf Till <i7tiol@t-online.de>
## Copyright 2018-2019 John Donoghue <john.donoghue@ieee.org>
## Copyright 2018-2024 John Donoghue <john.donoghue@ieee.org>
##
## Copying and distribution of this file, with or without modification,
## are permitted in any medium without royalty provided the copyright
Expand Down Expand Up @@ -44,6 +44,7 @@ $(TR) '[:upper:]' '[:lower:]')
packageprefix := octave-
version := $(shell $(GREP) "^Version: " DESCRIPTION | $(CUT) -f2 -d" ")
pkg_date := $(shell $(GREP) "^Date: " DESCRIPTION | $(CUT) -f2 -d" ")
pkg_year := $(shell $(GREP) "^Date: " DESCRIPTION | $(CUT) -f2 -d" " | $(CUT) -f1 -d"-")

## These are the paths that will be created for the releases.
target_dir := target
Expand Down Expand Up @@ -280,6 +281,7 @@ doc/version.texi: $(release_dir_dep)
@echo "@set VERSION $(version)" >> $@
@echo "@set PACKAGE $(package)" >> $@
@echo "@set DATE $(pkg_date)" >> $@
@echo "@set YEAR $(pkg_year)" >> $@

doc/$(packageprefix)$(package).pdf: doc/$(packageprefix)$(package).texi doc/functions.texi doc/version.texi
cd doc && SOURCE_DATE_EPOCH=$(REPO_TIMESTAMP) $(TEXI2PDF) $(packageprefix)$(package).texi
Expand Down
7 changes: 7 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Version 0.0.7 released 2024-09-23
===================================

* minor documentation updates

* minor bug fixes

Version 0.0.6 released 2023-12-20
===================================

Expand Down
24 changes: 12 additions & 12 deletions doc/octave-cfitsio.texi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\input texinfo @c -*-texinfo-*-
@c Copyright (c) 2019-2023, John Donoghue <john.donoghue@ieee.org>
@c Copyright (c) 2019-2024, John Donoghue <john.donoghue@ieee.org>
@c Octave cfitsio - Octave FITS file I/O.

@c For manually generating the documentation use
Expand All @@ -24,7 +24,7 @@
@author John Donoghue
@page
@vskip 0pt plus 1filll
Copyright @copyright{} 2019-2023 John Donoghue
Copyright @copyright{} 2019-@value{YEAR} John Donoghue

Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
Expand Down Expand Up @@ -53,14 +53,14 @@ Octave that you have. The precise conditions can be found in the
Octave CFITSIO package and that also appears in @ref{Copying}.

To download a copy of the @acronym{GNU} Octave CFITSIO package, please visit
@url{https://gnu-octave.github.io/octave-cfitsio/index}.
@url{https://gnu-octave.github.io/octave-@value{PACKAGE}/index}.

@end titlepage
@c %*** End of TITLEPAGE

@dircategory Math
@direntry
* Octave CFITSIO: (octave-cfitsio). CFITSIO Toolkit for Octave
* Octave CFITSIO: (octave-@value{PACKAGE}). CFITSIO Toolkit for Octave
@end direntry

@c %*** Start of BODY
Expand All @@ -87,7 +87,7 @@ System (FITS) files for GNU Octave.

The @acronym{GNU} Octave CFITSIO toolkit must be installed and then loaded to be used.

It can be installed in @acronym{GNU} Octave directly from octave-cfitsio,
It can be installed in @acronym{GNU} Octave directly from octave-@value{PACKAGE},
or can be installed in an off-line mode via a downloaded tarball.


Expand All @@ -111,16 +111,16 @@ Otherwise it can be installed by installing the requirements and then using the
@section Online Direct install
@cindex Online install
With an internet connection available, the package can be installed from
octave-cfitsio using the following command within @acronym{GNU} Octave:
octave-@value{PACKAGE} using the following command within @acronym{GNU} Octave:

@example
pkg install https://sourceforge.net/projects/octave-cfitsio/files/v@value{VERSION}/octave-cfitsio-@value{VERSION}.tar.gz/download
pkg install "https://github.com/gnu-octave/octave-/@value{PACKAGE}releases/download/v@value(VERSION)/octave-@value{PACKAGE}-@value(VERSION).tar.gz"
@end example

On @acronym{GNU} Octave 7 and higher, the package can be installed in the simpler form of:

@example
pkg install -forge cfitsio
pkg install -forge @value{PACKAGE}
@end example

The latest released version of the toolkit will be downloaded and installed.
Expand All @@ -131,7 +131,7 @@ With the toolkit package already downloaded, and in the current directory when r
@acronym{GNU} Octave, the package can be installed using the following command within @acronym{GNU} Octave:

@example
pkg install octave-cfitsio-@value{VERSION}.tar.gz
pkg install octave-@value{PACKAGE}-@value{VERSION}.tar.gz
@end example

@section Loading
Expand All @@ -140,7 +140,7 @@ Regardless of the method of installing the toolkit, in order to use its function
the toolkit must be loaded using the pkg load command:

@example
pkg load cfitsio
pkg load @value{PACKAGE}
@end example

The toolkit must be loaded on each @acronym{GNU} Octave session.
Expand All @@ -152,7 +152,7 @@ The toolkit must be loaded on each @acronym{GNU} Octave session.

@section Overview
@cindex Overview
The octave-cfitsio toolkit provides high and low level functionality for reading and
The octave-@value{PACKAGE} toolkit provides high and low level functionality for reading and
writing FITS format files.

The high level functions provide base read and write of data to octave using the functions
Expand All @@ -179,7 +179,7 @@ import matlab.io.fits;

The package must be loaded each time a @acronym{GNU} Octave session is started:
@example
pkg load cfitsio
pkg load @value{PACKAGE}
@end example

After loading the toolkit, the toolkit functions are available.
Expand Down
4 changes: 2 additions & 2 deletions src/configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
#
### Copyright (C) 2019-2023 John Donoghue <john.donoghue@ieee.org>
### Copyright (C) 2019-2024 John Donoghue <john.donoghue@ieee.org>
###
### This program is free software; you can redistribute it and/or
### modify it under the terms of the GNU General Public License as
Expand All @@ -18,7 +18,7 @@
### <http://www.gnu.org/licenses/>.

AC_PREREQ([2.67])
AC_INIT([cfitsio], [0.0.6])
AC_INIT([cfitsio], [0.0.7])
AC_CONFIG_HEADERS([config.h])

# Avoid warnings for redefining AH-generated preprocessor symbols of
Expand Down

0 comments on commit 983d115

Please sign in to comment.