From owner-svn-ports-all@freebsd.org Wed Mar 14 08:05:54 2018 Return-Path: Delivered-To: svn-ports-all@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 29E5BF2BBE0; Wed, 14 Mar 2018 08:05:54 +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 C4C9373A18; Wed, 14 Mar 2018 08:05:53 +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 BF2DB2551E; Wed, 14 Mar 2018 08:05:53 +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 w2E85ri2082670; Wed, 14 Mar 2018 08:05:53 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2E85rs0082664; Wed, 14 Mar 2018 08:05:53 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803140805.w2E85rs0082664@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 14 Mar 2018 08:05:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464468 - in head/misc: . libsweep-lidar libsweep-lidar/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc: . libsweep-lidar libsweep-lidar/files X-SVN-Commit-Revision: 464468 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 08:05:54 -0000 Author: yuri Date: Wed Mar 14 08:05:52 2018 New Revision: 464468 URL: https://svnweb.freebsd.org/changeset/ports/464468 Log: New port: misc/libsweep-lidar: Low-level Scanse Sweep LiDAR library The library to communicate with the Scanse Sweep LiDAR device that is able to scan the space around it and build its point cloud representation. PR: 223433 Submitted by: Hyun Hwang Differential Revision: https://reviews.freebsd.org/D14691 Added: head/misc/libsweep-lidar/ head/misc/libsweep-lidar/Makefile (contents, props changed) head/misc/libsweep-lidar/distinfo (contents, props changed) head/misc/libsweep-lidar/files/ head/misc/libsweep-lidar/files/patch-libsweep_man_sweep-ctl.1 (contents, props changed) head/misc/libsweep-lidar/pkg-descr (contents, props changed) head/misc/libsweep-lidar/pkg-plist (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Wed Mar 14 07:54:36 2018 (r464467) +++ head/misc/Makefile Wed Mar 14 08:05:52 2018 (r464468) @@ -257,6 +257,7 @@ SUBDIR += libpredict SUBDIR += libpri SUBDIR += libsupertone + SUBDIR += libsweep-lidar SUBDIR += libutf SUBDIR += lifelines SUBDIR += lingoteach Added: head/misc/libsweep-lidar/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsweep-lidar/Makefile Wed Mar 14 08:05:52 2018 (r464468) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= libsweep-lidar +DISTVERSIONPREFIX= v +DISTVERSION= 1.3.0 +CATEGORIES= misc + +MAINTAINER= hyun@caffeinated.codes +COMMENT= Low-level Scanse Sweep LiDAR library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:outsource +USE_GITHUB= yes +GH_ACCOUNT= scanse +GH_PROJECT= sweep-sdk +CMAKE_SOURCE_PATH= ${WRKSRC}/libsweep +USE_LDCONFIG= yes + +OPTIONS_DEFINE= NO_DEVICE +NO_DEVICE_DESC= The library will generate dummy static point cloud +NO_DEVICE_CMAKE_BOOL= DUMMY + +.include Added: head/misc/libsweep-lidar/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsweep-lidar/distinfo Wed Mar 14 08:05:52 2018 (r464468) @@ -0,0 +1,3 @@ +TIMESTAMP = 1509816807 +SHA256 (scanse-sweep-sdk-v1.3.0_GH0.tar.gz) = 30b51a9f68ec64684648b54e0d704da7e38a5a0f42a6bc965f3e33f4e3a80af0 +SIZE (scanse-sweep-sdk-v1.3.0_GH0.tar.gz) = 101819 Added: head/misc/libsweep-lidar/files/patch-libsweep_man_sweep-ctl.1 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsweep-lidar/files/patch-libsweep_man_sweep-ctl.1 Wed Mar 14 08:05:52 2018 (r464468) @@ -0,0 +1,15 @@ +--- libsweep/man/sweep-ctl.1.orig 2017-11-04 17:36:19 UTC ++++ libsweep/man/sweep-ctl.1 +@@ -34,10 +34,10 @@ The device\[aq]s sample rate in Hz. + .IP + .nf + \f[C] +-$\ sweep\-ctl\ /dev/ttyUSB0\ get\ motor_speed ++$\ sweep\-ctl\ /dev/ttyU0\ get\ motor_speed + 3 + +-$\ sweep\-ctl\ /dev/ttyUSB0\ set\ motor_speed\ 5 ++$\ sweep\-ctl\ /dev/ttyU0\ set\ motor_speed\ 5 + 5 + \f[] + .fi Added: head/misc/libsweep-lidar/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsweep-lidar/pkg-descr Wed Mar 14 08:05:52 2018 (r464468) @@ -0,0 +1,6 @@ +This is a port of libsweep, part of Scanse Sweep LiDAR SDK. + +Sweep is a scanning hardware LiDAR sensor designed to bring +powerful 360 degree sensing capabilities to everyone. + +WWW: http://scanse.io/ Added: head/misc/libsweep-lidar/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsweep-lidar/pkg-plist Wed Mar 14 08:05:52 2018 (r464468) @@ -0,0 +1,9 @@ +bin/sweep-ctl +include/sweep/config.h +include/sweep/sweep.h +include/sweep/sweep.hpp +lib/cmake/sweep/SweepConfig.cmake +lib/libsweep.so +lib/libsweep.so.1 +lib/libsweep.so.1.3.0 +man/man1/sweep-ctl.1.gz