From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1CCC15817D for ; Thu, 6 Jun 2024 18:09:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4205E2A4F; Thu, 6 Jun 2024 18:09:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B229FE2A50 for ; Thu, 6 Jun 2024 18:09:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A51B8340806 for ; Thu, 6 Jun 2024 18:09:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DEA361BD9 for ; Thu, 6 Jun 2024 18:09:55 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1717697365.87e54ac491002dcb3fa18a57110d700c12dcb7a7.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/calligra/files/, app-office/calligra/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/calligra/calligra-3.2.1-r9.ebuild app-office/calligra/files/calligra-3.2.1-poppler-24.05.0.patch X-VCS-Directories: app-office/calligra/files/ app-office/calligra/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 87e54ac491002dcb3fa18a57110d700c12dcb7a7 X-VCS-Branch: master Date: Thu, 6 Jun 2024 18:09:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e3e85afc-eb9d-4048-863f-d6f689886a94 X-Archives-Hash: 23773eb2299a50a040d583eb5f5ceea0 commit: 87e54ac491002dcb3fa18a57110d700c12dcb7a7 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jun 6 17:45:07 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jun 6 18:09:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e54ac4 app-office/calligra: Fix build with >=app-text/poppler-24.05 Thanks-to: Attila Tóth Closes: https://bugs.gentoo.org/933490 Signed-off-by: Andreas Sturmlechner gentoo.org> app-office/calligra/calligra-3.2.1-r9.ebuild | 1 + .../files/calligra-3.2.1-poppler-24.05.0.patch | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/app-office/calligra/calligra-3.2.1-r9.ebuild b/app-office/calligra/calligra-3.2.1-r9.ebuild index 32314e5d0f86..0503c3fba007 100644 --- a/app-office/calligra/calligra-3.2.1-r9.ebuild +++ b/app-office/calligra/calligra-3.2.1-r9.ebuild @@ -130,6 +130,7 @@ PATCHES=( "${WORKDIR}"/${PATCHSET}/${P}-kross-optional.patch # bug 903532 "${FILESDIR}"/${P}-use-cmake-FindGSL-module.patch # bug 903343 "${FILESDIR}"/${P}-clang-16-configure.patch + "${FILESDIR}"/${P}-poppler-24.05.0.patch # bug 933490 ) pkg_pretend() { diff --git a/app-office/calligra/files/calligra-3.2.1-poppler-24.05.0.patch b/app-office/calligra/files/calligra-3.2.1-poppler-24.05.0.patch new file mode 100644 index 000000000000..2ef45d675e3b --- /dev/null +++ b/app-office/calligra/files/calligra-3.2.1-poppler-24.05.0.patch @@ -0,0 +1,42 @@ +diff '--color=auto' -urNp calligra-3.2.1-orig/CMakeLists.txt calligra-3.2.1-dwok/CMakeLists.txt +--- calligra-3.2.1-orig/CMakeLists.txt 2024-06-05 13:06:55.730007129 +0200 ++++ calligra-3.2.1-dwok/CMakeLists.txt 2024-06-05 13:08:00.587082911 +0200 +@@ -104,7 +104,7 @@ if(NOT DEFINED RELEASE_BUILD) + endif() + message(STATUS "Release build: ${RELEASE_BUILD}") + +-set (CMAKE_CXX_STANDARD 17) # required for >=poppler-22.01 ++set (CMAKE_CXX_STANDARD 20) # required for >=poppler-22.04 + + ############ + ############# +diff '--color=auto' -urNp calligra-3.2.1-orig/libs/pigment/lut.h calligra-3.2.1-dwok/libs/pigment/lut.h +--- calligra-3.2.1-orig/libs/pigment/lut.h 2024-06-05 13:06:55.922010313 +0200 ++++ calligra-3.2.1-dwok/libs/pigment/lut.h 2024-06-05 13:09:24.460474108 +0200 +@@ -143,7 +143,7 @@ typedef uint32_t lut_uint32; + template<> \ + class LutKey<_INT_TYPE_> { \ + public: \ +- LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ ++ LutKey(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ + { \ + } \ + public: \ +@@ -183,7 +183,7 @@ PARTIAL_LUT_INT_SPECIALIZATION(lut_uint3 + template<> \ + class FullLutKey<_INT_TYPE_> { \ + public: \ +- FullLutKey<_INT_TYPE_>() \ ++ FullLutKey() \ + { \ + } \ + public: \ +@@ -233,7 +233,7 @@ class LutKey { + float f; + }; + public: +- LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) ++ LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) + { + // Those values where computed using the test_linear and setting the shift and then using + // the standard deviation.