The following commit has been merged in the master branch:
commit 9462fd022776c322183c51a81d85358cf499b814
Author: Gert Wollny <[email protected]>
Date:   Mon Feb 25 18:05:22 2013 +0100

    update help to avoid lintian warning

diff --git a/debian/patches/2dmyoset-manpage-lintian-fix.patch 
b/debian/patches/2dmyoset-manpage-lintian-fix.patch
new file mode 100644
index 0000000..e4bf1a2
--- /dev/null
+++ b/debian/patches/2dmyoset-manpage-lintian-fix.patch
@@ -0,0 +1,38 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ mia (2.0.8-1) UNRELEASED; urgency=low
+ .
+   * Initial release (Closes: #694437)
+Author: Gert Wollny <[email protected]>
+Bug-Debian: http://bugs.debian.org/694437
+
+---
+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: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- mia-2.0.8.orig/src/2dmyoset-all2one-nonrigid.cc
++++ mia-2.0.8/src/2dmyoset-all2one-nonrigid.cc
+@@ -52,7 +52,8 @@ const SProgramDescription g_description
+       {pdi_example_descr, "Register the perfusion series given in segment.set 
by optimizing a "
+        "spline based transformation with a coefficient rate of 16 pixel using 
Mutual Information "
+        "and penalize the transformation by using divcurl with aweight of 
2.0."}, 
+-      {pdi_example_code, "-i segment.set -o registered.set -f 
spline:rate=16,penalty=[divcurl:weight=2.0] "
++      {pdi_example_code, "-i segment.set -o registered.set \\"
++                         "    -f spline:rate=16,penalty=[divcurl:weight=2.0] "
+        "image:cost=mi,weight=2.0"}
+ }; 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index a4b5d56..d75f431 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_disable-treeview-for-jquery-compatibility.patch
 
+2dmyoset-manpage-lintian-fix.patch
diff --git a/src/2dmyoset-all2one-nonrigid.cc b/src/2dmyoset-all2one-nonrigid.cc
index 934a11d..79fb84e 100644
--- a/src/2dmyoset-all2one-nonrigid.cc
+++ b/src/2dmyoset-all2one-nonrigid.cc
@@ -52,8 +52,7 @@ const SProgramDescription g_description = {
        {pdi_example_descr, "Register the perfusion series given in segment.set 
by optimizing a "
         "spline based transformation with a coefficient rate of 16 pixel using 
Mutual Information "
         "and penalize the transformation by using divcurl with aweight of 
2.0."}, 
-       {pdi_example_code, "-i segment.set -o registered.set \\"
-                          "    -f spline:rate=16,penalty=[divcurl:weight=2.0] "
+       {pdi_example_code, "-i segment.set -o registered.set -f 
spline:rate=16,penalty=[divcurl:weight=2.0] "
         "image:cost=mi,weight=2.0"}
 }; 
 

-- 
Packaging of mia in Debian

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to