Index: head/cad/cura/Makefile =================================================================== --- head/cad/cura/Makefile (revision 543375) +++ head/cad/cura/Makefile (revision 543376) @@ -1,46 +1,46 @@ # $FreeBSD$ PORTNAME= Cura DISTVERSION= 4.5.0-82 DISTVERSIONSUFFIX= -g7c70ace -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= cad DIST_SUBDIR= Ultimaker MAINTAINER= db@FreeBSD.org COMMENT= Slicing application for 3D printers LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= Uranium>0:cad/uranium RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt5-gui>0:x11-toolkits/py-qt5-gui@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qt5-widgets>0:x11-toolkits/py-qt5-widgets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qt5-qml>0:lang/py-qt5-qml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Shapely>0:devel/py-shapely@${PY_FLAVOR} \ qt5-graphicaleffects>0:graphics/qt5-graphicaleffects \ qt5-quickcontrols>0:x11-toolkits/qt5-quickcontrols \ qt5-quickcontrols2>0:x11-toolkits/qt5-quickcontrols2 \ Uranium>0:cad/uranium \ libCharon>0:net/libcharon \ CuraEngine>0:cad/cura-engine \ fdm_materials>0:cad/fdm_materials \ ${PYTHON_PKGNAMEPREFIX}trimesh>0:devel/py-trimesh@${PY_FLAVOR} LIB_DEPENDS= libArcus.so:net/libarcus \ libSavitar.so:devel/libsavitar USES= cmake gettext shebangfix python:3.4+ desktop-file-utils shared-mime-info CMAKE_ARGS+= -DURANIUM_SCRIPTS_DIR:STRING="${LOCALBASE}/share/uranium/scripts" USE_GITHUB= yes GH_ACCOUNT= Ultimaker GH_TAGNAME= 7c70ace NO_ARCH= yes post-patch: ${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ ${WRKSRC}/cura_app.py .include Index: head/cad/cura/files/patch-plugins_USBPrinting_USBPrinterOutputDeviceManager.py =================================================================== --- head/cad/cura/files/patch-plugins_USBPrinting_USBPrinterOutputDeviceManager.py (nonexistent) +++ head/cad/cura/files/patch-plugins_USBPrinting_USBPrinterOutputDeviceManager.py (revision 543376) @@ -0,0 +1,14 @@ +We cannot really distinguish between USB and non-USB here, +as port[2] is 'n/a' on FreeBSD. + +--- plugins/USBPrinting/USBPrinterOutputDeviceManager.py.orig 2020-07-23 19:29:25 UTC ++++ plugins/USBPrinting/USBPrinterOutputDeviceManager.py +@@ -112,8 +112,6 @@ class USBPrinterOutputDeviceManager(QObject, OutputDev + for port in serial.tools.list_ports.comports(): + if not isinstance(port, tuple): + port = (port.device, port.description, port.hwid) +- if only_list_usb and not port[2].startswith("USB"): +- continue + + # To prevent cura from messing with serial ports of other devices, + # filter by regular expressions passed in as environment variables. Property changes on: head/cad/cura/files/patch-plugins_USBPrinting_USBPrinterOutputDeviceManager.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property