From root@beacon.x12.dk  Sun May 29 21:11:00 2005
Return-Path: <root@beacon.x12.dk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3575916A474
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 May 2005 21:11:00 +0000 (GMT)
	(envelope-from root@beacon.x12.dk)
Received: from swip.net (mailfe08.swip.net [212.247.154.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 968EC43D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 May 2005 21:10:58 +0000 (GMT)
	(envelope-from root@beacon.x12.dk)
Received: from x12.dk ([83.72.97.237] verified)
  by mailfe08.swip.net (CommuniGate Pro SMTP 4.3c5)
  with ESMTP id 182523226 for FreeBSD-gnats-submit@freebsd.org; Sun, 29 May 2005 23:10:57 +0200
Received: from localhost (unknown [127.0.0.1])
	by x12.dk (Postfix) with ESMTP id 6052C20BB
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 May 2005 16:51:00 +0000 (GMT)
Received: from x12.dk ([127.0.0.1])
 by localhost (x12.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 39838-06 for <FreeBSD-gnats-submit@freebsd.org>;
 Sun, 29 May 2005 18:50:40 +0200 (CEST)
Received: from beacon.x12.dk (beacon.lan [10.40.61.30])
	by x12.dk (Postfix) with ESMTP
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 May 2005 18:50:40 +0200 (CEST)
Received: by beacon.x12.dk (Postfix, from userid 0)
	id 4A6654120; Sun, 29 May 2005 18:48:10 +0200 (CEST)
Message-Id: <20050529164810.4A6654120@beacon.x12.dk>
Date: Sun, 29 May 2005 18:48:10 +0200 (CEST)
From: Sren Straarup <xride@x12.dk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] comms/twpsk: A openmotif X psk31 client
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         81635
>Category:       ports
>Synopsis:       [NEW PORT] comms/twpsk: A openmotif X psk31 client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 29 21:20:01 GMT 2005
>Closed-Date:    Mon May 30 21:37:29 GMT 2005
>Last-Modified:  Mon May 30 21:37:29 GMT 2005
>Originator:     Sren Straarup
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD beacon.x12.dk 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Apr 22 09:43:56 CEST 2005
>Description:
======================================================================
PSK31 for Soundblaster/Linux,                             twpsk V 1.1
(C) 1998-2000

Hansi Reiser - DL9RDZ: base PSK classes and text mode interface
Ted Williams - WA0EIR: graphical X11 interface

based on PSK31-Software by Peter Martinez G3PLX and Andrew Senior G0TJZ
======================================================================

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

If you have suggestions, questions, problems, or have find any bugs,
please feel free to report them to me. 
If you want to have a introductory description of PSK31, you should
read the information provided in the MSDOS or Windows software
packages.

======================================================================

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- twpsk-2.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	twpsk
#	twpsk/files
#	twpsk/files/patch-twpsk.C
#	twpsk/files/patch-twpskDiags.C
#	twpsk/files/patch-server-main.C
#	twpsk/files/patch-Makefile
#	twpsk/files/patch-psk31-transmitter.C
#	twpsk/files/patch-GUI.h
#	twpsk/distinfo
#	twpsk/pkg-plist
#	twpsk/Makefile
#	twpsk/pkg-descr
#
echo c - twpsk
mkdir -p twpsk > /dev/null 2>&1
echo c - twpsk/files
mkdir -p twpsk/files > /dev/null 2>&1
echo x - twpsk/files/patch-twpsk.C
sed 's/^X//' >twpsk/files/patch-twpsk.C << 'END-of-twpsk/files/patch-twpsk.C'
X--- user-twpsk/twpsk.C.orig	Mon May  2 20:19:50 2005
X+++ user-twpsk/twpsk.C	Mon May  2 20:20:17 2005
X@@ -368,10 +368,12 @@
X       }  
X 
X       val = 0;  // no input sigs get to output
X+/*
X       if (ioctl(mixer_fd, MIXER_WRITE(SOUND_MIXER_OUTSRC), &val) < 0)
X       {
X          fprintf (stderr, "mixer outsrc failed\n");
X       }
X+*/
X       close (mixer_fd);
X    }
X    else
END-of-twpsk/files/patch-twpsk.C
echo x - twpsk/files/patch-twpskDiags.C
sed 's/^X//' >twpsk/files/patch-twpskDiags.C << 'END-of-twpsk/files/patch-twpskDiags.C'
X--- user-twpsk/twpskDiags.C.orig	Mon May  2 20:23:25 2005
X+++ user-twpsk/twpskDiags.C	Mon May  2 20:23:41 2005
X@@ -39,7 +39,7 @@
X    Widget shell = (Widget) widget;
X    XmString  msg_xs;
X    char msg_str[] =
X- "TWPSK \251 2000\n\nInterfaces by Ted Williams     - WA\330EIR
X+ "TWPSK \251 2000\n\nInterfaces by Ted Williams     - WA\330EIR \
X PSK classes by Hansi Reiser - DL9RDZ";
X 
X    if (diag == NULL)
END-of-twpsk/files/patch-twpskDiags.C
echo x - twpsk/files/patch-server-main.C
sed 's/^X//' >twpsk/files/patch-server-main.C << 'END-of-twpsk/files/patch-server-main.C'
X--- server/server-main.C.orig	Mon May  2 23:53:42 2005
X+++ server/server-main.C	Mon May  2 23:53:56 2005
X@@ -19,8 +19,6 @@
X  *   thread and from user interface thread (==interface functions)
X  */
X 
X-#include <sys/mman.h>
X-
X #include <stdio.h>
X #include <stdlib.h>
X #include <unistd.h>
END-of-twpsk/files/patch-server-main.C
echo x - twpsk/files/patch-Makefile
sed 's/^X//' >twpsk/files/patch-Makefile << 'END-of-twpsk/files/patch-Makefile'
X--- Makefile.orig	Thu Aug 15 23:19:20 2002
X+++ Makefile	Mon May  2 22:44:59 2005
X@@ -1,9 +1,10 @@
X # Path settings for 'make install'
X # cod-file will be searched in DATADIR  /* $(HOME) and current directory */
X # ini-file will be searched in DATADIR  /* $(HOME), current directory    */
X-BINDIR = /usr/local/bin
X-DATADIR = /usr/local/share/psk31
X-MANDIR = /usr/local/man/man1
X+PREFIX?=/usr/local
X+BINDIR = ${PREFIX}/bin
X+DATADIR = ${PREFIX}/share/psk31
X+MANDIR = ${PREFIX}/man/man1
X CC = g++ 
X LD = g++
X ###CXXFLAGS = -O2 -g
X@@ -23,7 +24,7 @@
X ## (Well, it compiles, but the executable does not work...)
X ##LIBS = -lncurses -lm
X #############################################################################
X-export CXXFLAGS
X+#export CXXFLAGS
X 
X OBJS = psk31-coder.o psk31-receiver.o psk31-transmitter.o psk31-main.o window.o
X # OBJS += hansis-fft.o
X@@ -78,13 +79,9 @@
X 	install psk31lx $(BINDIR)
X 	install psk31.ini psk31.cod $(DATADIR)
X 	install psk31.1 $(MANDIR)
X-
X-install_twpsk:
X-	install -d $(BINDIR)
X-	install -d $(DATADIR)
X 	install  psk31.ini psk31.cod user-twpsk/twpskHelp $(DATADIR)
X 	install  twpsk $(BINDIR)
X-	install  user-twpsk/Twpsk /usr/X11R6/lib/X11/app-defaults
X+	install  user-twpsk/Twpsk $(DATADIR)
X 
X clean:
X 	/bin/rm -f */*.o psk31lx twpsk core
END-of-twpsk/files/patch-Makefile
echo x - twpsk/files/patch-psk31-transmitter.C
sed 's/^X//' >twpsk/files/patch-psk31-transmitter.C << 'END-of-twpsk/files/patch-psk31-transmitter.C'
X--- modes/psk31-transmitter.C.orig	Mon May  2 17:46:47 2005
X+++ modes/psk31-transmitter.C	Mon May  2 17:46:59 2005
X@@ -11,7 +11,7 @@
X #include <errno.h>
X #include <stdio.h>
X #include <stdlib.h>
X-#include <linux/soundcard.h>
X+#include <sys/soundcard.h>
X #include <sys/ioctl.h>
X #include "psk31-coder.h"
X #include "psk31-transmitter.h"
END-of-twpsk/files/patch-psk31-transmitter.C
echo x - twpsk/files/patch-GUI.h
sed 's/^X//' >twpsk/files/patch-GUI.h << 'END-of-twpsk/files/patch-GUI.h'
X--- user-twpsk/GUI.h.orig	Mon May  2 17:47:53 2005
X+++ user-twpsk/GUI.h	Mon May  2 17:48:11 2005
X@@ -36,7 +36,7 @@
X #include <stdlib.h>
X #include <sys/ioctl.h>
X #include <fcntl.h>
X-#include <linux/soundcard.h>
X+#include <sys/soundcard.h>
X #include <X11/cursorfont.h>
X #include <Xm/Form.h>
X #include <Xm/CascadeB.h>
END-of-twpsk/files/patch-GUI.h
echo x - twpsk/distinfo
sed 's/^X//' >twpsk/distinfo << 'END-of-twpsk/distinfo'
XMD5 (twpsk-2.1.tar.gz) = 791dd96779aa263b307eaed29a8a8b65
XSIZE (twpsk-2.1.tar.gz) = 172566
END-of-twpsk/distinfo
echo x - twpsk/pkg-plist
sed 's/^X//' >twpsk/pkg-plist << 'END-of-twpsk/pkg-plist'
Xbin/psk31lx
Xbin/twpsk
Xshare/psk31/psk31.ini
Xshare/psk31/psk31.cod
Xshare/psk31/Twpsk
Xshare/psk31/twpskHelp
X@dirrm share/psk31
END-of-twpsk/pkg-plist
echo x - twpsk/Makefile
sed 's/^X//' >twpsk/Makefile << 'END-of-twpsk/Makefile'
X# New ports collection makefile for:    twpsk
X# Date created:         2005-05-27
X# Whom:                 Sren Straarup <xride@x12.dk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	twpsk
XPORTVERSION=	2.1
XCATEGORIES=	comms
XMASTER_SITES=	http://www.ibiblio.org/pub/linux/apps/ham/
X
XMAINTAINER=	xride@x12.dk
XCOMMENT=	A openmotif X psk31 client
X
XUSE_XPM=	yes
XUSE_MOTIF=	yes
X
XMAN1=		psk31.1
X
X.include <bsd.port.mk>
END-of-twpsk/Makefile
echo x - twpsk/pkg-descr
sed 's/^X//' >twpsk/pkg-descr << 'END-of-twpsk/pkg-descr'
X======================================================================
XPSK31 for Soundblaster/Linux,                             twpsk V 1.1
X(C) 1998-2000
X
XHansi Reiser - DL9RDZ: base PSK classes and text mode interface
XTed Williams - WA0EIR: graphical X11 interface
X
Xbased on PSK31-Software by Peter Martinez G3PLX and Andrew Senior G0TJZ
X======================================================================
X
XThis program is free software; you can redistribute it and/or modify
Xit under the terms of the GNU General Public License as published by
Xthe Free Software Foundation; either version 2 of the License, or
X(at your option) any later version.
X
XIf you have suggestions, questions, problems, or have find any bugs,
Xplease feel free to report them to me. 
XIf you want to have a introductory description of PSK31, you should
Xread the information provided in the MSDOS or Windows software
Xpackages.
X
X======================================================================
END-of-twpsk/pkg-descr
exit
--- twpsk-2.1.shar ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon May 30 21:37:18 GMT 2005 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81635 
>Unformatted:
