diff options
| author | John T. Nogatch <jnogatch@gmail.com> | 2013-09-09 11:18:44 -0700 |
|---|---|---|
| committer | Iain R. Learmonth <irl@debian.org> | 2015-10-18 17:55:15 +0100 |
| commit | 5c4ba866a16d2d10d751152dd162d3761d68aacd (patch) | |
| tree | 053a8c060f38da9da819f7deb70be0c4dec03abd | |
| parent | c720a3d55c5ec832c29cb7ce50b6fb4b70c55b11 (diff) | |
Imported Debian patch 1.1.r3496-3debian/1.1.r3496-3
| -rw-r--r-- | debian/130418_1742.wav | bin | 0 -> 1440044 bytes | |||
| -rw-r--r-- | debian/README.source | 12 | ||||
| -rw-r--r-- | debian/changelog | 32 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 18 | ||||
| -rw-r--r-- | debian/copyright | 281 | ||||
| -rw-r--r-- | debian/docs | 4 | ||||
| -rw-r--r-- | debian/install | 8 | ||||
| -rw-r--r-- | debian/manpages | 1 | ||||
| -rw-r--r-- | debian/patches/desktop.patch | 17 | ||||
| -rw-r--r-- | debian/patches/man_page.patch | 44 | ||||
| -rw-r--r-- | debian/patches/mno-stack-arg-probe.patch | 17 | ||||
| -rw-r--r-- | debian/patches/series | 5 | ||||
| -rw-r--r-- | debian/patches/wsjtx_install.patch | 36 | ||||
| -rw-r--r-- | debian/patches/wsjtx_script.patch | 32 | ||||
| -rwxr-xr-x | debian/rules | 39 | ||||
| -rw-r--r-- | debian/source/format | 1 | ||||
| -rw-r--r-- | debian/source/include-binaries | 2 | ||||
| -rw-r--r-- | debian/wsjtx-doc.docs | 1 | ||||
| -rw-r--r-- | debian/wsjtx-doc.install | 1 | ||||
| -rw-r--r-- | debian/wsjtx.png | bin | 0 -> 3984 bytes |
21 files changed, 552 insertions, 0 deletions
diff --git a/debian/130418_1742.wav b/debian/130418_1742.wav Binary files differnew file mode 100644 index 00000000..056cd2e4 --- /dev/null +++ b/debian/130418_1742.wav diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 00000000..8b4cf4d8 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,12 @@ +wsjtx for Debian +---------------- + +1. Source was obtained w/ svn co svn://svn.berlios.de/wsjt/branches/wsjtx + +2. These files were removed before creating the .orig.tar.gz file: + rm -r .svn LICENSE_WHEATLEY.TXT libfftw3f_win.a libHRDInterface001.a libpskreporter.a WSJT-X_Users_Guide_v1.1.docx + +3. wsjt.png was added, converted from wsjt.ico. + +4. Other files were added as debian/patches, esp. the wsjt startup script. + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..fdca651a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,32 @@ +wsjtx (1.1.r3496-3) unstable; urgency=low + + * remove -mno-stack-arg-probe from lib/Makefile.linux CFLAGS + + -- John T. Nogatch <jnogatch@gmail.com> Mon, 09 Sep 2013 11:18:44 -0700 + +wsjtx (1.1.r3496-2) unstable; urgency=low + + * revised debian/copyright + * restored LICENSE_WHEATLEY.TXT + + -- John T. Nogatch <jnogatch@gmail.com> Tue, 03 Sep 2013 15:49:45 -0700 + +wsjtx (1.1.r3496-1) unstable; urgency=low + + * wsjtx 1.1 combines JT-65 & JT-9 + + -- John T. Nogatch <jnogatch@gmail.com> Fri, 19 Jul 2013 20:52:50 -0700 + +wsjtx (1.0.r3323-2) unstable; urgency=low + + * added *.txt *.dat save/Samples/130418_1742.wav + * update jtx script updates those files in ~/.wsjtx/ + * wider device name boxes in config dialog + + -- John T. Nogatch <jnogatch@gmail.com> Tue, 04 Jun 2013 08:04:09 -0700 + +wsjtx (1.0.r3323-1) unstable; urgency=low + + * Initial release (Closes: #710804) + + -- John T. Nogatch <jnogatch@gmail.com> Mon, 03 Jun 2013 08:49:27 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..45a4fb75 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..603baed7 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: wsjtx +Section: hamradio +Priority: optional +Maintainer: Debian Hams group <debian-hams@lists.debian.org> +Uploaders: John T. Nogatch <jnogatch@gmail.com>, Kamal Mostafa <kamal@whence.com> +Build-Depends: debhelper (>= 8.0.0), qt4-dev-tools, qt4-qmake, libqt4-dev, gfortran, hardening-wrapper, libfftw3-dev, libhamlib-dev, libqwt5-qt4-dev, libsamplerate0-dev, portaudio19-dev (>= 19+svn20111121-1~) +Standards-Version: 3.9.4 +Homepage: http://www.physics.princeton.edu/pulsar/K1JT/wsjtx.html +#Vcs-Git: git://git.debian.org/collab-maint/wsjt.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/wsjt.git;a=summary + +Package: wsjtx +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libhamlib-utils +Description: weak-signal amateur radio communications + wsjtx is designed to facilitate Amateur Radio communication under extreme + weak-signal conditions using modes JT9 and JT65. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..ebd1eec6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,281 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: wsjtx +Source: svn://svn.berlios.de/wsjt/branches/wsjtx + +Files: * +Copyright: 2001-2013 by Joseph H. Taylor, Jr., K1JT +License: GPL-2+ + +Files: debian/* +Copyright: 2013 John T. Nogatch <jnogatch@gmail.com> +License: GPL-2+ + +Files: lib/char.h lib/decode_rs.c lib/encode_rs.c lib/fano232.f90 lib/init_rs.c lib/int.h lib/rs.h +Copyright: 2002, Phil Karn KA9Q +License: GPL + +Files: lib/vit216.c +Copyright: 1999 Phil Karn, KA9Q +License: GPL + +Files: lib/tstrig.h +Copyright: 2000-2010, Stephane Fillod +License: GPL-2+ + +Files: rigclass.h rigclass.cpp +Copyright: 2001-2003 Stephane Fillod +License: LGPL-2.1+ + +Files: plotter.h plotter.cpp +Copyright: 2010 Moe Wheatley +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + THIS SOFTWARE IS PROVIDED BY Moe Wheatley ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL Moe Wheatley OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + . + The views and conclusions contained in the software and documentation + are those of the authors and should not be interpreted as representing + official policies, either expressed or implied, of Moe Wheatley. + +Files: PSKReporter.h +Copyright: 2008 Philip Gladstone +License: Expat + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +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 1, or (at your option) + any later version. + . + 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 + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General + Public License can be found in "/usr/share/common-licenses/GPL". + +License: GPL-2+ + This package 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. + . + This package 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 + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License can be found in "/usr/share/common-licenses/GPL-2". + +License: LGPL-2.1+ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + . + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + . + This version of the GNU Lesser General Public License incorporates + the terms and conditions of version 3 of the GNU General Public + License, supplemented by the additional permissions listed below. + . + 0. Additional Definitions. + . + As used herein, "this License" refers to version 3 of the GNU Lesser + General Public License, and the "GNU GPL" refers to version 3 of the GNU + General Public License. + . + "The Library" refers to a covered work governed by this License, + other than an Application or a Combined Work as defined below. + . + An "Application" is any work that makes use of an interface provided + by the Library, but which is not otherwise based on the Library. + Defining a subclass of a class defined by the Library is deemed a mode + of using an interface provided by the Library. + . + A "Combined Work" is a work produced by combining or linking an + Application with the Library. The particular version of the Library + with which the Combined Work was made is also called the "Linked + Version". + . + The "Minimal Corresponding Source" for a Combined Work means the + Corresponding Source for the Combined Work, excluding any source code + for portions of the Combined Work that, considered in isolation, are + based on the Application, and not on the Linked Version. + . + The "Corresponding Application Code" for a Combined Work means the + object code and/or source code for the Application, including any data + and utility programs needed for reproducing the Combined Work from the + Application, but excluding the System Libraries of the Combined Work. + . + 1. Exception to Section 3 of the GNU GPL. + . + You may convey a covered work under sections 3 and 4 of this License + without being bound by section 3 of the GNU GPL. + . + 2. Conveying Modified Versions. + . + If you modify a copy of the Library, and, in your modifications, a + facility refers to a function or data to be supplied by an Application + that uses the facility (other than as an argument passed when the + facility is invoked), then you may convey a copy of the modified + version: + . + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + . + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + . + 3. Object Code Incorporating Material from Library Header Files. + . + The object code form of an Application may incorporate material from + a header file that is part of the Library. You may convey such object + code under terms of your choice, provided that, if the incorporated + material is not limited to numerical parameters, data structure + layouts and accessors, or small macros, inline functions and templates + (ten or fewer lines in length), you do both of the following: + . + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + . + b) Accompany the object code with a copy of the GNU GPL and this license + document. + . + 4. Combined Works. + . + You may convey a Combined Work under terms of your choice that, + taken together, effectively do not restrict modification of the + portions of the Library contained in the Combined Work and reverse + engineering for debugging such modifications, if you also do each of + the following: + . + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + . + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + . + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + . + d) Do one of the following: + . + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + . + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + . + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + . + 5. Combined Libraries. + . + You may place library facilities that are a work based on the + Library side by side in a single library together with other library + facilities that are not Applications and are not covered by this + License, and convey such a combined library under terms of your + choice, if you do both of the following: + . + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + . + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + . + 6. Revised Versions of the GNU Lesser General Public License. + . + The Free Software Foundation may publish revised and/or new versions + of the GNU Lesser General Public License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. + . + Each version is given a distinguishing version number. If the + Library as you received it specifies that a certain numbered version + of the GNU Lesser General Public License "or any later version" + applies to it, you have the option of following the terms and + conditions either of that published version or of any later version + published by the Free Software Foundation. If the Library as you + received it does not specify a version number of the GNU Lesser + General Public License, you may choose any version of the GNU Lesser + General Public License ever published by the Free Software Foundation. + . + If the Library as you received it specifies that a proxy can decide + whether future versions of the GNU Lesser General Public License shall + apply, that proxy's public statement of acceptance of any version is + permanent authorization for you to choose that version for the + Library. diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000..509373c2 --- /dev/null +++ b/debian/docs @@ -0,0 +1,4 @@ +jt9.txt +mouse_commands.txt +shortcuts.txt +wsjtx_changelog.txt diff --git a/debian/install b/debian/install new file mode 100644 index 00000000..27dc4eb0 --- /dev/null +++ b/debian/install @@ -0,0 +1,8 @@ +wsjtx /usr/bin/ +*.txt /usr/share/wsjtx/.wsjtx/ +*.dat /usr/share/wsjtx/.wsjtx/ +debian/130418_1742.wav /usr/share/wsjtx/.wsjtx/save/Samples/ +wsjtx_install/jt9 /usr/lib/wsjtx/ +wsjtx_install/wsjtx /usr/lib/wsjtx/ +wsjtx.desktop /usr/share/applications/ +debian/wsjtx.png /usr/share/pixmaps/ diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 00000000..cd705432 --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +wsjtx.1 diff --git a/debian/patches/desktop.patch b/debian/patches/desktop.patch new file mode 100644 index 00000000..a906dd6f --- /dev/null +++ b/debian/patches/desktop.patch @@ -0,0 +1,17 @@ +Description: wsjtx.desktop + wsjtx.desktop for desktop manager + . +Author: John T. Nogatch <jnogatch@gmail.com> + +--- /dev/null ++++ wsjtx-1.1.r3496/wsjtx.desktop +@@ -0,0 +1,9 @@ ++[Desktop Entry] ++Version=0.0 ++Name=wsjtx ++Comment=Weak Signal Ham Radio ++Exec=wsjtx ++Icon=wsjtx ++Terminal=false ++Type=Application ++Categories=AudioVideo;Audio;HamRadio; diff --git a/debian/patches/man_page.patch b/debian/patches/man_page.patch new file mode 100644 index 00000000..031e82f0 --- /dev/null +++ b/debian/patches/man_page.patch @@ -0,0 +1,44 @@ +Description: wsjtx man page + wsjtx.1 manpage + . +Author: John T. Nogatch <jnogatch@gmail.com> + +--- /dev/null ++++ wsjtx-1.1.r3496/wsjtx.1 +@@ -0,0 +1,36 @@ ++.TH WSJTX 1 ++.SH NAME wsjtx \- Weak signal communications program. ++ ++.SH SYNOPSIS ++.B wsjtx ++.SH DESCRIPTION ++.B wsjtx ++is a weak signal communications program supporting two operating modes: JT65 and JT9. ++( ++.B wsjtx ++version 1 supported JT9 only.) ++ ++WSJT-X home page: ++ http://www.physics.princeton.edu/pulsar/K1JT/wsjtx.html ++ ++WSJT-X User's Guide: ++ http://www.physics.princeton.edu/pulsar/K1JT/WSJT-X_Users_Guide.pdf ++ ++An alternative JT65 decoder executable ++.B kvasd ++for i386 Ubuntu 12.04 is available at http://www.physics.princeton.edu/pulsar/K1JT/kvasd . ++This decoder is not open-source, is not included in the wsjtx package, and is not required for JT65 decoding. ++.SH FILES ++A directory ~/.wsjtx is created, where ++.B wsjtx ++is executed, and where personalization files are stored. ++.SH COPYRIGHT ++.B wsjtx ++is Copyright (c) 2013 by Joseph H. Taylor, Jr., K1JT, with ++contributions from additional authors. WSJTX is Open Source ++software, licensed under the GNU General Public License (GPL). ++ ++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. ++ diff --git a/debian/patches/mno-stack-arg-probe.patch b/debian/patches/mno-stack-arg-probe.patch new file mode 100644 index 00000000..a5610781 --- /dev/null +++ b/debian/patches/mno-stack-arg-probe.patch @@ -0,0 +1,17 @@ +Description: remove mno-stack-arg-probe from CFLAGS + lib/Makefile.linux CFLAGS option -mno-stack-arg-probe is unrecognized on + many platforms, & alloca() is not used anyway, so probably not needed. + . +Author: John T. Nogatch <jnogatch@gmail.com> + +--- wsjtx-1.1.r3496.orig/lib/Makefile.linux ++++ wsjtx-1.1.r3496/lib/Makefile.linux +@@ -2,7 +2,7 @@ CC = gcc + FC = gfortran + + FFLAGS = -O2 -fbounds-check -Wall -Wno-conversion -fno-second-underscore +-CFLAGS = -I. -fbounds-check -mno-stack-arg-probe ++CFLAGS = -I. -fbounds-check + + # Default rules + %.o: %.c diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..e5bc5af6 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,5 @@ +desktop.patch +wsjtx_script.patch +man_page.patch +wsjtx_install.patch +mno-stack-arg-probe.patch diff --git a/debian/patches/wsjtx_install.patch b/debian/patches/wsjtx_install.patch new file mode 100644 index 00000000..19ced49a --- /dev/null +++ b/debian/patches/wsjtx_install.patch @@ -0,0 +1,36 @@ +Description: avoid path outside of build dir + Use ./wsjtx_install vs. ../wsjtx_install + Use ./lib vs ../wsjtx/lib + + +--- wsjtx-1.1.r3496.orig/wsjtx.pro ++++ wsjtx-1.1.r3496/wsjtx.pro +@@ -10,7 +10,7 @@ CONFIG += thread + #CONFIG += console + + TARGET = wsjtx +-DESTDIR = ../wsjtx_install ++DESTDIR = ./wsjtx_install + VERSION = 1.1 + TEMPLATE = app + DEFINES = QT4 +@@ -60,7 +60,7 @@ FORMS += mainwindow.ui about.ui devse + RC_FILE = wsjtx.rc + + unix { +-LIBS += ../wsjtx/lib/libjt9.a ++LIBS += ./lib/libjt9.a + LIBS += -lhamlib + LIBS += -lportaudio -lgfortran -lfftw3f + } +--- wsjtx-1.1.r3496.orig/lib/Makefile.linux ++++ wsjtx-1.1.r3496/lib/Makefile.linux +@@ -45,7 +45,7 @@ OBJS2 = jt9.o jt9a.o jt9b.o jt9c.o + + jt9: $(OBJS2) libjt9.a + g++ -o jt9 $(OBJS2) libjt9.a -lfftw3f -lgfortran -lQtCore +- cp jt9 ../../wsjtx_install ++ cp jt9 ../wsjtx_install + + OBJS3 = jt9sim.o + jt9sim: $(OBJS3) libjt9.a diff --git a/debian/patches/wsjtx_script.patch b/debian/patches/wsjtx_script.patch new file mode 100644 index 00000000..722d2d00 --- /dev/null +++ b/debian/patches/wsjtx_script.patch @@ -0,0 +1,32 @@ +Description: wsjtx start script + If missing, creates and populates ~/.wsjtx/ + cd ~/.wsjtx/ and run application binary. + . +Author: John T. Nogatch <jnogatch@gmail.com> + +--- /dev/null ++++ wsjtx-1.1.r3496/wsjtx +@@ -0,0 +1,23 @@ ++#!/bin/sh ++set -e ++ ++# wsjtx expects to write configuration files in the current directory, ++# which also needs to contain CALL3.TXT before starting. ++# If those don't currently exist, create them first. ++ ++cp -r --update /usr/share/wsjtx/.wsjtx $HOME ++ ++RUNDIR=$HOME/.wsjtx ++cd $RUNDIR ++ ++# wsjtx gets an error if this file does not exist, when trying to "Log QSO" ++if [ ! -f CALL3.TXT ]; then ++ touch CALL3.TXT ++fi ++# wsjtx & jt9 use applicationDirPath for configuration path prefix, ++# so they must reside here, in user's configuration dir ++cp --update /usr/lib/wsjtx/jt9 jt9 ++cp --update /usr/lib/wsjtx/wsjtx wsjtx ++ ++./wsjtx ++ diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..a97f5a2f --- /dev/null +++ b/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# enable hardening-wrapper +export DEB_BUILD_HARDENING=1 +export DEB_BUILD_HARDENING_FORMAT=1 +export DEB_BUILD_HARDENING_FORTIFY=1 +export DEB_BUILD_HARDENING_STACKPROTECTOR=1 +# PIE causes wsjtx to seg fault immediately +export DEB_BUILD_HARDENING_PIE=0 +export DEB_BUILD_HARDENING_RELRO=1 +export DEB_BUILD_HARDENING_BINDNOW=1 + +override_dh_auto_configure: + echo "running debian/rules/override_dh_auto_configure" + qmake-qt4 + +override_dh_auto_build: + echo "running debian/rules/override_dh_auto_build" + cd lib; make -f Makefile.linux + make + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/include-binaries b/debian/source/include-binaries new file mode 100644 index 00000000..8af9d5fb --- /dev/null +++ b/debian/source/include-binaries @@ -0,0 +1,2 @@ +debian/wsjtx.png +debian/130418_1742.wav diff --git a/debian/wsjtx-doc.docs b/debian/wsjtx-doc.docs new file mode 100644 index 00000000..d4f45425 --- /dev/null +++ b/debian/wsjtx-doc.docs @@ -0,0 +1 @@ +#DOCS# diff --git a/debian/wsjtx-doc.install b/debian/wsjtx-doc.install new file mode 100644 index 00000000..d4f45425 --- /dev/null +++ b/debian/wsjtx-doc.install @@ -0,0 +1 @@ +#DOCS# diff --git a/debian/wsjtx.png b/debian/wsjtx.png Binary files differnew file mode 100644 index 00000000..797370a3 --- /dev/null +++ b/debian/wsjtx.png |
