View | Details | Raw Unified | Return to bug 234085 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/py-poppler-qt5/Makefile (+25 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	poppler-qt5
4
PORTVERSION=	0.24.2
5
CATEGORIES=	graphics python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
DISTNAME=	python-${PORTNAME}-${PORTVERSION}
9
10
MAINTAINER=	martin.dieringer@gmx.de
11
COMMENT=	Python bindings for the Poppler-Qt5 PDF rendering library
12
13
LICENSE=	LGPL21 LGPL3
14
LICENSE_COMB=	dual
15
16
LIB_DEPENDS=	libpoppler-qt5.so:graphics/poppler-qt5
17
18
USES=		pkgconfig pyqt:5 python:3.4+ qmake qt:5
19
USE_PYQT=	gui xml sip_build
20
USE_PYTHON=	distutils autoplist
21
22
PYDISTUTILS_BUILD_TARGET=	build_ext
23
PYDISTUTILS_BUILDARGS+=		--pyqt-sip-dir=${PYQT_SIPDIR}
24
25
.include <bsd.port.mk>
(-)graphics/py-poppler-qt5/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1522237769
2
SHA256 (python-poppler-qt5-0.24.2.tar.gz) = 3970c35ce1f0f1464a6c2746bea4c479b9780b4e17030c92479f7f1738a5c950
3
SIZE (python-poppler-qt5-0.24.2.tar.gz) = 20944
(-)graphics/py-poppler-qt5/files/patch-poppler-qt5.sip (+10 lines)
Line 0 Link Here
1
--- poppler-qt5.sip.orig	2015-02-23 06:41:56 UTC
2
+++ poppler-qt5.sip
3
@@ -8,6 +8,7 @@
4
 
5
 %Import QtCore/QtCoremod.sip
6
 %Import QtGui/QtGuimod.sip
7
+%Import QtXml/QtXmlmod.sip
8
 
9
 %Feature QTXML_AVAILABLE
10
 
(-)graphics/py-poppler-qt5/files/patch-types.sip (+16 lines)
Line 0 Link Here
1
PyList_SET_ITEM() is supposed to be void, but as a macro it's an
2
expression and has a pointer value. Clang 4.0 trips on the bogus
3
pointer comparison; given the comparison, it should be PyList_SetItem()
4
which returns -1 on failure.
5
6
--- types.sip.orig	2017-01-21 07:19:29 UTC
7
+++ types.sip
8
@@ -27,7 +27,7 @@
9
     foreach (Poppler::Document::RenderBackend value, set)
10
     {
11
         PyObject *obj = PyLong_FromLong ((long) value);
12
-        if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0)
13
+        if (obj == NULL || PyList_SetItem (l, i, obj) < 0)
14
         {
15
             Py_DECREF(l);
16
 
(-)graphics/py-poppler-qt5/pkg-descr (+3 lines)
Line 0 Link Here
1
Python bindings for graphics/poppler-qt4.
2
3
WWW: https://pypi.python.org/pypi/python-poppler-qt4

Return to bug 234085