From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 16 18:50:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 981AF106566B for ; Thu, 16 Apr 2009 18:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7309E8FC19 for ; Thu, 16 Apr 2009 18:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GIo2HL047606 for ; Thu, 16 Apr 2009 18:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3GIo2vv047605; Thu, 16 Apr 2009 18:50:02 GMT (envelope-from gnats) Resent-Date: Thu, 16 Apr 2009 18:50:02 GMT Resent-Message-Id: <200904161850.n3GIo2vv047605@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Bacon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 066BF1065670 for ; Thu, 16 Apr 2009 18:49:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DEB3F8FC0C for ; Thu, 16 Apr 2009 18:49:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GInFxb071429 for ; Thu, 16 Apr 2009 18:49:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n3GInFIe071428; Thu, 16 Apr 2009 18:49:15 GMT (envelope-from nobody) Message-Id: <200904161849.n3GInFIe071428@www.freebsd.org> Date: Thu, 16 Apr 2009 18:49:15 GMT From: Jason Bacon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133788: New port: comms/cutecom-qt4 QT-based serial terminal X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 18:50:02 -0000 >Number: 133788 >Category: ports >Synopsis: New port: comms/cutecom-qt4 QT-based serial terminal >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 16 18:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: 7.1-RELEASE >Organization: Acadix Consulting, LLC >Environment: FreeBSD sculpin.jbacon.dyndns.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This is the newer version of cutecom, which requires QT4. The existing cutecom port is QT3 based, and no longer maintained. Cutecom is a simple, clean terminal emulator ideally suited for embedded programming/robotics. >How-To-Repeat: >Fix: See attached shar. Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # comms/cutecom-qt4 # comms/cutecom-qt4/files # comms/cutecom-qt4/files/patch-qcppdialogimpl.cpp # comms/cutecom-qt4/files/patch-qcppdialogimpl.h # comms/cutecom-qt4/files/patch-cutecommdlg.ui # comms/cutecom-qt4/Makefile # comms/cutecom-qt4/distinfo # comms/cutecom-qt4/pkg-descr # echo c - comms/cutecom-qt4 mkdir -p comms/cutecom-qt4 > /dev/null 2>&1 echo c - comms/cutecom-qt4/files mkdir -p comms/cutecom-qt4/files > /dev/null 2>&1 echo x - comms/cutecom-qt4/files/patch-qcppdialogimpl.cpp sed 's/^X//' >comms/cutecom-qt4/files/patch-qcppdialogimpl.cpp << 'd2146afc58cebf46f54cb61ee78879bd' X--- qcppdialogimpl.cpp.orig 2009-03-28 12:42:56.000000000 -0500 X+++ qcppdialogimpl.cpp 2009-03-28 12:44:32.000000000 -0500 X@@ -243,11 +243,10 @@ X bool entryFound=false; X QStringList devices=settings.readListEntry("/cutecom/AllDevices", &entryFound); X if (!entryFound) X- devices<<"/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3"; X+ devices<insertStringList(devices); X- X- m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", "/dev/ttyS0")); X+ m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", DEFAULT_DEV)); X X QStringList history=settings.readListEntry("/cutecom/History"); X X@@ -932,9 +931,9 @@ X case 460800: X _baud=B460800; X break; X- case 576000: X- _baud=B576000; X- break; X+// case 576000: X+// _baud=B576000; X+// break; X case 921600: X _baud=B921600; X break; d2146afc58cebf46f54cb61ee78879bd echo x - comms/cutecom-qt4/files/patch-qcppdialogimpl.h sed 's/^X//' >comms/cutecom-qt4/files/patch-qcppdialogimpl.h << 'e64e871defe38895e79ccba7854c8ce0' X--- qcppdialogimpl.h.orig 2008-03-12 16:09:50.000000000 -0500 X+++ qcppdialogimpl.h 2009-03-28 09:05:42.000000000 -0500 X@@ -103,4 +103,21 @@ X X }; X X+#if defined(__FreeBSD__) X+ X+#define DEVLIST "/dev/cuaU0"<<"/dev/cuaU1"<<"/dev/cuad0"<<"/dev/cuad1"; X+#define DEFAULT_DEV "/dev/cuaU0" X+ X+#elif defined(__APPLE__) X+ X+#define DEVLIST "/dev/cu.usbserial"<<"/dev/cu.KeySerial1"; X+#define DEFAULT_DEV "/dev/cu.usbserial" X+ X+#else // Default to Linux devices. X+ X+#define DEVLIST "/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3"; X+#define DEFAULT_DEV "/dev/ttyS0" X+ X+#endif X+ X #endif e64e871defe38895e79ccba7854c8ce0 echo x - comms/cutecom-qt4/files/patch-cutecommdlg.ui sed 's/^X//' >comms/cutecom-qt4/files/patch-cutecommdlg.ui << '28cf1d4bd04fdecf538e493d3b84806f' X--- cutecommdlg.ui.orig 2008-03-12 16:09:50.000000000 -0500 X+++ cutecommdlg.ui 2009-03-28 12:46:04.000000000 -0500 X@@ -220,11 +220,6 @@ X X X X- 576000 X- X- X- X- X 921600 X X 28cf1d4bd04fdecf538e493d3b84806f echo x - comms/cutecom-qt4/Makefile sed 's/^X//' >comms/cutecom-qt4/Makefile << '19bc780c61bcb45f74214ef9661511c4' X# New ports collection makefile for: cutecom-qt4 X# Date created: 2009-02-28 X# Whom: Jason Bacon X# X# $FreeBSD$ X XPORTNAME= cutecom XPORTVERSION= 0.20.0 XCATEGORIES= comms XMASTER_SITES= http://cutecom.sourceforge.net/ \ X http://personalpages.tds.net/~jwbacon/Ports/distfiles/ XPKGNAMESUFFIX= -qt4 X XMAINTAINER= jwbacon@tds.net XCOMMENT= Graphical serial terminal for embedded programming/robotics X XBUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake \ X cmake:${PORTSDIR}/devel/cmake XRUN_DEPENDS= lsz:${PORTSDIR}/comms/lrzsz X XUSE_QT_VER= 4 XUSE_GMAKE= yes X XMAKE_ENV+= QTDIR="${QT_PREFIX}" X XPLIST_FILES= bin/cutecom share/applications/cutecom.desktop X Xdo-configure: X cd ${WRKSRC} && cmake ${MAKE_ENV} . X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/cutecom ${PREFIX}/bin X ${MKDIR} ${PREFIX}/share/applications X ${INSTALL_DATA} ${WRKSRC}/cutecom.desktop ${PREFIX}/share/applications X X.include 19bc780c61bcb45f74214ef9661511c4 echo x - comms/cutecom-qt4/distinfo sed 's/^X//' >comms/cutecom-qt4/distinfo << '6a5554cc568f99806100b3c098aa87ba' XMD5 (cutecom-0.20.0.tar.gz) = a42394c3a29a2dc30edab721469f5eee XSHA256 (cutecom-0.20.0.tar.gz) = 44bf6c3a827b5d3b3a2b201010215faebde6af42dc16f5e0f877c858c6e19fe0 XSIZE (cutecom-0.20.0.tar.gz) = 22217 6a5554cc568f99806100b3c098aa87ba echo x - comms/cutecom-qt4/pkg-descr sed 's/^X//' >comms/cutecom-qt4/pkg-descr << 'b150d4a2eb9a33ef763d45074e76dc89' XCuteCom is a QT-based graphical serial terminal ideally suited to embedded Xprogramming and robotics. X XWWW: http://cutecom.sourceforge.net/ b150d4a2eb9a33ef763d45074e76dc89 exit >Release-Note: >Audit-Trail: >Unformatted: