[med-svn] [mia] 06/11: add patch to silence lintian

Gert Wollny gert-guest at moszumanska.debian.org
Wed Jan 14 11:08:14 UTC 2015


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

gert-guest pushed a commit to branch master
in repository mia.

commit f30ad436dfc6d7b50f489280c31e5c62bbc12f42
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Jan 8 11:36:19 2015 +0100

    add patch to silence lintian
---
 debian/patches/02-manpage-correction.patch | 37 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 src/2dmulti-force.cc                       |  2 +-
 src/2dmultiimageregistration.cc            |  2 +-
 4 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/debian/patches/02-manpage-correction.patch b/debian/patches/02-manpage-correction.patch
new file mode 100644
index 0000000..b5af0e3
--- /dev/null
+++ b/debian/patches/02-manpage-correction.patch
@@ -0,0 +1,37 @@
+Description: Correct the lintian warnings abut man page problems
+ Correct some help examples to silence manpage warnings that are 
+ reported by lintian. 
+ .
+Author: Gert Wollny <gw.fossdev at gmail.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: upstream
+Forwarded: not-needed
+Last-Update: 2015-01-08
+
+--- mia-2.2.3.orig/src/2dmulti-force.cc
++++ mia-2.2.3/src/2dmulti-force.cc
+@@ -38,7 +38,7 @@ const SProgramDescription g_description
+ 	 "The input images must be of the same dimensions and gray scale (whatever bit-depth)."}, 
+ 	{pdi_example_descr, "Evaluate the force normimage weighted sum of costs SSD and NGF of "
+ 	 "image1.v and image2.v. and store the result to force.v."}, 
+-	{pdi_example_code, "-o force.v image:cost=ssd,src=image1.v,ref=image2.v,weight=0.1 "
++	{pdi_example_code, "-o force.v \n image:cost=ssd,src=image1.v,ref=image2.v,weight=0.1\n "
+ 	 "image:cost=ngf,src=image1.v,ref=image2.v,weight=2.0"}
+ }; 
+ 
+--- mia-2.2.3.orig/src/2dmultiimageregistration.cc
++++ mia-2.2.3/src/2dmultiimageregistration.cc
+@@ -47,7 +47,7 @@ const SProgramDescription g_description
+ 	 "Use two multiresolution levels, ssd as image cost function and divcurl weighted by 10.0 "
+ 	 "as transformation smoothness penalty. The resulting transformation is saved in reg.vf."},
+ 
+-	{pdi_example_code, "-o reg.vf -l 2 -f spline:rate=3,penalty=divcurl image:cost=ssd,src=test.v,ref=ref.v"}
++	{pdi_example_code, "-o reg.vf -l 2\n -f spline:rate=3,penalty=divcurl\n image:cost=ssd,src=test.v,ref=ref.v"}
+ };
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 8526e67..fbbcf20 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_disable-treeview-for-jquery-compatibility.patch
+02-manpage-correction.patch
diff --git a/src/2dmulti-force.cc b/src/2dmulti-force.cc
index 7bd0e11..bf82ac8 100644
--- a/src/2dmulti-force.cc
+++ b/src/2dmulti-force.cc
@@ -38,7 +38,7 @@ const SProgramDescription g_description = {
 	 "The input images must be of the same dimensions and gray scale (whatever bit-depth)."}, 
 	{pdi_example_descr, "Evaluate the force normimage weighted sum of costs SSD and NGF of "
 	 "image1.v and image2.v. and store the result to force.v."}, 
-	{pdi_example_code, "-o force.v \n image:cost=ssd,src=image1.v,ref=image2.v,weight=0.1\n "
+	{pdi_example_code, "-o force.v image:cost=ssd,src=image1.v,ref=image2.v,weight=0.1 "
 	 "image:cost=ngf,src=image1.v,ref=image2.v,weight=2.0"}
 }; 
 
diff --git a/src/2dmultiimageregistration.cc b/src/2dmultiimageregistration.cc
index 0a66d42..ac1258a 100644
--- a/src/2dmultiimageregistration.cc
+++ b/src/2dmultiimageregistration.cc
@@ -47,7 +47,7 @@ const SProgramDescription g_description = {
 	 "Use two multiresolution levels, ssd as image cost function and divcurl weighted by 10.0 "
 	 "as transformation smoothness penalty. The resulting transformation is saved in reg.vf."},
 
-	{pdi_example_code, "-o reg.vf -l 2\n -f spline:rate=3,penalty=divcurl\n image:cost=ssd,src=test.v,ref=ref.v"}
+	{pdi_example_code, "-o reg.vf -l 2 -f spline:rate=3,penalty=divcurl image:cost=ssd,src=test.v,ref=ref.v"}
 };
 
 

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



More information about the debian-med-commit mailing list