Skip to content

Commit 641e11a

Browse files
author
Anthony Mallet
committed
[sysutils/gz-tools] Import gz-tools-2.0.0
Gazebo Tools provide the gz command line tool that accepts multiple subcommands. Each subcommand is implemented in a plugin that belongs to a specific Gazebo project. For example, all the commands that start with gz topic are implemented by the Gazebo Transport library.
1 parent b690dd5 commit 641e11a

File tree

7 files changed

+74
-0
lines changed

7 files changed

+74
-0
lines changed

sysutils/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ SUBDIR+= ament-index
88
SUBDIR+= arduio
99
SUBDIR+= arduio-genom3
1010
SUBDIR+= console-bridge
11+
SUBDIR+= gz-tools
1112
SUBDIR+= hrp2-bringup
1213
SUBDIR+= hrp2-computer-monitor
1314
SUBDIR+= interceptty

sysutils/gz-tools/DESCR

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Gazebo Tools provide the gz command line tool that accepts multiple
2+
subcommands. Each subcommand is implemented in a plugin that belongs to a
3+
specific Gazebo project. For example, all the commands that start with gz topic
4+
are implemented by the Gazebo Transport library.

sysutils/gz-tools/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# robotpkg Makefile for: sysutils/gz-tools
2+
# Created: Anthony Mallet on Thu, 6 Feb 2025
3+
#
4+
5+
DISTNAME= gz-tools-2.0.0
6+
7+
GZ_COMMENT= command line interface
8+
CATEGORIES= sysutils
9+
10+
include ../../simulation/gz-sim/Makefile.common
11+
12+
SUBST_CLASSES+= rb-interp
13+
SUBST_FILES.rb-interp+=\
14+
src/gz.in
15+
16+
CMAKE_ARGS+= -DBACKWARD_TESTS=OFF
17+
CMAKE_ARGS+= -DRUBOCOP_PROGRAM=OFF
18+
19+
include ../../mk/sysdep/ruby.mk
20+
include ../../mk/robotpkg.mk

sysutils/gz-tools/PLIST

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@comment Thu Feb 6 11:15:47 CET 2025
2+
bin/gz
3+
lib/cmake/gz-tools2-all/gz-tools2-all-config-version.cmake
4+
lib/cmake/gz-tools2-all/gz-tools2-all-config.cmake
5+
lib/cmake/gz-tools2-all/gz-tools2-all-targets.cmake
6+
lib/libgz-tools2-backward.so
7+
share/bash-completion/completions/gz
8+
share/gz/gz.completion

sysutils/gz-tools/depend.mk

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# robotpkg depend.mk for: sysutils/gz-tools
2+
# Created: Anthony Mallet on Thu, 6 Feb 2025
3+
#
4+
5+
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
6+
GZ_TOOLS_DEPEND_MK:= ${GZ_TOOLS_DEPEND_MK}+
7+
8+
ifeq (+,$(DEPEND_DEPTH))
9+
DEPEND_PKG+= gz-tools
10+
endif
11+
12+
ifeq (+,$(GZ_TOOLS_DEPEND_MK)) # -------------------------------------------
13+
14+
GZ_DEPEND_USE+= gz-tools
15+
include ../../simulation/gz-sim/depend.common
16+
17+
DEPEND_ABI.gz-tools?= gz-tools>=2
18+
DEPEND_DIR.gz-tools?= ../../sysutils/gz-tools
19+
20+
SYSTEM_SEARCH.gz-tools= 'bin/gz'
21+
22+
endif # GZ_TOOLS_DEPEND_MK -------------------------------------------------
23+
24+
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}

sysutils/gz-tools/distinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SHA1 (gz-tools-gz-tools2_2.0.0.tar.gz) = 55f95d01462f602fb870ede858b7eb6e707d94b1
2+
RMD160 (gz-tools-gz-tools2_2.0.0.tar.gz) = 2c77aa1fd1b08b0afadc839a6ac55b1fb74c5692
3+
Size (gz-tools-gz-tools2_2.0.0.tar.gz) = 60973 bytes
4+
SHA1 (patch-aa) = fe582aab3cb742096819c31762915963e8dce4c0

sysutils/gz-tools/patches/patch-aa

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Use gz-cmake4
2+
3+
--- CMakeLists.txt~ 2022-09-22 23:00:59.000000000 +0200
4+
+++ CMakeLists.txt 2025-02-06 11:06:24.463392119 +0100
5+
@@ -8,7 +8,7 @@
6+
#============================================================================
7+
# Find gz-cmake
8+
#============================================================================
9+
-find_package(gz-cmake3 REQUIRED)
10+
+find_package(gz-cmake4 REQUIRED)
11+
set(GZ_CMAKE_VER ${gz-cmake3_VERSION_MAJOR})
12+
13+
#============================================================================

0 commit comments

Comments
 (0)