From owner-svn-ports-head@freebsd.org Tue Nov 20 07:52:47 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BED501103DE0; Tue, 20 Nov 2018 07:52:47 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 635987EA23; Tue, 20 Nov 2018 07:52:47 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 43E5B67DD; Tue, 20 Nov 2018 07:52:47 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAK7qlfe017814; Tue, 20 Nov 2018 07:52:47 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAK7qj1I017808; Tue, 20 Nov 2018 07:52:45 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201811200752.wAK7qj1I017808@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Tue, 20 Nov 2018 07:52:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485418 - in head/misc: . urdfdom urdfdom/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc: . urdfdom urdfdom/files X-SVN-Commit-Revision: 485418 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 635987EA23 X-Spamd-Result: default: False [0.47 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.45)[0.447,0]; NEURAL_SPAM_MEDIUM(0.03)[0.027,0]; NEURAL_SPAM_LONG(0.00)[0.001,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 07:52:48 -0000 Author: yuri Date: Tue Nov 20 07:52:45 2018 New Revision: 485418 URL: https://svnweb.freebsd.org/changeset/ports/485418 Log: New port: misc/urdfdom: Unified Robot Description Format (URDF) parser Added: head/misc/urdfdom/ head/misc/urdfdom/Makefile (contents, props changed) head/misc/urdfdom/distinfo (contents, props changed) head/misc/urdfdom/files/ head/misc/urdfdom/files/patch-CMakeLists.txt (contents, props changed) head/misc/urdfdom/files/patch-urdf__parser_CMakeLists.txt (contents, props changed) head/misc/urdfdom/pkg-descr (contents, props changed) head/misc/urdfdom/pkg-plist (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Tue Nov 20 07:46:36 2018 (r485417) +++ head/misc/Makefile Tue Nov 20 07:52:45 2018 (r485418) @@ -545,6 +545,7 @@ SUBDIR += unicode-emoji SUBDIR += upclient SUBDIR += urbit + SUBDIR += urdfdom SUBDIR += urdfdom-headers SUBDIR += urh SUBDIR += us-zipcodes Added: head/misc/urdfdom/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/urdfdom/Makefile Tue Nov 20 07:52:45 2018 (r485418) @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= urdfdom +DISTVERSION= 1.0.0-9 +DISTVERSIONSUFFIX= -g1857a55 +CATEGORIES= misc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Unified Robot Description Format (URDF) parser + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= urdfdom-headers>0:misc/urdfdom-headers +LIB_DEPENDS= libconsole_bridge.so:misc/console-bridge \ + libtinyxml.so:textproc/tinyxml +RUN_DEPENDS= urdfdom-headers>0:misc/urdfdom-headers + +USES= cmake:outsource +USE_GITHUB= yes +GH_ACCOUNT= ros +USE_LDCONFIG= yes + +do-test: # some tests are known to fail: https://github.com/ros/urdfdom/issues/118 + @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 Added: head/misc/urdfdom/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/urdfdom/distinfo Tue Nov 20 07:52:45 2018 (r485418) @@ -0,0 +1,3 @@ +TIMESTAMP = 1542698311 +SHA256 (ros-urdfdom-1.0.0-9-g1857a55_GH0.tar.gz) = c273f4399fdd70800ac2ce03ffd89cd868d9d7448e8c2b0f044bba29b5a89a12 +SIZE (ros-urdfdom-1.0.0-9-g1857a55_GH0.tar.gz) = 275479 Added: head/misc/urdfdom/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/urdfdom/files/patch-CMakeLists.txt Tue Nov 20 07:52:45 2018 (r485418) @@ -0,0 +1,13 @@ +--- CMakeLists.txt.orig 2018-11-20 07:38:15 UTC ++++ CMakeLists.txt +@@ -56,7 +56,9 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CM + set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}") + set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}") + +-enable_testing() ++if (BUILD_TESTING) ++ enable_testing() ++endif() + + add_subdirectory(urdf_parser) + Added: head/misc/urdfdom/files/patch-urdf__parser_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/urdfdom/files/patch-urdf__parser_CMakeLists.txt Tue Nov 20 07:52:45 2018 (r485418) @@ -0,0 +1,26 @@ +--- urdf_parser/CMakeLists.txt.orig 2018-11-14 01:51:13 UTC ++++ urdf_parser/CMakeLists.txt +@@ -25,17 +25,19 @@ add_executable(urdf_to_graphiz src/urdf_ + target_link_libraries(urdf_to_graphiz urdfdom_model) + + # urdf_mem_test is a binary for testing, not a unit test +-add_executable(urdf_mem_test test/memtest.cpp) +-target_link_libraries(urdf_mem_test urdfdom_model) ++if (BUILD_TESTING) ++ add_executable(urdf_mem_test test/memtest.cpp) ++ target_link_libraries(urdf_mem_test urdfdom_model) ++endif() + +-include(CTest) + if(BUILD_TESTING) ++ include(CTest) + add_subdirectory(test) + endif() + + INSTALL(TARGETS urdfdom_model DESTINATION ${CMAKE_INSTALL_LIBDIR}) + INSTALL(TARGETS urdfdom_world DESTINATION ${CMAKE_INSTALL_LIBDIR}) +-INSTALL(TARGETS check_urdf urdf_to_graphiz urdf_mem_test ++INSTALL(TARGETS check_urdf urdf_to_graphiz + DESTINATION ${CMAKE_INSTALL_BINDIR}) + INSTALL(TARGETS urdfdom_sensor DESTINATION ${CMAKE_INSTALL_LIBDIR}) + INSTALL(TARGETS urdfdom_model_state DESTINATION ${CMAKE_INSTALL_LIBDIR}) Added: head/misc/urdfdom/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/urdfdom/pkg-descr Tue Nov 20 07:52:45 2018 (r485418) @@ -0,0 +1,4 @@ +urdf is a C++ parser for the Unified Robot Description Format (URDF), which is +an XML format for representing a robot model. + +WWW: https://wiki.ros.org/urdf Added: head/misc/urdfdom/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/urdfdom/pkg-plist Tue Nov 20 07:52:45 2018 (r485418) @@ -0,0 +1,14 @@ +bin/check_urdf +bin/urdf_to_graphiz +include/urdf_parser/exportdecl.h +include/urdf_parser/urdf_parser.h +lib/liburdfdom_model.so +lib/liburdfdom_model.so.1.0 +lib/liburdfdom_model_state.so +lib/liburdfdom_model_state.so.1.0 +lib/liburdfdom_sensor.so +lib/liburdfdom_sensor.so.1.0 +lib/liburdfdom_world.so +lib/liburdfdom_world.so.1.0 +lib/urdfdom/cmake/urdfdom-config.cmake +libdata/pkgconfig/urdfdom.pc