1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

New port: misc/ignition-fuel-tools: Classes and tools for interacting with Ignition Fuel

This commit is contained in:
Yuri Victorovich 2018-11-20 20:52:04 +00:00
parent 719e45f8f6
commit aba7655939
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485485
8 changed files with 124 additions and 0 deletions

View File

@ -182,6 +182,7 @@
SUBDIR += histring
SUBDIR += hotkeys
SUBDIR += hulgalugha
SUBDIR += ignition-fuel-tools
SUBDIR += imerge
SUBDIR += img2xterm
SUBDIR += ini_file_manager

View File

@ -0,0 +1,41 @@
# $FreeBSD$
PORTNAME= ignition-fuel-tools
DISTVERSION= 1.2.0
CATEGORIES= misc
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Classes and tools for interacting with Ignition Fuel
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ignition-cmake==2:devel/ignition-cmake
LIB_DEPENDS= libcurl.so:ftp/curl \
libignition-common3.so:devel/ignition-common \
libjsoncpp.so:devel/jsoncpp \
libuuid.so:misc/e2fsprogs-libuuid \
libyaml.so:textproc/libyaml \
libzip.so:archivers/libzip
USES= cmake:outsource compiler:c++17-lang pkgconfig
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_TESTING
BB_ACCOUNT= ignitionrobotics
BB_PROJECT= ign-fuel-tools
BB_COMMIT= 0ffbf3a2c836
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
PLIST_SUB+= FUEL_TOOLS_IGN_VER=fuel_tools${DISTVERSION:R:R}
do-test: # 4 tests are known to fail: https://bitbucket.org/ignitionrobotics/ign-fuel-tools/issues/48/4-unit-tests-fail-unit_fuelclient_test
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1542743820
SHA256 (ignition-fuel-tools-1.2.0.tar.gz) = 9b423a23112c4f7014830fdedb8060b6ca7417f5f230c9bdec534cb173b8ee49
SIZE (ignition-fuel-tools-1.2.0.tar.gz) = 401253

View File

@ -0,0 +1,22 @@
--- CMakeLists.txt.orig 2018-05-30 22:18:39 UTC
+++ CMakeLists.txt
@@ -9,7 +9,7 @@ project(ignition-fuel_tools1 VERSION 1.2
# Find ignition-cmake
#============================================================================
# If you get an error at this line, you need to install ignition-cmake
-find_package(ignition-cmake0 REQUIRED)
+find_package(ignition-cmake2 REQUIRED)
#============================================================================
# Configure the project
@@ -44,8 +44,8 @@ ign_find_package(ZIP REQUIRED PRIVATE)
#--------------------------------------
# Find ignition-common
-set(IGN_COMMON_MAJOR_VER 1)
-ign_find_package(ignition-common${IGN_COMMON_MAJOR_VER} VERSION 1.1.0 REQUIRED PRIVATE)
+set(IGN_COMMON_MAJOR_VER 3)
+ign_find_package(ignition-common${IGN_COMMON_MAJOR_VER} REQUIRED PRIVATE)
#--------------------------------------
# Find ignition-tools

View File

@ -0,0 +1,11 @@
--- src/CMakeLists.txt.orig 2018-11-20 20:11:32 UTC
+++ src/CMakeLists.txt
@@ -61,7 +61,7 @@ ign_install_library()
# Build the unit tests.
ign_build_tests(TYPE UNIT
SOURCES ${gtest_sources}
- LIB_DEPS ignition-common1::ignition-common1
+ LIB_DEPS ignition-common3::ignition-common3
)
# Command line support.

View File

@ -0,0 +1,9 @@
--- test/integration/CMakeLists.txt.orig 2018-11-20 20:12:00 UTC
+++ test/integration/CMakeLists.txt
@@ -9,5 +9,5 @@ link_directories(${PROJECT_BINARY_DIR}/t
ign_build_tests(TYPE INTEGRATION
SOURCES ${tests}
- LIB_DEPS ignition-common1::ignition-common1
+ LIB_DEPS ignition-common3::ignition-common3
)

View File

@ -0,0 +1,4 @@
Ignition Fuel Tools is composed by a client library and command line tools for
interacting with Ignition Fuel servers.
WWW: https://ignitionrobotics.org/home

View File

@ -0,0 +1,33 @@
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/ClientConfig.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/Export.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/FuelClient.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/Helpers.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/JSONParser.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/LocalCache.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/Model.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/ModelIdentifier.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/ModelIter.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/ModelIterPrivate.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/ModelPrivate.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/REST.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/Result.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/Zip.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/config.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/detail/Export.hh
include/ignition/%%FUEL_TOOLS_IGN_VER%%/ignition/fuel_tools/ign.hh
lib/cmake/ignition-%%FUEL_TOOLS_IGN_VER%%-all/ignition-%%FUEL_TOOLS_IGN_VER%%-all-config-version.cmake
lib/cmake/ignition-%%FUEL_TOOLS_IGN_VER%%-all/ignition-%%FUEL_TOOLS_IGN_VER%%-all-config.cmake
lib/cmake/ignition-%%FUEL_TOOLS_IGN_VER%%-all/ignition-%%FUEL_TOOLS_IGN_VER%%-all-targets.cmake
lib/cmake/ignition-%%FUEL_TOOLS_IGN_VER%%/ignition-%%FUEL_TOOLS_IGN_VER%%-config-version.cmake
lib/cmake/ignition-%%FUEL_TOOLS_IGN_VER%%/ignition-%%FUEL_TOOLS_IGN_VER%%-config.cmake
lib/cmake/ignition-%%FUEL_TOOLS_IGN_VER%%/ignition-%%FUEL_TOOLS_IGN_VER%%-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/ignition-%%FUEL_TOOLS_IGN_VER%%/ignition-%%FUEL_TOOLS_IGN_VER%%-targets.cmake
lib/libignition-%%FUEL_TOOLS_IGN_VER%%.so
lib/libignition-%%FUEL_TOOLS_IGN_VER%%.so.1
lib/libignition-%%FUEL_TOOLS_IGN_VER%%.so.1.2.0
lib/ruby/ignition/cmdfuel1.rb
libdata/pkgconfig/ignition-%%FUEL_TOOLS_IGN_VER%%.pc
share/ignition/fuel1.yaml
share/ignition/fuel_tools/config.yaml
share/ignition/%%FUEL_TOOLS_IGN_VER%%/config.yaml