Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2018 20:52:04 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485485 - in head/misc: . ignition-fuel-tools ignition-fuel-tools/files
Message-ID:  <201811202052.wAKKq4Uv024199@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Nov 20 20:52:04 2018
New Revision: 485485
URL: https://svnweb.freebsd.org/changeset/ports/485485

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

Added:
  head/misc/ignition-fuel-tools/
  head/misc/ignition-fuel-tools/Makefile   (contents, props changed)
  head/misc/ignition-fuel-tools/distinfo   (contents, props changed)
  head/misc/ignition-fuel-tools/files/
  head/misc/ignition-fuel-tools/files/patch-CMakeLists.txt   (contents, props changed)
  head/misc/ignition-fuel-tools/files/patch-src_CMakeLists.txt   (contents, props changed)
  head/misc/ignition-fuel-tools/files/patch-test_integration_CMakeLists.txt   (contents, props changed)
  head/misc/ignition-fuel-tools/pkg-descr   (contents, props changed)
  head/misc/ignition-fuel-tools/pkg-plist   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Tue Nov 20 20:37:56 2018	(r485484)
+++ head/misc/Makefile	Tue Nov 20 20:52:04 2018	(r485485)
@@ -182,6 +182,7 @@
     SUBDIR += histring
     SUBDIR += hotkeys
     SUBDIR += hulgalugha
+    SUBDIR += ignition-fuel-tools
     SUBDIR += imerge
     SUBDIR += img2xterm
     SUBDIR += ini_file_manager

Added: head/misc/ignition-fuel-tools/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/ignition-fuel-tools/Makefile	Tue Nov 20 20:52:04 2018	(r485485)
@@ -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>

Added: head/misc/ignition-fuel-tools/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/ignition-fuel-tools/distinfo	Tue Nov 20 20:52:04 2018	(r485485)
@@ -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

Added: head/misc/ignition-fuel-tools/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/ignition-fuel-tools/files/patch-CMakeLists.txt	Tue Nov 20 20:52:04 2018	(r485485)
@@ -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

Added: head/misc/ignition-fuel-tools/files/patch-src_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/ignition-fuel-tools/files/patch-src_CMakeLists.txt	Tue Nov 20 20:52:04 2018	(r485485)
@@ -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.

Added: head/misc/ignition-fuel-tools/files/patch-test_integration_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/ignition-fuel-tools/files/patch-test_integration_CMakeLists.txt	Tue Nov 20 20:52:04 2018	(r485485)
@@ -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
+ )

Added: head/misc/ignition-fuel-tools/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/ignition-fuel-tools/pkg-descr	Tue Nov 20 20:52:04 2018	(r485485)
@@ -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

Added: head/misc/ignition-fuel-tools/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/ignition-fuel-tools/pkg-plist	Tue Nov 20 20:52:04 2018	(r485485)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811202052.wAKKq4Uv024199>