From patchwork Thu Feb 29 21:47:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 61255 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 48CA327BBEA; Thu, 29 Feb 2024 21:48:56 +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=ham 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 C168927BBE2 for ; Thu, 29 Feb 2024 21:48:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfoGd-0003tZ-OZ; Thu, 29 Feb 2024 16:48:39 -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 1rfoGa-0003su-OS for guix-patches@gnu.org; Thu, 29 Feb 2024 16:48:36 -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 1rfoGZ-00085A-83 for guix-patches@gnu.org; Thu, 29 Feb 2024 16:48:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfoH0-0006iy-3x for guix-patches@gnu.org; Thu, 29 Feb 2024 16:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69432] [PATCH guix-artwork v2 1/3] website: Adjust style of web site builder. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Feb 2024 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69432@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , pelzflorian@pelzflorian.de Received: via spool by 69432-submit@debbugs.gnu.org id=B69432.170924328425475 (code B ref 69432); Thu, 29 Feb 2024 21:49:02 +0000 Received: (at 69432) by debbugs.gnu.org; 29 Feb 2024 21:48:04 +0000 Received: from localhost ([127.0.0.1]:35543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfoG3-0006co-PQ for submit@debbugs.gnu.org; Thu, 29 Feb 2024 16:48:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfoG1-0006bq-8b for 69432@debbugs.gnu.org; Thu, 29 Feb 2024 16:48:01 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rfoFU-0007XS-JE; Thu, 29 Feb 2024 16:47:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=4ozSIx/J3b3FS8DnOAa23H3ZQwfiv9kAFT4wCX4mPCg=; b=S5PsmZ7vQSsQiKg5WSrf SqK/ACmb/0zL0kF1zpUOuuYSokAUVqDzexeNiIX510swsqz+QECQfcHRCMuEJ4MVrtr++Y+osuc6n 9SimTuvR7dpVXxFxfLVYBTvMd7vIvh8nWLP6PGsPwLmm1EfAzH+YB1FMDbEUyfJFgQ/aSCT/rGZRS 26BjjUx1t6xZ6HJqzkRcWsc1rCYkgbyP9nkGWcNLTyr4U+ZkoiYNG8SphLL+NfYuF33bNQ36pLHmt g9peOabyFHwabdkRSUNEHatkuCN9/+UG1fg2lUFJTpZBBkIuRb5czhxycYcx0edRjh+oRhzZWV2iP j8Ahy79qdN29kw==; From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Thu, 29 Feb 2024 22:47:12 +0100 Message-ID: <20240229214714.9431-1-ludo@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <877cineyn0.fsf@gnu.org> References: <877cineyn0.fsf@gnu.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * website/.guix.scm (lingua-web-site)[build]: Use ‘for-each’ and ‘install-file’ when copying font files. --- website/.guix.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) base-commit: b7ccc5cb1b4ec936c00dbd98376c5d2677e60a63 diff --git a/website/.guix.scm b/website/.guix.scm index 3d8fdb6..1d8c3e6 100644 --- a/website/.guix.scm +++ b/website/.guix.scm @@ -206,13 +206,13 @@ ;; Include the Fira fonts used in ;; website/static/base/css/manual.css. - (mkdir-p (string-append #$output "/static/base/fonts")) - (map (lambda (file) - (copy-file (string-append #+font-fira-sans - "/share/fonts/truetype/" file) - (string-append #$output - "/static/base/fonts/" file))) - '("FiraSans-Bold.ttf" "FiraSans-Regular.ttf")))))) + (for-each (lambda (file) + (install-file (string-append #+font-fira-sans + "/share/fonts/truetype/" + file) + (string-append #$output + "/static/base/fonts"))) + '("FiraSans-Bold.ttf" "FiraSans-Regular.ttf")))))) (computed-file (string-append "guix-web-site-" lingua) build