public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/
@ 2023-06-09  9:48 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-06-09  9:48 UTC (permalink / raw
  To: gentoo-commits

commit:     0f046f01a4708335f92bc35a0af9d1a6547757bd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  9 09:45:09 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun  9 09:47:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f046f01

dev-cpp/cppdap: new package, add 0_pre20230605

New conditional dependency of dev-util/cmake for debugging functionality.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/cppdap/Manifest                    |  2 ++
 dev-cpp/cppdap/cppdap-0_pre20230605.ebuild | 49 ++++++++++++++++++++++++++++++
 dev-cpp/cppdap/metadata.xml                | 11 +++++++
 3 files changed, 62 insertions(+)

diff --git a/dev-cpp/cppdap/Manifest b/dev-cpp/cppdap/Manifest
new file mode 100644
index 000000000000..7d1fa79cedcd
--- /dev/null
+++ b/dev-cpp/cppdap/Manifest
@@ -0,0 +1,2 @@
+DIST cppdap-0_pre20230605.tar.gz 100715 BLAKE2B a7b6f745b7445242544deb2cd5b93bb13ee0faefe083a5e435d9a608fb453aceef1746738beb35678833f69521e637f2b8ca47fccd3e292a56e8a74c6435df86 SHA512 034f6282e992ec346715f84da1817a699937be174ab0ea09f750a693bed158b87ec6920e0ed1f7340ef5232e9634c5aebccd78527adde34b8abc4ff00c5f617e
+DIST cppdap-gtest-0a03480824b4fc7883255dbd2fd8940c9f81e22e.tar.gz 874709 BLAKE2B 706e6d168e080494ac63cf607c189f55f5e98100fd744dd184a8217173f66891aedb8779a9c8b0aa289889d1f73e18c50ef65d8c70228e2a795a5e5081f66894 SHA512 55867a2e39647a7846506446d642dcd740711dee8c0dfe25887fd6ad361161617f3d462bdb415dfba20693849949c022e97e2de65dd731cc63b9466edd1c8b87

diff --git a/dev-cpp/cppdap/cppdap-0_pre20230605.ebuild b/dev-cpp/cppdap/cppdap-0_pre20230605.ebuild
new file mode 100644
index 000000000000..4a2272173f46
--- /dev/null
+++ b/dev-cpp/cppdap/cppdap-0_pre20230605.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# See https://github.com/google/cppdap/issues/113 re no release
+CPPDAP_COMMIT="252b56807b532533ea7362a4d949758dcb481d2b"
+GTEST_COMMIT="0a03480824b4fc7883255dbd2fd8940c9f81e22e"
+DESCRIPTION="C++ library for the Debug Adapter Protocol"
+HOMEPAGE="https://github.com/google/cppdap"
+SRC_URI="https://github.com/google/cppdap/archive/${CPPDAP_COMMIT}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" test? ( https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz -> ${PN}-gtest-${GTEST_COMMIT}.tar.gz )"
+S="${WORKDIR}"/${PN}-${CPPDAP_COMMIT}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_prepare() {
+	if use test ; then
+		rm -rf "${S}"/third_party/googletest || die
+		ln -s "${WORKDIR}"/googletest-${GTEST_COMMIT} "${S}"/third_party/googletest || die
+		mkdir "${S}"/third_party/googletest/.git || die
+	fi
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		# Per README, could use rapidjson or jsoncpp instead.
+		-DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON
+		-DCPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE=OFF
+		-DCPPDAP_USE_EXTERNAL_JSONCPP_PACKAGE=OFF
+
+		-DCPPDAP_BUILD_TESTS=$(usex test)
+	)
+
+	cmake_src_configure
+}
+
+src_test() {
+	cd "${BUILD_DIR}" || die
+	./cppdap-unittests || die
+}

diff --git a/dev-cpp/cppdap/metadata.xml b/dev-cpp/cppdap/metadata.xml
new file mode 100644
index 000000000000..b449a73bf3fc
--- /dev/null
+++ b/dev-cpp/cppdap/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>base-system@gentoo.org</email>
+		<name>Gentoo Base System</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">google/cppdap</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/
@ 2023-06-09  9:52 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-06-09  9:52 UTC (permalink / raw
  To: gentoo-commits

commit:     4ddf38d37dd139274c51588dda25328b88222a49
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  9 09:52:02 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun  9 09:52:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ddf38d3

dev-cpp/cppdap: add nlohmann dep

Closes: https://bugs.gentoo.org/908101
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{cppdap-0_pre20230605.ebuild => cppdap-0_pre20230605-r1.ebuild}    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-cpp/cppdap/cppdap-0_pre20230605.ebuild b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
similarity index 96%
rename from dev-cpp/cppdap/cppdap-0_pre20230605.ebuild
rename to dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
index 4a2272173f46..c467b8cd360c 100644
--- a/dev-cpp/cppdap/cppdap-0_pre20230605.ebuild
+++ b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
@@ -20,6 +20,9 @@ KEYWORDS="~amd64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
+RDEPEND="dev-cpp/nlohmann_json"
+DEPEND="${RDEPEND}"
+
 src_prepare() {
 	if use test ; then
 		rm -rf "${S}"/third_party/googletest || die


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/
@ 2023-10-18 14:09 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-10-18 14:09 UTC (permalink / raw
  To: gentoo-commits

commit:     17fe76242e3d4e29ecd0f62c254f9b0a70be47bf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 14:08:13 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 14:08:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17fe7624

dev-cpp/cppdap: Stabilize 0_pre20230605-r1 arm, #915949

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
index c467b8cd360c..5be673a41520 100644
--- a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
+++ b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${CPPDAP_COMMIT}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 arm"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/
@ 2023-10-18 14:09 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-10-18 14:09 UTC (permalink / raw
  To: gentoo-commits

commit:     75d64c0f52d2d0d9ac8272d52afc044633778557
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 14:08:17 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 14:08:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d64c0f

dev-cpp/cppdap: Stabilize 0_pre20230605-r1 x86, #915949

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
index 5be673a41520..b8e9ed4a24e6 100644
--- a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
+++ b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${CPPDAP_COMMIT}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 arm"
+KEYWORDS="~amd64 arm x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/
@ 2023-10-18 14:09 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-10-18 14:09 UTC (permalink / raw
  To: gentoo-commits

commit:     5e051c55b144e0528e94ed3d1eac74ea6f19fba4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 14:08:21 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 14:08:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e051c55

dev-cpp/cppdap: Stabilize 0_pre20230605-r1 arm64, #915949

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
index b8e9ed4a24e6..e5fa91928e36 100644
--- a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
+++ b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${CPPDAP_COMMIT}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 arm x86"
+KEYWORDS="~amd64 arm arm64 x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/
@ 2023-10-18 15:44 Arthur Zamarin
  0 siblings, 0 replies; 8+ messages in thread
From: Arthur Zamarin @ 2023-10-18 15:44 UTC (permalink / raw
  To: gentoo-commits

commit:     c64e1e8301c698a4a19a1b093713367108fdd4f7
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 15:44:01 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 15:44:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c64e1e83

dev-cpp/cppdap: Stabilize 0_pre20230605-r1 ppc, #915949

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
index e5fa91928e36..0990ca07fea1 100644
--- a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
+++ b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${CPPDAP_COMMIT}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 x86"
+KEYWORDS="~amd64 arm arm64 ppc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/
@ 2023-11-27 23:45 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2023-11-27 23:45 UTC (permalink / raw
  To: gentoo-commits

commit:     9ae819d0bb4036ff12f04d68ee57b69fb4588b1c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 27 23:44:19 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 27 23:44:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ae819d0

dev-cpp/cppdap: Stabilize 0_pre20230605-r1 amd64, #915949

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
index 0990ca07fea1..ffdc497483cb 100644
--- a/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
+++ b/dev-cpp/cppdap/cppdap-0_pre20230605-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}"/${PN}-${CPPDAP_COMMIT}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ppc x86"
+KEYWORDS="amd64 arm arm64 ppc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/
@ 2024-08-03  2:58 Sam James
  0 siblings, 0 replies; 8+ messages in thread
From: Sam James @ 2024-08-03  2:58 UTC (permalink / raw
  To: gentoo-commits

commit:     7143daf875f4eadebb4f5789377af6fb79a14c97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  3 02:53:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug  3 02:53:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7143daf8

dev-cpp/cppdap: add 0_pre20240802

Fixes build w/ GCC 15.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/cppdap/Manifest                    |  1 +
 dev-cpp/cppdap/cppdap-0_pre20240802.ebuild | 45 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-cpp/cppdap/Manifest b/dev-cpp/cppdap/Manifest
index 7d1fa79cedcd..a52c87c660b9 100644
--- a/dev-cpp/cppdap/Manifest
+++ b/dev-cpp/cppdap/Manifest
@@ -1,2 +1,3 @@
 DIST cppdap-0_pre20230605.tar.gz 100715 BLAKE2B a7b6f745b7445242544deb2cd5b93bb13ee0faefe083a5e435d9a608fb453aceef1746738beb35678833f69521e637f2b8ca47fccd3e292a56e8a74c6435df86 SHA512 034f6282e992ec346715f84da1817a699937be174ab0ea09f750a693bed158b87ec6920e0ed1f7340ef5232e9634c5aebccd78527adde34b8abc4ff00c5f617e
+DIST cppdap-0_pre20240802.tar.gz 101733 BLAKE2B 18302d37493ab38b579b0a00756e18efbaa1620e705e2bb54b24ccb3388837ea8aed28c880b358b670006f84ccb7df036125d1c2f7bb210ba51fa0caebef0759 SHA512 2432c2b413d956661342555a50ab2ed4cdf86de5e7bbda0822a2e7359ad034a0b0150bb6b98dff0d1a3d64e89cd8de67a7a620dd4c9e220a7ed1f9f80e5a36e6
 DIST cppdap-gtest-0a03480824b4fc7883255dbd2fd8940c9f81e22e.tar.gz 874709 BLAKE2B 706e6d168e080494ac63cf607c189f55f5e98100fd744dd184a8217173f66891aedb8779a9c8b0aa289889d1f73e18c50ef65d8c70228e2a795a5e5081f66894 SHA512 55867a2e39647a7846506446d642dcd740711dee8c0dfe25887fd6ad361161617f3d462bdb415dfba20693849949c022e97e2de65dd731cc63b9466edd1c8b87

diff --git a/dev-cpp/cppdap/cppdap-0_pre20240802.ebuild b/dev-cpp/cppdap/cppdap-0_pre20240802.ebuild
new file mode 100644
index 000000000000..a590a1f1bc61
--- /dev/null
+++ b/dev-cpp/cppdap/cppdap-0_pre20240802.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# See https://github.com/google/cppdap/issues/113 re no release
+CPPDAP_COMMIT="c69444ed76f7468b232ac4f989cb8f2bdc100185"
+
+DESCRIPTION="C++ library for the Debug Adapter Protocol"
+HOMEPAGE="https://github.com/google/cppdap"
+SRC_URI="https://github.com/google/cppdap/archive/${CPPDAP_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${CPPDAP_COMMIT}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-cpp/nlohmann_json"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-cpp/gtest )
+"
+
+src_configure() {
+	local mycmakeargs=(
+		# Per README, could use rapidjson or jsoncpp instead.
+		-DCPPDAP_USE_EXTERNAL_NLOHMANN_JSON_PACKAGE=ON
+		-DCPPDAP_USE_EXTERNAL_RAPIDJSON_PACKAGE=OFF
+		-DCPPDAP_USE_EXTERNAL_JSONCPP_PACKAGE=OFF
+
+		-DCPPDAP_BUILD_TESTS=$(usex test)
+		-DCPPDAP_USE_EXTERNAL_GTEST_PACKAGE=ON
+	)
+
+	cmake_src_configure
+}
+
+src_test() {
+	cd "${BUILD_DIR}" || die
+	./cppdap-unittests || die
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-08-03  2:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09  9:52 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/cppdap/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-08-03  2:58 Sam James
2023-11-27 23:45 Sam James
2023-10-18 15:44 Arthur Zamarin
2023-10-18 14:09 Sam James
2023-10-18 14:09 Sam James
2023-10-18 14:09 Sam James
2023-06-09  9:48 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox