Bug#1138728: trixie-pu: package fldigi/fldigi_4.2.06-1+deb13u1

Dave Hibberd <[email protected]> Tue, 02 Jun 2026 22:42:14 +0100
Newsgroups gmane.linux.debian.devel.ham
Message-ID <178043653474.52821.11434838692820430866.reportbug__24614.4522608787$1780436744$gmane$org@macrotis>
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], [email protected], [email protected]
Control: affects -1 + src:fldigi
User: [email protected]
Usertags: pu

Hello!

[ Reason ]
This fixes a bug in fldigi where it does not export the appropriate frequency
separator for the ADIF specification if the user is in a locale where comma
separation is the norm. The standard expects a dot.

This has been reported and fixed in bug #1114613

[ Impact ]
When users in locales that use a comma instead of a dot for frequency marking /
decimal separation save a contact in the logbook, they will see the wrong
separator exported via API to other applications, causing errors, and stored
incorrectly in the application's internal log.

[ Tests ]
On my Trixie workstation, the package stores and exports all new log entries
with a dot
separator regardless of locale.

[ Risks ]
I don't expect anything major to break for the user, the code changes are
minor.
The internal log shows different separators before and after the patch is
applied, however the export feature normalises this so impact is minimal.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
localefix.patch forces the application to use C.UTF-8 numbers regardless of
system locale.

[ Other info ]
I'm happy to sponsor this upload for the contributor who is working on it.
fldigi_4.2.06-1+deb13u1.debdiff (text/plain, 1.5 KB)
diff -Nru fldigi-4.2.06/debian/changelog fldigi-4.2.06/debian/changelog
--- fldigi-4.2.06/debian/changelog	2025-02-10 20:08:42.000000000 +0000
+++ fldigi-4.2.06/debian/changelog	2026-05-17 17:41:50.000000000 +0100
@@ -1,3 +1,10 @@
+fldigi (4.2.06-1+deb13u1) trixie; urgency=medium
+
+  * Team upload.
+  * Backport bug fix (#1114613)
+
+ -- Dawid Kulas <[email protected]>  Sun, 17 May 2026 18:41:50 +0200
+
 fldigi (4.2.06-1) unstable; urgency=medium
 
   * New upstream version 4.2.06.
diff -Nru fldigi-4.2.06/debian/patches/localefix.patch fldigi-4.2.06/debian/patches/localefix.patch
--- fldigi-4.2.06/debian/patches/localefix.patch	1970-01-01 01:00:00.000000000 +0100
+++ fldigi-4.2.06/debian/patches/localefix.patch	2026-05-17 17:41:50.000000000 +0100
@@ -0,0 +1,18 @@
+Forwarded: yes - https://groups.io/g/linuxham/topic/115213599
+Description: Fix problem with wrong decimal separator for some languages (#1114613)
+Author: Dawid Kulas <[email protected]>
+Index: fldigi/src/main.cxx
+===================================================================
+--- fldigi.orig/src/main.cxx
++++ fldigi/src/main.cxx
+@@ -997,6 +997,8 @@ int main (int argc, char *argv[])
+ 
+ 	setlocale(LC_ALL, "");
+ 
++	setlocale(LC_NUMERIC, "C.UTF-8");
++
+ #ifndef ENABLE_NLS
+ 	setlocale(LC_TIME, "");
+ #endif
+
+
diff -Nru fldigi-4.2.06/debian/patches/series fldigi-4.2.06/debian/patches/series
--- fldigi-4.2.06/debian/patches/series	2024-05-04 11:03:13.000000000 +0100
+++ fldigi-4.2.06/debian/patches/series	2026-05-17 17:41:50.000000000 +0100
@@ -1 +1,2 @@
+localefix.patch
 aclocal