diff --git a/diff-pdf.1 b/diff-pdf.1 new file mode 100644 index 0000000..d1e7e77 --- /dev/null +++ b/diff-pdf.1 @@ -0,0 +1,29 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. +.TH DIFF-PDF "1" "December 2020" "diff-pdf 0.4.1" "User Commands" +.SH NAME +diff-pdf \- Simple PDF comparison tool +.SH SYNOPSIS +.B diff-pdf +[\fI\,-h\/\fR] [\fI\,-v\/\fR] [\fI\,-s\/\fR] [\fI\,-m\/\fR] [\fI\,--output-diff \/\fR] [\fI\,--channel-tolerance \/\fR] [\fI\,--view\/\fR] \fI\,file1.pdf file2.pdf\/\fR +.SH DESCRIPTION +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message +.TP +\fB\-v\fR, \fB\-\-verbose\fR +be verbose +.TP +\fB\-s\fR, \fB\-\-skip\-identical\fR +only output pages with differences +.TP +\fB\-m\fR, \fB\-\-mark\-differences\fR +additionally mark differences on left side +.TP +\fB\-\-output\-diff=\fR +output differences to given PDF file +.TP +\fB\-\-channel\-tolerance=\fR +consider channel values to be equal if within specified tolerance +.TP +\fB\-\-view\fR +view the differences in a window diff --git a/diff-pdf.changes b/diff-pdf.changes index 573569c..2fd1994 100644 --- a/diff-pdf.changes +++ b/diff-pdf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 31 07:21:17 UTC 2020 - munix9@googlemail.com + +- Pre-create diff-pdf.1 with help2man to work around GTK+ DISPLAY + errors (boo#1180471) + ------------------------------------------------------------------- Tue Dec 29 12:15:14 UTC 2020 - munix9@googlemail.com diff --git a/diff-pdf.spec b/diff-pdf.spec index 668dd79..377f4d9 100644 --- a/diff-pdf.spec +++ b/diff-pdf.spec @@ -24,11 +24,11 @@ License: GPL-2.0-only AND LGPL-2.0-only Group: Productivity/Publishing/PDF URL: https://vslavik.github.io/diff-pdf/ Source0: https://github.com/vslavik/diff-pdf/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: %{name}.1 Patch0: fix-find-poppler.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ -BuildRequires: help2man BuildRequires: pkgconfig BuildRequires: wxWidgets-devel BuildRequires: pkgconfig(cairo) @@ -50,9 +50,9 @@ diff-pdf is a simple tool for comparing two PDF files. %install %make_install -install -d -m 0755 %{buildroot}%{_mandir}/man1 -help2man -N -n "%{summary}" --version-string="%{version}" --no-discard-stderr \ - -o %{buildroot}%{_mandir}/man1/%{name}.1 %{buildroot}%{_bindir}/%{name} +#help2man -N -n "%%{summary}" --version-string="%%{version}" --no-discard-stderr \ +# -o %%{buildroot}%%{_mandir}/man1/%%{name}.1 %%{buildroot}%%{_bindir}/%%{name} +install -D -m 0644 -t %{buildroot}%{_mandir}/man1/ %{SOURCE1} %files %license COPYING COPYING.icons