Skip to content

Commit dedd6f7

Browse files
author
Anthony Mallet
committed
[graphics/gz-rendering] Import gz-rendering-9.0.0
Gazebo Rendering is a C++ library designed to provide an abstraction for different rendering engines. It offers unified APIs for creating 3D graphics applications. Gazebo Rendering is a component in the Gazebo framework, a set of libraries designed to rapidly develop robot applications.
1 parent 511fa9f commit dedd6f7

File tree

9 files changed

+596
-0
lines changed

9 files changed

+596
-0
lines changed

graphics/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ SUBDIR+= gdhe
1111
SUBDIR+= gerard-bauzil
1212
SUBDIR+= grh2
1313
SUBDIR+= gz-common
14+
SUBDIR+= gz-rendering
1415
SUBDIR+= laaswm
1516
SUBDIR+= laaswm-libs
1617
SUBDIR+= ogre-next

graphics/gz-rendering/DESCR

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Gazebo Rendering is a C++ library designed to provide an abstraction for
2+
different rendering engines. It offers unified APIs for creating 3D graphics
3+
applications.
4+
5+
Gazebo Rendering is a component in the Gazebo framework, a set of libraries
6+
designed to rapidly develop robot applications.

graphics/gz-rendering/Makefile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# robotpkg Makefile for: graphics/gz-rendering
2+
# Created: Anthony Mallet on Wed, 12 Feb 2025
3+
#
4+
5+
DISTNAME= gz-rendering-9.0.0
6+
7+
GZ_COMMENT= rendering library for robot applications
8+
CATEGORIES= graphics interfaces
9+
10+
include ../../simulation/gz-sim/Makefile.common
11+
12+
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_CUDA=ON
13+
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_FreeImage=ON
14+
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_GzOGRE=ON
15+
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_OptiX=ON
16+
CMAKE_ARGS+= -DSKIP_ogre=ON
17+
CMAKE_ARGS+= -DSKIP_optix=ON
18+
19+
CMAKE_ARGS+= -DOpenGL_GL_PREFERENCE=LEGACY
20+
21+
DEPEND_ABI.gz-common+= gz-common>=6<7
22+
DEPEND_ABI.gz-math+= gz-math>=8<9
23+
DEPEND_ABI.gz-plugin+= gz-plugin>=3<4
24+
DEPEND_ABI.gz-utils+= gz-utils>=3<4
25+
DEPEND_ABI.libavdevice+=libavdevice>=56.4.100
26+
DEPEND_ABI.ogre-next+= ogre-next>=2.3.1
27+
28+
include ../../devel/gz-plugin/depend.mk
29+
include ../../devel/gz-utils/depend.mk
30+
include ../../math/gz-math/depend.mk
31+
include ../../graphics/ogre-next/depend.mk
32+
include ../../graphics/gz-common/depend.mk
33+
include ../../mk/sysdep/glu.mk
34+
include ../../mk/sysdep/libX11.mk
35+
include ../../mk/sysdep/mesa.mk
36+
include ../../mk/robotpkg.mk

graphics/gz-rendering/PLIST

Lines changed: 482 additions & 0 deletions
Large diffs are not rendered by default.

graphics/gz-rendering/depend.mk

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# robotpkg depend.mk for: graphics/gz-rendering
2+
# Created: Anthony Mallet on Wed, 12 Feb 2025
3+
#
4+
5+
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
6+
GZ_RENDERING_DEPEND_MK:= ${GZ_RENDERING_DEPEND_MK}+
7+
8+
ifeq (+,$(DEPEND_DEPTH))
9+
DEPEND_PKG+= gz-rendering
10+
endif
11+
12+
ifeq (+,$(GZ_RENDERING_DEPEND_MK)) # ---------------------------------------
13+
14+
GZ_DEPEND_USE+= gz-rendering
15+
include ../../simulation/gz-sim/depend.common
16+
17+
DEPEND_ABI.gz-rendering?= gz-rendering>=8
18+
DEPEND_DIR.gz-rendering?= ../../graphics/gz-rendering
19+
20+
SYSTEM_SEARCH.gz-rendering=\
21+
'include/gz/rendering[0-9]*/gz/rendering.hh' \
22+
'lib/libgz-rendering[0-9]*.so' \
23+
$(call gz_system_search,gz-rendering,)
24+
25+
endif # GZ_RENDERING_DEPEND_MK ---------------------------------------------
26+
27+
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}

graphics/gz-rendering/distinfo

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
SHA1 (gz-rendering-gz-rendering9_9.0.0.tar.gz) = 626741a890be2f0983703d3562ceed16fb399b1a
2+
RMD160 (gz-rendering-gz-rendering9_9.0.0.tar.gz) = be5a969ca693182db4c873f825e3c9df617d9498
3+
Size (gz-rendering-gz-rendering9_9.0.0.tar.gz) = 74527329 bytes
4+
SHA1 (patch-aa) = 562d1f8112f756cc3986aeffc0e8f8fac5c21484
5+
SHA1 (patch-ab) = 0064ca04ed5e7e0b5cd0f4b04e90779b20ec376b
6+
SHA1 (patch-ac) = 0b1f9812a99e58bb042e629ff4b5526a547ec97c
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Don't use EGL
2+
3+
--- CMakeLists.txt~ 2024-09-26 20:56:28.000000000 +0200
4+
+++ CMakeLists.txt 2025-02-13 14:38:54.273048275 +0100
5+
@@ -59,7 +59,6 @@
6+
else()
7+
gz_find_package(OpenGL REQUIRED
8+
COMPONENTS OpenGL
9+
- OPTIONAL_COMPONENTS EGL
10+
REQUIRED_BY ogre ogre2
11+
PKGCONFIG gl)
12+
endif()
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Find X11 properly
2+
3+
--- src/CMakeLists.txt~ 2024-09-26 20:56:28.000000000 +0200
4+
+++ src/CMakeLists.txt 2025-02-13 17:25:29.559582685 +0100
5+
@@ -44,7 +44,8 @@
6+
gz-plugin${GZ_PLUGIN_VER}::loader
7+
)
8+
if (UNIX AND NOT APPLE)
9+
- target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME} PRIVATE X11)
10+
+ find_package(X11 REQUIRED)
11+
+ target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME} PRIVATE ${X11_LIBRARIES})
12+
endif()
13+
14+
# Build the unit tests.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Add OpenGL header path
2+
3+
--- ogre2/src/CMakeLists.txt~ 2025-02-13 17:34:59.391658863 +0100
4+
+++ ogre2/src/CMakeLists.txt 2025-02-13 17:37:12.771849648 +0100
5+
@@ -50,6 +50,7 @@
6+
# VCT GI needs this
7+
${OGRE2_INCLUDE}/Hlms/Pbs
8+
${OGRE2_INCLUDE}/Hlms/Common
9+
+ ${OPENGL_INCLUDE_DIRS}
10+
)
11+
12+
target_link_libraries(${ogre2_target}

0 commit comments

Comments
 (0)