--- wsjt-5.9.7.r383.orig/debian/control +++ wsjt-5.9.7.r383/debian/control @@ -0,0 +1,19 @@ +Source: wsjt +Section: hamradio +Priority: optional +Maintainer: Debian Hams group +Uploaders: Hamish Moffatt +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 4), gfortran, autoconf, dpatch, python-numpy, libsamplerate0-dev, python-dev, portaudio19-dev (>= 19+svn20111121-1~), sharutils, python-support, dpkg-dev (>= 1.16.0), + +Package: wsjt +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-imaging, python-imaging-tk, python-tk, python-numpy, xterm | x-terminal-emulator +Description: weak-signal amateur radio communications + WSJT is designed to facilitate Amateur Radio communication under extreme + weak-signal conditions. Three very different coding and modulation + methods are provided: one for communication by "meteor scatter" + techniques on the VHF bands; one for meteor and ionospheric scatter, + primarily on the 6 meter band; and one for the very challenging + EME (Earth-Moon-Earth) path. + --- wsjt-5.9.7.r383.orig/debian/copyright +++ wsjt-5.9.7.r383/debian/copyright @@ -0,0 +1,44 @@ + +This Debian package was created by Hamish Moffatt on +September 2, 2006. + +The current Debian maintainer is Hamish Moffatt + +It was downloaded from: http://developer.berlios.de/projects/wsjt/ +The .orig.tar.gz was repacked with non-free binary files removed +(KVASD, KVASD.EXE). + +WSJT is Copyright (c) 2001-2006 by Joseph H. Taylor, Jr., K1JT, +with contributions from additional authors. It is Open Source +software, licensed under the GNU General Public License (GPL). + +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. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License with +the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; +if not, write to the Free Software Foundation, Inc., 51 Franklin St, +Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. + + +The Reed-Solomon encoder, consisting of rs.h, char.h, int.h, init_rs.c, +encode_rs.c and decode_rs,c, is copyright 2002, Phil Karn, KA9Q, +also licensed under the terms of the GNU General Public License (GPL). + +ptt_unix.c is Copyright (C) 2002 -2005 Joop Stakenborg +and many authors, also licensed under the terms of the GNU General Public +License (GPL). + +samplerate.h is Copyright (C) 2002-2004 Erik de Castro Lopo +, also licensed under the terms of the GNU General +Public License (GPL). + --- wsjt-5.9.7.r383.orig/debian/wsjt.desktop +++ wsjt-5.9.7.r383/debian/wsjt.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=WSJT +Encoding=UTF-8 +Comment=Amateur radio weak signal communications +Exec=wsjt +TryExec=wsjt +Terminal=true +Type=Application +Categories=Application;HamRadio; +Icon=wsjt.png --- wsjt-5.9.7.r383.orig/debian/compat +++ wsjt-5.9.7.r383/debian/compat @@ -0,0 +1 @@ +4 --- wsjt-5.9.7.r383.orig/debian/mini-wsjt.xpm +++ wsjt-5.9.7.r383/debian/mini-wsjt.xpm @@ -0,0 +1,26 @@ +/* XPM */ +static char *wsjt-1[] = { +/* columns rows colors chars-per-pixel */ +"16 16 4 1", +" c black", +". c blue", +"X c green", +"o c None", +/* pixels */ +"ooooo ooooo", +"ooo XX..X. ooo", +"oo XXXX.X...X oo", +"o XXXXXXXX..XX o", +"o .XXXXXXX...X o", +" ..XXXXXX....XX ", +" ..XXXXXXX...XX ", +" ...XX...X....X ", +" ....XX........ ", +" .....XXX...... ", +" ......XXXXX... ", +"o .....XXXXX.. o", +"o ......XXX... o", +"oo ......XX.. oo", +"ooo ....X. ooo", +"ooooo ooooo" +}; --- wsjt-5.9.7.r383.orig/debian/wsjt.png.uue +++ wsjt-5.9.7.r383/debian/wsjt.png.uue @@ -0,0 +1,12 @@ +begin 644 wsjt.png +MB5!.1PT*&@H````-24A$4@```"`````@"`8```!S>GKT````!F)+1T0`_P#_ +M`/^@O:>3````"7!(67,```!(````2`!&R6L^```!%DE$0518P\572Q;#(`@$ +M7^]_9;IHVA)$/J*&51+#,(Z`B@!`\*"]\BX77T(`U+AC"@U#"L@_M,"$RIA/ +MIKF!O>"$AAKD3F],8&5F&%@MZ_"3FE#_GB31YT!EYCAPYN0$3Z$`C4%6F8!O +M42FF=)ID@)3(7!%CMZE8^1C"U +M#0<4P,P26(VFH%C+.JPFX2O`:]=KMQ-DX^F'?+S +MN-U&$[NT#)*PJ$3BQF14P= 1.16.0 + + Closes: #652192 + + -- gregor herrmann Fri, 06 Jan 2012 17:17:09 +0100 + +wsjt (5.9.7.r383-1.5) unstable; urgency=low + + * Non-maintainer upload. + * debian/{control, rules} + - added python-support, to correctly handle python extensions; thanks to + Jakub Wilk for the report and patch; Closes: #586814 + + -- Sandro Tosi Thu, 08 Jul 2010 08:34:09 +0200 + +wsjt (5.9.7.r383-1.4) unstable; urgency=low + + * Retiring - remove myself from the uploaders list. + + -- Joop Stakenborg Wed, 18 Nov 2009 20:23:21 +0000 + +wsjt (5.9.7.r383-1.3) unstable; urgency=low + + * Non-maintainer upload. + * Depends on python-numpy instead of python-numeric. + Closes: #478465, #483193. + * Add myself to the uploaders field. + * Menu transition. + * Bump standards version. + * Lintian fixes. + + -- Joop Stakenborg Thu, 29 May 2008 14:04:16 +0200 + +wsjt (5.9.7.r383-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * debian/rules: + + Unexport LDFLAGS to prevent the package failing to + build. (Closes: #475978) + + -- Kumar Appaiah Mon, 14 Apr 2008 10:08:04 +0000 + +wsjt (5.9.7.r383-1.1) unstable; urgency=low + + * Non-maintainer upload. + * transition to gfortran, closes: 469658 + - Thanks Kumar Appaiah + + -- Riku Voipio Sun, 09 Mar 2008 17:41:10 +0200 + +wsjt (5.9.7.r383-1) unstable; urgency=low + + * New upstream release + + -- Hamish Moffatt Sat, 05 May 2007 01:12:51 +1000 + +wsjt (5.9.6.r309-1) unstable; urgency=low + + * New upstream release + + -- Hamish Moffatt Sat, 23 Sep 2006 12:08:44 +1000 + +wsjt (5.9.5.r269-2) unstable; urgency=low + + * Modify ptt_unix.c not to require , attempting to fix FTBFS + on most platforms + + -- Hamish Moffatt Sun, 10 Sep 2006 10:01:39 +1000 + +wsjt (5.9.5.r269-1) unstable; urgency=low + + * Upstream Subversion revision 269 (version 5.9.5.r269) + * First official upload of WSJT for Debian + + -- Hamish Moffatt Sat, 2 Sep 2006 23:50:35 +1000 + +wsjt (5.9.7.r383-1.3) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: + + Unexport LDFLAGS to prevent the package failing to + build. (Closes: #475978) + + -- Kumar Appaiah Wed, 16 Apr 2008 22:35:58 +0530 +wsjt (5.9.7.r383-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * debian/rules: + + Unexport LDFLAGS to prevent the package failing to + build. (Closes: #475978) + + -- Kumar Appaiah Wed, 16 Apr 2008 22:36:19 +0530 +wsjt (5.9.7.r383-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * debian/rules: + + Unexport LDFLAGS to prevent the package failing to + build. (Closes: #475978) + + -- Kumar Appaiah Wed, 16 Apr 2008 22:36:29 +0530 --- wsjt-5.9.7.r383.orig/debian/wsjt.menu +++ wsjt-5.9.7.r383/debian/wsjt.menu @@ -0,0 +1,6 @@ +?package(wsjt):needs="X11" section="Applications/Amateur Radio" \ + title="WSJT" longtitle="WSJT" \ + description="Weak signal amateur radio communications" \ + command="/usr/bin/x-terminal-emulator -title \"WSJT Console\" -e /usr/bin/wsjt" \ + icon16x16="/usr/share/pixmaps/mini-wsjt.xpm" \ + icon32x32="/usr/share/pixmaps/wsjt.xpm" --- wsjt-5.9.7.r383.orig/debian/wsjt.dirs +++ wsjt-5.9.7.r383/debian/wsjt.dirs @@ -0,0 +1,6 @@ +usr/share/doc/wsjt/examples +usr/lib/wsjt +usr/share/wsjt +usr/share/pixmaps +usr/share/applications +usr/bin --- wsjt-5.9.7.r383.orig/debian/wsjt-wrapper +++ wsjt-5.9.7.r383/debian/wsjt-wrapper @@ -0,0 +1,33 @@ +#!/bin/sh +set -e + +# WSJT expects to write configuration files in the current directory, +# which also needs to contain CALL3.TXT and TSKY.DAT before starting. +# If those don't currently exist, create them first. + +RUNDIR=$HOME/.wsjt + +if [ ! -d $RUNDIR ]; then + mkdir $RUNDIR +fi + +if [ ! -f $RUNDIR/CALL3.TXT ]; then + zcat /usr/share/wsjt/CALL3.TXT.gz > $RUNDIR/CALL3.TXT +fi +if [ ! -f $RUNDIR/TSKY.DAT ]; then + zcat /usr/share/wsjt/TSKY.DAT.gz > $RUNDIR/TSKY.DAT +fi +if [ ! -f $RUNDIR/wsjtrc ]; then + cp /usr/share/wsjt/wsjtrc $RUNDIR +fi +if [ ! -d $RUNDIR/RxWav ]; then + mkdir $RUNDIR/RxWav + ln -s /usr/share/doc/wsjt/examples $RUNDIR/RxWav/Samples +fi + +# WSJT needs to now run from $HOME/.wsjt with PYTHONPATH updated +# to find the shared library + +cd $RUNDIR +env PYTHONPATH=/usr/lib/wsjt python /usr/share/wsjt/wsjt.py + --- wsjt-5.9.7.r383.orig/debian/wsjt.xpm +++ wsjt-5.9.7.r383/debian/wsjt.xpm @@ -0,0 +1,41 @@ +/* XPM */ +static char *wsjt-0[] = { +/* columns rows colors chars-per-pixel */ +"32 32 3 1", +" c black", +". c blue", +"X c green", +/* pixels */ +" ", +" ..X..... ", +" XXXX.....XX... ", +" XXXXX....XX.X....X ", +" XXXXXX....XX.X....XX ", +" XXXXXXXX.X.XXXX....XXX ", +" XXXXXXXXXXXXXXX......XXX ", +" ..XXXXXXXXXXXXXX......XXXX ", +" ..XXXXXXXXXXXXXX.......X.. ", +" ...XXXXXXXXXXXXX...........X ", +" ...XXXXXXXXXXXXX..........XX ", +" ...XXXXXXX.XXXXX.........XXX ", +" .....XXXXXX.XX.XX.........XXXX ", +" ......XXX.......XX........XXXX ", +" ......XXXX.......X.........XXX ", +" .......XXX..................XX ", +" .........XX..................X ", +" ...........XXX...............X ", +" ...........XXX................ ", +" .............XX.XXX........... ", +" ............XXXXXXXXXX...... ", +" ............XXXXXXXXXXX..... ", +" ............XXXXXXXXXXX..... ", +" ...........XXXXXXXXXXX.... ", +" .............XXXXXXX...... ", +" ............XXXXXXX..... ", +" .............XXXX..... ", +" ............XXX..... ", +" ...........XXX.... ", +" ..........XX.. ", +" ........ ", +" " +}; --- wsjt-5.9.7.r383.orig/debian/rules +++ wsjt-5.9.7.r383/debian/rules @@ -0,0 +1,76 @@ +#!/usr/bin/make -f +# debian.rules file for the Debian GNU/Linux wsjt package +# Copyright 2006 by Hamish Moffatt + +unexport LDFLAGS + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + F77=gfortran ./configure --prefix=/usr --enable-portaudio --enable-gfortran --with-portaudio-include-dir=/usr/include --with-portaudio-lib-dir=/usr/lib/$(DEB_HOST_MULTIARCH) + $(MAKE) + touch build-stamp + +clean: clean1 unpatch +clean1: + dh_testdir + [ ! -f Makefile ] || $(MAKE) clean + rm -rf Makefile *.pyc autom4te.cache config.status config.log + rm -rf portaudio-v19/config.log portaudio-v19/config.status portaudio-v19/config.cache + dh_clean + +binary-indep: + +binary-arch: build + dh_testdir + dh_testroot + + dh_installdirs -a + + # install upstream's files + cp *.py debian/wsjt/usr/share/wsjt + rm debian/wsjt/usr/share/wsjt/go.py + rm debian/wsjt/usr/share/wsjt/f2py.py + cp CALL3.TXT TSKY.DAT wsjtrc debian/wsjt/usr/share/wsjt + cp Audio.so debian/wsjt/usr/lib/wsjt + cp RxWav/Samples/* debian/wsjt/usr/share/doc/wsjt/examples + + # install the wrapper + cp debian/wsjt-wrapper debian/wsjt/usr/bin/wsjt + chmod +x debian/wsjt/usr/bin/wsjt + + # install icons. The png is included in the diff, so it's uuencoded + cp debian/wsjt.xpm debian/mini-wsjt.xpm debian/wsjt/usr/share/pixmaps + uudecode -o debian/wsjt/usr/share/pixmaps/wsjt.png debian/wsjt.png.uue + + # install the desktop file + cp debian/wsjt.desktop debian/wsjt/usr/share/applications + + dh_installdocs -a WSJT_User_600.pdf + dh_installchangelogs -a UpdateHistory.txt + dh_desktop + dh_installmenu + dh_strip -a + dh_desktop -a + dh_compress -a -X.WAV -X.pdf usr/share/wsjt/CALL3.TXT usr/share/wsjt/TSKY.DAT + dh_fixperms -a + dh_pysupport -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +patch: patch-stamp +patch-stamp: + dpatch apply-all + #dpatch call-all -a=pkg-info >patch-stamp + touch patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +binary: binary-indep binary-arch --- wsjt-5.9.7.r383.orig/debian/patches/99_autoconf.dpatch +++ wsjt-5.9.7.r383/debian/patches/99_autoconf.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh -e +## DP: run autoconf + +dpatch_patch () +{ + tar cf debian/patched/autoconf.tar configure + autoconf +} + +dpatch_unpatch () +{ + tar xf debian/patched/autoconf.tar +} + +DPATCH_LIB_NO_DEFAULT=1 + +. /usr/share/dpatch/dpatch.lib.sh + --- wsjt-5.9.7.r383.orig/debian/patches/03_ptt.dpatch +++ wsjt-5.9.7.r383/debian/patches/03_ptt.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_ptt.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad r269~/ptt_unix.c r269/ptt_unix.c +--- r269~/ptt_unix.c 2006-07-30 14:50:24.000000000 +1000 ++++ r269/ptt_unix.c 2006-09-10 09:59:48.000000000 +1000 +@@ -62,9 +62,6 @@ + # include + #endif + +-#ifndef BSD /* #ifdef LINUX ? */ +-#include +-#endif + #include + /* parport functions */ + --- wsjt-5.9.7.r383.orig/debian/patches/00list +++ wsjt-5.9.7.r383/debian/patches/00list @@ -0,0 +1,3 @@ +#03_ptt.dpatch +#01_build.dpatch +99_autoconf.dpatch