Compare commits

..

29 Commits

Author SHA1 Message Date
Hibby c171c18db9
Continue the build fixes 2024-11-07 00:23:01 +00:00
Hibby d09db428cc
Add ax25_l2 fix too 2024-11-06 01:55:20 +00:00
Hibby d1a275ea56
First attempt at build 2024-11-06 01:30:24 +00:00
Hibby 6c8e7093c0 Update upstream source from tag 'upstream/0.0.0.73_rc1'
Update to upstream version '0.0.0.73~rc1'
with Debian dir 676c658072
2024-10-29 22:45:25 +00:00
Hibby a724b7ca21
Release - hibbian 2024-09-06 18:50:44 +01:00
Hibby b515b719f3
Release 2024-09-06 18:42:13 +01:00
Hibby aa1cb2b414
Start patching build issues 2024-09-06 18:39:12 +01:00
Hibby e567985320
First build 2024-07-23 21:31:17 +01:00
Hibby 4172fa5fdb Update upstream source from tag 'upstream/0.0.0.72.1'
Update to upstream version '0.0.0.72.1'
with Debian dir 3be9dd1ec6
2024-07-23 21:26:34 +01:00
Hibby e67baf26b1
Release 2024-04-13 19:01:30 +01:00
Hibby 85fbd886bf
patch out implicit declaration warnings 2024-04-13 18:59:09 +01:00
Hibby adcc58da78
Upstream refresh! 2024-04-13 17:49:59 +01:00
Hibby 0aa062f7c3 Update upstream source from tag 'upstream/0.72'
Update to upstream version '0.72'
with Debian dir b3e2cee65c
2024-04-13 17:49:01 +01:00
Dave Hibberd d071d9c22c
Release 2023-12-17 14:08:17 +00:00
Dave Hibberd 54db88482a Update upstream source from tag 'upstream/0.0.0.71'
Update to upstream version '0.0.0.71'
with Debian dir a161df0a9b
2023-12-17 13:53:36 +00:00
Dave Hibberd 28348e0eac
updates to make it install to the right place 2023-10-10 23:35:52 +01:00
Dave Hibberd 564edb8d5b
New package location, get rid of the old one 2023-10-10 23:03:48 +01:00
Dave Hibberd fecac3d40f
First updates for 0.68 release 2023-10-07 12:27:09 +01:00
Dave Hibberd fd7bb5bb74 Update upstream source from tag 'upstream/0.0.0.68'
Update to upstream version '0.0.0.68'
with Debian dir 160466285e
2023-10-07 12:21:51 +01:00
Dave Hibberd 8cdb5d85be
Release! 2023-09-14 22:01:43 +01:00
Dave Hibberd b69f04d9ef
Add a fix for libpulse errors 2023-09-14 21:31:03 +01:00
Dave Hibberd 9906b15b9e
Release 2023-09-12 21:49:34 +01:00
Dave Hibberd a6eea3f598
Update to new upstream, 0.0.0.67 finally! 2023-09-12 21:40:43 +01:00
Dave Hibberd 51667f3056 Update upstream source from tag 'upstream/0.67'
Update to upstream version '0.67'
with Debian dir d407fa0579
2023-09-12 21:38:19 +01:00
Dave Hibberd cc15266411
Update version number, release 2023-09-05 21:13:54 +01:00
Dave Hibberd 6c42a38ec5
Add desktop file, tidy up loose ends 2023-09-05 00:00:32 +01:00
Dave Hibberd ccbbec9854
Make the package install 2023-09-04 23:04:58 +01:00
Dave Hibberd 68d240b141
Start to patch the build 2023-09-04 23:00:40 +01:00
Dave Hibberd 25967ba33c
New debian folder time! 2023-09-04 22:59:17 +01:00
18 changed files with 304 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.pc/

BIN
debian/QtSoundModem.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

50
debian/changelog vendored Normal file
View File

@ -0,0 +1,50 @@
qtsoundmodem (0.0.0.73~rc1-1) UNRELEASED; urgency=medium
* Upstream import
* Patches refreshed
-- hibby <hibby@velox.lan> Tue, 29 Oct 2024 22:45:40 +0000
qtsoundmodem (0.0.0.72.1-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium
* New upstream release, I was a bit hasty with that 0.72 release earlier
this year
-- Dave Hibberd <hibby@debian.org> Fri, 06 Sep 2024 18:40:36 +0100
qtsoundmodem (0.0.0.72-1) unstable; urgency=medium
* New Upstream release
* Override QA settings for function-implicit-declaration
-- Dave Hibberd <hibby@debian.org> Sat, 13 Apr 2024 19:01:02 +0100
qtsoundmodem (0.0.0.71-1) unstable; urgency=medium
* New Upstream Release
-- Dave Hibberd <d@vehibberd.com> Sun, 17 Dec 2023 14:07:52 +0000
qtsoundmodem (0.0.0.68-1) unstable; urgency=medium
* New Upstream
-- Dave Hibberd <d@vehibberd.com> Tue, 10 Oct 2023 23:03:20 +0100
qtsoundmodem (0.0.0.67-2) unstable; urgency=medium
* Fixing libpulse
-- Dave Hibberd <d@vehibberd.com> Thu, 14 Sep 2023 21:53:22 +0100
qtsoundmodem (0.0.0.67-1) unstable; urgency=medium
* New Upstream
-- Dave Hibberd <d@vehibberd.com> Tue, 12 Sep 2023 21:49:25 +0100
qtsoundmodem (0.0.0.66-1) unstable; urgency=medium
* Initial release.
-- Dave Hibberd <d@vehibberd.com> Tue, 05 Sep 2023 21:13:47 +0100

17
debian/control vendored Normal file
View File

@ -0,0 +1,17 @@
Source: qtsoundmodem
Section: hamradio
Priority: optional
Maintainer: Dave Hibberd <d@vehibberd.com>,
Standards-Version: 4.6.2.0
Vcs-Browser:
Vcs-Git:
Homepage: https://www.cantab.net/users/john.wiseman/Documents/QtSoundModem.html
Build-Depends: debhelper-compat (= 13), qtbase5-dev, qt5-qmake, libqt5serialport5-dev, libfftw3-dev, libpulse-dev, libasound2-dev, extra-xdg-menus
Rules-Requires-Root: no
Package: qtsoundmodem
Architecture: linux-any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: libpulse0
Description: Qt-based Sound Modem & Terminal for packet
QtSoundModem (QtSM) is a multi-platform port of UZ7HO's SoundModem

29
debian/copyright vendored Normal file
View File

@ -0,0 +1,29 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: QtSoundModem
Upstream-Contact: John Wiseman <bpq32@groups.io>
Source: https://www.cantab.net/users/john.wiseman/Documents/QtSoundModem.html
Files: *
Copyright: 2000-2023 John Wiseman <bpq32@groups.io>
License: GPL-3
Files: debian/*
Copyright: 2023 Dave Hibberd <d@vehibberd.com>
License: GPL-3
License: GPL-3
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 3 of the License, 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, see <http://www.gnu.org/licenses/>.
.
The GPL License which applies to this package can be found on your Debian
system at /usr/share/common-licenses/GPL-3.

3
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,3 @@
[DEFAULT]
debian-branch = debian/latest
upstream-branch = upstream/latest

6
debian/gitlab-ci.yml vendored Normal file
View File

@ -0,0 +1,6 @@
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
reprotest:
extends: .test-reprotest-diffoscope

3
debian/install vendored Normal file
View File

@ -0,0 +1,3 @@
QtSoundModem /usr/bin
debian/qtsoundmodem.desktop /usr/share/applications
debian/QtSoundModem.png /usr/share/pixmaps

130
debian/patches/build-fix.patch vendored Normal file
View File

@ -0,0 +1,130 @@
--- a/tcpCode.cpp
+++ b/tcpCode.cpp
@@ -775,7 +775,7 @@
QByteArray datas = HAMLIBsock->readAll();
- qDebug(datas.data());
+ qDebug("SetPTT Error: %s", datas.data());
}
--- a/ax25.c
+++ b/ax25.c
@@ -1758,7 +1758,7 @@
-get_monitor_path(Byte * path, char * mycall, char * corrcall, char * digi)
+void get_monitor_path(Byte * path, char * mycall, char * corrcall, char * digi)
{
Byte * digiptr = digi;
--- a/ax25_l2.c
+++ b/ax25_l2.c
@@ -374,7 +374,7 @@
void delete_I_FRM_port(TAX25Port * AX25Sess)
{
string * frame;
- string path = { 0 };
+ Byte path[80];
string data= { 0 };
Byte pid, nr, ns, f_type, f_id, rpt, cr, pf;
@@ -386,7 +386,7 @@
optimize = TRUE;
frame = Strings(&AX25Sess->frame_buf, i);
- decode_frame(frame->Data, frame->Length, &path, &data, &pid, &nr, &ns, &f_type, &f_id, &rpt, &pf, &cr);
+ decode_frame(frame->Data, frame->Length, path, &data, &pid, &nr, &ns, &f_type, &f_id, &rpt, &pf, &cr);
if (f_id == I_I)
{
@@ -916,7 +916,7 @@
while (i != AX25Sess->hi_vs)
{
- i = (i++) & 7;
+ i = (i + 1) & 7;
need_frame[index++] = i + '0';
if (index > 10)
{
--- a/UZ7HOStuff.h
+++ b/UZ7HOStuff.h
@@ -1096,6 +1096,20 @@
BOOL ConvToAX25(char * callsign, unsigned char * ax25call);
void Debugprintf(const char * format, ...);
+// Hibby's collection for GCC14 and Hardening
+void closeTraceLog();
+void get_monitor_path(Byte * path, char * mycall, char * corrcall, char * digi);
+void decode_frame(Byte * frame, int len, Byte * path, string * data, Byte * pid, Byte * nr, Byte * ns, Byte * f_type, Byte * f_id, Byte * rpt, Byte * pf, Byte * cr);
+void Demodulator(int snd_ch, int rcvr_nr, float * src_buf, int last, int xcenter);
+void sendSamplestoUDP(short * Samples, int nSamples, int Port);
+void RSIDProcessSamples(short * Samples, int nSamples);
+void ARDOPProcessNewSamples(int chan, short * Samples, int nSamples);
+void ProcessRXFrames(int snd_ch);
+void doWaterfall(int snd_ch);
+void displayWaterfall();
+void timer_event();
+void CheckPSKWindows();
+
double pila(double x);
void AGW_Raw_monitor(int snd_ch, string * data);
@@ -1190,4 +1204,4 @@
#ifdef __cplusplus
}
-#endif
\ No newline at end of file
+#endif
--- a/SMMain.c
+++ b/SMMain.c
@@ -223,8 +223,9 @@
if (using48000)
{
// Need to upsample to 48K. Try just duplicating sample
-
- uint32_t * ptr = &DMABuffer[2 * Number];
+ // split init and initialisation for compiler cleanliness
+ uint32_t * ptr;
+ ptr = (uint32_t *)&DMABuffer[2 * Number];
*(&ptr[1]) = *(ptr);
*(&ptr[2]) = *(ptr);
@@ -388,7 +389,7 @@
#endif
extern int blnBusyStatus;
-BusyDet = 5;
+int BusyDet = 5;
#define PLOTWATERFALL
--- a/sm_main.c
+++ b/sm_main.c
@@ -796,7 +796,8 @@
void runModems()
{
- int snd_ch, res;
+ int snd_ch;
+ void *res;
pthread_t thread[4] = { 0,0,0,0 };
for (snd_ch = 0; snd_ch < 4; snd_ch++)
--- a/il2p.c
+++ b/il2p.c
@@ -394,6 +394,11 @@
typedef enum cmdres_e { cr_00 = 2, cr_cmd = 1, cr_res = 0, cr_11 = 3 } cmdres_t;
+// Hibby: Headers for GCC14
+
+int set_addrs(packet_t pp, char addrs, int num_addr, cmdres_t cr);
+static inline int ax25_get_control_offset(packet_t this_p);
+static inline int ax25_get_num_control(packet_t this_p);
extern packet_t ax25_new(void);

11
debian/patches/fix-bookworm-build.patch vendored Normal file
View File

@ -0,0 +1,11 @@
--- a/tcpCode.cpp
+++ b/tcpCode.cpp
@@ -732,7 +732,7 @@
QByteArray datas = FLRigsock->readAll();
- qDebug(datas.data());
+ qDebug() << "SetPTT Failed";
}

20
debian/patches/libpulse.patch vendored Normal file
View File

@ -0,0 +1,20 @@
--- a/pulse.c
+++ b/pulse.c
@@ -67,7 +67,7 @@
if (handle)
return handle; // already done
- handle = dlopen("libpulse.so", RTLD_LAZY);
+ handle = dlopen("libpulse.so.0", RTLD_LAZY);
if (!handle)
{
@@ -91,7 +91,7 @@
if ((ppa_operation_unref = getModule(handle, "pa_operation_unref")) == NULL) return NULL;
if ((ppa_operation_get_state = getModule(handle, "pa_operation_get_state")) == NULL) return NULL;
- shandle = dlopen("libpulse-simple.so", RTLD_LAZY);
+ shandle = dlopen("libpulse-simple.so.0", RTLD_LAZY);
if (!shandle)
{

3
debian/patches/series vendored Normal file
View File

@ -0,0 +1,3 @@
fix-bookworm-build.patch
libpulse.patch
build-fix.patch

9
debian/postinst vendored Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
SM="/opt/oarc/QtSoundModem"
if [ -d $SM ]; then
rm -rf /opt/oarc/QtSoundModem
fi

13
debian/qtsoundmodem.desktop vendored Normal file
View File

@ -0,0 +1,13 @@
[Desktop Entry]
Name=QtSoundModem
Comment=QtSoundModem
Version=1.0
Exec=/usr/bin/QtSoundModem
GenericName=QtSoundModem
Icon=QtSoundModem
NoDisplay=false
StartupNotify=true
Terminal=false
Type=Application
Categories=Education;HamRadio
X-AppImage-Version=1

7
debian/rules vendored Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
export QT_SELECT=5
export DEB_BUILD_MAINT_OPTIONS=hardening=+all,qa=-bug-implicit-func
%:
dh $@

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/include-binaries vendored Normal file
View File

@ -0,0 +1 @@
debian/QtSoundModem.png

0
debian/source/lintian-overrides vendored Normal file
View File