[med-svn] r14234 - in trunk/packages/xmedcon/trunk/debian: . patches
Andreas Tille
tille at alioth.debian.org
Thu Jul 25 13:30:08 UTC 2013
Author: tille
Date: 2013-07-25 13:30:08 +0000 (Thu, 25 Jul 2013)
New Revision: 14234
Added:
trunk/packages/xmedcon/trunk/debian/patches/code-spelling.patch
Modified:
trunk/packages/xmedcon/trunk/debian/changelog
trunk/packages/xmedcon/trunk/debian/control
trunk/packages/xmedcon/trunk/debian/patches/man-spelling.patch
trunk/packages/xmedcon/trunk/debian/patches/series
Log:
Work down lintian issues
Modified: trunk/packages/xmedcon/trunk/debian/changelog
===================================================================
--- trunk/packages/xmedcon/trunk/debian/changelog 2013-07-25 12:47:32 UTC (rev 14233)
+++ trunk/packages/xmedcon/trunk/debian/changelog 2013-07-25 13:30:08 UTC (rev 14234)
@@ -27,7 +27,8 @@
* debian/watch: version=3
* debian/libmdc2-dev.install: Drop *.la file
Closes: #633237
- * debian/man-spelling.patch: Enhance manpages syntax and spelling
+ * debian/patches/man-spelling.patch: Enhance manpages syntax and spelling
+ * debian/patches/code-spelling.patch: Fix spelling in library
* debian/README.Debian: Removed now invalid information
* debian/README.source: Add basic information about potential legal issues
of ecat7 format
Modified: trunk/packages/xmedcon/trunk/debian/control
===================================================================
--- trunk/packages/xmedcon/trunk/debian/control 2013-07-25 12:47:32 UTC (rev 14233)
+++ trunk/packages/xmedcon/trunk/debian/control 2013-07-25 13:30:08 UTC (rev 14234)
@@ -23,7 +23,7 @@
${misc:Depends}
Conflicts: libmdc
Replaces: libmdc
-Description: Medical Image (DICOM, ECAT, ...) conversion tool
+Description: Medical Image (DICOM, ECAT, ...) conversion tool (library)
This project stands for Medical Image Conversion. Released under the
(L)GPL, it comes with the full C-source code of the library, a
flexible command line utility and a neat graphical front-end using
@@ -40,7 +40,7 @@
${misc:Depends}
Conflicts: libmdc-dev
Replaces: libmdc-dev
-Description: Medical Image (DICOM, ECAT, ...) conversion tool
+Description: Medical Image (DICOM, ECAT, ...) conversion tool (development)
This project stands for Medical Image Conversion. Released under the
(L)GPL, it comes with the full C-source code of the library, a
flexible command line utility and a neat graphical front-end using
@@ -73,7 +73,7 @@
Depends: ${shlibs:Depends},
${misc:Depends}
Recommends: medcon
-Description: Medical Image (DICOM, ECAT, ...) conversion tool
+Description: Medical Image (DICOM, ECAT, ...) conversion tool (GUI)
This project stands for Medical Image Conversion. Released under the
(L)GPL, it comes with the full C-source code of the library, a
flexible command line utility and a neat graphical front-end using
Added: trunk/packages/xmedcon/trunk/debian/patches/code-spelling.patch
===================================================================
--- trunk/packages/xmedcon/trunk/debian/patches/code-spelling.patch (rev 0)
+++ trunk/packages/xmedcon/trunk/debian/patches/code-spelling.patch 2013-07-25 13:30:08 UTC (rev 14234)
@@ -0,0 +1,150 @@
+Author: Andreas Tille <tille at debian.org>
+LastChanged: Tue, 23 Jul 2013 08:46:18 +0200
+Description: Fix some spelling errors in code
+
+--- a/source/m-getopt.c
++++ b/source/m-getopt.c
+@@ -986,7 +986,7 @@ int MdcHandleArgs(FILEINFO *fi, int argc
+ /* print database info; legacy option, just used within ECAT */
+ if (MDC_INFO_DB == MDC_YES) {
+ if (total[MDC_FILES] > 1)
+- MdcPrntErr(MDC_NO_CODE,"Option '-db' only usefull one file at a time");
++ MdcPrntErr(MDC_NO_CODE,"Option '-db' only useful one file at a time");
+ if (MDC_CONVERT == MDC_YES)
+ MdcPrntErr(MDC_NO_CODE,"Option '-db' useless with '-c' conversion");
+ }
+@@ -994,7 +994,7 @@ int MdcHandleArgs(FILEINFO *fi, int argc
+ /* echo alias name; single option allowed */
+ if (MDC_ECHO_ALIAS == MDC_YES) {
+ if (total[MDC_FILES] > 1)
+- MdcPrntErr(MDC_NO_CODE,"Option '-ean' only usefull one file at a time");
++ MdcPrntErr(MDC_NO_CODE,"Option '-ean' only useful one file at a time");
+ if (MDC_CONVERT == MDC_YES)
+ MdcPrntErr(MDC_NO_CODE,"Option '-ean' useless with '-c' conversion");
+ }
+--- a/source/m-split.c
++++ b/source/m-split.c
+@@ -286,7 +286,7 @@ char *MdcSplitSlices(FILEINFO *fi, int f
+ fi->nr_instance = instance;
+ MdcCleanUpFI(ofi); MdcFree(ofi);
+ MdcFree(tpath);
+- return("Failure to write splitted slice");
++ return("Failure to write split slice");
+ }
+
+ MdcCleanUpFI(ofi);
+@@ -374,7 +374,7 @@ char *MdcSplitFrames(FILEINFO *fi, int f
+ fi->nr_instance = instance;
+ MdcCleanUpFI(ofi); MdcFree(ofi);
+ MdcFree(tpath);
+- return("Failure to write splitted frame");
++ return("Failure to write split frame");
+ }
+
+ MdcCleanUpFI(ofi);
+--- a/source/m-acr.c
++++ b/source/m-acr.c
+@@ -473,7 +473,7 @@ const char *MdcReadACR(FILEINFO *fi)
+
+ /* get endian of file */
+ r = fread((Uint8 *)tag, 1, MDC_ACR_TAG_SIZE, fi->ifp);
+- if (r != MDC_ACR_TAG_SIZE) return("ACR Failure to read tag (endianess).");
++ if (r != MDC_ACR_TAG_SIZE) return("ACR Failure to read tag (endianness).");
+
+ if (tag->group == 0x0008) MDC_FILE_ENDIAN = MDC_HOST_ENDIAN;
+ else {
+--- a/source/m-algori.c
++++ b/source/m-algori.c
+@@ -1016,7 +1016,7 @@ char *MdcImagesPixelFiddle(FILEINFO *fi)
+ }
+ }
+
+- /* from here on, endianess is host based */
++ /* from here on, endianness is host based */
+ MDC_FILE_ENDIAN = MDC_HOST_ENDIAN;
+
+ return(NULL);
+--- a/source/m-conc.c
++++ b/source/m-conc.c
+@@ -115,7 +115,7 @@ char * MdcConcAcqModeNames[MDC_CONC_NUM_
+ "Emission",
+ "Dynamic",
+ "Gated",
+- "Continous bed motion",
++ "Continuous bed motion",
+ "Singles transmission",
+ "Windowed Coincidence transmission",
+ "Non-windowed Coincidence transmission"
+@@ -123,7 +123,7 @@ char * MdcConcAcqModeNames[MDC_CONC_NUM_
+
+ char * MdcConcBedMotionNames[MDC_CONC_NUM_BED_MOTIONS] = {
+ "Static or unknown bed motion",
+- "Continous bed motion",
++ "Continuous bed motion",
+ "Multiple bed positions"
+ };
+
+@@ -150,7 +150,7 @@ char * MdcConcOrderModeNames[MDC_CONC_NU
+ };
+
+ char * MdcConcRebinTypeNames[MDC_CONC_NUM_REBIN_TYPES] = {
+- "Unknown, or no, algorith type",
++ "Unknown, or no, algorithm type",
+ "Full 3D binning (span and ring difference)",
+ "Single-Slice Rebinning",
+ "Fourier Rebinning"
+--- a/source/m-conc.h
++++ b/source/m-conc.h
+@@ -83,7 +83,7 @@ typedef enum {
+ MDC_CONC_ACQ_EMISSION, /* Emission acquisition */
+ MDC_CONC_ACQ_DYNAMIC, /* Dynamic acquisition */
+ MDC_CONC_ACQ_GATED, /* Gated acquisition */
+- MDC_CONC_ACQ_CONTINUOUS, /* Continous bed motion acquisition */
++ MDC_CONC_ACQ_CONTINUOUS, /* Continuous bed motion acquisition */
+ MDC_CONC_ACQ_SINGLES, /* Singles transmission acquisition */
+ MDC_CONC_ACQ_WINDOWED_COINCIDENCE, /* Windowed coincidence transmission acquisition */
+ MDC_CONC_ACQ_NON_WINDOWED_COINCIDENCE, /* Non-windowed coincidence transmission acquisition */
+@@ -100,7 +100,7 @@ typedef enum {
+
+ typedef enum {
+ MDC_CONC_BED_MOTION_STATIC, /* Static or unknown bed motion */
+- MDC_CONC_BED_MOTION_CONTINOUS, /* Continous bed motion */
++ MDC_CONC_BED_MOTION_CONTINOUS, /* Continuous bed motion */
+ MDC_CONC_BED_MOTION_MULTIPLE, /* Multiple bed positions, i.e. step and shoot */
+ MDC_CONC_NUM_BED_MOTIONS
+ } MdcConcBedMotion;
+@@ -131,7 +131,7 @@ typedef enum {
+ } MdcConcOrderModes;
+
+ typedef enum {
+- MDC_CONC_REBIN_UNKNOWN, /* Unknown, or no, algorith type */
++ MDC_CONC_REBIN_UNKNOWN, /* Unknown, or no, algorithm type */
+ MDC_CONC_REBIN_FULL, /* Full 3D binning (span and ring difference) */
+ MDC_CONC_REBIN_SINGLE, /* Single-Slice Rebinning */
+ MDC_CONC_REBIN_FOURIER, /* Fourier Rebinning */
+--- a/source/m-nifti.c
++++ b/source/m-nifti.c
+@@ -328,7 +328,7 @@ const char *MdcWriteNIFTI(FILEINFO *fi)
+
+ /* file endian */
+ if (MDC_WRITE_ENDIAN != MDC_HOST_ENDIAN)
+- return("NIFTI Writing in different endianess yet unsupported");
++ return("NIFTI Writing in different endianness yet unsupported");
+
+ /* get nifti_image struct */
+ nim = nifti_simple_init_nim();
+--- a/source/m-ecat64.c
++++ b/source/m-ecat64.c
+@@ -261,9 +261,9 @@ const char *MdcReadECAT6(FILEINFO *fi)
+ MdcPrntScrn("Bed Offset[%02d] : %f [cm]\n",i+1
+ ,mh.bed_offset[i]);
+ MdcPrntScrn("Plane Separation : %f [cm]\n",mh.plane_separation);
+- MdcPrntScrn("Lower Scatter Treshold : %d [KeV]\n",mh.lwr_sctr_thres);
+- MdcPrntScrn("Lower True Treshold : %d [KeV]\n",mh.lwr_true_thres);
+- MdcPrntScrn("Upper True Treshold : %d [KeV]\n",mh.upr_true_thres);
++ MdcPrntScrn("Lower Scatter Threshold : %d [KeV]\n",mh.lwr_sctr_thres);
++ MdcPrntScrn("Lower True Threshold : %d [KeV]\n",mh.lwr_true_thres);
++ MdcPrntScrn("Upper True Threshold : %d [KeV]\n",mh.upr_true_thres);
+ MdcPrntScrn("Collimator : %6.0f\n",mh.collimator);
+ MdcPrntScrn("User Process Code : ");
+ MdcPrintStr(mh.user_process_code);
Modified: trunk/packages/xmedcon/trunk/debian/patches/man-spelling.patch
===================================================================
--- trunk/packages/xmedcon/trunk/debian/patches/man-spelling.patch 2013-07-25 12:47:32 UTC (rev 14233)
+++ trunk/packages/xmedcon/trunk/debian/patches/man-spelling.patch 2013-07-25 13:30:08 UTC (rev 14234)
@@ -695,6 +695,19 @@
.PP
.in 0.2i
.SH SEE ALSO
+@@ -56,8 +56,7 @@ medcon(3)
+ project was originally written by Erik Nolf (eNlf) for the former PET-Centre at Ghent University (Belgium).
+ .PP
+ .in 0.2i
+-.TS
+-tab(=);
+-lB l lB l.
+-e-mail:=enlf-at-users.sourceforge.net=www:=http://xmedcon.sourceforge.net
+-.TE
++.TP
++e-mail: enlf at users.sourceforge.net
++.TP
++www: http://xmedcon.sourceforge.net
--- a/man/medcon.3
+++ b/man/medcon.3
@@ -584,14 +584,14 @@ Example `Makefile' for compiling `testit
Modified: trunk/packages/xmedcon/trunk/debian/patches/series
===================================================================
--- trunk/packages/xmedcon/trunk/debian/patches/series 2013-07-25 12:47:32 UTC (rev 14233)
+++ trunk/packages/xmedcon/trunk/debian/patches/series 2013-07-25 13:30:08 UTC (rev 14234)
@@ -1 +1,2 @@
man-spelling.patch
+code-spelling.patch
More information about the debian-med-commit
mailing list