- Update to version 0.5:

* Reflect renaming of package from Ubuntu 20.10 on
  * Increase version to v0.5
  * Add --grayscale option
  * Show default DPI value used in --help output
  * Remove code for old versions of glib and wxWidgets
  * Tiny code formatting fixes
  * Add rasterization DPI option (#71)
  * AppVeyor: fix MSYS2 build
  * Remove legacy poppler-cairo dependency (#69)
  * Add instructions for installing on Fedora and CentOS 8 (#66)
- Drop no longer needed fix-find-poppler.patch
- Switch to obs scm _service

OBS-URL: https://build.opensuse.org/package/show/Publishing/diff-pdf?expand=0&rev=13
This commit is contained in:
Martin Pluskal 2021-04-28 08:05:19 +00:00 committed by Git OBS Bridge
parent ee6c67fbe9
commit 095dfcb789
9 changed files with 54 additions and 52 deletions

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="versionformat">@PARENT_TAG@</param>
<param name="url">https://github.com/vslavik/diff-pdf.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="exclude">.*</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled">
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/vslavik/diff-pdf.git</param>
<param name="changesrevision">201dab3d230c0d9513d9330bd10030d590894056</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d4a7f07edc767943edc7f5ea85d1dbaeb75a7760f9f585aba43e4e59aa29bd5
size 34662

3
diff-pdf-0.5.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e03a4630101221a7de27261a0f008a47072d3988f80e97926b43a57eacec3d2
size 125451

View File

@ -1,29 +0,0 @@
.\" 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,20 @@
-------------------------------------------------------------------
Wed Apr 28 07:54:00 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
- Update to version 0.5:
* Reflect renaming of package from Ubuntu 20.10 on
* Increase version to v0.5
* Add --grayscale option
* Show default DPI value used in --help output
* Remove code for old versions of glib and wxWidgets
* Tiny code formatting fixes
* Add rasterization DPI option (#71)
* AppVeyor: fix MSYS2 build
* Remove legacy poppler-cairo dependency (#69)
* Add instructions for installing on Fedora and CentOS 8 (#66)
- Drop no longer needed fix-find-poppler.patch
- Switch to obs scm _service
-------------------------------------------------------------------
Thu Dec 31 07:21:17 UTC 2020 - munix9@googlemail.com

5
diff-pdf.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: diff-pdf
version: 0.5
mtime: 1614361918
commit: 201dab3d230c0d9513d9330bd10030d590894056

View File

@ -1,7 +1,7 @@
#
# spec file for package diff-pdf
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,18 +17,17 @@
Name: diff-pdf
Version: 0.4.1
Version: 0.5
Release: 0
Summary: Simple PDF comparison tool
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
Source0: %{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: help2man
BuildRequires: pkgconfig
BuildRequires: wxWidgets-devel
BuildRequires: pkgconfig(cairo)
@ -40,7 +39,7 @@ BuildRequires: pkgconfig(poppler-glib)
diff-pdf is a simple tool for comparing two PDF files.
%prep
%autosetup -p1
%autosetup
%build
./bootstrap
@ -50,9 +49,9 @@ diff-pdf is a simple tool for comparing two PDF files.
%install
%make_install
#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}
install -d %{buildroot}%{_mandir}/man1/
help2man -N -n "%{summary}" --version-string="%{version}" --no-discard-stderr \
-o %{buildroot}%{_mandir}/man1/%{name}.1 %{buildroot}%{_bindir}/%{name}
%files
%license COPYING COPYING.icons

View File

@ -1,11 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@
dnl === Library checks ===
PKG_CHECK_MODULES(POPPLER,
- [poppler-cairo >= 0.10 poppler-glib >= 0.10 cairo-pdf])
+ [poppler >= 0.10 poppler-glib >= 0.10 cairo-pdf])
AM_OPTIONS_WXCONFIG
AM_PATH_WXCONFIG([3.0.0], [wxfound=1], [wxfound=0], [core,base])