Index | Thread | Search

From:
Manuel Giraud <manuel@ledu-giraud.fr>
Subject:
Re: fonts/nerd-fonts: update to 3.3.0;
To:
ports@openbsd.org
Date:
Tue, 10 Dec 2024 10:14:04 +0100

Download raw body.

Thread
Kirill A. Korinsky <kirill@korins.ky> writes:

> On Tue, 03 Dec 2024 14:59:08 +0100,
> Kirill A. Korinsky <kirill@korins.ky> wrote:
>> 
>> On Wed, 20 Nov 2024 21:11:30 +0100,
>> Kirill A. Korinsky <kirill@korins.ky> wrote:
>> >
>> > ports@,
>> >
>> > I'd like to update fonts/nerd-fonts to 3.3.0
>> >
>> > Notable changes:
>> >
>> >  - 3.1.0 changed family name on some fonts, only Noto affected from our
>> >    fonts, see details: https://github.com/ryanoasis/nerd-fonts/issues/1434
>> >
>> >  - 3.3.0 drops and replaces some icons due to switch devicons -> devicon
>> >    see details: https://github.com/ryanoasis/nerd-fonts/pull/1691
>> >
>> > Full changelogs available here:
>> >  - https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.3.0
>> >  - https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.2.1
>> >  - https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.2.0
>> >  - https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.1.1
>> >  - https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.1.0
>> >
>> > Additionally, I had attached an updated version of a port for the Nerd Font
>> > Icons. I.e Symbol font only. Which doesn't patch any existed fonts.
>> >
>> > I'd like to import it as well.
>> >
>> > Feedback? Ok?
>> >
>> 
>
> Update was commited some time ago, but I still looking for OK to import
> nerd-fonts-symbols-only. Anyone?

It builds and install ok on amd64 but I think the Makefile should be:

diff -u Makefile.orig Makefile
--- Makefile.orig	Tue Dec 10 10:09:13 2024
+++ Makefile	Tue Dec 10 10:09:22 2024
@@ -1,4 +1,4 @@
-NF_FONT =	NerdFontsSymbolsOnly
+NF_FONT =	SymbolsOnly
 
 post-install:
 	${INSTALL_DATA_DIR} ${DOCDIR}

Otherwise the package is named "nerdfontssymbolsonly-nerd-fonts-3.3.0".
I guess that it also need this in the parent Makefile:

--- Makefile.~1.1.1.1.~	Sat Dec 31 11:02:54 2022
+++ Makefile	Tue Dec 10 09:35:58 2024
@@ -7,5 +7,6 @@
     SUBDIR += terminus
     SUBDIR += ubuntu
     SUBDIR += ubuntu-mono
+    SUBDIR += symbol-only
 
 .include <bsd.port.subdir.mk>
-- 
Manuel Giraud