From e6a8d2a61d7742941fcab5c3092fd9e9fa0307dc Mon Sep 17 00:00:00 2001 From: db Date: Wed, 5 Mar 2008 17:33:49 +0000 Subject: - Chase web site change. - Add backup download site. - Fix defaults. --- comms/qsstv/Makefile | 10 ++++++++-- comms/qsstv/files/patch-configdialog.cpp | 20 ++++++++++++++++++++ comms/qsstv/pkg-descr | 2 +- 3 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 comms/qsstv/files/patch-configdialog.cpp (limited to 'comms/qsstv') diff --git a/comms/qsstv/Makefile b/comms/qsstv/Makefile index bf918ff16129..a4ad6a176714 100644 --- a/comms/qsstv/Makefile +++ b/comms/qsstv/Makefile @@ -7,9 +7,11 @@ PORTNAME= qsstv PORTVERSION= 6.0a -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio -MASTER_SITES= http://users.telenet.be/on4qz/snapshots/download/ +MASTER_SITES= http://users.telenet.be/on4qz/snapshots/download/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= db EXTRACT_SUFX= .tgz MAINTAINER= db@FreeBSD.org @@ -26,6 +28,10 @@ MAKE_ARGS+= QTDIR=${QT_PREFIX} \ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \ DESTDIR="" TARGET="qsstv" DOCSDIR="${DOCSDIR}" +post-patch: + ${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' \ + ${WRKSRC}/configdialog.cpp + do-configure: cd ${WRKSRC}; \ ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro; \ diff --git a/comms/qsstv/files/patch-configdialog.cpp b/comms/qsstv/files/patch-configdialog.cpp new file mode 100644 index 000000000000..e61552ddcd2a --- /dev/null +++ b/comms/qsstv/files/patch-configdialog.cpp @@ -0,0 +1,20 @@ +--- configdialog.cpp.orig 2008-03-05 09:37:46.000000000 -0500 ++++ configdialog.cpp 2008-03-05 09:45:55.000000000 -0500 +@@ -104,7 +104,7 @@ + void configDialog::readSettings() + { + QSettings qSettings(QSettings::Ini); +- docPath =qSettings.readEntry(APP_KEY + "docPath",QString("/usr/share/doc/packages/qsstv/")); ++ docPath =qSettings.readEntry(APP_KEY + "docPath",QString("%%DOCSDIR%%")); + audioPath=qSettings.readEntry(APP_KEY + "audioPath",QString(getenv("HOME"))+"/"); + rxImagePath=qSettings.readEntry(APP_KEY + "rxImagePath",QString(getenv("HOME"))+"/"); + templatePath=qSettings.readEntry(APP_KEY + "templatePath",QString(getenv("HOME"))+"/"); +@@ -115,7 +115,7 @@ + rxClock=qSettings.readDoubleEntry(APP_KEY + "rxClock",11025); + txClock=qSettings.readDoubleEntry(APP_KEY + "txClock",11025); + audioDevice=qSettings.readEntry(APP_KEY + "audioDevice","/dev/dsp"); +- serialPort=qSettings.readEntry(APP_KEY + "serialPort","/dev/ttyS0"); ++ serialPort=qSettings.readEntry(APP_KEY + "serialPort","/dev/ttyd0"); + callsign=qSettings.readEntry(APP_KEY + "callsign","NOCALL"); + qth=qSettings.readEntry(APP_KEY + "qth","NOWHERE"); + lastname=qSettings.readEntry(APP_KEY + "lastname","NONAME"); diff --git a/comms/qsstv/pkg-descr b/comms/qsstv/pkg-descr index 431107573f7e..60671cd93eac 100644 --- a/comms/qsstv/pkg-descr +++ b/comms/qsstv/pkg-descr @@ -1,6 +1,6 @@ SSTV decode and Version 5 supports FAX reception -WWW: http://users.pandora.be/on1mh/ +WWW: http://users.telenet.be/on4qz/ - Diane db@db.net -- cgit