MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.53k stars 286 forks source link

add manpages for lintian on debian #318

Closed pelliott80 closed 9 years ago

pelliott80 commented 9 years ago

here is a patch for man pages for simplescreenrecorder and ssr-glinject. It uses .in files so that when the version number chages so will the version number in the man page will automanticly change, if you do an autoreconf.

OK the first version of this patch had a bug. Below is the fixed patch.

From 875cc3cc2d4a832ec1fecee25e23c4f8973ac5e1 Mon Sep 17 00:00:00 2001 From: Paul Elliott pelliott@blackpatchpanel.com Date: Wed, 11 Mar 2015 03:13:45 -0500 Subject: add manpages for simplescreenrecorder ssr-glinject

E binary-without-manpage https://lintian.debian.org/tags/binary-without-manpage.html . Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have a manual page . Note that though the man program has the capability to check for several program names in the NAMES section, each of these programs should have its own manual page (a symbolic link to the appropriate manual page is sufficient) because other manual page viewers such as xman or tkman don't support this. . If the name of the man page differs from the binary by case, man may be able to find it anyway; however, it is still best practice to make the case of the man page match the case of the binary. . If the man pages are provided by another package on which this package depends, lintian may not be able to determine that man pages are available. In this case, after confirming that all binaries do have man pages after this package and its dependencies are installed, please add a lintian override. . Refer to Debian Policy Manual section 12.1 (Manual pages) for details.

Forwarded: https://github.com/MaartenBaert/ssr/issues/318

Makefile.am | 4 ++++ configure.ac | 2 +- simplescreenrecorder.1 | 48 +++++++++++++++++++++++++++++++++++++++++++++++ simplescreenrecorder.1.in | 48 +++++++++++++++++++++++++++++++++++++++++++++++ ssr-glinject.1 | 44 +++++++++++++++++++++++++++++++++++++++++++ ssr-glinject.1.in | 44 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 189 insertions(+), 1 deletion(-) create mode 100644 simplescreenrecorder.1 create mode 100644 simplescreenrecorder.1.in create mode 100644 ssr-glinject.1 create mode 100644 ssr-glinject.1.in

diff --git a/Makefile.am b/Makefile.am index 4f7ae5a..b0c7ef6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,7 @@ SUBDIRS = data glinject scripts src

+man1_MANS = simplescreenrecorder.1 ssr-glinject.1 + EXTRA_DIST = \ AUTHORS.md \ CHANGELOG.md \ @@ -9,6 +11,8 @@ EXTRA_DIST = \ README.md \ simple-build-and-install \ simple-uninstall \

MaartenBaert commented 9 years ago

You're a bit too late, I already created man pages the day before you opened this issue ;).

https://github.com/MaartenBaert/ssr/tree/master/data/man