From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4949E1580EB for ; Wed, 21 May 2025 20:28:26 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 30C673431A8 for ; Wed, 21 May 2025 20:28:26 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E84F61103DE; Wed, 21 May 2025 20:28:24 +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 bobolink.gentoo.org (Postfix) with ESMTPS id DE4BE1103DE for ; Wed, 21 May 2025 20:28:24 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97237343197 for ; Wed, 21 May 2025 20:28:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3732E27A2 for ; Wed, 21 May 2025 20:28:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1747858712.c5eade21de1ca29eef0639d7141b1cdfe6b72162.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/muParserX/, dev-cpp/muParserX/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/muParserX/files/muParserX-4.0.12-cmake-4.patch dev-cpp/muParserX/muParserX-4.0.12-r1.ebuild X-VCS-Directories: dev-cpp/muParserX/ dev-cpp/muParserX/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c5eade21de1ca29eef0639d7141b1cdfe6b72162 X-VCS-Branch: master Date: Wed, 21 May 2025 20:28:23 +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: 5e57ec78-0832-4c4d-8a75-b557c711bc35 X-Archives-Hash: bacfa08ca984eeffbc423171ffb7eab4 commit: c5eade21de1ca29eef0639d7141b1cdfe6b72162 Author: Sam James gentoo org> AuthorDate: Wed May 21 20:18:32 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 21 20:18:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5eade21 dev-cpp/muParserX: fix compat w/ CMake 4 Closes: https://bugs.gentoo.org/953767 Signed-off-by: Sam James gentoo.org> .../muParserX/files/muParserX-4.0.12-cmake-4.patch | 49 ++++++++++++++++++++++ dev-cpp/muParserX/muParserX-4.0.12-r1.ebuild | 28 +++++++++++++ 2 files changed, 77 insertions(+) diff --git a/dev-cpp/muParserX/files/muParserX-4.0.12-cmake-4.patch b/dev-cpp/muParserX/files/muParserX-4.0.12-cmake-4.patch new file mode 100644 index 000000000000..4b4f7a8a7279 --- /dev/null +++ b/dev-cpp/muParserX/files/muParserX-4.0.12-cmake-4.patch @@ -0,0 +1,49 @@ +https://github.com/beltoforion/muparserx/commit/d671af0882d4ba09a4bba810877b796f1877d41e +https://github.com/beltoforion/muparserx/commit/c605872591d542e1630e3fcc4b292d8a0702acd2 + +From d671af0882d4ba09a4bba810877b796f1877d41e Mon Sep 17 00:00:00 2001 +From: nalinigans +Date: Tue, 21 Mar 2023 10:13:14 -0400 +Subject: [PATCH] Move to at least 3.3 to support + https://www.cmake.org/cmake/help/latest/policy/CMP0063.html + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2bc28fc..2d43781 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + ######################################################################## + # Project setup + ######################################################################## +-cmake_minimum_required(VERSION 2.8.12) ++cmake_minimum_required(VERSION 3.3) + project(muparserx CXX) + + ######################################################################## +From c605872591d542e1630e3fcc4b292d8a0702acd2 Mon Sep 17 00:00:00 2001 +From: Nalini Ganapati +Date: Mon, 18 Dec 2023 11:46:35 -0800 +Subject: [PATCH] Move to 3.17 as cmake is dropping compatibility for <3.5 + versions + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2d43781..00156e9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + ######################################################################## + # Project setup + ######################################################################## +-cmake_minimum_required(VERSION 3.3) ++cmake_minimum_required(VERSION 3.17) + project(muparserx CXX) + + ######################################################################## diff --git a/dev-cpp/muParserX/muParserX-4.0.12-r1.ebuild b/dev-cpp/muParserX/muParserX-4.0.12-r1.ebuild new file mode 100644 index 000000000000..f17d00b61ac2 --- /dev/null +++ b/dev-cpp/muParserX/muParserX-4.0.12-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Parsing Expressions with Strings, Complex Numbers, Vectors, Matrices and more" +HOMEPAGE="https://beltoforion.de/en/muparser/" +SRC_URI="https://github.com/beltoforion/muparserx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/muparserx-${PV} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${P}-cmake-4.patch +) + +src_configure() { + # TODO: -DUSE_WIDE_STRING? + local mycmakeargs=( + -DBUILD_EXAMPLES=OFF + ) + + cmake_src_configure +}