SHA256
1
0
forked from pool/diff-pdf

Accepting request 859578 from Publishing

OBS-URL: https://build.opensuse.org/request/show/859578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diff-pdf?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-01-01 20:13:40 +00:00 committed by Git OBS Bridge
commit 69484cdaa1
3 changed files with 39 additions and 4 deletions

29
diff-pdf.1 Normal file
View File

@ -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 <str>\/\fR] [\fI\,--channel-tolerance <num>\/\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<str>
output differences to given PDF file
.TP
\fB\-\-channel\-tolerance=\fR<num>
consider channel values to be equal if within specified tolerance
.TP
\fB\-\-view\fR
view the differences in a window

View File

@ -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

View File

@ -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