From 817eb4c0fe718151b590da1d8f2675523dc75587 Mon Sep 17 00:00:00 2001 From: Kurome Date: Wed, 11 Jun 2025 18:07:17 +0900 Subject: [PATCH] gnu: font-google-roboto: Update to 3.011. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/fonts.scm (font-google-roboto): Update to 3.011. [source] : New repository. [arguments] <#:phases>: Add 'chdir. [homepage]: New repository. [description]: Format. [license]: Change to OFL. Change-Id: Iefa37a38ae51f6f000cdf383f8aed436e08a3eaf Signed-off-by: 宋文武 --- gnu/packages/fonts.scm | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index e1f80a13f7db7112c38366970abb69037a83a490..c21d7c183de2fe3f26d3a51faa8d81cc4275982f 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1562,24 +1562,32 @@ fonts.") (define-public font-google-roboto (package (name "font-google-roboto") - (version "2.136") + (version "3.011") (source (origin (method url-fetch) - (uri (string-append "https://github.com/google/roboto/releases/download/" - "v" version "/roboto-hinted.zip")) + (uri (string-append + "https://github.com/googlefonts/roboto-3-classic/releases/download/v" + version "/Roboto_v" version ".zip")) (file-name (string-append name "-" version ".zip")) (sha256 - (base32 - "0spscx08fad7i8qs7icns96iwcapniq8lwwqqvbf7bamvs8qfln4")))) + (base32 "03km9r4cgbbjparmzvlkr59a3r6j5cwmnf4s17qr7wkdf0qyx7wq")))) (build-system font-build-system) - (home-page "https://github.com/google/roboto") + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; Install only needed fonts. + (add-before 'install 'chdir + (lambda _ + (chdir "../hinted/static")))))) + (home-page "https://github.com/googlefonts/roboto-3-classic") (synopsis "The Roboto family of fonts") (description "Roboto is Google’s signature family of fonts, the default font on Android -and Chrome OS, and the recommended font for the -visual language \"Material Design\".") - (license license:asl2.0))) +and Chrome OS, and the recommended font for the visual language \"Material +Design\".") + (license license:silofl1.1))) (define-public font-google-roboto-mono (package