gnu: qpdfview: Update to 0.5.0.

* gnu/packages/pdf.scm (qpdfview): Update to 0.5.0.
* gnu/packages/patches/qpdfview-qt515-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Timotej Lazar 2023-02-24 17:35:02 +01:00 committed by Leo Famulari
parent ea2fa86f31
commit 5cd3619545
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08
3 changed files with 3 additions and 22 deletions

View file

@ -1770,7 +1770,6 @@ dist_patch_DATA = \
%D%/packages/patches/qemu-glibc-2.27.patch \
%D%/packages/patches/qemu-glibc-2.30.patch \
%D%/packages/patches/qemu-fix-agent-paths.patch \
%D%/packages/patches/qpdfview-qt515-compat.patch \
%D%/packages/patches/qrcodegen-cpp-make-install.patch \
%D%/packages/patches/qtbase-absolute-runpath.patch \
%D%/packages/patches/qtbase-moc-ignore-gcc-macro.patch \

View file

@ -1,17 +0,0 @@
Fix compatibility with Qt 5.15.
Patch copied from upstream source repository:
https://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/revision/2104
--- a/sources/model.h 2017-04-19 21:01:25 +0000
+++ b/sources/model.h 2020-06-09 06:24:11 +0000
@@ -24,6 +24,7 @@
#define DOCUMENTMODEL_H
#include <QList>
+#include <QPainterPath>
#include <QtPlugin>
#include <QWidget>
#include <QVector>

View file

@ -888,16 +888,15 @@ (define-public qpdf
(define-public qpdfview
(package
(name "qpdfview")
(version "0.4.18")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (string-append "https://launchpad.net/qpdfview/"
"trunk/" version "/+download/"
"qpdfview-" version ".tar.gz"))
"qpdfview-" (version-major+minor version) ".tar.gz"))
(sha256
(base32 "0v1rl126hvblajnph2hkansgi0s8vjdc5yxrm4y3faa0lxzjwr6c"))
(patches (search-patches "qpdfview-qt515-compat.patch"))))
(base32 "16dy341927r2s1dza7g8ci1jyypfc4a6yfcvg9sxvjv1li0c9vs4"))))
(build-system qt-build-system)
(native-inputs
(list pkg-config))