Linux logging program for amateur radio operators
Go to file
OH1KH 96c92cb631 A fix to Cabrillo export
Trying to make it little bit more usefull for different contests.
This is not perfect exporter, but may be enough for "Sunday contester" who is also happy for contest logging form.

There is a limited change to modify QSO line content to make it fit for contest qsos exported.
Settigs are saved in log settings as "last used", but can also be saved to named template files for loadding when time next needed.

Filter must be used to select qsos before export works. If Contest filter is used the name of the contest can be taken from filtered results. It also is offered as default file name when saving template settings.

There is no score counting as it differs so much between contests. Instead export will give some statistic results that may help for manual score counting.

Help file is updated.

Squashed commit of the following:

commit db6c8f6db873acbb37804897b97b75022fe682d3
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Jul 11 13:47:29 2020 +0300

    Expanded exchange selector list.

commit 5e60fcc725a0a3a2ed8fddc298e3fe8fdb95b650
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Jul 11 10:19:58 2020 +0300

    Small fix to Frm Flt button

commit f6d97e14936f88b8e9906c329457b9f7ac10c9ee
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Jul 11 09:48:10 2020 +0300

    Added button to get contest  name from contestfilter result. Added contest name as defaut template file name. Fixed help.

commit 67fc1c095ff645abf45fff70efe3b5d4c1727e48
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jul 9 19:49:37 2020 +0300

    Found Contest Filter! Not part of project. Adding lfm failed somehow, pas is ok.

commit 618d9f2136ce755434ba57fd792ff0203292e547
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jul 9 19:19:05 2020 +0300

    Some statistics and Help update

commit dbc575814d494ff1fafad3f96acd038e75800ddd
Merge: 9b69ab0 f72d834
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jul 9 10:06:24 2020 +0300

    Merge branch 'master' into fix_cabri

commit 9b69ab07dc59a35f0e158576e05e2615b764e389
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jul 9 10:00:17 2020 +0300

    Font setting routine call.Save/Load settings to template. /tmp/CabrilloReject.log for error qsos. Add setting for count qsos to country (for statistics)

commit 519fce180651ec621cade7aea4a625d56d2924f8
Author: OH1KH <oh1kh@sral.fi>
Date:   Thu Jul 9 07:07:24 2020 +0300

    todo update

commit 698895efd1514143a97b8a1189c5c4644bc942db
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Jul 8 20:37:40 2020 +0300

    Contest name auto complete on. QSO order reversed (from last to Bof)

commit c2706838eff6ffae02acc3d65d93bb42e052bd85
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Jul 8 20:01:48 2020 +0300

    QSO-line 'designer': first working version (more test needed)

commit dd2193930e0a2f4b262c41268821cdb23fe0e490
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Jul 8 15:53:19 2020 +0300

    Added category-mode auto detect. Dropped Q query, used fiters qCQRLOG query result instead

commit 487240676cfe4eacc14a0727c06a11569ccffe55
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Jul 8 13:13:59 2020 +0300

    Added view to set up QSO-line outlook (prelimenary)

commit 20da7cf99758234c1e6c4205501254e278bff8a6
Author: OH1KH <oh1kh@sral.fi>
Date:   Tue Jul 7 16:28:00 2020 +0300

    Added warning if station/contest info is empty.Added contest name loading like contest form (causes pango layout utf-8 warnings (??)). Fixed form layout and anchors.

commit 3e2eebd21581d31e6e8ed5be3742b4e1d9098d9a
Author: OH1KH <oh1kh@sral.fi>
Date:   Tue Jul 7 11:12:21 2020 +0300

    First changes to cabrillo:band2freq,category-band, etc.
2020-07-12 09:34:17 +03: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 A fix to Cabrillo export 2020-07-12 09:34:17 +03: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 A fix to Cabrillo export 2020-07-12 09:34:17 +03: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 Don't remove debian/cqrlog* on clean 2019-12-30 12:40:55 +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.