This is a small PSK31 program that uses gtk and soundcard as modem.

PR:		ports/81637
Submitted by:	S?ren Straarup <xride@x12.dk>
This commit is contained in:
Pav Lucistnik 2005-05-30 21:50:00 +00:00
parent e7c8e4d664
commit 945d6d3670
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136470
8 changed files with 81 additions and 0 deletions

View file

@ -30,6 +30,7 @@
SUBDIR += gmfsk
SUBDIR += gnokii
SUBDIR += gpredict
SUBDIR += gpsk31
SUBDIR += grig
SUBDIR += gscmxx
SUBDIR += gsmlib

19
comms/gpsk31/Makefile Normal file
View file

@ -0,0 +1,19 @@
# New ports collection makefile for: gpsk31
# Date created: 2005-05-27
# Whom: Søren Straarup <xride@x12.dk>
#
# $FreeBSD$
PORTNAME= gpsk31
PORTVERSION= 0.2.4a
CATEGORIES= comms
MASTER_SITES= http://ftp.iasi.roedu.net/mirrors/ftp.1409.org/gpsk31/
MAINTAINER= xride@x12.dk
COMMENT= A gtk psk31 client
USE_GNOME= gtk12
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
.include <bsd.port.mk>

2
comms/gpsk31/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (gpsk31-0.2.4a.tar.gz) = da91b3a9e81d2f3c4c5ec40d3057ca35
SIZE (gpsk31-0.2.4a.tar.gz) = 112009

View file

@ -0,0 +1,10 @@
--- src/call_dialog.C.orig Sun May 8 14:07:32 2005
+++ src/call_dialog.C Sun May 8 14:08:01 2005
@@ -27,6 +27,7 @@
#include <gtk/gtk.h>
#include <ctype.h>
+#include <string.h>
#include "main_screen.h"
#include "call_dialog.h"
#include "menu.h"

View file

@ -0,0 +1,33 @@
--- src/main.C.orig Sun May 8 14:01:27 2005
+++ src/main.C Sun May 8 14:01:43 2005
@@ -29,7 +29,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <fcntl.h>
--- src/psk31-transmitter.C.orig Sun May 8 14:02:00 2005
+++ src/psk31-transmitter.C Sun May 8 14:02:14 2005
@@ -11,7 +11,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
#include <sys/ioctl.h>
#include "psk31-coder.h"
#include "psk31-transmitter.h"
--- src/spectrum.C.orig Sun May 8 14:02:28 2005
+++ src/spectrum.C Sun May 8 14:03:01 2005
@@ -30,7 +30,7 @@
#include <stdlib.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
#include <gtk/gtk.h>
#include <stdio.h>

View file

@ -0,0 +1,10 @@
--- src/server-main.C.orig Sun May 8 13:28:03 2005
+++ src/server-main.C Sun May 8 13:28:18 2005
@@ -19,6 +19,7 @@
* thread and from user interface thread (==interface functions)
*/
+#include <sys/types.h>
#include <sys/mman.h>
#include "config.h"
#include <stdio.h>

2
comms/gpsk31/pkg-descr Normal file
View file

@ -0,0 +1,2 @@
This is a small PSK31 program that uses gtk and soundcard as modem.

4
comms/gpsk31/pkg-plist Normal file
View file

@ -0,0 +1,4 @@
bin/gpsk31
share/gpsk31/gpsk31.conf
share/gpsk31/psk31.cod
@dirrm share/gpsk31