Skip to content

Commit 983d115

Browse files
committed
Update to v0.0.7
* DESCRIPTION, src/configure.ac: update version, date * NEWS: add change log * Makefile, doc/octave-cfitsio.texi: update for current date
1 parent dd411f6 commit 983d115

File tree

5 files changed

+26
-17
lines changed

5 files changed

+26
-17
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: cfitsio
2-
Version: 0.0.6
3-
Date: 2023-12-20
2+
Version: 0.0.7
3+
Date: 2024-09-23
44
Author: John Donoghue
55
Maintainer: John Donoghue <[email protected]>
66
Title: File I/O for FITS files.

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Copyright 2015-2016 Oliver Heimlich
33
## Copyright 2017 Julien Bect <[email protected]>
44
## Copyright 2017 Olaf Till <[email protected]>
5-
## Copyright 2018-2019 John Donoghue <[email protected]>
5+
## Copyright 2018-2024 John Donoghue <[email protected]>
66
##
77
## Copying and distribution of this file, with or without modification,
88
## are permitted in any medium without royalty provided the copyright
@@ -44,6 +44,7 @@ $(TR) '[:upper:]' '[:lower:]')
4444
packageprefix := octave-
4545
version := $(shell $(GREP) "^Version: " DESCRIPTION | $(CUT) -f2 -d" ")
4646
pkg_date := $(shell $(GREP) "^Date: " DESCRIPTION | $(CUT) -f2 -d" ")
47+
pkg_year := $(shell $(GREP) "^Date: " DESCRIPTION | $(CUT) -f2 -d" " | $(CUT) -f1 -d"-")
4748

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

284286
doc/$(packageprefix)$(package).pdf: doc/$(packageprefix)$(package).texi doc/functions.texi doc/version.texi
285287
cd doc && SOURCE_DATE_EPOCH=$(REPO_TIMESTAMP) $(TEXI2PDF) $(packageprefix)$(package).texi

NEWS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Version 0.0.7 released 2024-09-23
2+
===================================
3+
4+
* minor documentation updates
5+
6+
* minor bug fixes
7+
18
Version 0.0.6 released 2023-12-20
29
===================================
310

doc/octave-cfitsio.texi

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
\input texinfo @c -*-texinfo-*-
2-
@c Copyright (c) 2019-2023, John Donoghue <[email protected]>
2+
@c Copyright (c) 2019-2024, John Donoghue <[email protected]>
33
@c Octave cfitsio - Octave FITS file I/O.
44

55
@c For manually generating the documentation use
@@ -24,7 +24,7 @@
2424
@author John Donoghue
2525
@page
2626
@vskip 0pt plus 1filll
27-
Copyright @copyright{} 2019-2023 John Donoghue
27+
Copyright @copyright{} 2019-@value{YEAR} John Donoghue
2828

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

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

5858
@end titlepage
5959
@c %*** End of TITLEPAGE
6060

6161
@dircategory Math
6262
@direntry
63-
* Octave CFITSIO: (octave-cfitsio). CFITSIO Toolkit for Octave
63+
* Octave CFITSIO: (octave-@value{PACKAGE}). CFITSIO Toolkit for Octave
6464
@end direntry
6565

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

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

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

9393

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

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

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

122122
@example
123-
pkg install -forge cfitsio
123+
pkg install -forge @value{PACKAGE}
124124
@end example
125125

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

133133
@example
134-
pkg install octave-cfitsio-@value{VERSION}.tar.gz
134+
pkg install octave-@value{PACKAGE}-@value{VERSION}.tar.gz
135135
@end example
136136

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

142142
@example
143-
pkg load cfitsio
143+
pkg load @value{PACKAGE}
144144
@end example
145145

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

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

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

180180
The package must be loaded each time a @acronym{GNU} Octave session is started:
181181
@example
182-
pkg load cfitsio
182+
pkg load @value{PACKAGE}
183183
@end example
184184

185185
After loading the toolkit, the toolkit functions are available.

src/configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- Autoconf -*-
22
# Process this file with autoconf to produce a configure script.
33
#
4-
### Copyright (C) 2019-2023 John Donoghue <[email protected]>
4+
### Copyright (C) 2019-2024 John Donoghue <[email protected]>
55
###
66
### This program is free software; you can redistribute it and/or
77
### modify it under the terms of the GNU General Public License as
@@ -18,7 +18,7 @@
1818
### <http://www.gnu.org/licenses/>.
1919

2020
AC_PREREQ([2.67])
21-
AC_INIT([cfitsio], [0.0.6])
21+
AC_INIT([cfitsio], [0.0.7])
2222
AC_CONFIG_HEADERS([config.h])
2323

2424
# Avoid warnings for redefining AH-generated preprocessor symbols of

0 commit comments

Comments
 (0)