Changeset 83987


Ignore:
Timestamp:
Sep 14, 2011, 8:39:20 AM (8 years ago)
Author:
ryandesign@…
Message:

cutecom-qt4-mac: update to 0.22.0, use cmake portgroup; see #30779 (maintainer timeout)

Location:
trunk/dports/comms/cutecom-qt4-mac
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/comms/cutecom-qt4-mac/Portfile

    r72592 r83987  
    33PortSystem          1.0
    44PortGroup           qt4 1.0
     5PortGroup           cmake 1.0
    56
    67name                cutecom-qt4-mac
    7 version             0.20.0
    8 revision            2
     8version             0.22.0
    99categories          comms
    1010maintainers         jwbacon@tds.net
     
    2020
    2121platforms           darwin
    22 depends_build-append port:cmake
    2322
    24 patchfiles          patch-qcppdialogimpl.cpp \
    25                     patch-qcppdialogimpl.h \
    26                     patch-cutecommdlg.ui
     23patchfiles          patch-CMakeLists.txt.diff \
     24                    patch-qcppdialogimpl.cpp \
     25                    patch-qcppdialogimpl.h
    2726
    28 checksums           md5     a42394c3a29a2dc30edab721469f5eee \
    29                     sha1    36d430ab25e7f53128c27f39f67a0fe9a2dd18af \
    30                     rmd160  e8e3caf133ac19b320f66a898069f4c0698ad0a0
     27checksums           rmd160  32111bcf756b7972e5428f96e2b4352083794c39 \
     28                    sha256  1b6620a6159cf3d50bb36cce544e91486817df7f1d553bf239d6db6108dd2ea5
    3129
    32 configure {
    33         system "cd ${worksrcpath} && cmake ${qt_cmake_defines} ."
     30post-destroot {
     31    move ${destroot}${prefix}/bin/CuteCom.app ${destroot}${applications_dir}
    3432}
    35 
    36 destroot    {
    37         xinstall ${worksrcpath}/cutecom ${destroot}${prefix}/bin
    38         xinstall -d ${destroot}${prefix}/share/applnk/Utilities
    39         xinstall ${worksrcpath}/cutecom.desktop ${destroot}${prefix}/share/applnk/Utilities
    40 }
    41 
  • trunk/dports/comms/cutecom-qt4-mac/files/patch-qcppdialogimpl.cpp

    r54864 r83987  
    1 --- qcppdialogimpl.cpp.orig     2008-03-12 16:09:50.000000000 -0500
    2 +++ qcppdialogimpl.cpp  2009-03-28 10:13:13.000000000 -0500
    3 @@ -243,11 +243,10 @@
    4     bool entryFound=false;
    5     QStringList devices=settings.readListEntry("/cutecom/AllDevices", &entryFound);
     1--- qcppdialogimpl.cpp.orig     2009-06-25 15:10:49.000000000 -0500
     2+++ qcppdialogimpl.cpp  2011-09-13 23:58:27.000000000 -0500
     3@@ -351,12 +351,12 @@
     4    QStringList devices=settings.value("/cutecom/AllDevices").toStringList();
    65    if (!entryFound)
     6    {
    77-      devices<<"/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3";
    88+      devices<<DEVLIST;
     9    }
    910 
    10     m_deviceCb->insertStringList(devices);
    11 -
    12 -   m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", "/dev/ttyS0"));
    13 +   m_deviceCb->setCurrentText(settings.readEntry("/cutecom/CurrentDevice", DEFAULT_DEV));
     11    m_deviceCb->insertItems(0, devices);
    1412 
    15     QStringList history=settings.readListEntry("/cutecom/History");
    16  
    17 @@ -929,15 +928,15 @@
    18     case 230400:
    19        _baud=B230400;
    20        break;
    21 -   case 460800:
    22 -      _baud=B460800;
    23 -      break;
    24 -   case 576000:
    25 -      _baud=B576000;
    26 -      break;
    27 -   case 921600:
    28 -      _baud=B921600;
    29 -      break;
    30 +//   case 460800:
    31 +//      _baud=B460800;
    32 +//      break;
    33 +//   case 576000:
    34 +//      _baud=B576000;
    35 +//      break;
    36 +//   case 921600:
    37 +//      _baud=B921600;
    38 +//      break;
    39  //   case 128000:
    40  //      _baud=B128000;
    41  //      break;
     13-   int indexOfCurrentDevice = devices.indexOf(settings.value("/cutecom/CurrentDevice", "/dev/ttyS0").toString());
     14+   int indexOfCurrentDevice = devices.indexOf(settings.value("/cutecom/CurrentDevice", DEFAULT_DEV).toString());
     15    // fprintf(stderr, "currentDEev: -%s - index: %d\n", settings.value("/cutecom/CurrentDevice", "/dev/ttyS0").toString().toLatin1().constData(), indexOfCurrentDevice);
     16    if (indexOfCurrentDevice!=-1)
     17    {
  • trunk/dports/comms/cutecom-qt4-mac/files/patch-qcppdialogimpl.h

    r54864 r83987  
    1 --- qcppdialogimpl.h.orig       2008-03-12 16:09:50.000000000 -0500
    2 +++ qcppdialogimpl.h    2009-03-28 09:05:42.000000000 -0500
    3 @@ -103,4 +103,21 @@
     1--- qcppdialogimpl.h.orig       2009-06-23 15:35:06.000000000 -0500
     2+++ qcppdialogimpl.h    2011-09-14 03:18:04.000000000 -0500
     3@@ -105,4 +105,21 @@
    44 
    55 };
Note: See TracChangeset for help on using the changeset viewer.