summaryrefslogtreecommitdiff
path: root/comms/cutecom
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2018-06-24 13:18:08 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2018-06-24 13:18:08 +0000
commitff9585cb97fd63fd205b90942dd5a9a0fef641df (patch)
tree28fc9c1a388d704f2d9b4fd8612d02971567db37 /comms/cutecom
parentnet/mpd5: really add the patch file after r473194 (diff)
comms/cutecom: Upgrade to 0.45.0
PR: 229094 Submitted by: yuri Approved by: jrm (mentor) Differential Revision: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229094
Diffstat (limited to 'comms/cutecom')
-rw-r--r--comms/cutecom/Makefile20
-rw-r--r--comms/cutecom/distinfo5
-rw-r--r--comms/cutecom/files/patch-CMakeLists.txt14
-rw-r--r--comms/cutecom/files/patch-cutecommdlg.ui14
-rw-r--r--comms/cutecom/files/patch-qcppdialogimpl.cpp29
-rw-r--r--comms/cutecom/files/patch-qcppdialogimpl.h24
-rw-r--r--comms/cutecom/pkg-descr6
-rw-r--r--comms/cutecom/pkg-plist3
8 files changed, 20 insertions, 95 deletions
diff --git a/comms/cutecom/Makefile b/comms/cutecom/Makefile
index 517cca1e6580..899ef64df81e 100644
--- a/comms/cutecom/Makefile
+++ b/comms/cutecom/Makefile
@@ -1,18 +1,24 @@
# Created by: Markus Brueffer <markus@FreeBSD.org>
# $FreeBSD$
-PORTNAME= cutecom
-PORTVERSION= 0.20.0
-PORTREVISION= 2
-CATEGORIES= comms
-MASTER_SITES= http://cutecom.sourceforge.net/
+PORTNAME= cutecom
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.45.0
+CATEGORIES= comms
MAINTAINER= jwb@FreeBSD.org
-COMMENT= Graphical serial terminal
+COMMENT= Graphical serial terminal for embedded programming
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= lsz:comms/lrzsz
-USE_QT4= qt3support qmake_build moc_build rcc_build uic_build
USES= cmake
+USE_QT5= buildtools_build core gui qmake_build serialport widgets
+USE_GITHUB= yes
+GH_ACCOUNT= neundorf
+
+PLIST_FILES= bin/cutecom
.include <bsd.port.mk>
diff --git a/comms/cutecom/distinfo b/comms/cutecom/distinfo
index 1cd38ca05444..c8cb190d26d4 100644
--- a/comms/cutecom/distinfo
+++ b/comms/cutecom/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cutecom-0.20.0.tar.gz) = 44bf6c3a827b5d3b3a2b201010215faebde6af42dc16f5e0f877c858c6e19fe0
-SIZE (cutecom-0.20.0.tar.gz) = 22217
+TIMESTAMP = 1529676780
+SHA256 (neundorf-CuteCom-v0.45.0_GH0.tar.gz) = 30cc6a800231684446ef5ebea78092462b2662d06238c146d0b9e24b86685cea
+SIZE (neundorf-CuteCom-v0.45.0_GH0.tar.gz) = 1152960
diff --git a/comms/cutecom/files/patch-CMakeLists.txt b/comms/cutecom/files/patch-CMakeLists.txt
deleted file mode 100644
index 318b8a27a275..000000000000
--- a/comms/cutecom/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
---- ./CMakeLists.txt.orig 2008-03-13 00:09:49.000000000 +0300
-+++ ./CMakeLists.txt 2009-04-25 21:48:15.000000000 +0400
-@@ -19,10 +19,4 @@
-
- install(FILES cutecom.1 DESTINATION man/man1 )
-
--find_program(KDECONFIG_EXECUTABLE NAMES kde-config )
--
--if (KDECONFIG_EXECUTABLE)
-- # then ask kde-config for the kde data dirs
-- exec_program(${KDECONFIG_EXECUTABLE} ARGS --install apps --expandvars OUTPUT_VARIABLE _apps_DIR )
-- install(FILES cutecom.desktop DESTINATION ${_apps_DIR}/Utilities)
--endif (KDECONFIG_EXECUTABLE)
-+install(FILES cutecom.desktop DESTINATION share/applications)
diff --git a/comms/cutecom/files/patch-cutecommdlg.ui b/comms/cutecom/files/patch-cutecommdlg.ui
deleted file mode 100644
index 5171d4eac0aa..000000000000
--- a/comms/cutecom/files/patch-cutecommdlg.ui
+++ /dev/null
@@ -1,14 +0,0 @@
---- cutecommdlg.ui.orig 2008-03-12 16:09:50.000000000 -0500
-+++ cutecommdlg.ui 2009-03-28 12:46:04.000000000 -0500
-@@ -220,11 +220,6 @@
- </item>
- <item>
- <property name="text" >
-- <string>576000</string>
-- </property>
-- </item>
-- <item>
-- <property name="text" >
- <string>921600</string>
- </property>
- </item>
diff --git a/comms/cutecom/files/patch-qcppdialogimpl.cpp b/comms/cutecom/files/patch-qcppdialogimpl.cpp
deleted file mode 100644
index 1f501b0e0341..000000000000
--- a/comms/cutecom/files/patch-qcppdialogimpl.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- qcppdialogimpl.cpp.orig 2009-03-28 12:42:56.000000000 -0500
-+++ qcppdialogimpl.cpp 2009-03-28 12:44:32.000000000 -0500
-@@ -243,11 +243,10 @@
- bool entryFound=false;
- QStringList devices=settings.readListEntry("/cutecom/AllDevices", &entryFound);
- if (!entryFound)
-- devices<<"/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3";
-+ devices<<DEVLIST;
-
- m_deviceCb->insertStringList(devices);
--
-- m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", "/dev/ttyS0"));
-+ m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", DEFAULT_DEV));
-
- QStringList history=settings.readListEntry("/cutecom/History");
-
-@@ -932,9 +931,9 @@
- case 460800:
- _baud=B460800;
- break;
-- case 576000:
-- _baud=B576000;
-- break;
-+// case 576000:
-+// _baud=B576000;
-+// break;
- case 921600:
- _baud=B921600;
- break;
diff --git a/comms/cutecom/files/patch-qcppdialogimpl.h b/comms/cutecom/files/patch-qcppdialogimpl.h
deleted file mode 100644
index 3629f490a098..000000000000
--- a/comms/cutecom/files/patch-qcppdialogimpl.h
+++ /dev/null
@@ -1,24 +0,0 @@
---- qcppdialogimpl.h.orig 2008-03-12 16:09:50.000000000 -0500
-+++ qcppdialogimpl.h 2009-03-28 09:05:42.000000000 -0500
-@@ -103,4 +103,21 @@
-
- };
-
-+#if defined(__FreeBSD__)
-+
-+#define DEVLIST "/dev/cuaU0"<<"/dev/cuaU1"<<"/dev/cuad0"<<"/dev/cuad1";
-+#define DEFAULT_DEV "/dev/cuaU0"
-+
-+#elif defined(__APPLE__)
-+
-+#define DEVLIST "/dev/cu.usbserial"<<"/dev/cu.KeySerial1";
-+#define DEFAULT_DEV "/dev/cu.usbserial"
-+
-+#else // Default to Linux devices.
-+
-+#define DEVLIST "/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3";
-+#define DEFAULT_DEV "/dev/ttyS0"
-+
-+#endif
-+
- #endif
diff --git a/comms/cutecom/pkg-descr b/comms/cutecom/pkg-descr
index 2c9ce9ed449f..e55315942624 100644
--- a/comms/cutecom/pkg-descr
+++ b/comms/cutecom/pkg-descr
@@ -1,4 +1,6 @@
CuteCom is a QT-based graphical serial terminal ideally suited to embedded
-programming and robotics.
+programming and robotics. It features line-oriented interface instead of
+character-oriented, xmodem, ymodem, zmodem support (requires the lrzsz package)
+and hexadecimal input and output among other things.
-WWW: http://cutecom.sourceforge.net/
+WWW: https://github.com/neundorf/CuteCom
diff --git a/comms/cutecom/pkg-plist b/comms/cutecom/pkg-plist
deleted file mode 100644
index 84895d065b0b..000000000000
--- a/comms/cutecom/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/cutecom
-man/man1/cutecom.1.gz
-share/applications/cutecom.desktop