From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MF26NVPXxmD2rQAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 06:13:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SPL9MFPXxmBMIgAAbx9fmQ (envelope-from ) for ; Mon, 14 Jun 2021 04:13:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 88CB722704 for ; Mon, 14 Jun 2021 06:13:07 +0200 (CEST) Received: from localhost ([::1]:51234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsdyE-0004l9-J1 for larch@yhetil.org; Mon, 14 Jun 2021 00:13:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsdyA-0004jz-Qo for guix-patches@gnu.org; Mon, 14 Jun 2021 00:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsdyA-0004pG-Av for guix-patches@gnu.org; Mon, 14 Jun 2021 00:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsdyA-0004kd-5G for guix-patches@gnu.org; Mon, 14 Jun 2021 00:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49014] [PATCH 0/2] Add tlf Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 04:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49014 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49014@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162364395118222 (code B ref -1); Mon, 14 Jun 2021 04:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2021 04:12:31 +0000 Received: from localhost ([127.0.0.1]:44650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsdxf-0004jq-CJ for submit@debbugs.gnu.org; Mon, 14 Jun 2021 00:12:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:38150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsdxd-0004jh-Ad for submit@debbugs.gnu.org; Mon, 14 Jun 2021 00:12:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsdxd-0004Kt-53 for guix-patches@gnu.org; Mon, 14 Jun 2021 00:12:29 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:36568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsdxZ-0004P1-Kp for guix-patches@gnu.org; Mon, 14 Jun 2021 00:12:28 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsdxY-0004Cp-Kh for guix-patches@gnu.org; Mon, 14 Jun 2021 00:12:24 -0400 Date: Mon, 14 Jun 2021 00:12:23 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623643987; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=IMnWsiiILR8HyWoJuQexb4st2tLQ9whC3ev6Y46GJVc=; b=K+JaTvxzVPILR39rUfQUsfXST+OnL1RI/EQhv0ew/X+K1QIH0PWbYKntueJxbvq5mZZPix jB4jfDw3PbIpZuMzNxRbRjLr864RKeg/DdD+gJogruqpUuFbLKmEhf8ByCBaJpgarvk2la snZxMTqaVQ7JzrI5ff3PMsswUO1vFNFDouaw3RuO6F6wQHoxBg25JNP6c/MD024kVY4C2T JaujkXlCh/EXA9r/fbeaTa70YpE+5RsvY2EsPW1+lw2Yr2BnDHfno+NxKqWWHNWk/SWhUD zM0cDRstmKUqkCub6EQ4A1MYVkrRQ5x0YSgNt5yyMi8Yl0HUqFVP0ns0vYLE4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623643987; a=rsa-sha256; cv=none; b=kSptj9JWAtCZdA5KFFmMcGC4t7gALXCxE0R5pvlXjtCPy7r8b1XJ8fx+wS6eV918eXM41a dgM42KCahz3d7qihMPzONrDWOMAOLwTd7EvT5qzJnvTw0baVg5wSQ13Vq9IApphThVqy0A 27dRdVDPOhhZybealFeX+ifLe+PN2NXH/UU38vgxoH5LKScKb4uM5nhU3wJMYuWaZQOw7N q0PqPHwMCt1wIbYEJ3UpRBMVvicjq6CP1FHfk+KaFasJQG3VR6/n7XrKbqIZs9vW56CVBV gpIzWhLizHw0gg2i2DeOMns4q4qk8seUNnYCP5zJtAaOIqEMbCPpaqn4MNb/Hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 88CB722704 X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: cXhSSBFua/sp 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