summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-04-17 18:07:37 +0000
committeradam <adam@pkgsrc.org>2018-04-17 18:07:37 +0000
commit328a55cd3e07818a6dc55a2035dca2174aa66623 (patch)
tree430a2681cbb01da412d0badf319090b024b3559f
parentbbdbbf775c00d3040ff51852d273dcc349c74352 (diff)
downloadpkgsrc-328a55cd3e07818a6dc55a2035dca2174aa66623.tar.gz
poppler: removed unused patch; pkglint fixes
-rw-r--r--print/poppler/Makefile17
-rw-r--r--print/poppler/Makefile.common4
-rw-r--r--print/poppler/patches/patch-gtkdoc.py29
3 files changed, 10 insertions, 40 deletions
diff --git a/print/poppler/Makefile b/print/poppler/Makefile
index 8f5ddff2128..5839c337bb3 100644
--- a/print/poppler/Makefile
+++ b/print/poppler/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2018/04/17 05:20:34 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2018/04/17 18:07:37 adam Exp $
.include "../../print/poppler/Makefile.common"
@@ -13,20 +13,19 @@ INSTALLATION_DIRS+= include/poppler share/doc/poppler
# TODO: Later add an option to choose Splash versus Cairo backend.
# Build the Splash graphics backend.
-CMAKE_ARGS+= -DENABLE_SPLASH=ON
+CMAKE_ARGS+= -DENABLE_SPLASH=ON
# Don't compile GTK+ test program.
-CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF
+CMAKE_ARGS+= -DBUILD_GTK_TESTS=OFF
# Don't compile GLib wrapper which also needs gtk2
-CMAKE_ARGS+= -DENABLE_GLIB=OFF
+CMAKE_ARGS+= -DENABLE_GLIB=OFF
# Don't build and install the tools
-CMAKE_ARGS+= -DENABLE_UTILS=OFF
+CMAKE_ARGS+= -DENABLE_UTILS=OFF
# Don't compile poppler cpp wrapper.
-CMAKE_ARGS+= -DENABLE_CPP=OFF
+CMAKE_ARGS+= -DENABLE_CPP=OFF
# Don't compile poppler qt5 wrapper.
-CMAKE_ARGS+= -DENABLE_QT5=OFF
+CMAKE_ARGS+= -DENABLE_QT5=OFF
# Don't build libcurl based HTTP support. ## might want to include
-CMAKE_ARGS+= -DENABLE_LIBCURL=OFF
-
+CMAKE_ARGS+= -DENABLE_LIBCURL=OFF
.include "../../mk/bsd.prefs.mk"
diff --git a/print/poppler/Makefile.common b/print/poppler/Makefile.common
index d980e046117..896e88c175f 100644
--- a/print/poppler/Makefile.common
+++ b/print/poppler/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.95 2018/04/17 05:20:34 wiz Exp $
+# $NetBSD: Makefile.common,v 1.96 2018/04/17 18:07:37 adam Exp $
#
# used by print/poppler/Makefile
# used by print/poppler-cpp/Makefile
@@ -26,7 +26,7 @@ USE_LANGUAGES= c c++
USE_CMAKE= yes
# Don't accidentally find libtiff
-CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_TIFF=TRUE
+CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_TIFF=TRUE
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
diff --git a/print/poppler/patches/patch-gtkdoc.py b/print/poppler/patches/patch-gtkdoc.py
deleted file mode 100644
index 5126ee10e94..00000000000
--- a/print/poppler/patches/patch-gtkdoc.py
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-gtkdoc.py,v 1.2 2017/12/10 16:02:59 bsiegert Exp $
-
---- gtkdoc.py.orig 2017-11-12 18:14:32.000000000 +0000
-+++ gtkdoc.py
-@@ -196,12 +196,12 @@ class GTKDoc(object):
- if stdout:
- try:
- sys.stdout.write(stdout.encode("utf-8"))
-- except UnicodeDecodeError:
-+ except (TypeError, UnicodeDecodeError):
- sys.stdout.write(stdout)
- if stderr:
- try:
- sys.stderr.write(stderr.encode("utf-8"))
-- except UnicodeDecodeError:
-+ except (TypeError, UnicodeDecodeError):
- sys.stderr.write(stderr)
-
- if process.returncode != 0:
-@@ -223,6 +223,9 @@ class GTKDoc(object):
- return
-
- def copy_file_replacing_existing(src, dest):
-+ if src == dest:
-+ self.logger.debug('copy_file_replacing_existing not copying to itself: %s', src)
-+ return
- if os.path.isdir(src):
- self.logger.debug('skipped directory %s', src)
- return