Bug 261953

Summary: net/ntpsec Liberation font support in ntpviz
Product: Ports & Packages Reporter: emss
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (yuri)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add ${FONTSDIR}/Liberation to ntpviz.py font locations none

Description emss 2022-02-14 18:37:47 UTC
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
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-02-14 18:43:47 UTC
But the patch adds "@PREFIX@/share/fonts/Liberation" twice.
Comment 2 emss 2022-02-14 18:51:35 UTC
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
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2022-02-14 22:48:49 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-02-14 22:49:25 UTC
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(+)