From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ICD1EFJI9mJWJwAAbAwnHQ (envelope-from ) for ; Fri, 12 Aug 2022 14:32:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MJMSEVJI9mL1xwAA9RJhRA (envelope-from ) for ; Fri, 12 Aug 2022 14:32:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C7B672E9D2 for ; Fri, 12 Aug 2022 14:32:17 +0200 (CEST) Received: from localhost ([::1]:60172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMTpo-00038h-KL for larch@yhetil.org; Fri, 12 Aug 2022 08:32:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMTpe-00038W-So for guix-patches@gnu.org; Fri, 12 Aug 2022 08:32:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMTpa-00021Q-RX for guix-patches@gnu.org; Fri, 12 Aug 2022 08:32:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMTpa-00038f-IN for guix-patches@gnu.org; Fri, 12 Aug 2022 08:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57149] [PATCH] gnu: Add font-nerd-fonts-firacode Resent-From: Benoit Joly Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Aug 2022 12:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 57149@debbugs.gnu.org Received: via spool by 57149-submit@debbugs.gnu.org id=B57149.166030747012002 (code B ref 57149); Fri, 12 Aug 2022 12:32:02 +0000 Received: (at 57149) by debbugs.gnu.org; 12 Aug 2022 12:31:10 +0000 Received: from localhost ([127.0.0.1]:55833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMToj-00037V-Hk for submit@debbugs.gnu.org; Fri, 12 Aug 2022 08:31:10 -0400 Received: from mail-108-mta115.mxroute.com ([136.175.108.115]:39465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMToe-00036w-QM for 57149@debbugs.gnu.org; Fri, 12 Aug 2022 08:31:08 -0400 Received: from filter006.mxroute.com ([140.82.40.27] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta115.mxroute.com (ZoneMTA) with ESMTPSA id 182920940fe0000261.001 for <57149@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Fri, 12 Aug 2022 12:30:56 +0000 X-Zone-Loop: 5a8b7dc1387690c0f5fc3eeeea1289a22c0ad3807dff X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=benoitj.ca; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: References:In-Reply-To:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DXCC71LA5pFcxqYjW8OkDh+z7/UQWlU+H7RNSfcyYKg=; b=mwcRedwZihzhGo1zsrIFPdybFl FK4LfTCovQVW0be0CH36ASi5LgEdpQ1pASsGzXUCfPMFaOoMpIEvy5bXaYiI38feGv2uFAiHAowZN QdDZ7XnWdjnLYhGhyyCM5OJYvUbKUHvfBL2V4dveJBw3kWgznj045f41fP6C0QqR44j970M4JXjNJ xF4JeOLFAcCsLcz9XlgnwWq5eexjVp6X5sP5YIjamMjoXy3H7iLQhiEkBPs8MQCSei+mATT7rKcAg SnP4wDDC9XMvgmjAAL3twtABF/7kQ60zCJ6RUzE+EIkDuSslUFPTNRn3yqpxmlSqj4qOQQv7eXlpk MjnkeNBw==; Date: Fri, 12 Aug 2022 08:30:48 -0400 From: Benoit Joly In-Reply-To: References: <20220812042313.19198-1-benoit@benoitj.ca> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----D9C6KRFHO4NJ0F3RLB3937BDF7I8DV Content-Transfer-Encoding: 7bit X-Authenticated-Id: benoit@benoitj.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660307538; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DXCC71LA5pFcxqYjW8OkDh+z7/UQWlU+H7RNSfcyYKg=; b=idWHDDMo4IElGYwOQaw6yRpebUPBk6vBBlxJPlIIkoA9YCQnYjApIPgw7RMo93xJ26ewbl 6fHc9rsTnb+RZ/+U1Wz7OB/2Ictg7uiOow9C4XfsflHh0dsvaIeG0+P5/IGy9DM0PGpdK2 1Gsb+Oncyjj1qPT+1vS8NuB9djNn+BIN9Gm0Jr4lvswXKW46KOAaJArl3oOvr+1hv+ZSKg 3ZKUuL0cC0IYdiYJ4DwZMB7w3X1o2UA6fKZ8zbWBDZXyB6ZOTuU/AQmrinuDaHk5Ra1VII +azD+Mg4RVaL/7QAt3kA1qPSBf8xux5TTBCGeG0m6VtJlF+9seGSZYo2Rka4NA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660307538; a=rsa-sha256; cv=none; b=AaZqh/pnQQTJWmLjdXC7ibZYutlhU0wwgTIv4jfxUYBaq0Q0y+rCRaa/WeJ+Sr3U92OExP n4g89pv3L6EXctoXHlJ+/1Pa67hoAS1yYlegIKhtbPH/0f9OCnV9w+vPcQDclHBnnZeUy+ RohzPxM98KE1DmHhuw11xaxmreD/ZgpGwWXE8cbHgawmtfjHRZJdEfPO6yFxwM9bfKyeUG M7YrZmhztcu5BArgjlwqck7DWNOtDEvAS21GaEKL042zFfkBN6sL8DGw3Seyb2Pfzpii7R 0OqLeWeBq5qPsDFy4n/n0FWbPMgVGlWTWaLuv1z6SyWmArjVnCEUXj25JMDLgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=benoitj.ca header.s=x header.b=mwcRedwZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=benoitj.ca header.s=x header.b=mwcRedwZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C7B672E9D2 X-Spam-Score: 1.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: qwAm0CfErurS ------D9C6KRFHO4NJ0F3RLB3937BDF7I8DV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=20 I'll have a look on the licensing=2E It's not worth the effort if this is = non free=2E Thanks for the feedback! Benoit=20 On August 12, 2022 5:51:09 AM EDT, Liliana Marie Prikler wrote: >Am Freitag, dem 12=2E08=2E2022 um 00:23 -0400 schrieb Benoit Joly: >> * gnu/packages/fonts (font-nerd-fonts-firacode): New variable=2E >> --- >> =C2=A0gnu/packages/fonts=2Escm | 35 +++++++++++++++++++++++++++++++++++ >> =C2=A01 file changed, 35 insertions(+) >>=20 >> diff --git a/gnu/packages/fonts=2Escm b/gnu/packages/fonts=2Escm >> index 20b55bce96=2E=2E0ce9ba8414 100644 >> --- a/gnu/packages/fonts=2Escm >> +++ b/gnu/packages/fonts=2Escm >> @@ -51,6 +51,7 @@ >> =C2=A0;;; Copyright =C2=A9 2021 Liliana Marie Prikler >> >> =C2=A0;;; Copyright =C2=A9 2022 Jose G Perez Taveras >> =C2=A0;;; Copyright =C2=A9 2022 Hilton Chain >> +;;; Copyright =C2=A9 2022 Benoit Joly >> =C2=A0;;; >> =C2=A0;;; This file is part of GNU Guix=2E >> =C2=A0;;; >> @@ -2795,3 +2796,37 @@ (define-public font-chiron-hei-hk >> =C2=A0Kong variant of Adobe=E2=80=99s Source Han Sans=2E=C2=A0 The font= aims at providing >> a modern, >> =C2=A0region-agnostic glyph set adopting the =E2=80=9Cmodern=E2=80=9D g= lyph style that is >> similar to >> =C2=A0prevalent typefaces in Traditional Chinese regions=2E"))) >> + >> +(define-public font-nerd-fonts-fira-code >> +=C2=A0 (package >> +=C2=A0=C2=A0 (name "font-nerd-fonts-fira-code") >> +=C2=A0=C2=A0 (version "2=2E1=2E0") >> +=C2=A0=C2=A0 (source >> +=C2=A0=C2=A0=C2=A0 (origin >> +=C2=A0=C2=A0=C2=A0=C2=A0 (method url-fetch) >> +=C2=A0=C2=A0=C2=A0=C2=A0 (uri >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "https://github=2Ecom/ryanoasis/n= erd-fonts/releases/download/v" >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 version >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "/FiraCode=2Ezip")) >> +=C2=A0=C2=A0=C2=A0=C2=A0 (sha256 >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (base32 >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "1rx7zrkq0584k6hrh6dx30xrnz5nq379= xyw73pfd4gxaxnh9mpi1")))) >Use (uri (string-append "=2E=2E=2E" > "=2E=2E=2E") >> +=C2=A0=C2=A0 (build-system font-build-system) >> +=C2=A0=C2=A0 (arguments >> +=C2=A0=C2=A0=C2=A0 `(#:phases >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standard-phases >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (add-before 'install 'make-= files-writable >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda _ >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (fo= r-each >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 make-file-writable >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (find-files "=2E" "=2E*\\=2E(otf|otc|ttf|ttc)$")) >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #t)= )))) >Why do the files need to be made writable for install? > >> +=C2=A0=C2=A0 (home-page "https://www=2Enerdfonts=2Ecom/") >> +=C2=A0=C2=A0 (synopsis "Nerd fonts variant of FiraCode font") >> +=C2=A0=C2=A0 (description >> +=C2=A0=C2=A0=C2=A0 "Nerd fonts variant of FiraCode font=2E=C2=A0 Nerd = Fonts is a project >> that patches >> +developer targeted fonts with a high number of glyphs (icons)=2E=C2=A0 >> Specifically to >> +add a high number of extra glyphs from popular 'iconic fonts' such >> as Font >> +Awesome, Devicons, Octicons, and others=2E") >> +=C2=A0=C2=A0 (license license:silofl1=2E1))) >The description should consist of full sentences=2E Note that Nerd fonts >pulls in icons that are licensed under CC BY-NC-ND, which makes them >unfree=2E I'm not sure if those icons are present in the default >distribution, but I'd hazard a guess that they are=2E > >More concerningly, the patches that can be applied via nerd fonts are >directly coded into their font-patcher, rather than, say, distributed >as a json file to be read separately=2E As far as I'm aware, this makes >nerd-fonts (the tool) itself NG=2E > >Cheers --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E ------D9C6KRFHO4NJ0F3RLB3937BDF7I8DV Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,

I'll have a look on the licensing=2E I= t's not worth the effort if this is non free=2E

Thanks for the feedb= ack!

Benoit

On August 12, 2022 5:= 51:09 AM EDT, Liliana Marie Prikler <liliana=2Eprikler@ist=2Etugraz=2Eat= > wrote:
Am Freitag, dem 12=2E08=2E2022 um 00:23=
 -0400 schrieb Benoit Joly:
* gnu/packages/fonts (font-nerd-fonts-firacode): New variable=2E
&n= bsp;gnu/packages/fonts=2Escm | 35 +++++++++++++++++++++++++++++++++++
&n= bsp;1 file changed, 35 insertions(+)

diff --git a/gnu/packages/fonts= =2Escm b/gnu/packages/fonts=2Escm
index 20b55bce96=2E=2E0ce9ba8414 10064= 4
--- a/gnu/packages/fonts=2Escm
+++ b/gnu/packages/fonts=2Escm
@@= -51,6 +51,7 @@
 ;;; Copyright =C2=A9 2021 Liliana Marie Prikler<liliana=2Eprikler@gmail=2Ecom>
 ;;; Copyright =C2=A9 2022 J= ose G Perez Taveras <josegpt27@gmail=2Ecom>
 ;;; Copyright = =C2=A9 2022 Hilton Chain <hako@ultrarare=2Espace>
+;;; Copyright = =C2=A9 2022 Benoit Joly <benoit@benoitj=2Eca>
 ;;;
 ;= ;; This file is part of GNU Guix=2E
 ;;;
@@ -2795,3 +2796,37 @@ = (define-public font-chiron-hei-hk
 Kong variant of Adobe=E2=80=99s = Source Han Sans=2E  The font aims at providing
a modern,
 r= egion-agnostic glyph set adopting the =E2=80=9Cmodern=E2=80=9D glyph style = that is
similar to
 prevalent typefaces in Traditional Chinese r= egions=2E")))
+
+(define-public font-nerd-fonts-fira-code
+  = (package
+   (name "font-nerd-fonts-fira-code")
+ &nbs= p; (version "2=2E1=2E0")
+   (source
+    (o= rigin
+     (method url-fetch)
+   = ;  (uri
+      (string-append
+ &n= bsp;     "https://github=2Ecom/ryanoasis/nerd-fonts/rel= eases/download/v"
+       version
+&nbs= p;      "/FiraCode=2Ezip"))
+   =   (sha256
+      (base32
+  &= nbsp;    "1rx7zrkq0584k6hrh6dx30xrnz5nq379xyw73pfd4gxaxnh9mp= i1"))))
Use (uri (string-append "=2E=2E=2E"
= "=2E=2E=2E")
+     &= nbsp;      #t)))))
Why do the file= s need to be made writable for install?

+   (home-page "https://www=2Enerdfonts=2Eco= m/")
+   (synopsis "Nerd fonts variant of FiraCode font")
+=    (description
+    "Nerd fonts variant of Fir= aCode font=2E  Nerd Fonts is a project
that patches
+developer t= argeted fonts with a high number of glyphs (icons)=2E 
Specifically= to
+add a high number of extra glyphs from popular 'iconic fonts' such<= br>as Font
+Awesome, Devicons, Octicons, and others=2E")
+  = ; (license license:silofl1=2E1)))
The description should co= nsist of full sentences=2E Note that Nerd fonts
pulls in icons that are= licensed under CC BY-NC-ND, which makes them
unfree=2E I'm not sure if= those icons are present in the default
distribution, but I'd hazard a g= uess that they are=2E

More concerningly, the patches that can be app= lied via nerd fonts are
directly coded into their font-patcher, rather t= han, say, distributed
as a json file to be read separately=2E As far as= I'm aware, this makes
nerd-fonts (the tool) itself NG=2E

Cheers<= br>
--
Sent from my Android device with K-9 Mail=2E P= lease excuse my brevity=2E
------D9C6KRFHO4NJ0F3RLB3937BDF7I8DV--