diff options
author | wiz <wiz@pkgsrc.org> | 2017-09-26 10:26:54 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-09-26 10:26:54 +0000 |
commit | ae5685dfc979dd70b9f69468783b7431741f7989 (patch) | |
tree | cee945eb76dff1c09675480edc4417fe2da69fe7 /ham/linpsk | |
parent | 7843a1f099ae31d8c53173372461e920c9206eff (diff) | |
download | pkgsrc-ae5685dfc979dd70b9f69468783b7431741f7989.tar.gz |
*: remove qt3 and the packages using it, including KDE3
Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html
Diffstat (limited to 'ham/linpsk')
-rw-r--r-- | ham/linpsk/DESCR | 11 | ||||
-rw-r--r-- | ham/linpsk/Makefile | 33 | ||||
-rw-r--r-- | ham/linpsk/PLIST | 4 | ||||
-rw-r--r-- | ham/linpsk/distinfo | 18 | ||||
-rw-r--r-- | ham/linpsk/files/pkgsrc_fixes.h | 25 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-aa | 31 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-ab | 13 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-ac | 36 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-ad | 30 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-af | 50 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-ag | 47 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-ai | 27 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-src_csound.cpp | 22 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-src_csound.h | 17 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-src_portaudio_pa__unix__oss.c | 15 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-src_textinput.cpp | 13 | ||||
-rw-r--r-- | ham/linpsk/patches/patch-src_waveinput.cpp | 13 |
17 files changed, 0 insertions, 405 deletions
diff --git a/ham/linpsk/DESCR b/ham/linpsk/DESCR deleted file mode 100644 index ab2ee733cc7..00000000000 --- a/ham/linpsk/DESCR +++ /dev/null @@ -1,11 +0,0 @@ -LinPSK is a PSK31 program based on WinPSK 1.0 - -Main features are: - - * support for BPSK, QPSK, MFSK16 and RTTY - * simultaneuos decoding of up to four channels. - * mixed digital signal reception - * trigger channels on receiving a predefined ASCII string patterns - * log each channel to a file - * support for user defined macros - * scalable display of signal as frequency spectrum or waterfall diff --git a/ham/linpsk/Makefile b/ham/linpsk/Makefile deleted file mode 100644 index 7ad58644f9f..00000000000 --- a/ham/linpsk/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# $NetBSD: Makefile,v 1.35 2016/07/09 06:38:23 wiz Exp $ -# - -DISTNAME= linpsk-0.8.1 -PKGREVISION= 20 -CATEGORIES= ham -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=linpsk/} - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://linpsk.sourceforge.net/ -COMMENT= PSK31 terminal program using QT3 - -BUILD_DEPENDS+= qt3-tools-3.*:../../x11/qt3-tools - -USE_LIBTOOL= yes -USE_TOOLS+= gmake perl -GNU_CONFIGURE= yes -USE_LANGUAGES= c c++ - -.include "../../mk/bsd.prefs.mk" - -LDFLAGS+= ${LIBOSSAUDIO} -lqt-mt ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} - -CONFIGURE_ARGS+="--with-fftw-dir=${LOCALBASE}" - -post-configure: - ${LN} -s ${FILESDIR}/pkgsrc_fixes.h ${BUILDLINK_DIR}/include/ - -.include "../../mk/oss.buildlink3.mk" -.include "../../x11/qt3-libs/buildlink3.mk" -.include "../../math/fftw/buildlink3.mk" -.include "../../mk/pthread.buildlink3.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/ham/linpsk/PLIST b/ham/linpsk/PLIST deleted file mode 100644 index 01955c97df5..00000000000 --- a/ham/linpsk/PLIST +++ /dev/null @@ -1,4 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2006/06/08 22:24:28 rillig Exp $ -bin/linpsk -lib/libinterfaces.a -lib/libportaudio.a diff --git a/ham/linpsk/distinfo b/ham/linpsk/distinfo deleted file mode 100644 index 99bbc04e858..00000000000 --- a/ham/linpsk/distinfo +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: distinfo,v 1.12 2016/12/25 21:45:09 joerg Exp $ - -SHA1 (linpsk-0.8.1.tar.gz) = d55d8c793ecd3a4395603ebdd8e795f1dc4d20f9 -RMD160 (linpsk-0.8.1.tar.gz) = 975bbdfc0b63e516f1d5fdfe6baf10fa12899219 -SHA512 (linpsk-0.8.1.tar.gz) = c2488b08d47b46225d38f9f1a2558b0deaa261c939f633fcdbd4c6cdf3e8b1ce63aa5a53cd55437636887347097504b9d371a087b67d096b660fcb388f9ed69b -Size (linpsk-0.8.1.tar.gz) = 435463 bytes -SHA1 (patch-aa) = ac3c504022d495c619056ad0e5fd7b8e9ff6f71c -SHA1 (patch-ab) = 0cc21222e30d9122657e5c373b19af15c39eb883 -SHA1 (patch-ac) = 2cc23f7f42af6df2d3af0ba68713be013361efab -SHA1 (patch-ad) = d9a62afada11b17730e4457e73fef7e21b8bee62 -SHA1 (patch-af) = 42d771ce553c28161d9b3150ccf27cf307c46a54 -SHA1 (patch-ag) = 490d53c18ec1cb3961e7d49ec8f551c386bcec6a -SHA1 (patch-ai) = 89f07e76e87929fff4d16ca23725168c4e4ce215 -SHA1 (patch-src_csound.cpp) = 83051275a23627adc242b46661c2d4f844558eee -SHA1 (patch-src_csound.h) = 7d7d367ee152afc8bbf7cd3e8bf3179f1d911dcc -SHA1 (patch-src_portaudio_pa__unix__oss.c) = eb3303ed554921d98c869c457172f7f346a7b850 -SHA1 (patch-src_textinput.cpp) = e9a3881bad34d56da61881d23a7ee2b6cc52f6bb -SHA1 (patch-src_waveinput.cpp) = 0cd36c07772448dd203108796a0c605df2b251a5 diff --git a/ham/linpsk/files/pkgsrc_fixes.h b/ham/linpsk/files/pkgsrc_fixes.h deleted file mode 100644 index 3901ccc2da3..00000000000 --- a/ham/linpsk/files/pkgsrc_fixes.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef LINPSK_PKGSRC_FIXES_H -#define LINPSK_PKGSRC_FIXES_H - -#ifdef __NetBSD__ -# include <sys/param.h> -#endif -#if !(defined(__NetBSD__) && __NetBSD_Version__ < 200000000) -# define HAVE_STRUCT_SCHED_PARAM -#endif - -#if !(defined(__GNUC__) && (__GNUC__ < 3)) -# define HAVE_STD_VECTOR_AT -#endif - -#ifdef __cplusplus -template <class T> typename T::reference at_replacement(T &c, const typename T::size_type &i) { -# ifdef HAVE_STD_VECTOR_AT - return c.at(i); -# else - return c[i]; -# endif -} -#endif - -#endif diff --git a/ham/linpsk/patches/patch-aa b/ham/linpsk/patches/patch-aa deleted file mode 100644 index adfb4c42234..00000000000 --- a/ham/linpsk/patches/patch-aa +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-aa,v 1.5 2014/09/25 12:29:35 jperkin Exp $ - ---- configure.orig 2005-03-17 20:00:57.000000000 +0000 -+++ configure -@@ -4015,7 +4015,7 @@ echo "${ECHO_T}$QTDIR" >&6 - # Figure out which version of Qt we are using - echo "$as_me:$LINENO: checking Qt version" >&5 - echo $ECHO_N "checking Qt version... $ECHO_C" >&6 --QT_VER=`grep 'define.*QT_VERSION_STR\W' $QTDIR/include/qglobal.h | perl -p -e 's/\D//g'` -+QT_VER=`egrep 'define.*QT_VERSION_STR[ ]' $QTDIR/include/qglobal.h | perl -p -e 's/\D//g'` - case "${QT_VER}" in - 2*) - QT_MAJOR="2" -@@ -4270,7 +4270,7 @@ fi - QT_LDADD="-L$QTDIR/lib $QT_LIB" - if test x"$QT_IS_MT" = "xyes" ; then - QT_CXXFLAGS="$QT_CXXFLAGS -D_REENTRANT -DQT_THREAD_SUPPORT" -- QT_LDADD="${QT_LDADD} -lpthread" -+ QT_LDADD="${QT_LDADD} ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" - echo "$as_me:$LINENO: checking QT_LDADD" >&5 - echo $ECHO_N "checking QT_LDADD... $ECHO_C" >&6 - echo "$as_me:$LINENO: result: $QT_LDADD" >&5 -@@ -7327,7 +7327,7 @@ echo "${ECHO_T}no" >&6 - exit 1 - fi - gentoo_lt_version="1.5.10" --gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'` -+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` - if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then - echo "$as_me:$LINENO: result: no" >&5 - echo "${ECHO_T}no" >&6 diff --git a/ham/linpsk/patches/patch-ab b/ham/linpsk/patches/patch-ab deleted file mode 100644 index 6a87bf086d8..00000000000 --- a/ham/linpsk/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2005/08/15 14:03:53 wulf Exp $ - ---- src/cpskdemodulator.cpp.orig 2005-03-13 21:42:44.000000000 +1030 -+++ src/cpskdemodulator.cpp 2005-08-15 05:35:35.000000000 +0930 -@@ -551,7 +551,7 @@ - { - Phase_Vector=m_BitSignal*conj(Prev_Sample); - Prev_Sample = m_BitSignal; -- Phase[j++]=Phase_Vector; -+ Phase[j++]=complex<float>(Phase_Vector); - double angle = atan2(Phase_Vector.imag(),Phase_Vector.real()); - DecodeSymbol( angle); - if ( (unsigned int) m_DevAve > Threshold) diff --git a/ham/linpsk/patches/patch-ac b/ham/linpsk/patches/patch-ac deleted file mode 100644 index fa919690d21..00000000000 --- a/ham/linpsk/patches/patch-ac +++ /dev/null @@ -1,36 +0,0 @@ -$NetBSD: patch-ac,v 1.3 2016/12/25 21:45:09 joerg Exp $ - ---- src/crxdisplay.cpp.orig 2005-03-11 17:19:18.000000000 +0000 -+++ src/crxdisplay.cpp -@@ -27,7 +27,7 @@ - #include <qstyle.h> - #include <qpalette.h> - -- -+#include <pkgsrc_fixes.h> - - #include "crecording.h" - #include "crxchannel.h" -@@ -64,11 +64,11 @@ void MyTabBar::paintLabel ( QPainter *p, - flags |= QStyle::Style_HasFocus; - - QColorGroup Cg=colorGroup(); -- if (Farbe > 0) -+ if (Farbe) - { - int position=t->identifier(); - if ( position >= 0 && position < Farbe->size() ) -- Cg.setColor(QColorGroup::Foreground, Farbe->at(position)); -+ Cg.setColor(QColorGroup::Foreground, at_replacement(*Farbe, position)); - } - style().drawControl( QStyle::CE_TabBarLabel, p, this, br, - Cg, -@@ -236,7 +236,7 @@ if ( Sound == 0 ) - Sound = new CSound(settings.serial); - - } --if ( Sound <= 0 ) -+if ( Sound == 0 ) - return false; - m_pDec2InPtr=dec2fir; - diff --git a/ham/linpsk/patches/patch-ad b/ham/linpsk/patches/patch-ad deleted file mode 100644 index d0aeb211a72..00000000000 --- a/ham/linpsk/patches/patch-ad +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-ad,v 1.2 2005/08/15 14:03:53 wulf Exp $ - ---- src/macros.cpp.orig 2005-08-15 06:57:24.000000000 +0930 -+++ src/macros.cpp 2005-08-15 07:10:05.000000000 +0930 -@@ -13,7 +13,7 @@ - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ -- -+#include "pkgsrc_fixes.h" - #include "macros.h" - #include "parameter.h" - #include "ctxbuffer.h" -@@ -220,13 +220,13 @@ - } - void Macros::setDefinition(QString s,int position) - { --MacroText.at(position)=s; -+at_replacement(MacroText, position)=s; - } - void Macros::setAccelerator(QString s,int position) - { --Accelerator.at(position)=s; -+at_replacement(Accelerator,position)=s; - } - void Macros::setMacroName(QString s,int MacroNumber) - { --MacroNames.at(MacroNumber)=s; -+at_replacement(MacroNames,MacroNumber)=s; - } diff --git a/ham/linpsk/patches/patch-af b/ham/linpsk/patches/patch-af deleted file mode 100644 index be9174ac840..00000000000 --- a/ham/linpsk/patches/patch-af +++ /dev/null @@ -1,50 +0,0 @@ -$NetBSD: patch-af,v 1.4 2016/12/25 21:45:09 joerg Exp $ - ---- src/linpsk.cpp.orig 2005-03-11 17:21:20.000000000 +0000 -+++ src/linpsk.cpp -@@ -44,6 +44,8 @@ - - #include <vector> - -+#include <pkgsrc_fixes.h> -+ - #include "controlpanel.h" - #include "crxdisplay.h" - #include "ctxdisplay.h" -@@ -416,7 +418,7 @@ if ( Channel->exec() != 0) - rxmode, - Channel->TitleText->text()); - -- settings.ActChannel->setWindowColor(WindowColors.at(settings.RxChannels)); -+ settings.ActChannel->setWindowColor(at_replacement(WindowColors,settings.RxChannels)); - settings.RxChannels++; - RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties()); - } -@@ -505,7 +507,7 @@ if ( Modulator != 0 ) - } - else - { -- if (Sound > 0) -+ if (Sound) - Sound->PTT(false); - if (RxDisplay->start_process_loop()) - { -@@ -602,7 +604,7 @@ if (settings.DemoMode) - else - Sound = new CSound(settings.serial); - --if ( Sound <= 0 ) -+if ( Sound == 0 ) - { - QMessageBox::critical(0," Programm Error! LinPsk","Could not create Sound Device for Output"); - TxDisplay->TxFunctions->RXTX->setStatus(ON); -@@ -781,7 +783,8 @@ if (Param != 0) - RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties()); - RxDisplay->RxFreq->setAfcMode(settings.ActChannel->getAfcMode()); - Control->Display->setPhasePointer(settings.ActChannel->getPhasePointer()); -- settings.ActChannel->setParameter(Extra,&Menu.getParameter()); -+ ExtraParameter p(Menu.getParameter()); -+ settings.ActChannel->setParameter(Extra,&p); - } - if (settings.ActChannel != 0 ) - switch(settings.ActChannel->getModulationType() ) diff --git a/ham/linpsk/patches/patch-ag b/ham/linpsk/patches/patch-ag deleted file mode 100644 index 76361e94c15..00000000000 --- a/ham/linpsk/patches/patch-ag +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-ag,v 1.2 2006/04/09 16:08:06 rillig Exp $ - -NetBSD-1.6.2 does not have struct sched_param. - ---- src/portaudio/pa_unix.c.orig Sun Jul 11 18:03:57 2004 -+++ src/portaudio/pa_unix.c Wed Mar 16 02:58:17 2005 -@@ -87,6 +87,8 @@ O- what if input and output of a device - */
-
-
-+#include <pkgsrc_fixes.h> -+ - #include "pa_unix.h"
-
- typedef void *(*pthread_function_t)(void *);
-@@ -411,6 +413,7 @@ static int PaHost_CanaryProc( PaHostSoun -
- static PaError PaHost_WatchDogProc( PaHostSoundControl *pahsc )
- {
-+#ifdef HAVE_STRUCT_SCHED_PARAM - struct sched_param schp = { 0 };
- int maxPri;
-
-@@ -495,6 +498,7 @@ cleanup: - #ifdef GNUSTEP
- GSUnregisterCurrentThread(); /* SB20010904 */
- #endif
-+#endif - return 0;
- }
-
-@@ -574,6 +578,7 @@ static PaError PaHost_BoostPriority( int - {
- PaHostSoundControl *pahsc;
- PaError result = paNoError;
-+#ifdef HAVE_STRUCT_SCHED_PARAM - struct sched_param schp = { 0 };
-
- pahsc = (PaHostSoundControl *) past->past_DeviceData;
-@@ -597,6 +602,7 @@ static PaError PaHost_BoostPriority( int - /* We are running at high priority so we should have a watchdog in case audio goes wild. */
- result = PaHost_StartWatchDog( pahsc );
- }
-+#endif -
- return result;
- }
diff --git a/ham/linpsk/patches/patch-ai b/ham/linpsk/patches/patch-ai deleted file mode 100644 index fb7d50304ee..00000000000 --- a/ham/linpsk/patches/patch-ai +++ /dev/null @@ -1,27 +0,0 @@ -$NetBSD: patch-ai,v 1.3 2016/12/25 21:45:09 joerg Exp $ - ---- src/spectrumdisplay.cpp.orig 2005-03-13 10:02:03.000000000 +0000 -+++ src/spectrumdisplay.cpp -@@ -21,6 +21,8 @@ - #include <qpainter.h> - #include <qsplitter.h> - -+#include <pkgsrc_fixes.h> -+ - #include "spectrumdisplay.h" - #include "crxchannel.h" - #include "parameter.h" -@@ -174,11 +176,11 @@ p.setBrush(white); - - for (CRxChannel *pRx=settings.ChannelChain;pRx != 0;pRx= pRx->getNextChannel()) - { -- if ( Farbe > 0) -+ if ( Farbe ) - { - int ID = pRx->getID(); - if ( ID >= 0 && ID < Farbe->size() ) -- p.setPen(Farbe->at(ID)); -+ p.setPen(at_replacement(*Farbe, ID)); - } - // Calculate Centerfrequency Coordinates - z=(( (int) pRx->getRxFrequency()-minfreq)*xmax)/(maxfreq-minfreq); diff --git a/ham/linpsk/patches/patch-src_csound.cpp b/ham/linpsk/patches/patch-src_csound.cpp deleted file mode 100644 index be71a255644..00000000000 --- a/ham/linpsk/patches/patch-src_csound.cpp +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-src_csound.cpp,v 1.2 2016/12/25 21:45:09 joerg Exp $ - ---- src/csound.cpp.orig 2005-02-20 10:05:46.000000000 +0000 -+++ src/csound.cpp -@@ -81,7 +81,7 @@ return 0; - - } - --CSound::CSound(int ptt = -1):Input(ptt) -+CSound::CSound(int ptt):Input(ptt) - { - stream=0; - audio_buffer.maxbuf=3*BUF_SIZE; // We take 3 buffers -@@ -92,7 +92,7 @@ output=false; - } - CSound::~CSound() - { --if ( audio_buffer.audiobuffer >0) -+if ( audio_buffer.audiobuffer ) - delete audio_buffer.audiobuffer; - } - diff --git a/ham/linpsk/patches/patch-src_csound.h b/ham/linpsk/patches/patch-src_csound.h deleted file mode 100644 index 900608775a1..00000000000 --- a/ham/linpsk/patches/patch-src_csound.h +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-src_csound.h,v 1.1 2014/09/25 12:29:35 jperkin Exp $ - -SunOS needs sys/termios.h - ---- src/csound.h.orig 2005-02-04 15:28:23.000000000 +0000 -+++ src/csound.h -@@ -17,6 +17,10 @@ - #ifndef CSOUND_H - #define CSOUND_H - -+#ifdef __sun -+#include <sys/termios.h> -+#endif -+ - #include <sys/ioctl.h> - #include <unistd.h> - #include <fcntl.h> diff --git a/ham/linpsk/patches/patch-src_portaudio_pa__unix__oss.c b/ham/linpsk/patches/patch-src_portaudio_pa__unix__oss.c deleted file mode 100644 index 6b13e9944ba..00000000000 --- a/ham/linpsk/patches/patch-src_portaudio_pa__unix__oss.c +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-src_portaudio_pa__unix__oss.c,v 1.1 2014/09/25 12:29:35 jperkin Exp $ - -SunOS needs sys/soundcard.h - ---- src/portaudio/pa_unix_oss.c.orig 2005-02-12 10:40:06.000000000 +0000 -+++ src/portaudio/pa_unix_oss.c -@@ -43,6 +43,8 @@ -
- #ifdef __linux__
- #include <linux/soundcard.h>
-+#elif defined(__sun)
-+#include <sys/soundcard.h>
- #else
- #include <machine/soundcard.h> /* JH20010905 */
- #endif
diff --git a/ham/linpsk/patches/patch-src_textinput.cpp b/ham/linpsk/patches/patch-src_textinput.cpp deleted file mode 100644 index 69e3dcd4679..00000000000 --- a/ham/linpsk/patches/patch-src_textinput.cpp +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-src_textinput.cpp,v 1.1 2013/03/02 18:06:22 joerg Exp $ - ---- src/textinput.cpp.orig 2013-02-28 22:14:28.000000000 +0000 -+++ src/textinput.cpp -@@ -22,7 +22,7 @@ - extern Parameter settings; - extern int errno; - --TextInput::TextInput(int ptt = -1):Input(ptt) -+TextInput::TextInput(int ptt):Input(ptt) - { - } - TextInput::~TextInput() diff --git a/ham/linpsk/patches/patch-src_waveinput.cpp b/ham/linpsk/patches/patch-src_waveinput.cpp deleted file mode 100644 index 7724bcbd746..00000000000 --- a/ham/linpsk/patches/patch-src_waveinput.cpp +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-src_waveinput.cpp,v 1.1 2013/03/02 18:06:22 joerg Exp $ - ---- src/waveinput.cpp.orig 2013-02-28 22:14:51.000000000 +0000 -+++ src/waveinput.cpp -@@ -19,7 +19,7 @@ - - extern Parameter settings; - --WaveInput::WaveInput(int ptt = -1): Input(ptt) -+WaveInput::WaveInput(int ptt): Input(ptt) - { - EightBits=false; - } |