From nobody Mon Apr 01 18:30:34 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V7fhV5GWZz5GZsv; Mon, 1 Apr 2024 18:30:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V7fhV4p9Dz4mXg; Mon, 1 Apr 2024 18:30:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711996234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QGqusb6R67Gsta+0fOaRHj0vzIM+1znqoUSw2vH/nMM=; b=JIaJqiQSE67DWmlaHdG1GBMANtr1ey43ouEakG/P0Okm0SZcGRnQFpG9kDYaBoP9vnVYCK 3ovICC1fogi1SyQBHIVEyGAJOmA0dN3MN+mUdRLMAEkayafVsKMDzEypej+78i1P6YHoaj 6wFlboR0MarA/dyfwmxVQPraRi/4GRRF0wHoTc0M0fjoXVE9etBQbawehuxQFCpjW3hyC0 UfEmPEMzzy4QTieAHoO75MBR0wyW81Au7poFU4pYu/4FKTwEA3WGEsHHnif1LxThdKEVl2 itVqgx6l9mevLR6E1lgYg0rAGgeakLCvKde/glhB6CvCkkp1qWj1IH9wtVOxcw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711996234; a=rsa-sha256; cv=none; b=gUSpfHFcEcSRCLWR49iRLhU0kU5oVR4f2ZEsEip576p7uEYtW9LtRb1tHL11bSaMbpQLAB AcKUTVFCwpDR/4R5ElxaYGwin/MlJRc7G9ulc4rqm2QhcTYj4+08tIhMRmejQNImG29S2o Zdt6GrSwhW2c/QDdJPckyTS4c7wIcWT/P23Tc7gM/Ygb/57nQU3gQkTXyTE4lCVwDNNhMo 1w7V5SXc7WejlqxW4C43QiL/0ld7UUILy8H8km4V3cOCps3YsVnh8RdnkkO+as/DLZ0LRh MSTnUZYlUz1ThF6wLqswldzYVV3D+y/fsmD9VJv/wKsidF3sIv6hqmnkRh8t5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711996234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QGqusb6R67Gsta+0fOaRHj0vzIM+1znqoUSw2vH/nMM=; b=cjuWhOUc3A1Jy2VhVxxpUmIxagOlsU9qsJTCAKwTeNo/D3tN4+TaP1FDFbzuaeM9wlztXg w9z8NROHquTNWKCtJMggEvuY1YIiDNkIh5UHDitwO13L97P+tP4jlYdATPkesrlabmc9F0 TvHCLRj6HzfRPhOpcwUTMXXxRZlwLHpHRbEcapPAtNkBuTqop3EpKQA/4GNdmCPp8WtqpB GJL4fuKXulVGztJGC92ONmxDq8BrxtefI9QCk4PrTP6PnnEXdAqdyZIJlbLh91LvpM6FFO mHVkPxqJklt1oYGAomy4RwMksC6akYi9r99EZoDiNs5GAxFrq/chuLF89hzusw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V7fhV4NKLzGv0; Mon, 1 Apr 2024 18:30:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 431IUYJJ053462; Mon, 1 Apr 2024 18:30:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 431IUYnF053446; Mon, 1 Apr 2024 18:30:34 GMT (envelope-from git) Date: Mon, 1 Apr 2024 18:30:34 GMT Message-Id: <202404011830.431IUYnF053446@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: 5d826246f8a3 - main - graphics/py-python-poppler-qt5: fix build on FreeBSD 13 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d826246f8a360246c1f8c8fdbed1618f9dbbfe9 Auto-Submitted: auto-generated The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d826246f8a360246c1f8c8fdbed1618f9dbbfe9 commit 5d826246f8a360246c1f8c8fdbed1618f9dbbfe9 Author: Rodrigo Osorio AuthorDate: 2024-04-01 18:26:00 +0000 Commit: Rodrigo Osorio CommitDate: 2024-04-01 18:29:38 +0000 graphics/py-python-poppler-qt5: fix build on FreeBSD 13 Patch picked from upstream repo Fix the build failures on older FreeBSD versions due to the recently updated graphics/poppler port. PR: 276263 Reported by: Martin Neubauer (maintainer) --- graphics/py-python-poppler-qt5/Makefile | 28 +++++++++++----------------- graphics/py-python-poppler-qt5/pkg-plist | 26 -------------------------- 2 files changed, 11 insertions(+), 43 deletions(-) diff --git a/graphics/py-python-poppler-qt5/Makefile b/graphics/py-python-poppler-qt5/Makefile index 378ced9fd6e5..6de67c1f9bed 100644 --- a/graphics/py-python-poppler-qt5/Makefile +++ b/graphics/py-python-poppler-qt5/Makefile @@ -1,7 +1,7 @@ PORTNAME= python-poppler-qt5 DISTVERSIONPREFIX= v DISTVERSION= 21.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,28 +15,22 @@ LICENSE_COMB= dual BUILD_DEPENDS= qmake-qt5:devel/qt5-qmake LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 -USES= compiler:c++11-lang gl pkgconfig pyqt:5 python qt:5 +USES= compiler:c++17-lang gl pkgconfig pyqt:5 python qt:5 USE_GITHUB= yes GH_ACCOUNT= frescobaldi USE_GL= gl -USE_PYQT= pyqt5 sip:build -USE_PYTHON= flavors pep517 +USE_PYQT= pyqt5 +USE_PYTHON= autoplist pep517 USE_QT= core gui xml -PLIST_SUB= _PY_SONAME=${_PY_SONAME} - -_PY_SONAME= ${PYTHON_EXT_SUFFIX} - -BINARY_ALIAS= qmake=${QMAKE} - -do-build: - (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${SIP} ${SIP_ARGS} ; ${SETENV} ${MAKE_ENV} ${MAKE} -C ./build ) - -do-install: - (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} -C ./build install INSTALL_ROOT=${STAGEDIR} ) +PEP517_BUILD_CONFIG_SETTING= -C--build-dir=build \ + -C--jobs=${MAKE_JOBS_NUMBER} -C--qmake=${QMAKE} \ + -C--qmake-setting='CONFIG += c++17' \ + -C--qmake-setting='QMAKE_CXXFLAGS += ${CXXFLAGS}' \ + -C--qmake-setting='QMAKE_LFLAGS += ${LDFLAGS}' \ + -C--verbose post-install: - ${RLN} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5.so - @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${PYTHON_EXT_SUFFIX}.so .include diff --git a/graphics/py-python-poppler-qt5/pkg-plist b/graphics/py-python-poppler-qt5/pkg-plist deleted file mode 100644 index bcbefe9bb5bc..000000000000 --- a/graphics/py-python-poppler-qt5/pkg-plist +++ /dev/null @@ -1,26 +0,0 @@ -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-annotation.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-convert.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-document.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-embedded-file.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-font-info.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-font-iterator.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-form.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-link-destination.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-link.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-media.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-movie-object.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-opt-content-model.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-page-transition.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-page.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-qt5.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-sound-object.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/poppler-text-box.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/popplerqt5.toml -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/timeline.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/types.sip -%%PYTHON_SITELIBDIR%%/PyQt5/bindings/popplerqt5/version.sip -%%PYTHON_SITELIBDIR%%/popplerqt5%%_PY_SONAME%%.so -%%PYTHON_SITELIBDIR%%/popplerqt5.so -%%PYTHON_SITELIBDIR%%/python_poppler_qt5-21.3.0.dist-info/INSTALLER -%%PYTHON_SITELIBDIR%%/python_poppler_qt5-21.3.0.dist-info/METADATA -%%PYTHON_SITELIBDIR%%/python_poppler_qt5-21.3.0.dist-info/RECORD