lumina-pdf: upgrade to latest to fix build with Qt >= 5.14
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -15,13 +15,10 @@ DEPENDS += " \
|
||||
poppler \
|
||||
"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/lumina-desktop/lumina-pdf.git \
|
||||
file://0001-drawablepage.h-Add-missing-include.patch \
|
||||
"
|
||||
SRCREV = "645ed591ef91c3607d3ab87dd86f7acfd08b05c9"
|
||||
SRC_URI = "git://github.com/lumina-desktop/lumina-pdf.git"
|
||||
SRCREV = "2f774ac9331e5a59f9e41ccb71b5f9a8c1498946"
|
||||
S = "${WORKDIR}/git/src-qt5"
|
||||
PV = "1.5.0"
|
||||
PV = "1.5.0+git${SRCPV}"
|
||||
|
||||
do_configure_prepend() {
|
||||
# change paths by sed instead of endles escapes in 'DEFINES+=..' below
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
From 61d568c309de582d917692b399778ea892290645 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Mon, 29 Apr 2019 21:08:29 +0200
|
||||
Subject: [PATCH] drawablepage.h: Add missing include
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
| In file included from ../git/src-qt5/Renderer-poppler.cpp:2:
|
||||
| ../git/src-qt5/drawablepage.h:34:8: error: 'unique_ptr' in namespace 'std' does not name a template type
|
||||
| std::unique_ptr<Poppler::Page> page;
|
||||
| ^~~~~~~~~~
|
||||
| ../git/src-qt5/drawablepage.h:34:3: note: 'std::unique_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'?
|
||||
| ../git/src-qt5/drawablepage.h:7:1:
|
||||
| +#include <memory>
|
||||
|
||||
Upstream-Status: Submitted [1]
|
||||
|
||||
[1] https://github.com/lumina-desktop/lumina-pdf/pull/1
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
drawablepage.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/drawablepage.h b/drawablepage.h
|
||||
index ee3b76e..4e8d9c2 100644
|
||||
--- a/drawablepage.h
|
||||
+++ b/drawablepage.h
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <QImage>
|
||||
#include <QSize>
|
||||
#include <poppler/qt5/poppler-qt5.h>
|
||||
+#include <memory>
|
||||
|
||||
namespace LuminaPDF {
|
||||
|
||||
--
|
||||
2.20.1
|
||||
|
||||
Reference in New Issue
Block a user