pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print poppler-qt5: dont build splash backend as per ot...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dff9479481d7
branches:  trunk
changeset: 403036:dff9479481d7
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Oct 20 03:12:22 2019 +0000

description:
poppler-qt5: dont build splash backend as per other bits of poppler.

diffstat:

 print/poppler-qt5/Makefile                          |   4 ++-
 print/poppler/distinfo                              |   3 +-
 print/poppler/patches/patch-qt5_src_poppler-page.cc |  22 +++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs (59 lines):

diff -r 03819556a764 -r dff9479481d7 print/poppler-qt5/Makefile
--- a/print/poppler-qt5/Makefile        Sat Oct 19 22:10:58 2019 +0000
+++ b/print/poppler-qt5/Makefile        Sun Oct 20 03:12:22 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2019/10/19 12:37:05 nia Exp $
+# $NetBSD: Makefile,v 1.34 2019/10/20 03:12:22 markd Exp $
 
 .include "../../print/poppler/Makefile.common"
+PKGREVISION=   1
 
 PKGNAME=       poppler-qt5-${POPPLER_VERS}
 COMMENT=       PDF rendering library (QT5 wrapper)
@@ -8,6 +9,7 @@
 
 CMAKE_ARGS+=   -DBUILD_GTK_TESTS=OFF
 CMAKE_ARGS+=   -DENABLE_GLIB=OFF
+CMAKE_ARGS+=   -DENABLE_SPLASH=OFF
 CMAKE_ARGS+=   -DENABLE_UTILS=OFF
 CMAKE_ARGS+=   -DENABLE_CPP=OFF
 CMAKE_ARGS+=   -DENABLE_QT5=ON
diff -r 03819556a764 -r dff9479481d7 print/poppler/distinfo
--- a/print/poppler/distinfo    Sat Oct 19 22:10:58 2019 +0000
+++ b/print/poppler/distinfo    Sun Oct 20 03:12:22 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.140 2019/10/19 12:37:04 nia Exp $
+$NetBSD: distinfo,v 1.141 2019/10/20 03:12:22 markd Exp $
 
 SHA1 (poppler-0.81.0.tar.xz) = 3b3e5b5a29ab88d573eaa35148a4eb242f41dc1c
 RMD160 (poppler-0.81.0.tar.xz) = 3eb610e4dd3f7b2baca949c99c4425f24a552cf0
 SHA512 (poppler-0.81.0.tar.xz) = 774d650c63afe2a0d6669daad4b286c2412a0c02581d7ea2cc37d71936f77dff92dc22217367561b7e4285c9c27dcfdca4c76c187d9c3c482db2f3549919b25b
 Size (poppler-0.81.0.tar.xz) = 1548944 bytes
 SHA1 (patch-poppler_CMap.cc) = d37745ea4cbeae76ad43c4ac74e942531f7b7dd8
+SHA1 (patch-qt5_src_poppler-page.cc) = b4f076c0417d8fbd342a1d9918a52369b2ddc952
diff -r 03819556a764 -r dff9479481d7 print/poppler/patches/patch-qt5_src_poppler-page.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler/patches/patch-qt5_src_poppler-page.cc       Sun Oct 20 03:12:22 2019 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-qt5_src_poppler-page.cc,v 1.1 2019/10/20 03:12:22 markd Exp $
+
+conditionalise defining splash related class
+
+--- qt5/src/poppler-page.cc.orig       2019-09-22 15:56:22.000000000 +0000
++++ qt5/src/poppler-page.cc
+@@ -103,6 +103,7 @@ public:
+   QVariant payload;
+ };
+ 
++#if defined(HAVE_SPLASH)
+ class Qt5SplashOutputDev : public SplashOutputDev, public OutputDevCallbackHelper
+ {
+ public:
+@@ -169,6 +170,7 @@ public:
+ private:
+   bool ignorePaperColor;
+ };
++#endif
+ 
+ 
+ class QImageDumpingArthurOutputDev : public ArthurOutputDev, public OutputDevCallbackHelper



Home | Main Index | Thread Index | Old Index