[med-svn] [minc-tools] 04/06: Fix spelling issues, Fix whatis entries of manpages

Andreas Tille tille at debian.org
Wed Nov 22 20:00:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository minc-tools.

commit b4a7f9442792044976f77fe3f81775d06bcc3e9f
Author: Andreas Tille <tille at debian.org>
Date:   Wed Nov 22 20:49:01 2017 +0100

    Fix spelling issues, Fix whatis entries of manpages
---
 debian/changelog                  |   2 +
 debian/patches/fix_manpages.patch |  40 +++++++++++++
 debian/patches/series             |   1 +
 debian/patches/spelling.patch     | 116 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 159 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index eea2a37..0a514a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ minc-tools (2.3.00+dfsg-2) UNRELEASED; urgency=medium
   * Standards-Version: 4.1.1
   * Add DEP3 headers
   * hardening=+all
+  * Fix spelling issues
+  * Fix whatis entries of manpages
 
  -- Andreas Tille <tille at debian.org>  Wed, 22 Nov 2017 15:41:42 +0100
 
diff --git a/debian/patches/fix_manpages.patch b/debian/patches/fix_manpages.patch
new file mode 100644
index 0000000..f4b5f9a
--- /dev/null
+++ b/debian/patches/fix_manpages.patch
@@ -0,0 +1,40 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 22 Nov 2017 15:41:42 +0100
+Description: Fix whatis entries of manpages
+
+--- a/conversion/dcm2mnc/dcm2mnc.man1
++++ b/conversion/dcm2mnc/dcm2mnc.man1
+@@ -1,8 +1,7 @@
+ .TH dcm2mnc 1 "May 03 2005" "$Revision: 1.5 $" ""
+ .SH NAME
+ 
+-.B dcm2mnc
+-- convert sets of DICOM files to one or more MINC format files.
++dcm2mnc - convert sets of DICOM files to one or more MINC format files.
+ 
+ .SH SYNOPSIS
+ 
+--- a/conversion/nifti1/mnc2nii.man1
++++ b/conversion/nifti1/mnc2nii.man1
+@@ -1,8 +1,7 @@
+ .TH mnc2mnc 1 "Apr 22 2005" "$Revision: 1.3 $" ""
+ .SH NAME
+ 
+-.B mnc2nii
+-- convert a MINC format file to a NIfTI-1 or Analyze format file.
++mnc2nii - convert a MINC format file to a NIfTI-1 or Analyze format file.
+ 
+ .SH SYNOPSIS
+ 
+--- a/conversion/nifti1/nii2mnc.man1
++++ b/conversion/nifti1/nii2mnc.man1
+@@ -1,8 +1,7 @@
+ .TH nii2mnc 1 "Apr 22 2005" "$Revision: 1.4 $" ""
+ .SH NAME
+ 
+-.B nii2mnc
+-- convert a NIfTI-1 or Analyze 7.5 format file to a MINC format file.
++nii2mnc - convert a NIfTI-1 or Analyze 7.5 format file to a MINC format file.
+ 
+ .SH SYNOPSIS
+ 
diff --git a/debian/patches/series b/debian/patches/series
index d9e0a59..9cd688c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 build-with-libnifti
 hdf5-1.10-support.patch
 spelling.patch
+fix_manpages.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
index aec4266..edc5f10 100644
--- a/debian/patches/spelling.patch
+++ b/debian/patches/spelling.patch
@@ -1,3 +1,7 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 22 Nov 2017 15:41:42 +0100
+Description: Fix spelling issues
+
 --- a/progs/mincconcat/mincconcat.c
 +++ b/progs/mincconcat/mincconcat.c
 @@ -724,7 +724,7 @@ static void get_concat_dim_name(Concat_I
@@ -51,3 +55,115 @@
     {"-hist_count", ARGV_CONSTANT, (char *)TRUE, (char *)&Hist_Count,
      "# of voxels portrayed in Histogram."},
     {"-hist_percent",
+--- a/conversion/dicomserver_sonata/siemens_include/STC_Common_Status.h
++++ b/conversion/dicomserver_sonata/siemens_include/STC_Common_Status.h
+@@ -15,7 +15,7 @@
+  *			Status-, Configuration,- and Common Files' for the part	*
+  *			of 'Status File'. 					*
+  *										*
+- *			The informations for 'General Installation' and 'Fixed	*
++ *			The information for 'General Installation' and 'Fixed	*
+  *			Device Conditions' are found inhere.			*
+  *										*
+  *------------------------------------------------------------------------------*
+@@ -627,7 +627,7 @@ union	__STC_BASIC_DATA
+ 
+ /*------------------------------------------------------------------------------*
+  *										*
+- *	Modality sub-type. This field contains informations about		*
++ *	Modality sub-type. This field contains information about		*
+  *	variants of the modality described in STC_Modality (e.g.		*
+  *	STC_Modality == MR and STC_Modality_Sub == STC_Modality_Sub_P8). 	*
+  *	This field can be used by both, CT and MR modalities.			*
+--- a/conversion/ecattominc/ecattominc.man1
++++ b/conversion/ecattominc/ecattominc.man1
+@@ -6,7 +6,7 @@ ecattominc \- convert an ecat format fil
+ 
+ \fBecattominc [\-help]\fR
+ .SH "DESCRIPTION"
+-\fIecattominc\fR will convert an ecat data file (version 6.x or 7.x) to a minc file format Unless the \fB\-small_header\fR option is specified, \fBecattominc\fR will conserve the maximum informations from the ecat header and subheader fields which will be respectively stored as attributes of the ecat\-main and ecat\-subhdr minc variables. 
++\fIecattominc\fR will convert an ecat data file (version 6.x or 7.x) to a minc file format Unless the \fB\-small_header\fR option is specified, \fBecattominc\fR will conserve the maximum information from the ecat header and subheader fields which will be respectively stored as attributes of the ecat\-main and ecat\-subhdr minc variables. 
+ By default the whole 3D or 4D volume is converted, however, \fBecattominc\fR allows for the selection of slice and frame ranges to be copied.
+ The voxel values of the generated minc file are decay corrected, unless the \fBnodecay_correct\fR flag is specified. 
+ Finally, blood data file can be inserted within the minc file with the \fB\-bloodfile\fR option.
+--- a/conversion/minctoecat/minctoecat.c
++++ b/conversion/minctoecat/minctoecat.c
+@@ -98,12 +98,12 @@ int main ( int argc, char **argv) {
+   
+   /* Argument option table */
+   static ArgvInfo argTable[] = {
+-    {"-ignore_patient_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_patient_info,"Ignore informations from the minc patient variable."},
+-    {"-ignore_study_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_study_info,"Ignore informations from the minc study variable."},
+-    {"-ignore_acquisition_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_acquisition_info,"Ignore informations from the minc acquisition variable."},
+-    {"-ignore_ecat_acquisition_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_ecat_acquisition_info,"Ignore informations from the minc ecat_acquisition variable."},
+-    {"-ignore_ecat_main", ARGV_CONSTANT, (char *) FALSE, (char *) &include_ecat_main_info,"Ignore informations from the minc ecat-main variable."},
+-    {"-ignore_ecat_subheader_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_ecat_subheader_info,"Ignore informations from the minc ecat-subhdr variable."},
++    {"-ignore_patient_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_patient_info,"Ignore information from the minc patient variable."},
++    {"-ignore_study_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_study_info,"Ignore information from the minc study variable."},
++    {"-ignore_acquisition_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_acquisition_info,"Ignore information from the minc acquisition variable."},
++    {"-ignore_ecat_acquisition_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_ecat_acquisition_info,"Ignore information from the minc ecat_acquisition variable."},
++    {"-ignore_ecat_main", ARGV_CONSTANT, (char *) FALSE, (char *) &include_ecat_main_info,"Ignore information from the minc ecat-main variable."},
++    {"-ignore_ecat_subheader_variable", ARGV_CONSTANT, (char *) FALSE, (char *) &include_ecat_subheader_info,"Ignore information from the minc ecat-subhdr variable."},
+     {"-no_decay_corr_fctr", ARGV_CONSTANT, (char *) FALSE, (char *) &do_decay_corr_factor,"Do not compute the decay correction factors"},
+     {"-label", ARGV_CONSTANT, (char *) TRUE, (char *) &label_data,"Voxel values are treated as integers, scale and calibration factors are set to unity"},
+     {NULL, ARGV_END, NULL, NULL, NULL} 
+@@ -137,9 +137,9 @@ int main ( int argc, char **argv) {
+    minc_file_name = argv[1];
+    ecat_file_name = argv[2];
+ 
+-  /*getting informations about the dimensions from the minc file*/
++  /*getting information about the dimensions from the minc file*/
+   if((mi = get_minc_info(minc_file_name)) == NULL) {
+-    fprintf(stderr, "Can not get informations from %s.\n", minc_file_name);
++    fprintf(stderr, "Can not get information from %s.\n", minc_file_name);
+     return (1);
+   }
+ 
+@@ -151,15 +151,15 @@ int main ( int argc, char **argv) {
+ 
+   
+   /***************************************************************************************
+-   *       filling the ecat header fields with the available informations                *
++   *       filling the ecat header fields with the available information                *
+    ***************************************************************************************/
+   /*MAIN HEADER: filling compulsory fields*/
+   if((out_main_header = init_main_header(minc_file_name, mi)) == NULL) {
+     fprintf(stderr, "Can not initilize the ecat main header.\n");
+     return (1);
+   }
+-  /*additional informations if available and requested*/
+-  /*getting patient informations from the MIpatient variable*/
++  /*additional information if available and requested*/
++  /*getting patient information from the MIpatient variable*/
+   
+   if(include_patient_info)
+     get_patient_info(minc_file_name, out_main_header);
+@@ -172,7 +172,7 @@ int main ( int argc, char **argv) {
+   /*getting acquisition information from the ecat_acquisition variable*/
+   if(include_ecat_acquisition_info)
+     get_ecat_acquisition_info(minc_file_name, out_main_header);
+-  /*getting ecat main header informations from the ecat-main variable*/
++  /*getting ecat main header information from the ecat-main variable*/
+   if(include_ecat_main_info)
+     get_ecat_main_header_info(minc_file_name, out_main_header);
+ 
+@@ -181,7 +181,7 @@ int main ( int argc, char **argv) {
+     fprintf(stderr, "Can not initialize the ecat image subheader.\n");
+     return (1);
+   }
+- /*getting additionnal informations from the ecat-subhdr variable*/
++ /*getting additionnal information from the ecat-subhdr variable*/
+  if(include_ecat_subheader_info)
+    get_ecat_subheader_info(minc_file_name, out_image_subheader);
+   
+--- a/progs/minccmp/minccmp.man1
++++ b/progs/minccmp/minccmp.man1
+@@ -21,7 +21,7 @@ minccmp - compare one or more minc file
+ \fIminccmp\fR
+ will calculate simple statistical measures between two minc
+ files or more by comparing all subsequent files to the first. 
+-The results for each subseqent file are then returned in order.
++The results for each subsequent file are then returned in order.
+ By default all statistics are calculated. If specifitc statistics
+ are requested via a command-line option, then only the requested 
+ statistics are printed.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/minc-tools.git



More information about the debian-med-commit mailing list