Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143389812
D14691.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D14691.diff
View Options
Index: head/misc/Makefile
===================================================================
--- head/misc/Makefile
+++ head/misc/Makefile
@@ -257,6 +257,7 @@
SUBDIR += libpredict
SUBDIR += libpri
SUBDIR += libsupertone
+ SUBDIR += libsweep-lidar
SUBDIR += libutf
SUBDIR += lifelines
SUBDIR += lingoteach
Index: head/misc/libsweep-lidar/Makefile
===================================================================
--- head/misc/libsweep-lidar/Makefile
+++ head/misc/libsweep-lidar/Makefile
@@ -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>
Index: head/misc/libsweep-lidar/distinfo
===================================================================
--- head/misc/libsweep-lidar/distinfo
+++ head/misc/libsweep-lidar/distinfo
@@ -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
Index: head/misc/libsweep-lidar/files/patch-libsweep_man_sweep-ctl.1
===================================================================
--- head/misc/libsweep-lidar/files/patch-libsweep_man_sweep-ctl.1
+++ head/misc/libsweep-lidar/files/patch-libsweep_man_sweep-ctl.1
@@ -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
Index: head/misc/libsweep-lidar/pkg-descr
===================================================================
--- head/misc/libsweep-lidar/pkg-descr
+++ head/misc/libsweep-lidar/pkg-descr
@@ -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/
Index: head/misc/libsweep-lidar/pkg-plist
===================================================================
--- head/misc/libsweep-lidar/pkg-plist
+++ head/misc/libsweep-lidar/pkg-plist
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 30, 7:54 PM (14 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28103878
Default Alt Text
D14691.diff (2 KB)
Attached To
Mode
D14691: new port: comms/libsweep
Attached
Detach File
Event Timeline
Log In to Comment