[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 5b002d7: Minor corrections suggested by Debian
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 5b002d7: Minor corrections suggested by Debian's Lintian corrected |
Date: |
Thu, 12 Apr 2018 18:56:53 -0400 (EDT) |
branch: master
commit 5b002d7cd63876f155f1e379afa5bd9abc55653d
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Minor corrections suggested by Debian's Lintian corrected
While preparing a Debian test release, some good points were raised by
Lintian (Debian's package checker after a build) and they are corrected in
this commit.
---
bin/mkcatalog/ui.c | 2 +-
bin/mkcatalog/upperlimit.c | 2 +-
bin/mknoise/Makefile.am | 2 +-
bin/segment/segment.c | 2 +-
doc/gnuastro.texi | 4 ++--
doc/release-checklist.txt | 11 ++++++++---
lib/blank.c | 2 +-
lib/statistics.c | 2 +-
8 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/bin/mkcatalog/ui.c b/bin/mkcatalog/ui.c
index 392125c..52b19a1 100644
--- a/bin/mkcatalog/ui.c
+++ b/bin/mkcatalog/ui.c
@@ -993,7 +993,7 @@ ui_preparations_read_inputs(struct mkcatalogparams *p)
is not larger than the maximum number of labels. */
if(p->checkupperlimit[0] != GAL_BLANK_INT32
&& p->checkupperlimit[0] > p->numobjects)
- error(EXIT_FAILURE, 0, "%d (object identifer for the "
+ error(EXIT_FAILURE, 0, "%d (object identifier for the "
"`--checkupperlimit' option) is larger than the number of "
"objects in the input labels (%zu)", p->checkupperlimit[0],
p->numobjects);
diff --git a/bin/mkcatalog/upperlimit.c b/bin/mkcatalog/upperlimit.c
index 0a30f60..c408467 100644
--- a/bin/mkcatalog/upperlimit.c
+++ b/bin/mkcatalog/upperlimit.c
@@ -706,7 +706,7 @@ upperlimit_one_tile(struct mkcatalog_passparams *pp,
gal_data_t *tile,
/*********************************************************************/
-/******************* High level funciton ********************/
+/******************* High level function ********************/
/*********************************************************************/
void
upperlimit_calculate(struct mkcatalog_passparams *pp)
diff --git a/bin/mknoise/Makefile.am b/bin/mknoise/Makefile.am
index e70573c..c87dd7c 100644
--- a/bin/mknoise/Makefile.am
+++ b/bin/mknoise/Makefile.am
@@ -1,7 +1,7 @@
## Process this file with automake to produce Makefile.inx
##
## Original author:
-## Mohammad Akhlaghi <address@hidden>
+## Mohammad Akhlaghi <address@hidden>
## Contributing author(s):
## Copyright (C) 2015-2018, Free Software Foundation, Inc.
##
diff --git a/bin/segment/segment.c b/bin/segment/segment.c
index 9fc1f5c..0acf570 100644
--- a/bin/segment/segment.c
+++ b/bin/segment/segment.c
@@ -199,7 +199,7 @@ segment_relab_noseg(struct clumps_thread_params *cltprm)
/* Find the adjacency matrixs (number, sum and signal to noise) for the
rivers between potentially separate objects in a detection region. They
- have to be allocated prior to entering this funciton.
+ have to be allocated prior to entering this function.
The way to find connected objects is through an adjacency matrix. It is
a square matrix with a side equal to numobjs. So to see if regions `a`
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 094ea0d..f8f30a0 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -22232,7 +22232,7 @@ Getting arrays (commonly images or cubes) from a file
into your program or
writing them after the processing into an output file are some of the most
common operations. The functions in this section are designed for such
operations with the known file types. The functions here are thus just
-wrappers around funcitons of lower-level file type functions of this
+wrappers around functions of lower-level file type functions of this
library, for example @ref{FITS files} or @ref{TIFF files}. If the file type
of the input/output file is already known, you can use the functions in
those sections respectively.
@@ -24020,7 +24020,7 @@ must have the same size. When @code{OTHER} is a tile it
must have the same
size as @code{IN} and parsing will start from its starting element/pixel.
Also, the respective allocated blocks of @code{OTHER} and @code{IN} (if
different) may have different sizes. Using @code{OTHER} (along with
address@hidden), this funciton-like macro will thus enable you to parse
address@hidden), this function-like macro will thus enable you to parse
and define your own operation on two fixed size regions in one or two
blocks of memory. In the latter case, they may have different numeric
datatypes, see @ref{Numeric data types}).
diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt
index e6cb40a..67b6354 100644
--- a/doc/release-checklist.txt
+++ b/doc/release-checklist.txt
@@ -184,9 +184,14 @@ Steps necessary to Package Gnuastro for Debian.
$ sudo apt-get upgrade
- If this is the first time you are packaging on this system, you will
- need to install the following programs:
-
- $ sudo apt-get install devscripts pbuilder pristine-tar git quilt lintian
+ need to install the following programs. The first group of packages are
+ general for package building, and the second are only for Gnuastro.
+
+ $ sudo apt-get install ssh devscripts pbuilder pristine-tar git quilt \
+ lintian lzip emacs
+ $ sudo apt-get install debhelpler ghostscript libcfitsio-dev \
+ libtool-bin libgsl0-dev libjpeg-dev \
+ libtiff-dev libgit2-dev wcslib-dev
$ sudo pbuilder create
$ emacs ~/.devscripts
diff --git a/lib/blank.c b/lib/blank.c
index 11cbd6b..a3ebc19 100644
--- a/lib/blank.c
+++ b/lib/blank.c
@@ -154,7 +154,7 @@ gal_blank_is(void *pointer, uint8_t type)
/* Control should not reach here, so print an error if it does, then
return a 0 (just to avoid compiler warnings). */
error(EXIT_FAILURE, 0, "%s: a bug! Please contact us at %s to address the "
- "problem. Control should not reach the end of this funciton",
+ "problem. Control should not reach the end of this function",
__func__, PACKAGE_BUGREPORT);
return 0;
}
diff --git a/lib/statistics.c b/lib/statistics.c
index 8d2673c..2d0c0d7 100644
--- a/lib/statistics.c
+++ b/lib/statistics.c
@@ -2015,7 +2015,7 @@ gal_statistics_sigma_clip(gal_data_t *input, float
multip, float param,
#if 0
-/* Using the cumulative distribution function this funciton will
+/* Using the cumulative distribution function this function will
remove outliers from a dataset. */
void
gal_statistics_remove_outliers_flat_cdf(float *sorted, size_t *outsize)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 5b002d7: Minor corrections suggested by Debian's Lintian corrected,
Mohammad Akhlaghi <=