commit:     d44a9a1ac8a5fdb421abcc105ccf2cb7f666d31d
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 08:37:25 2025 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Jun  6 12:51:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d44a9a1a

sci-libs/ignition-common: add missing include in exported header

Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 sci-libs/ignition-common/files/stdint.patch        | 12 ++++++
 .../ignition-common-3.17.0-r1.ebuild               | 48 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/sci-libs/ignition-common/files/stdint.patch 
b/sci-libs/ignition-common/files/stdint.patch
new file mode 100644
index 000000000000..604819468652
--- /dev/null
+++ b/sci-libs/ignition-common/files/stdint.patch
@@ -0,0 +1,12 @@
+Index: gz-common-ignition-common3_3.17.0/profiler/include/gz/common/Profiler.hh
+===================================================================
+--- 
gz-common-ignition-common3_3.17.0.orig/profiler/include/gz/common/Profiler.hh
++++ gz-common-ignition-common3_3.17.0/profiler/include/gz/common/Profiler.hh
+@@ -20,6 +20,7 @@
+ 
+ #include <memory>
+ #include <string>
++#include <cstdint> // uint32
+ 
+ #include <gz/common/profiler/Export.hh>
+ #include <gz/common/SingletonT.hh>

diff --git a/sci-libs/ignition-common/ignition-common-3.17.0-r1.ebuild 
b/sci-libs/ignition-common/ignition-common-3.17.0-r1.ebuild
new file mode 100644
index 000000000000..56f4efa6389e
--- /dev/null
+++ b/sci-libs/ignition-common/ignition-common-3.17.0-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_BUILD_TYPE=RelWithDebInfo
+inherit cmake
+
+IGN_MAJOR=3
+
+DESCRIPTION="Set of libraries designed to rapidly develop robot applications"
+HOMEPAGE="https://github.com/ignitionrobotics/ign-common";
+SRC_URI="https://github.com/ignitionrobotics/ign-common/archive/${PN}${IGN_MAJOR}_${PV}.tar.gz";
+
+LICENSE="Apache-2.0"
+SLOT="${IGN_MAJOR}"
+KEYWORDS="~amd64"
+IUSE="test"
+#RESTRICT="!test? ( test )"
+# tests dont even build
+RESTRICT="test"
+
+RDEPEND="
+       dev-libs/tinyxml2:=
+       sci-libs/ignition-math:6=
+       sys-apps/util-linux
+       media-libs/freeimage:=
+       sci-libs/gts:=
+       media-video/ffmpeg:0=
+"
+DEPEND="${RDEPEND}
+       dev-build/ignition-cmake:2"
+BDEPEND="
+       dev-build/ignition-cmake:2"
+
+S="${WORKDIR}/gz-common-ignition-common${IGN_MAJOR}_${PV}"
+PATCHES=(
+       "${FILESDIR}/ffmpeg5.patch"
+       "${FILESDIR}/ffmpeg6.patch"
+       "${FILESDIR}/stdint.patch"
+)
+
+src_configure() {
+       local mycmakeargs=(
+               "-DBUILD_TESTING=$(usex test)"
+       )
+       cmake_src_configure
+}

Reply via email to