From patchwork Sun Dec 17 16:41:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan X-Patchwork-Id: 57662 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4E09027BBE9; Sun, 17 Dec 2023 16:43:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0106527BBE2 for ; Sun, 17 Dec 2023 16:43:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEuEI-0002eA-Tl; Sun, 17 Dec 2023 11:43:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEuEG-0002dx-SE for guix-patches@gnu.org; Sun, 17 Dec 2023 11:43:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rEuEG-0004NK-JX for guix-patches@gnu.org; Sun, 17 Dec 2023 11:43:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEuEH-0006dn-Si for guix-patches@gnu.org; Sun, 17 Dec 2023 11:43:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67869] [PATCH] gnu: Add font-google-roboto-mono. Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Dec 2023 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67869@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170283136525500 (code B ref -1); Sun, 17 Dec 2023 16:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Dec 2023 16:42:45 +0000 Received: from localhost ([127.0.0.1]:58978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEuE0-0006dD-Gc for submit@debbugs.gnu.org; Sun, 17 Dec 2023 11:42:44 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEuDx-0006cy-DO for submit@debbugs.gnu.org; Sun, 17 Dec 2023 11:42:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEuDo-0002bL-NN for guix-patches@gnu.org; Sun, 17 Dec 2023 11:42:32 -0500 Received: from mr3.vodafonemail.de ([145.253.228.163]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEuDk-00045T-Iq for guix-patches@gnu.org; Sun, 17 Dec 2023 11:42:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-23sep; t=1702831335; bh=sw+Wq1IlwoUaw5QorIIFfoSsknOIEcFafcBbEEGoPBY=; h=Message-ID:Date:User-Agent:Content-Language:To:From:Subject: Content-Type:From; b=vMdSt0ksvjqAyvJWYoQpa7HdfQBtzuK0SbFfjGaTq8hwJs4zMxAU/M+sm2jKspmKt j9eudHJkRygyTgcgcdLVvfumrux5h/Nv6oGHVUfgosgO1NBXSrbuKpl9cqjy5f5W+w 3rwT4RveYCIIr2AW0U3TNSLlvaYJiUq/9bDOiYq4= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr3.vodafonemail.de (Postfix) with ESMTPS id 4StTJR6BwMz1yYN for ; Sun, 17 Dec 2023 16:42:15 +0000 (UTC) Received: from [10.11.12.13] (aftr-62-216-202-135.dynamic.mnet-online.de [62.216.202.135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4StTJM38pGzHnfq for ; Sun, 17 Dec 2023 16:42:08 +0000 (UTC) Message-ID: Date: Sun, 17 Dec 2023 17:41:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US X-purgate-type: clean X-purgate: clean X-purgate-size: 2716 X-purgate-ID: 155817::1702831331-36FF8693-0D52788D/0/0 Received-SPF: pass client-ip=145.253.228.163; envelope-from=stefan-guix@vodafonemail.de; helo=mr3.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Stefan X-ACL-Warn: , Stefan via Guix-patches X-Patchwork-Original-From: Stefan via Guix-patches via From: Stefan Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/fonts.scm (font-google-roboto-mono): New variable. Change-Id: I3b18c1a5a8416f2e4429a05b5ef3f2d434ffe871 --- gnu/packages/fonts.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) base-commit: 6ab242609daec00e8bd54f7bff54557c92695724 diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 813367be8a..a5687ee7f6 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -59,6 +59,7 @@ ;;; Copyright © 2023 Denis 'GNUtoo' Carikli ;;; Copyright © 2023 chris ;;; Copyright © 2023 Luis Felipe López Acevedo +;;; Copyright © 2023 Stefan ;;; ;;; This file is part of GNU Guix. ;;; @@ -1134,6 +1135,42 @@ (define-public font-google-roboto visual language \"Material Design\".") (license license:asl2.0))) +(define-public font-google-roboto-mono + (package + (name "font-google-roboto-mono") + ;; The version is taken from the comment of git commit + ;; 4df0b673c9b316ad5e8de8fa70b0768ab66c87d6, which is the last + ;; modification of the RobotoMono*.ttf files in commit + ;; b81989291cb1fc953ac039ed16b3e2ae4685ab33. + (version "3.000") + (source + (origin + ;; The subversion bridge of GitHub allows to only fetch a sub-directory. + (method svn-fetch) + (uri + (svn-reference + (url "https://github.com/google/fonts/trunk/apache/robotomono") + ;; This SVN revision matches the git commit + ;; b81989291cb1fc953ac039ed16b3e2ae4685ab33. + (revision 103762))) + (sha256 + (base32 "0zlprs2cnvld62khb741kdqgwpjsp1cw5wmm8ghzgq9hbfk3fhad")))) + (build-system font-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'install-license-files 'change-directory-to-license + (lambda* (#:key outputs #:allow-other-keys) + (chdir "trunk/apache/robotomono")))))) + (home-page "https://github.com/google/fonts/tree/main/apache/robotomono") + (synopsis "The Roboto Mono family of fonts") + ;; The description is taken from the file DESCRIPTION.en_us.html. + (description + "Roboto Mono is a monospaced addition to the Roboto type family. Like the +other members of the Roboto family, the fonts are optimized for readability on +screens across a wide variety of devices and reading environments.") + (license license:asl2.0))) + (define-public font-borg-sans-mono (package (name "font-borg-sans-mono")