unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#49014] [PATCH 0/2] Add tlf
@ 2021-06-14  4:12 Jack Hill
  2021-06-14  4:14 ` [bug#49014] [PATCH 1/2] gnu: hamlib: Make libusb a propagated input Jack Hill
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jack Hill @ 2021-06-14  4:12 UTC (permalink / raw)
  To: 49014

This series adds a package for Tlf, an amateur (ham) radio logging 
program. Some things to note:

Tlf depends on hamlib, which has `Requires.private: libusb-1.0` in its 
pkg-config file. Tlf fails to build if libusb is not present in its build 
environment. I saw two options for resolving this: 1) add libusb as an 
input for tlf or 2) propagate libusb from hamlib. I chose the latter, but 
I'm not sure if that's the right choice as hamlib also provides binaries, 
so folks might want to install it in their profiles in addition to using 
it as a library.

The released version of Tlf doesn't work with our packaged version of 
hamlib because hamlib made a breaking change in the name of one of their 
macros. I added a patch from newer Tlf commits that works around this by 
adding some indirection.

I tested that it builds reproducably on x86_64-linux, and that it builds 
emulated aarch64-linux and armhf-linux. I was happy to see, especially on 
armhf, that I didn't run into the problem that caused Debian to add a 
patch:

https://salsa.debian.org/debian-hamradio-team/tlf/-/blob/8a0cbff093ac8846aa73ff012668b55628056ef4/debian/patches/979377-test-cabrillo

Jack Hill (2):
   gnu: hamlib: Make libusb a propagated input.
   gnu: Add tlf.

  gnu/local.mk                                  |  1 +
  .../patches/tlf-support-hamlib-4.2+.patch     | 66 +++++++++++++++++++
  gnu/packages/radio.scm                        | 64 +++++++++++++++++-
  3 files changed, 130 insertions(+), 1 deletion(-)
  create mode 100644 gnu/packages/patches/tlf-support-hamlib-4.2+.patch

-- 
2.32.0





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-21  8:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14  4:12 [bug#49014] [PATCH 0/2] Add tlf Jack Hill
2021-06-14  4:14 ` [bug#49014] [PATCH 1/2] gnu: hamlib: Make libusb a propagated input Jack Hill
2021-06-14  4:14   ` [bug#49014] [PATCH 2/2] gnu: Add tlf Jack Hill
2021-06-14  4:20 ` [bug#49014] [PATCH v2 1/2] gnu: hamlib: Make libusb a propagated input Jack Hill
2021-06-14  4:20   ` [bug#49014] [PATCH v2 2/2] gnu: Add tlf Jack Hill
2021-06-18 16:15 ` [bug#49014] [PATCH v3] " Jack Hill
2021-06-21  8:52   ` bug#49014: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).