Skip to content

Commit b690dd5

Browse files
author
Anthony Mallet
committed
[graphics/gz-common] Import gz-common-6.0.0
Gazebo Common, a component of Gazebo, provides a set of libraries that cover many different use cases. An audio-visual library supports processing audio and video files, a graphics library can load a variety 3D mesh file formats into a generic in-memory representation, and the core library of Gazebo Common contains functionality that spans Base64 encoding/decoding to thread pools.
1 parent 0bdd6b3 commit b690dd5

File tree

7 files changed

+251
-0
lines changed

7 files changed

+251
-0
lines changed

graphics/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SUBDIR+= flann
1010
SUBDIR+= gdhe
1111
SUBDIR+= gerard-bauzil
1212
SUBDIR+= grh2
13+
SUBDIR+= gz-common
1314
SUBDIR+= laaswm
1415
SUBDIR+= laaswm-libs
1516
SUBDIR+= ogre-next

graphics/gz-common/DESCR

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Gazebo Common, a component of Gazebo, provides a set of libraries that cover
2+
many different use cases. An audio-visual library supports processing audio and
3+
video files, a graphics library can load a variety 3D mesh file formats into a
4+
generic in-memory representation, and the core library of Gazebo Common
5+
contains functionality that spans Base64 encoding/decoding to thread pools.

graphics/gz-common/Makefile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# robotpkg Makefile for: graphics/gz-common
2+
# Created: Anthony Mallet on Mon, 10 Feb 2025
3+
#
4+
5+
DISTNAME= gz-common-6.0.0
6+
7+
GZ_COMMENT= AV, Graphics, Events, and much more
8+
CATEGORIES= graphics
9+
10+
include ../../simulation/gz-sim/Makefile.common
11+
12+
CMAKE_ARGS+= -DGZ_PROFILER_REMOTERY=OFF
13+
14+
DEPEND_ABI.g++ += g++>=9
15+
DEPEND_ABI.gz-math+= gz-math>=8<9
16+
DEPEND_ABI.gz-utils+= gz-utils>=3<4
17+
DEPEND_ABI.libavdevice+=libavdevice>=56.4.100
18+
19+
include ../../devel/gz-utils/depend.mk
20+
include ../../devel/spdlog/depend.mk
21+
include ../../math/gz-math/depend.mk
22+
include ../../mk/sysdep/freeimage.mk
23+
include ../../mk/sysdep/assimp.mk
24+
include ../../mk/sysdep/gdal.mk
25+
include ../../mk/sysdep/libavcodec.mk
26+
include ../../mk/sysdep/libavdevice.mk
27+
include ../../mk/sysdep/libavformat.mk
28+
include ../../mk/sysdep/libavutil.mk
29+
include ../../mk/sysdep/libuuid.mk
30+
include ../../mk/sysdep/libswscale.mk
31+
include ../../mk/sysdep/tinyxml2.mk
32+
include ../../mk/robotpkg.mk

graphics/gz-common/PLIST

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
@comment Mon Feb 10 15:23:00 CET 2025
2+
include/gz/common6/gz/common.hh
3+
include/gz/common6/gz/common/Animation.hh
4+
include/gz/common6/gz/common/AssimpLoader.hh
5+
include/gz/common6/gz/common/AudioDecoder.hh
6+
include/gz/common6/gz/common/BVHLoader.hh
7+
include/gz/common6/gz/common/Base64.hh
8+
include/gz/common6/gz/common/Battery.hh
9+
include/gz/common6/gz/common/CSVStreams.hh
10+
include/gz/common6/gz/common/ColladaExporter.hh
11+
include/gz/common6/gz/common/ColladaLoader.hh
12+
include/gz/common6/gz/common/Console.hh
13+
include/gz/common6/gz/common/DataFrame.hh
14+
include/gz/common6/gz/common/DelaunayTriangulation.hh
15+
include/gz/common6/gz/common/EnumIface.hh
16+
include/gz/common6/gz/common/Event.hh
17+
include/gz/common6/gz/common/Export.hh
18+
include/gz/common6/gz/common/Filesystem.hh
19+
include/gz/common6/gz/common/FlagSet.hh
20+
include/gz/common6/gz/common/HWVideo.hh
21+
include/gz/common6/gz/common/IOBase.hh
22+
include/gz/common6/gz/common/Image.hh
23+
include/gz/common6/gz/common/KeyEvent.hh
24+
include/gz/common6/gz/common/KeyFrame.hh
25+
include/gz/common6/gz/common/Material.hh
26+
include/gz/common6/gz/common/MaterialDensity.hh
27+
include/gz/common6/gz/common/Mesh.hh
28+
include/gz/common6/gz/common/MeshExporter.hh
29+
include/gz/common6/gz/common/MeshLoader.hh
30+
include/gz/common6/gz/common/MeshManager.hh
31+
include/gz/common6/gz/common/MouseEvent.hh
32+
include/gz/common6/gz/common/MovingWindowFilter.hh
33+
include/gz/common6/gz/common/NodeAnimation.hh
34+
include/gz/common6/gz/common/NodeTransform.hh
35+
include/gz/common6/gz/common/OBJLoader.hh
36+
include/gz/common6/gz/common/Pbr.hh
37+
include/gz/common6/gz/common/Profiler.hh
38+
include/gz/common6/gz/common/STLLoader.hh
39+
include/gz/common6/gz/common/SVGLoader.hh
40+
include/gz/common6/gz/common/SignalHandler.hh
41+
include/gz/common6/gz/common/SingletonT.hh
42+
include/gz/common6/gz/common/Skeleton.hh
43+
include/gz/common6/gz/common/SkeletonAnimation.hh
44+
include/gz/common6/gz/common/SkeletonNode.hh
45+
include/gz/common6/gz/common/StringUtils.hh
46+
include/gz/common6/gz/common/SubMesh.hh
47+
include/gz/common6/gz/common/SystemPaths.hh
48+
include/gz/common6/gz/common/TempDirectory.hh
49+
include/gz/common6/gz/common/TemplateHelpers.hh
50+
include/gz/common6/gz/common/Timer.hh
51+
include/gz/common6/gz/common/URI.hh
52+
include/gz/common6/gz/common/Util.hh
53+
include/gz/common6/gz/common/Uuid.hh
54+
include/gz/common6/gz/common/Video.hh
55+
include/gz/common6/gz/common/VideoEncoder.hh
56+
include/gz/common6/gz/common/WorkerPool.hh
57+
include/gz/common6/gz/common/av.hh
58+
include/gz/common6/gz/common/av/Export.hh
59+
include/gz/common6/gz/common/av/Util.hh
60+
include/gz/common6/gz/common/av/detail/Export.hh
61+
include/gz/common6/gz/common/config.hh
62+
include/gz/common6/gz/common/detail/Export.hh
63+
include/gz/common6/gz/common/detail/TemplateHelpers.hh
64+
include/gz/common6/gz/common/events.hh
65+
include/gz/common6/gz/common/events/Export.hh
66+
include/gz/common6/gz/common/events/Types.hh
67+
include/gz/common6/gz/common/events/detail/Export.hh
68+
include/gz/common6/gz/common/ffmpeg_inc.hh
69+
include/gz/common6/gz/common/geospatial.hh
70+
include/gz/common6/gz/common/geospatial/Dem.hh
71+
include/gz/common6/gz/common/geospatial/Export.hh
72+
include/gz/common6/gz/common/geospatial/HeightmapData.hh
73+
include/gz/common6/gz/common/geospatial/ImageHeightmap.hh
74+
include/gz/common6/gz/common/geospatial/detail/Export.hh
75+
include/gz/common6/gz/common/graphics.hh
76+
include/gz/common6/gz/common/graphics/Export.hh
77+
include/gz/common6/gz/common/graphics/Types.hh
78+
include/gz/common6/gz/common/graphics/detail/Export.hh
79+
include/gz/common6/gz/common/io.hh
80+
include/gz/common6/gz/common/io/Export.hh
81+
include/gz/common6/gz/common/io/detail/Export.hh
82+
include/gz/common6/gz/common/profiler/Export.hh
83+
include/gz/common6/gz/common/profiler/detail/Export.hh
84+
include/gz/common6/gz/common/testing.hh
85+
include/gz/common6/gz/common/testing/AutoLogFixture.hh
86+
include/gz/common6/gz/common/testing/BazelTestPaths.hh
87+
include/gz/common6/gz/common/testing/CMakeTestPaths.hh
88+
include/gz/common6/gz/common/testing/Export.hh
89+
include/gz/common6/gz/common/testing/RedirectConsoleStream.hh
90+
include/gz/common6/gz/common/testing/TestPaths.hh
91+
include/gz/common6/gz/common/testing/Utils.hh
92+
include/gz/common6/gz/common/testing/detail/AutoLogFixture.hh
93+
include/gz/common6/gz/common/testing/detail/Export.hh
94+
lib/cmake/gz-common6-all/gz-common6-all-config-version.cmake
95+
lib/cmake/gz-common6-all/gz-common6-all-config.cmake
96+
lib/cmake/gz-common6-all/gz-common6-all-targets.cmake
97+
lib/cmake/gz-common6-av/gz-common6-av-config-version.cmake
98+
lib/cmake/gz-common6-av/gz-common6-av-config.cmake
99+
lib/cmake/gz-common6-av/gz-common6-av-targets-release.cmake
100+
lib/cmake/gz-common6-av/gz-common6-av-targets.cmake
101+
lib/cmake/gz-common6-events/gz-common6-events-config-version.cmake
102+
lib/cmake/gz-common6-events/gz-common6-events-config.cmake
103+
lib/cmake/gz-common6-events/gz-common6-events-targets-release.cmake
104+
lib/cmake/gz-common6-events/gz-common6-events-targets.cmake
105+
lib/cmake/gz-common6-geospatial/gz-common6-geospatial-config-version.cmake
106+
lib/cmake/gz-common6-geospatial/gz-common6-geospatial-config.cmake
107+
lib/cmake/gz-common6-geospatial/gz-common6-geospatial-targets-release.cmake
108+
lib/cmake/gz-common6-geospatial/gz-common6-geospatial-targets.cmake
109+
lib/cmake/gz-common6-graphics/gz-common6-graphics-config-version.cmake
110+
lib/cmake/gz-common6-graphics/gz-common6-graphics-config.cmake
111+
lib/cmake/gz-common6-graphics/gz-common6-graphics-targets-release.cmake
112+
lib/cmake/gz-common6-graphics/gz-common6-graphics-targets.cmake
113+
lib/cmake/gz-common6-io/gz-common6-io-config-version.cmake
114+
lib/cmake/gz-common6-io/gz-common6-io-config.cmake
115+
lib/cmake/gz-common6-io/gz-common6-io-targets-release.cmake
116+
lib/cmake/gz-common6-io/gz-common6-io-targets.cmake
117+
lib/cmake/gz-common6-profiler/gz-common6-profiler-config-version.cmake
118+
lib/cmake/gz-common6-profiler/gz-common6-profiler-config.cmake
119+
lib/cmake/gz-common6-profiler/gz-common6-profiler-targets-release.cmake
120+
lib/cmake/gz-common6-profiler/gz-common6-profiler-targets.cmake
121+
lib/cmake/gz-common6-testing/gz-common6-testing-config-version.cmake
122+
lib/cmake/gz-common6-testing/gz-common6-testing-config.cmake
123+
lib/cmake/gz-common6-testing/gz-common6-testing-targets-release.cmake
124+
lib/cmake/gz-common6-testing/gz-common6-testing-targets.cmake
125+
lib/cmake/gz-common6/gz-common6-config-version.cmake
126+
lib/cmake/gz-common6/gz-common6-config.cmake
127+
lib/cmake/gz-common6/gz-common6-targets-release.cmake
128+
lib/cmake/gz-common6/gz-common6-targets.cmake
129+
lib/libgz-common6-av.so
130+
lib/libgz-common6-av.so.6
131+
lib/libgz-common6-av.so.${PKGVERSION}
132+
lib/libgz-common6-events.so
133+
lib/libgz-common6-events.so.6
134+
lib/libgz-common6-events.so.${PKGVERSION}
135+
lib/libgz-common6-geospatial.so
136+
lib/libgz-common6-geospatial.so.6
137+
lib/libgz-common6-geospatial.so.${PKGVERSION}
138+
lib/libgz-common6-graphics.so
139+
lib/libgz-common6-graphics.so.6
140+
lib/libgz-common6-graphics.so.${PKGVERSION}
141+
lib/libgz-common6-io.so
142+
lib/libgz-common6-io.so.6
143+
lib/libgz-common6-io.so.${PKGVERSION}
144+
lib/libgz-common6-profiler.so
145+
lib/libgz-common6-profiler.so.6
146+
lib/libgz-common6-profiler.so.${PKGVERSION}
147+
lib/libgz-common6-testing.so
148+
lib/libgz-common6-testing.so.6
149+
lib/libgz-common6-testing.so.${PKGVERSION}
150+
lib/libgz-common6.so
151+
lib/libgz-common6.so.6
152+
lib/libgz-common6.so.${PKGVERSION}
153+
lib/pkgconfig/gz-common6-av.pc
154+
lib/pkgconfig/gz-common6-events.pc
155+
lib/pkgconfig/gz-common6-geospatial.pc
156+
lib/pkgconfig/gz-common6-graphics.pc
157+
lib/pkgconfig/gz-common6-io.pc
158+
lib/pkgconfig/gz-common6-profiler.pc
159+
lib/pkgconfig/gz-common6-testing.pc
160+
lib/pkgconfig/gz-common6.pc

graphics/gz-common/depend.mk

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# robotpkg depend.mk for: graphics/gz-common
2+
# Created: Anthony Mallet on Mon, 10 Feb 2025
3+
#
4+
5+
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
6+
GZ_COMMON_DEPEND_MK:= ${GZ_COMMON_DEPEND_MK}+
7+
8+
ifeq (+,$(DEPEND_DEPTH))
9+
DEPEND_PKG+= gz-common
10+
endif
11+
12+
ifeq (+,$(GZ_COMMON_DEPEND_MK)) # --------------------------------------------
13+
14+
GZ_DEPEND_USE+= gz-common
15+
include ../../simulation/gz-sim/depend.common
16+
17+
DEPEND_ABI.gz-common?= gz-common>=5
18+
DEPEND_DIR.gz-common?= ../../graphics/gz-common
19+
20+
SYSTEM_SEARCH.gz-common=\
21+
'include/gz/common[0-9]*/gz/common.hh' \
22+
'lib/libgz-common[0-9]*.so' \
23+
$(call gz_system_search,gz-common, \
24+
av events geospatial graphics io profiler)
25+
26+
DEPEND_ABI.libavdevice+=libavdevice>=56.4.100
27+
28+
include ../../mk/sysdep/libavcodec.mk
29+
include ../../mk/sysdep/libavdevice.mk
30+
include ../../mk/sysdep/libavformat.mk
31+
include ../../mk/sysdep/libavutil.mk
32+
include ../../mk/sysdep/libswscale.mk
33+
34+
endif # GZ_COMMON_DEPEND_MK --------------------------------------------------
35+
36+
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}

graphics/gz-common/distinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SHA1 (gz-common-gz-common6_6.0.0.tar.gz) = 789374f0fa480f189f280ec691c62212c924a102
2+
RMD160 (gz-common-gz-common6_6.0.0.tar.gz) = 2e7de5a1454d7cfdab1f356ae0195b8b807bae1d
3+
Size (gz-common-gz-common6_6.0.0.tar.gz) = 12346115 bytes
4+
SHA1 (patch-aa) = dca43d8449cf87b7a92e08fa7a925c4a74cf6b8f
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
No stdc++fs required for g++>=9
2+
3+
--- src/CMakeLists.txt~ 2024-09-26 18:59:14.000000000 +0200
4+
+++ src/CMakeLists.txt 2025-02-10 14:50:35.086711924 +0100
5+
@@ -8,7 +8,7 @@
6+
CXX_STANDARD ${CMAKE_CXX_STANDARD})
7+
8+
if (CMAKE_CXX_COMPILER_ID STREQUAL GNU)
9+
- set(CXX_FILESYSTEM_LIBRARIES stdc++fs)
10+
+ set(CXX_FILESYSTEM_LIBRARIES)
11+
else()
12+
set(CXX_FILESYSTEM_LIBRARIES)
13+
endif()

0 commit comments

Comments
 (0)