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 F2F5915823F for ; Mon, 20 Nov 2023 04:14:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4428A2BC015; Mon, 20 Nov 2023 04:14:29 +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 205242BC015 for ; Mon, 20 Nov 2023 04:14:29 +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 05962335D0E for ; Mon, 20 Nov 2023 04:14:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47B78F1A for ; Mon, 20 Nov 2023 04:14:26 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1700453647.7f711447797fb68fdf8651ba638f3221b7a09035.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gpds/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/gpds/gpds-1.6.0-r1.ebuild dev-libs/gpds/gpds-1.6.0.ebuild dev-libs/gpds/gpds-1.7.0-r1.ebuild dev-libs/gpds/gpds-1.7.0.ebuild dev-libs/gpds/metadata.xml X-VCS-Directories: dev-libs/gpds/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: 7f711447797fb68fdf8651ba638f3221b7a09035 X-VCS-Branch: dev Date: Mon, 20 Nov 2023 04:14:26 +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: 772d44cb-7ac4-49e4-8759-a92006becb4d X-Archives-Hash: 94f6b359f9290f2346a2fafb3adf5c56 commit: 7f711447797fb68fdf8651ba638f3221b7a09035 Author: Huang Rui gmail com> AuthorDate: Mon Nov 20 04:14:07 2023 +0000 Commit: Rui Huang gmail com> CommitDate: Mon Nov 20 04:14:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f711447 dev-libs/gpds: fix issue with static linking targets in CMake Signed-off-by: Huang Rui gmail.com> dev-libs/gpds/{gpds-1.6.0.ebuild => gpds-1.6.0-r1.ebuild} | 14 +++++++++----- dev-libs/gpds/{gpds-1.7.0.ebuild => gpds-1.7.0-r1.ebuild} | 14 +++++++++----- dev-libs/gpds/metadata.xml | 11 +++++++++++ 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/dev-libs/gpds/gpds-1.6.0.ebuild b/dev-libs/gpds/gpds-1.6.0-r1.ebuild similarity index 71% rename from dev-libs/gpds/gpds-1.6.0.ebuild rename to dev-libs/gpds/gpds-1.6.0-r1.ebuild index 92cd1d1aa4..448e5e5ace 100644 --- a/dev-libs/gpds/gpds-1.6.0.ebuild +++ b/dev-libs/gpds/gpds-1.6.0-r1.ebuild @@ -19,18 +19,22 @@ fi LICENSE="MIT" SLOT="0" -IUSE="static-libs test" +IUSE="examples +spdlog static-libs test" RESTRICT="!test? ( test )" -RDEPEND="" DEPEND="${RDEPEND}" -BDEPEND="" DOCS=( license.txt readme.md ) +src_prepare() { + cmake_src_prepare + use static-libs || sed -i -e '/TARGET-STATIC/d' "${S}"/lib/CMakeLists.txt || die +} + src_configure() { local mycmakeargs=( + -DGPDS_BUILD_EXAMPLES=$(usex examples) -DGPDS_BUILD_TESTS=$(usex test) - -DGPDS_FEATURE_SPDLOG=ON + -DGPDS_FEATURE_SPDLOG=$(usex spdlog) ) cmake_src_configure @@ -38,5 +42,5 @@ src_configure() { src_install() { cmake_src_install - use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die + # use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die } diff --git a/dev-libs/gpds/gpds-1.7.0.ebuild b/dev-libs/gpds/gpds-1.7.0-r1.ebuild similarity index 71% rename from dev-libs/gpds/gpds-1.7.0.ebuild rename to dev-libs/gpds/gpds-1.7.0-r1.ebuild index 92cd1d1aa4..448e5e5ace 100644 --- a/dev-libs/gpds/gpds-1.7.0.ebuild +++ b/dev-libs/gpds/gpds-1.7.0-r1.ebuild @@ -19,18 +19,22 @@ fi LICENSE="MIT" SLOT="0" -IUSE="static-libs test" +IUSE="examples +spdlog static-libs test" RESTRICT="!test? ( test )" -RDEPEND="" DEPEND="${RDEPEND}" -BDEPEND="" DOCS=( license.txt readme.md ) +src_prepare() { + cmake_src_prepare + use static-libs || sed -i -e '/TARGET-STATIC/d' "${S}"/lib/CMakeLists.txt || die +} + src_configure() { local mycmakeargs=( + -DGPDS_BUILD_EXAMPLES=$(usex examples) -DGPDS_BUILD_TESTS=$(usex test) - -DGPDS_FEATURE_SPDLOG=ON + -DGPDS_FEATURE_SPDLOG=$(usex spdlog) ) cmake_src_configure @@ -38,5 +42,5 @@ src_configure() { src_install() { cmake_src_install - use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die + # use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die } diff --git a/dev-libs/gpds/metadata.xml b/dev-libs/gpds/metadata.xml index 6648fc63bf..fd1bd6491e 100644 --- a/dev-libs/gpds/metadata.xml +++ b/dev-libs/gpds/metadata.xml @@ -5,8 +5,13 @@ vowstar@gmail.com Huang Rui + + Enable spdlog sink feature + simulton/gpds + https://github.com/simulton/gpds/issues + https://github.com/simulton/gpds/releases GPDS is a General Purpose Data Serializer library written in modern C++. @@ -17,4 +22,10 @@ attributes in the resulting XML compared to just using traditional "key" and "value" tags. + + GPDS 是一个用现代 C++ 编写的通用数据序列化器库。它允许以通用格式将 C++ + 类与 XML 文件序列化,该通用格式可以由其他 XML 处理软件处理(或只是为了 + 可读性)。与仅使用传统的“键”和“值”标签相比,GPDS 使用户能够完全控制生成 + 的标签名称和结果 XML 中的属性。 +