Hello community, here is the log from the commit of package qpdfview for openSUSE:Factory checked in at 2020-06-12 21:46:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qpdfview (Old) and /work/SRC/openSUSE:Factory/.qpdfview.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qpdfview" Fri Jun 12 21:46:19 2020 rev:9 rq:814198 version:0.4.18 Changes: -------- --- /work/SRC/openSUSE:Factory/qpdfview/qpdfview.changes 2019-07-26 12:43:49.313829682 +0200 +++ /work/SRC/openSUSE:Factory/.qpdfview.new.3606/qpdfview.changes 2020-06-12 21:47:18.484938820 +0200 @@ -1,0 +2,5 @@ +Fri Jun 12 12:11:46 UTC 2020 - Kyrill Detinov <lazy.k...@opensuse.org> + +- Add qpdfview-qt5.15.patch: fix build with Qt 5.15. + +------------------------------------------------------------------- New: ---- qpdfview-qt5.15.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qpdfview.spec ++++++ --- /var/tmp/diff_new_pack.syywMC/_old 2020-06-12 21:47:20.520950341 +0200 +++ /var/tmp/diff_new_pack.syywMC/_new 2020-06-12 21:47:20.520950341 +0200 @@ -1,7 +1,7 @@ # # spec file for package qpdfview # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Source: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz Source1: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring +# PATCH-FIX-UPSTREAM qpdfview-qt5.15.patch -- fix build with Qt 5.15 +Patch0: qpdfview-qt5.15.patch BuildRequires: cups-devel BuildRequires: fdupes BuildRequires: hicolor-icon-theme @@ -111,12 +113,13 @@ %prep %setup -q +%patch0 -p1 %build %global _libqt5_qmake %{_libqt5_qmake} -makefile %{name}.pro %{_libqt5_bindir}/lrelease translations/*.ts %qmake5 PLUGIN_INSTALL_PATH=%{_libdir}/%{name} -make %{?_smp_mflags} +%make_build %install %qmake5_install ++++++ qpdfview-qt5.15.patch ++++++ Index: qpdfview-0.4.18/sources/djvumodel.cpp =================================================================== --- qpdfview-0.4.18.orig/sources/djvumodel.cpp +++ qpdfview-0.4.18/sources/djvumodel.cpp @@ -29,6 +29,7 @@ along with qpdfview. If not, see <http: #include <cstdio> #include <QFile> +#include <QPainterPath> #include <qmath.h> #if defined(Q_OS_WIN) && defined(DJVU_STATIC) Index: qpdfview-0.4.18/sources/model.h =================================================================== --- qpdfview-0.4.18.orig/sources/model.h +++ qpdfview-0.4.18/sources/model.h @@ -27,6 +27,7 @@ along with qpdfview. If not, see <http: #include <QtPlugin> #include <QWidget> #include <QVector> +#include <QPainterPath> class QAbstractItemModel; class QColor;