summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorwulf <wulf@pkgsrc.org>2008-10-23 08:07:09 +0000
committerwulf <wulf@pkgsrc.org>2008-10-23 08:07:09 +0000
commit07d7154233ececb2b8a51c5d25855ebb6af71a12 (patch)
tree24f1c0d0626ec847cdffe1824e930ece89d365d2 /ham
parent9545b717a063ba2beea9a9fc9e749dfed598918a (diff)
downloadpkgsrc-07d7154233ececb2b8a51c5d25855ebb6af71a12.tar.gz
Initial import of fldigi-3.03: A digital radio modem
Diffstat (limited to 'ham')
-rw-r--r--ham/fldigi/DESCR13
-rw-r--r--ham/fldigi/Makefile25
-rw-r--r--ham/fldigi/PLIST6
-rw-r--r--ham/fldigi/distinfo7
-rw-r--r--ham/fldigi/patches/patch-aa18
-rw-r--r--ham/fldigi/patches/patch-ab15
6 files changed, 84 insertions, 0 deletions
diff --git a/ham/fldigi/DESCR b/ham/fldigi/DESCR
new file mode 100644
index 00000000000..6abf1b92cf8
--- /dev/null
+++ b/ham/fldigi/DESCR
@@ -0,0 +1,13 @@
+A digital radio modem program with support for the following modes:
+
+ * CW
+ * DominoEX
+ * Feld-Hell
+ * MFSK-4, MFSK-8, MFSK-16, MFSK-22, MFSK-31, MFSK-32, MFSK-64
+ * PSK-31, QPSK-31, PSK-63, QPSK-63, PSK-125, QPSK-125, PSK-250, QPSK-250
+ * Olivia various tones and bandwidths
+ * RTTY various baudrates, shifts and bandwidths
+ * Thor-4, Thor-5, Thor-8, Thor-11, Thor-16, Thor-22
+ * Throb-1, Throb-2, Throb-4, ThrobX-1, ThrobX-2, ThrobX-4
+ * WWV, receive only
+ * Freq. Analysis, receive only
diff --git a/ham/fldigi/Makefile b/ham/fldigi/Makefile
new file mode 100644
index 00000000000..d7d1fe1e675
--- /dev/null
+++ b/ham/fldigi/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $
+#
+
+DISTNAME= fldigi-3.03
+CATEGORIES= ham
+MASTER_SITES= http://www.w1hkj.com/fldigi-distro/
+
+MAINTAINER= wulf@NetBSD.org
+HOMEPAGE= http://www.w1hkj.com/Fldigi.html
+COMMENT= Digital radio modem
+
+USE_DIRS+= xdg-1.1
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c c++
+GNU_CONFIGURE= yes
+
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/portaudio-devel/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../ham/hamlib/buildlink3.mk"
+.include "../../x11/fltk/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ham/fldigi/PLIST b/ham/fldigi/PLIST
new file mode 100644
index 00000000000..8dadcd8a869
--- /dev/null
+++ b/ham/fldigi/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $
+bin/fldigi
+share/applications/fldigi.desktop
+share/pixmaps/fldigi.xpm
+@comment in xdg-dirs: @dirrm share/pixmaps
+@comment in xdg-dirs: @dirrm share/applications
diff --git a/ham/fldigi/distinfo b/ham/fldigi/distinfo
new file mode 100644
index 00000000000..84c838cb2c8
--- /dev/null
+++ b/ham/fldigi/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $
+
+SHA1 (fldigi-3.03.tar.gz) = fcdc0f34fe62b6857c5e02bb8e7a8ecbe6e7050c
+RMD160 (fldigi-3.03.tar.gz) = 30fa50eee0b00c2a332f8c48999e0183df88f60a
+Size (fldigi-3.03.tar.gz) = 711226 bytes
+SHA1 (patch-aa) = 122d936e7f8bda5466dc252ffe17f501c0f341e8
+SHA1 (patch-ab) = cfca39f1e32e8cd4e15d994a2af4dd5a72e87ab9
diff --git a/ham/fldigi/patches/patch-aa b/ham/fldigi/patches/patch-aa
new file mode 100644
index 00000000000..196bad0a53d
--- /dev/null
+++ b/ham/fldigi/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $
+
+--- src/soundcard/sound.cxx.orig 2008-04-10 22:29:17.000000000 +0930
++++ src/soundcard/sound.cxx 2008-04-10 22:31:43.000000000 +0930
+@@ -467,9 +467,11 @@
+
+ bool SoundOSS::wait_till_finished()
+ {
+- if (ioctl(device_fd, SNDCTL_DSP_POST, 1) == -1 )
++ int arg = 1;
++ if (ioctl(device_fd, SNDCTL_DSP_POST, &arg) == -1 )
+ return false;
+- if (ioctl(device_fd, SNDCTL_DSP_SYNC, 0) == -1)
++ arg = 0;
++ if (ioctl(device_fd, SNDCTL_DSP_SYNC, &arg) == -1)
+ return false; /* format (or ioctl()) not supported by device */
+ return true; /* all sound has been played */
+ }
diff --git a/ham/fldigi/patches/patch-ab b/ham/fldigi/patches/patch-ab
new file mode 100644
index 00000000000..7a317986e19
--- /dev/null
+++ b/ham/fldigi/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/10/23 08:07:09 wulf Exp $
+
+--- src/widgets/picture.cxx.orig 2008-10-23 15:59:18.000000000 +1030
++++ src/widgets/picture.cxx 2008-10-23 15:54:17.000000000 +1030
+@@ -31,8 +31,10 @@
+ #include <FL/fl_ask.H>
+
+ #if USE_LIBJPEG
++extern "C" {
+ # include <cstdio>
+ # include <jpeglib.h>
++}
+ #endif
+ #if USE_LIBPNG
+ # include <png.h>