pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/poppler
Module Name: pkgsrc
Committed By: bsiegert
Date: Sun Dec 10 16:02:59 UTC 2017
Modified Files:
pkgsrc/print/poppler: distinfo
pkgsrc/print/poppler/patches: patch-gtkdoc.py
Log Message:
Fix poppler-glib build.
The gtkdoc.py patch used a mixture of tabs and spaces, which was rejected
by the Python interpreter. Also (with Python 3.6 as default), there was an
uncaught TypeError, which I added to the existing except clause.
To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 pkgsrc/print/poppler/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/print/poppler/patches/patch-gtkdoc.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/poppler/distinfo
diff -u pkgsrc/print/poppler/distinfo:1.123 pkgsrc/print/poppler/distinfo:1.124
--- pkgsrc/print/poppler/distinfo:1.123 Fri Dec 8 07:48:11 2017
+++ pkgsrc/print/poppler/distinfo Sun Dec 10 16:02:59 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.123 2017/12/08 07:48:11 spz Exp $
+$NetBSD: distinfo,v 1.124 2017/12/10 16:02:59 bsiegert Exp $
SHA1 (poppler-0.61.1.tar.xz) = 70a3440e0ac9957cee94ff6a56a173f3377b02ba
RMD160 (poppler-0.61.1.tar.xz) = 62fa0f917e31e0c733228ea9289b4493a0fc29a8
SHA512 (poppler-0.61.1.tar.xz) = 780ebf07ad757635f3f71c7b1f61ad0849526f99f0dc514c3290c4e8db7000a68dfe50c17253d4c086aec5c5390055102478eba96699088179822f3be5ce278d
Size (poppler-0.61.1.tar.xz) = 1433696 bytes
SHA1 (patch-aq) = da845661ef7f7aca3072dbeebde0444b4d8f01aa
-SHA1 (patch-gtkdoc.py) = 22f12d2eabfa0bff78dc88f87cd6d7bf536c8056
+SHA1 (patch-gtkdoc.py) = b9bf7a8c2288bdec314c795317e2a4e1aac21913
Index: pkgsrc/print/poppler/patches/patch-gtkdoc.py
diff -u pkgsrc/print/poppler/patches/patch-gtkdoc.py:1.1 pkgsrc/print/poppler/patches/patch-gtkdoc.py:1.2
--- pkgsrc/print/poppler/patches/patch-gtkdoc.py:1.1 Fri Dec 8 07:48:11 2017
+++ pkgsrc/print/poppler/patches/patch-gtkdoc.py Sun Dec 10 16:02:59 2017
@@ -1,14 +1,29 @@
-$NetBSD: patch-gtkdoc.py,v 1.1 2017/12/08 07:48:11 spz Exp $
+$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
++ 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
Home |
Main Index |
Thread Index |
Old Index