Bug 261953 - net/ntpsec Liberation font support in ntpviz
Summary: net/ntpsec Liberation font support in ntpviz
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-14 18:37 UTC by emss
Modified: 2022-02-14 22:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
Add ${FONTSDIR}/Liberation to ntpviz.py font locations (779 bytes, patch)
2022-02-14 18:37 UTC, emss
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)