Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2018 08:05:53 +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: r464468 - in head/misc: . libsweep-lidar libsweep-lidar/files
Message-ID:  <201803140805.w2E85rs0082664@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <hyun@caffeinated.codes>
  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 <bsd.port.mk>

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



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