Package: dclock
Version: 2.2.2-14
Severity: normal
Based on information I found at the original upstream site for dclock:
http://opencircuitdesign.com/~tim/programs/dclock/index.html
I was trying to use a "modern" font with dclock, by passing the -fontName
option, which lets you, for instance, say:
dclock -date "%a %b %d" -fontName 'DejaVu Serif'
I got a usage message instead, indicating that the -fontName option
is unsupported.
Investigation:
Debian patch 03, created for dclock 2.2.2-4 in commit 84bc98f070,
addresses issue #514277. The patch relies on the XFT_SUPPORT preprocessor
flat being enabled. The upstream Imakefile and Makefile include the
"-DXFT_SUPPORT" flag, and if I clone https://salsa.debian.org/debian/dclock,
then a simple "xmkmf; make" sequence will build a working version.
But for some reason the -DXFT_SUPPORT flag isn't being generated by
the Debian builds. I can find no evidence of that compiler flag in
the latest build log:
https://buildd.debian.org/status/fetch.php?pkg=dclock&arch=amd64&ver=2.2.2-14%2bb1&stamp=1710196665&raw=0
(I'll also note that patch 03 didn't touch the man page, so there is as
yet no Debian documentation of the missing option. I'd offer a patch for
that, but I think I have no way of processing a .pod file.)
-- System Information:
Debian Release: 12.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-28-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dclock depends on:
ii libc6 2.36-9+deb12u9
ii libx11-6 2:1.8.4-2+deb12u2
ii libxt6 1:1.2.1-1.1
Versions of packages dclock recommends:
ii sox 14.4.2+git20190427-3.5
dclock suggests no packages.
-- no debconf information