FreeBSD Bugzilla – Attachment 193743 Details for
Bug 228466
[NEW PORT] cad/k40-whisperer: GUI control software for the stock K40 laser cutter controller
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch adding a new cad/k40-whisperer port (0.19, revision: 2)
k40-whisperer_0.19_20180527__r2.diff (text/plain), 4.53 KB, created by
Mateusz Piotrowski
on 2018-05-27 00:59:41 UTC
(
hide
)
Description:
Patch adding a new cad/k40-whisperer port (0.19, revision: 2)
Filename:
MIME Type:
Creator:
Mateusz Piotrowski
Created:
2018-05-27 00:59:41 UTC
Size:
4.53 KB
patch
obsolete
>diff --git cad/Makefile cad/Makefile >index e56df5115311..fb71cd413015 100644 >--- cad/Makefile >+++ cad/Makefile >@@ -45,6 +45,7 @@ > SUBDIR += irsim > SUBDIR += iverilog > SUBDIR += jspice3 >+ SUBDIR += k40-whisperer > SUBDIR += kicad > SUBDIR += kicad-devel > SUBDIR += kicad-library >diff --git cad/k40-whisperer/Makefile cad/k40-whisperer/Makefile >new file mode 100644 >index 000000000000..fbdb3511be20 >--- /dev/null >+++ cad/k40-whisperer/Makefile >@@ -0,0 +1,69 @@ >+# $FreeBSD$ >+ >+PORTNAME= k40-whisperer >+DISTVERSION= 0.19 >+CATEGORIES= cad python >+MASTER_SITES= http://www.scorchworks.com/K40whisperer/ >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+DISTNAME= K40_Whisperer-${DISTVERSION}_src >+ >+MAINTAINER= 0mp@FreeBSD.org >+COMMENT= GUI control software for the stock K40 laser cutter controller >+ >+LICENSE= GPLv3+ >+LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}usb>0:devel/py-usb@${PY_FLAVOR} >+ >+USES= python:-2.7 zip >+ >+NO_BUILD= yes >+ >+WHISPERER_COMMAND= ${PORTNAME} >+SUB_FILES= pkg-message ${WHISPERER_COMMAND} >+SUB_LIST= PYTHON_CMD=${PYTHON_CMD} WHISPERER_COMMAND=${WHISPERER_COMMAND} >+ >+PLIST_FILES= bin/${WHISPERER_COMMAND} >+ >+PORTDATA= bezmisc.py \ >+ CC.png \ >+ cspsubdiv.py \ >+ cubicsuperpath.py \ >+ down.png \ >+ dxf.py \ >+ egv.py \ >+ emblem64 \ >+ ffgeom.py \ >+ g_code_library.py \ >+ inkex.py \ >+ interpolate.py \ >+ k40_whisperer.py \ >+ left.png \ >+ LL.png \ >+ LR.png \ >+ nano_library.py \ >+ right.png \ >+ simplepath.py \ >+ simplestyle.py \ >+ simpletransform.py \ >+ svg_reader.py \ >+ UL.png \ >+ up.png \ >+ UR.png >+ >+PORTDOCS= README_Linux.txt \ >+ README_MacOS.md >+ >+do-install: >+ ${INSTALL_SCRIPT} ${WRKDIR}/${WHISPERER_COMMAND} ${STAGEDIR}${PREFIX}/bin >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+.for f in ${PORTDATA} >+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR} >+.endfor >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README_Linux.txt ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/README_MacOS.md ${STAGEDIR}${DOCSDIR} >+ >+.include <bsd.port.mk> >diff --git cad/k40-whisperer/distinfo cad/k40-whisperer/distinfo >new file mode 100644 >index 000000000000..edda5c5923a7 >--- /dev/null >+++ cad/k40-whisperer/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1527085070 >+SHA256 (K40_Whisperer-0.19_src.zip) = c688cf1746aa391b6a9d4cfb3e66c2f183d1f45da88a2770e8ddefac44349193 >+SIZE (K40_Whisperer-0.19_src.zip) = 121328 >diff --git cad/k40-whisperer/files/k40-whisperer.in cad/k40-whisperer/files/k40-whisperer.in >new file mode 100644 >index 000000000000..dde305e83828 >--- /dev/null >+++ cad/k40-whisperer/files/k40-whisperer.in >@@ -0,0 +1,5 @@ >+#! /bin/sh - >+# >+# $FreeBSD$ >+ >+exec %%PYTHON_CMD%% %%DATADIR%%/k40_whisperer.py >diff --git cad/k40-whisperer/files/pkg-message.in cad/k40-whisperer/files/pkg-message.in >new file mode 100644 >index 000000000000..1ee228b5b98c >--- /dev/null >+++ cad/k40-whisperer/files/pkg-message.in >@@ -0,0 +1,5 @@ >+At the moment K40 Whisperer has to be run as root unless devd is properly >+configured. Some notes on how it is handled on macOS and Linux can be >+found in %%DATADIR%%. >+ >+K40 Whisperer can be launched with a `%%WHISPERER_COMMAND%%` command. >diff --git cad/k40-whisperer/pkg-descr cad/k40-whisperer/pkg-descr >new file mode 100644 >index 000000000000..cc88f5ecf784 >--- /dev/null >+++ cad/k40-whisperer/pkg-descr >@@ -0,0 +1,21 @@ >+K40 Whisperer is an alternative to the the Laser Draw (LaserDRW) program that >+comes with the some Chinese laser cutters. It reads SVG and DXF files, >+interprets the data and sends commands to the K40 controller to move the laser >+head and control the laser accordingly. K40 Whisperer does not require a USB >+key (dongle) to function. >+ >+Features: >+- Reads SVG files and DXF files >+- Splits input design based on color formating (red,blue) >+- In SVG files blue and red paths are interpreted as vectors for vector >+ engraving and cutting. Everything else is transfered as a raster image. >+- In DXF files blue paths are interpreted as vector engrave(blue). Everything >+ else is interpreted as vector cut(red). >+- Performs cuts on features inside of other features before cutting the outside >+ features. (If you cut the outside first the part might drop out of the stock >+ material) >+- Converts gray scale images to halftone images to simulating varying levels of >+ gray (i.e. engraving pictures). The Halftone option needs to be selected >+ under "Raster"-"Settings" to enable halftoning. >+ >+WWW: http://www.scorchworks.com/K40whisperer/k40whisperer.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228466
:
193662
|
193685
| 193743