Bug 273751

Summary: x11-fonts/gnu-unifont-ttf: Update to 15.1.02
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Some People CC: ehaupt, grahamperrin
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch file none

Description Yasuhiro Kimura freebsd_committer freebsd_triage 2023-09-13 05:20:33 UTC
Version 15.1.01 is released on September 12. As was previously mentioned upstream has stopped delivering TrueType fonts file, and it means this port can't be updated anymore. One solution is renaming it to x11-fonts/gnu-unifont-otf and switching to OpenType. But audio/ocp depends on it and I don't know if it also supports OpenType.
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2023-09-23 06:49:15 UTC
Created attachment 245138 [details]
Patch file

Update to 15.1.02.

Since 15.1.01 upstream don't distribute TTF font files anymore. So download OTF font files and convert them to TTF ones with fontforge.

While here, pet portclippy.

ChangeLog:      https://unifoundry.com/unifont/
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-09-25 10:55:34 UTC
Currently, I prefer keeping -ttf port at 15.0.06 and adding -otf port.
ehaupt@ (maintainer of audio/ocp) could check if ocp supports otf.
If it works, we could switch ocp to -otf and remove -ttf port.
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-10-01 00:36:43 UTC
(In reply to Po-Chuan Hsieh from comment #2)

@ehaupt: I've added x11-fonts/gnu-unifont-otf to the ports tree. Could you please check if audio/ocp works with the new port? If so, we could remove x11-fonts/gnu-unifont-ttf from ports tree. Thanks.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-10-02 09:35:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=88f4168b82c2462200ed236d1cb28559aaa2bb18

commit 88f4168b82c2462200ed236d1cb28559aaa2bb18
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-10-02 09:35:18 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-10-02 09:35:24 +0000

    audio/ocp: Switch from ttf to otf font

    Switch from x11-fonts/gnu-unifont-ttf to x11-fonts/gnu-unifont-otf.

    PR:             273751 (based on)

 audio/ocp/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
Comment 5 Emanuel Haupt freebsd_committer freebsd_triage 2023-10-02 09:37:39 UTC
@sunpoet I've switched audio/ocp to x11-fonts/gnu-unifont-otf. Please feel free to nuke x11-fonts/gnu-unifont-ttf.
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-10-16 16:03:15 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=49c47449491564298cdc67b129c7b87ac1d19026

commit 49c47449491564298cdc67b129c7b87ac1d19026
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-16 15:11:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-16 15:59:41 +0000

    x11-fonts/gnu-unifont-ttf: Remove obsoleted port

    Use x11-fonts/gnu-unifont-otf instead.

    PR:             273751

 MOVED                                      |  1 +
 x11-fonts/Makefile                         |  1 -
 x11-fonts/gnu-unifont-ttf/Makefile (gone)  | 34 ------------------------------
 x11-fonts/gnu-unifont-ttf/distinfo (gone)  |  7 ------
 x11-fonts/gnu-unifont-ttf/pkg-descr (gone) |  5 -----
 5 files changed, 1 insertion(+), 47 deletions(-)
Comment 7 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-10-16 16:06:12 UTC
(In reply to Emanuel Haupt from comment #5)

@ehaupt Thanks. I've removed x11-fonts/gnu-unifont-ttf.