Linux logging program for amateur radio operators
Go to file
OH1KH 84d8cedc88 User defined buttons for TRX control
Added 3 user defined buttons for TRX control. Buttons are default hidden and can be set from TRXControl/preferences. Same like way like Power buttons.

Button naming and commands can be set at preferences/TRX control.
Commands can be any rigctld command and there can be several commands in same user definition line.
Using rigctld command "W" any raw rig cat command can be sent to rig when there is not rigctld command ready for that function.
User can add missing band button (60m, 4m etc.) or other rig function like launch of voice memory.

If command definition starts with word "run" any Linux program or script can be executed instead of rigctld command(s).

There is no feedback from commands to cqrlog.

Squashed commit of the following:

commit cf674ea59cbeddda002e09d5b50c9e7242d42cb8
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Dec 9 18:46:29 2020 +0200

    Some fixes after debug

commit 90c42c24f76c74f0dc92ee3b73e482c9d0c4d2c9
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Dec 9 17:54:00 2020 +0200

    fixed lfm changes4

commit 689cca8ff835efda4e28888bebf9ea8630b9cd84
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Dec 9 17:46:08 2020 +0200

    fix lfm3

commit ba86b2bb12f606b11497d463766e8c2cb54178f9
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Dec 9 17:41:30 2020 +0200

    fixed lfm changes2

commit 0602b3877823e1382b425af286ad66448c6fc212
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Dec 9 16:46:35 2020 +0200

     Help fixes and User defined button names

commit 1c8c714de90df8a6d3122722e2c6fc87d51c8420
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Dec 9 09:10:33 2020 +0200

    Button can run command or script, too

commit 2d612286fd7ac11f30be6f189f72ee1f0aa1c3d5
Author: OH1KH <oh1kh@sral.fi>
Date:   Tue Dec 8 19:36:10 2020 +0200

    3x user defined commands for TRXcontrol
2020-12-09 18:58:04 +02:00
ctyfiles Add RS-44 to satellites 2020-05-03 08:55:59 +02:00
debian dependencies fixed 2019-10-27 13:14:44 +01:00
docker-build Update Docker image to Ubuntu Eoan 2020-05-13 10:33:19 +02:00
help User defined buttons for TRX control 2020-12-09 18:58:04 +02:00
images splash image updated 2019-07-26 21:00:01 +02:00
members membership files updated 2019-10-27 13:00:48 +01:00
src User defined buttons for TRX control 2020-12-09 18:58:04 +02:00
tools Add screenshot to AppStream metadata 2020-07-03 15:04:38 +02:00
voice_keyer Add bandmap (ctrl-A) added to contest window. Voice out CI-V script for ICOM audio records 2019-10-14 17:35:07 +03:00
xplanet initial commit 2013-03-15 21:13:08 +01:00
zipcodes initial commit 2013-03-15 21:13:08 +01:00
.gitignore fixed: 2017-06-08 21:47:44 +02:00
.travis.yml make install added 2018-09-01 08:31:37 +02:00
AUTHORS #119 fix cqrlog license file position 2019-02-11 19:35:04 +01:00
CHANGELOG changelogs updated 2019-10-27 08:04:25 +01:00
COPYING #119 fix cqrlog license file position 2019-02-11 19:35:04 +01:00
Makefile qt5 compile params added 2020-11-29 08:49:51 +01:00
README.md distro version fixed 2019-11-28 10:57:19 +01:00

What is CQRLOG?

CQRLOG is an advanced ham radio logger based on MySQL database. Provides radio control based on hamlib libraries (currently support of 140+ radio types and models), DX cluster connection, online callbook, a grayliner, internal QSL manager database support and a most accurate country resolution algorithm based on country tables developed by OK1RR. CQRLOG is intended for daily general logging of HF, CW & SSB contacts and strongly focused on easy operation and maintenance. More at https://www.cqrlog.com/

Image of CQRLOG

How to contribute?

You have to have Lazarus 1.8, fpc 3.0.4 compiler, MySQL server and clinet installed. CQRLOG is developed on Ubuntu 18.04, Lazarus and FreePascal are available in my pesronal repo https://launchpad.net/~ok2cqr/+archive/lazarus

Compile with make and install with make DESTDIR=/home/yourusername/where_you_want_to_have_it install. If you are going to change the source code, fork the repo, do the changes, commit them and use Pull request.

Dependencies

Build-Depends: lazarus, lcl, fp-utils, fp-units-misc, fp-units-gfx, fp-units-gtk2, fp-units-db, fp-units-math, fp-units-net

Depends: libssl-dev, mysql-server | mariadb-server, mysql-client | mariadb-client, libhamlib2 (>= 1.2.10), libhamlib-utils (>= 1.2.10)

Running build with Docker

If you do not want to install the dependencies into your main machine, you can do the build in a Docker container. You need to mount into that Docker container this directory and also the target directory where you want to put the alpha version of cqrlog you are building.

This also helps if you want to build, e.g., on a Debian Stretch machine. Attempts at native builds on that platform have failed. Using a reasonably recent Ubuntu inside our Docker-based build environment, makes the build work even on Debian Stretch.

That bad news is, you have to install Docker (CE is fine).

That done, you can prepare an Ubuntu Docker image with the build tools as follows:

(cd docker-build && docker build -t this.registry.is.invalid/cqrlog-build .)

(In case you wonder: There is no need to use a Docker registry, so we provide a registry host that is guaranteed to not exist.)

Then, run the build itself with

sudo mkdir -p /usr/local/cqrlog-alpha &&
docker run -ti -u root -v $(pwd):/home/cqrlog/build \
  -v /usr/local/cqrlog-alpha:/usr/local/cqrlog-alpha this.registry.is.invalid/cqrlog-build

To use your build, make sure that you have no instance of cqrlog running, backup $HOME/.config/cqrlog (if you ever used cqrlog before), add /usr/local/cqrlog-alpha/usr/bin to your $PATH and start cqrlog from there.