Created attachment 231822 [details] Add ${FONTSDIR}/Liberation to ntpviz.py font locations Hi, Liberation font is installed in ${FONTSDIR}/Liberation by x11-fonts/liberation-fonts-ttf, ntpviz.py expects to find the font in ${FONTSDIR}/liberation. Attached patch adds ${FONTSDIR}/Liberation to ntpviz.py font locations. Regards Éric Masson
But the patch adds "@PREFIX@/share/fonts/Liberation" twice.
Hi Yuri, I don't think so, only 1 line is added (7) and differs from the previous one 6 for fontpath in ("@PREFIX@/share/fonts/liberation", 7 + "@PREFIX@/share/fonts/Liberation", liberation != Liberation Regards Éric
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d2eab7cd4566bf42810f24552fad6f58468c4dc commit 3d2eab7cd4566bf42810f24552fad6f58468c4dc Author: Éric Masson <emss@free.fr> AuthorDate: 2022-02-14 22:48:02 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-02-14 22:48:47 +0000 net/ntpsec: Liberation font support in ntpviz PR: 261953 net/ntpsec/Makefile | 1 + net/ntpsec/files/patch-ntpclients_ntpviz.py (new) | 10 ++++++++++ 2 files changed, 11 insertions(+)