diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-14 10:30:51 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-08-14 10:30:51 +0800 |
commit | 77886c1bfa7671b6e74fc1db2d5c1eff91fa740f (patch) | |
tree | 5b63198d47807474ba0b0bf34cc7195488b92adb /comms/gmfsk | |
parent | f82a56e71b9d677624c133249dddaba7fe1b1e71 (diff) | |
download | marcuscom-ports-77886c1bfa7671b6e74fc1db2d5c1eff91fa740f.tar marcuscom-ports-77886c1bfa7671b6e74fc1db2d5c1eff91fa740f.tar.gz marcuscom-ports-77886c1bfa7671b6e74fc1db2d5c1eff91fa740f.tar.bz2 marcuscom-ports-77886c1bfa7671b6e74fc1db2d5c1eff91fa740f.tar.lz marcuscom-ports-77886c1bfa7671b6e74fc1db2d5c1eff91fa740f.tar.xz marcuscom-ports-77886c1bfa7671b6e74fc1db2d5c1eff91fa740f.tar.zst marcuscom-ports-77886c1bfa7671b6e74fc1db2d5c1eff91fa740f.zip |
-USE_X_PREFIX -> USE_XLIB.
-Use GCONF_SCHEMAS and INSTALLS_OMF.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7046 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'comms/gmfsk')
-rw-r--r-- | comms/gmfsk/Makefile | 48 | ||||
-rw-r--r-- | comms/gmfsk/distinfo | 3 | ||||
-rw-r--r-- | comms/gmfsk/files/patch-mt63_dsp.h | 21 | ||||
-rw-r--r-- | comms/gmfsk/pkg-descr | 13 | ||||
-rw-r--r-- | comms/gmfsk/pkg-message | 25 | ||||
-rw-r--r-- | comms/gmfsk/pkg-plist | 20 |
6 files changed, 130 insertions, 0 deletions
diff --git a/comms/gmfsk/Makefile b/comms/gmfsk/Makefile new file mode 100644 index 000000000..7a1dff216 --- /dev/null +++ b/comms/gmfsk/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: gmfsk +# Date created: 29th May 2003 +# Whom: Carl Makin <carl@stagecraft.cx> +# +# $FreeBSD$ +# + +PORTNAME= gmfsk +PORTVERSION= 0.6 +PORTREVISION= 4 +CATEGORIES= comms audio hamradio +MASTER_SITES= http://gmfsk.connect.fi/ + +MAINTAINER= carl@stagecraft.cx +COMMENT= The Gnome MFSK terminal program + +LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw + +GNU_CONFIGURE= yes +# This is pure evil but it looks like autoconf 2.53 has a bug in linking the +# preprocessor include tests. The following line is a work around. +CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \ + CPPFLAGS="-I${LOCALBASE}/include" +USE_GMAKE= yes +USE_GNOME= libgnomeui gnomehack gnomeprefix +USE_XLIB= yes +INSTALLS_OMF= yes + +GCONF_SCHEMAS= gmfsk.schemas + +OPTIONS= HAMLIB "Enable HAMLIB Support" On + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_HAMLIB) +LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib +CONFIGURE_ARGS+= --enable-hamlib +CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|[$$][(]localstatedir[)]/lib/scrollkeeper|${SCROLLKEEPER_DIR}|g' \ + ${WRKSRC}/omf.make ${WRKSRC}/help/gmfsk/C/Makefile.in + +post-install: + @${CAT} pkg-message + +.include <bsd.port.post.mk> diff --git a/comms/gmfsk/distinfo b/comms/gmfsk/distinfo new file mode 100644 index 000000000..722d956b1 --- /dev/null +++ b/comms/gmfsk/distinfo @@ -0,0 +1,3 @@ +MD5 (gmfsk-0.6.tar.gz) = 184840b31b85f6c4f86cdbe27f0644c8 +SHA256 (gmfsk-0.6.tar.gz) = 74a42f32b27684eaa145db3291176d7806a8e446aebd679c6ab384cee81d0c95 +SIZE (gmfsk-0.6.tar.gz) = 540765 diff --git a/comms/gmfsk/files/patch-mt63_dsp.h b/comms/gmfsk/files/patch-mt63_dsp.h new file mode 100644 index 000000000..2fed48b35 --- /dev/null +++ b/comms/gmfsk/files/patch-mt63_dsp.h @@ -0,0 +1,21 @@ +--- src/mt63/dsp.h.orig Sat Sep 25 10:52:22 2004 ++++ src/mt63/dsp.h Sat Sep 25 10:58:58 2004 +@@ -555,15 +555,15 @@ + inline void LowPass2(typeInp Inp, LowPass2elem &Elem, + typeW W1, typeW W2, typeW W5) + { double Sum, Diff; +- Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Out+=W5*Diff; } ++ Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Elem.Out+=W5*Diff; } + + template <class typeInp> + inline void LowPass2(typeInp Inp, LowPass2elem &Elem, LowPass2weight &Weight) + { double Sum, Diff; + Sum=Elem.Mid+Elem.Out; + Diff=Elem.Mid-Elem.Out; +- Elem.Mid+=Weight.W2*Inp-Weigth.W1*Sum; +- Out+=Weight.W5*Diff; } ++ Elem.Mid+=Weight.W2*Inp-Weight.W1*Sum; ++ Elem.Out+=Weight.W5*Diff; } + + /* + inline void LowPass2(float Inp, double &Mid, double &Out, diff --git a/comms/gmfsk/pkg-descr b/comms/gmfsk/pkg-descr new file mode 100644 index 000000000..31db8d114 --- /dev/null +++ b/comms/gmfsk/pkg-descr @@ -0,0 +1,13 @@ +gMFSK v0.5 - The Gnome MFSK terminal program +============================================ + +gMFSK is a multi-mode soundcard terminal program for HF amateur +communications. Originally the program was written for compatibility +with the IZ8BLY Stream program in MFSK16 mode. Currently the program +supports the following amateur digital communications modes: MFSK16, +MFSK8, RTTY, THROB, PSK31, PSK63, MT63 and FELDHELL. + +WWW: http://gmfsk.connect.fi/ + +- Carl +carl@stagecraft.cx diff --git a/comms/gmfsk/pkg-message b/comms/gmfsk/pkg-message new file mode 100644 index 000000000..fec5f3bc9 --- /dev/null +++ b/comms/gmfsk/pkg-message @@ -0,0 +1,25 @@ + +******************************************************************** +gMFSK by Tomi Manninen, OH2BNS, is now installed! + +Start it using the command "gmfsk". You may need to type "rehash" +first. + +Upon first starting it, go to Settings->Preferences and fill out +all your details. + +Under Settings->Preferences->Devices->Sound set your sound device to +/dev/dspW0 +This will use the 16bit sound device rather than /dev/dsp0 which is +the 8bit sound device. + +Then use the Gnome-volume-control or your favourite mixer program +to set your receive and transmit levels. DO NOT OVERDRIVE YOUR RIG. +I recommend you head over to +http://www.w5bbr.com/ +which has links to useful info. + +Enjoy! +Carl, VK1KCM +carl@stagecraft.cx +******************************************************************** diff --git a/comms/gmfsk/pkg-plist b/comms/gmfsk/pkg-plist new file mode 100644 index 000000000..4a171ebbe --- /dev/null +++ b/comms/gmfsk/pkg-plist @@ -0,0 +1,20 @@ +bin/gmfsk +share/gnome/help/gmfsk/C/fdl-appendix.xml +share/gnome/help/gmfsk/C/figures/gmfsk_start_window.png +share/gnome/help/gmfsk/C/figures/note.png +share/gnome/help/gmfsk/C/figures/tip.png +share/gnome/help/gmfsk/C/figures/warning.png +share/gnome/help/gmfsk/C/gmfsk.xml +share/gnome/help/gmfsk/C/legal.xml +share/gnome/omf/gmfsk/gmfsk-C.omf +share/gnome/pixmaps/gmfsk/gnome-screenshot.png +share/gnome/pixmaps/gmfsk/mfsk.png +share/gnome/pixmaps/gmfsk/pause.xpm +share/gnome/pixmaps/gmfsk/rx.xpm +share/gnome/pixmaps/gmfsk/tune.xpm +share/gnome/pixmaps/gmfsk/tx.xpm +@dirrm share/gnome/pixmaps/gmfsk +@dirrm share/gnome/omf/gmfsk +@dirrm share/gnome/help/gmfsk/C/figures +@dirrm share/gnome/help/gmfsk/C +@dirrm share/gnome/help/gmfsk |