shortened line separator in console printout
authorIOhannes m zmölnig <zmoelnig@iem.at>
Mon, 13 Dec 2010 11:04:57 +0000 (12:04 +0100)
committerIOhannes m zmölnig <zmoelnig@iem.at>
Mon, 13 Dec 2010 11:04:57 +0000 (12:04 +0100)
lintian complained about unbreakable lines in the manpage, which were due to an
overlong "qLineSeparator" consisting of 60 or so dashes.
since there is no functionality in the line separator (apart from separating
different sections in the console printout) i shrank it to an empty line

debian/patches/manpage-has-errors-from-man [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

diff --git a/debian/patches/manpage-has-errors-from-man b/debian/patches/manpage-has-errors-from-man
new file mode 100644 (file)
index 0000000..176fac8
--- /dev/null
@@ -0,0 +1,25 @@
+Description: shortened gPrintSeparator for nicer help2man output
+Author: IOhannes m zmoelnig <zmoelnig@iem.at>
+
+--- jacktrip.orig/src/jacktrip_globals.h
++++ jacktrip/src/jacktrip_globals.h
+@@ -70,7 +70,7 @@
+ //*******************************************************************************
+ /// \name Separator for terminal printing
+ //@{
+-const char* const gPrintSeparator = "---------------------------------------------------------";
++const char* const gPrintSeparator = "";
+ //@}
+--- jacktrip.orig/src/Settings.cpp
++++ jacktrip/src/Settings.cpp
+@@ -247,7 +247,7 @@
+   cout << "Copyright (c) 2008-2009 Juan-Pablo Caceres, Chris Chafe." << endl;
+   cout << "SoundWIRE group at CCRMA, Stanford University" << endl;
+   cout << "VERSION: " << gVersion << endl;
+-  cout << "-----------------------------------------------------------------------------" << endl;
++  cout << gPrintSeparator << endl;
+   cout << "" << endl;
+   cout << "Usage: jacktrip [-s|-c host] [options]" << endl;
+   cout << "" << endl;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..a80419a
--- /dev/null
@@ -0,0 +1 @@
+manpage-has-errors-from-man