From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cGWROXLxaGT0OgAASxT56A (envelope-from ) for ; Sat, 20 May 2023 18:12:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QEBaOXLxaGR9FwEAauVa8A (envelope-from ) for ; Sat, 20 May 2023 18:12:34 +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 C752810B6C for ; Sat, 20 May 2023 18:12:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0PBh-0001e6-4F; Sat, 20 May 2023 12:12:09 -0400 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 1q0PBb-0001db-UI for guix-patches@gnu.org; Sat, 20 May 2023 12:12:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0PBb-0008LA-Gq; Sat, 20 May 2023 12:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0PBZ-0005iY-O8; Sat, 20 May 2023 12:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63610] [PATCH 2/3] self: Build against "graphviz-minimal". Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: mail@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Sat, 20 May 2023 16:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63610 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63610@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 63610-submit@debbugs.gnu.org id=B63610.168459910021931 (code B ref 63610); Sat, 20 May 2023 16:12:01 +0000 Received: (at 63610) by debbugs.gnu.org; 20 May 2023 16:11:40 +0000 Received: from localhost ([127.0.0.1]:59209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0PBD-0005hZ-QI for submit@debbugs.gnu.org; Sat, 20 May 2023 12:11:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0PBC-0005hM-Kg for 63610@debbugs.gnu.org; Sat, 20 May 2023 12:11:39 -0400 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 1q0PB7-0008IY-EM; Sat, 20 May 2023 12:11:33 -0400 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=5ZEhVvMICNVBFJF2oGFgN1fCdBvgGR4BWltjmiu7N/8=; b=ABdrbHVtXKgvPp1+NzEc CHYq52VfnnGIkDwVFl8+QDPkjdmdXCDGfm/frsTiohYTEXJQ73ArpGopAAw3Br0BovEK594/1qpPP NYQfvXOBnEPTxfOkDUQH+n0B6e/Yk7pjr77z2yB479bfuamFZYhXAnk0+vYnr66IF3ndrl80gccdJ HRGeezIKx7G2NQxbBeyPPDHN0eembGEVEaDec0l4WE9GRlNLYGSr9z5zRAQieeAWoXavbNb9Kc/zr 34ca8+ll8vOAnv87dheolP/Ny1+VMKjPcm96wqlfJab6JKL+G55pHKGJZKrCCCmUNje1osP59fUyi jd80mUfBPBBV5g==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0PB7-0001oj-1r; Sat, 20 May 2023 12:11:33 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sat, 20 May 2023 18:11:24 +0200 Message-Id: <238c5c71317fffbb2c7b88387d62b7759201c3d8.1684598152.git.ludo@gnu.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684599154; a=rsa-sha256; cv=none; b=CKLS/Z5GFWGUpKOdod78kJE7yxfSj692s4ZW/v8/BQfTFaJT8TQhyxHoEqs/hTr4rOT2pM MpbLLrTQffaTyhX0jGrEjfXXq5j2gb1CtRNecUFYfI8QNg5O28DYn60qCKTAOmImpv1SBD qGF4N+tkyVyZufM+kAivkeMhoZc1hsmze/rPowEz4yB02y/5NaYZrx/Re+fIOxzodoEiQX q31NAT680/5gP4mc/T/oYWOxR6Irs1TJMqnb24LpddhEpQHbzr6aJr4VBBiEe84UFMLSh3 oCLoOZEfL/RMl0pC2ROazr8JccbNf6t8tWUUSKbepDl8EnaUt50fMh20rDRgKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ABdrbHVt; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684599154; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=5ZEhVvMICNVBFJF2oGFgN1fCdBvgGR4BWltjmiu7N/8=; b=qbuBklgPq9BNr1SMkAdSYcv3eje9QsD4aOoBn9+A8mdeH5VLajHu+ofBfVT83UBT46bL8c 5lMhxUxT4eyQsJjAegZE7Le3MXeo9ZYmUQ9A9UPTVAW020b0rkYzbWzzywZ4MDxTS7oL4L gxdEqg4pPfhs/kIGtpCAQhYdqjtFB2ylGYWCGxrxBGimOcEHRxs5zo+5653go7M4o8jZbu FR9wqtDd8EHHiHzEncRO/1Hrlpo2Is+SS9n2nnUvju6wqXyiNAxrWYlsF0JDYORUdbrla9 pmFzeXq05vfKGRsOFvzHx6cCHGUvEkrhLzdeRkXKe92K9I6TP9pQrIjsgiW8Tw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ABdrbHVt; dmarc=pass (policy=none) header.from=gnu.org; 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: -0.08 X-Spam-Score: -0.08 X-Migadu-Queue-Id: C752810B6C X-TUID: 0KIOevIC1aIU Fixes . Reported by Andreas Enge . * guix/self.scm (%packages): Change "graphviz" to refer to "graphviz-minimal". Add "font-ghostscript". (info-manual): Define 'font-ghostscript'. [build]: Set XDG_DATA_DIRS. --- guix/self.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/guix/self.scm b/guix/self.scm index 74c953bd50..9e0aa82698 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017-2022 Ludovic Courtès +;;; Copyright © 2017-2023 Ludovic Courtès ;;; Copyright © 2020 Martin Becze ;;; ;;; This file is part of GNU Guix. @@ -72,7 +72,8 @@ (define %packages ("gettext-minimal" . ,(ref 'gettext 'gettext-minimal)) ("gcc-toolchain" . ,(ref 'commencement 'gcc-toolchain)) ("glibc-utf8-locales" . ,(ref 'base 'glibc-utf8-locales)) - ("graphviz" . ,(ref 'graphviz 'graphviz)) + ("graphviz" . ,(ref 'graphviz 'graphviz-minimal)) + ("font-ghostscript" . ,(ref 'ghostscript 'font-ghostscript)) ("texinfo" . ,(ref 'texinfo 'texinfo))))) (define (specification->package name) @@ -404,6 +405,9 @@ (define (info-manual source) (define graphviz (specification->package "graphviz")) + (define font-ghostscript + (specification->package "font-ghostscript")) + (define glibc-utf8-locales (specification->package "glibc-utf8-locales")) @@ -444,6 +448,9 @@ (define (info-manual source) ;; Build graphs. (mkdir-p (string-append #$output "/images")) + + (setenv "XDG_DATA_DIRS" ;fonts needed by 'dot' + #+(file-append font-ghostscript "/share")) (for-each (lambda (dot-file) (invoke #+(file-append graphviz "/bin/dot") "-Tpng" "-Gratio=.9" "-Gnodesep=.005" -- 2.40.1