guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#70169] [PATCH v2 13/12] doc: Use "dejavu sans" instead of "Helvetic


From: Ludovic Courtès
Subject: [bug#70169] [PATCH v2 13/12] doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images.
Date: Mon, 08 Apr 2024 14:15:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Janneke Nieuwenhuizen <janneke@gnu.org> skribis:

> Janneke Nieuwenhuizen writes:
>
>> Note that you'll need an environment with something like
>>
>> guix shell -CP -m manifest.scm fontconfig font-ghostscript graphviz \
>>     imagemagick texlive-bin
>
> Headsup: using the attached bonus patch the tarball reproduces for me
> also without using a container, i.e., building it in
>
>     guix shell -CP -m manifest.scm fontconfig graphviz imagemagick texlive-bin
>
> or
>
>     guix shell -m manifest.scm fontconfig graphviz imagemagick texlive-bin
>
> now creates the same tarball for me.

Ah yes, I had:

--8<---------------cut here---------------start------------->8---
/bin/sh '/home/ludo/src/guix/build-aux/missing' dot -Tpng -Gratio=.9 
-Gnodesep=.005 -Granksep=.00005 -Nfontsize=9 -Nheight=.1 -Nwidth=.1 < 
"doc/images/bootstrap-graph.dot" > "./doc/images/bootstrap-graph.png.tmp"
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts 
need installing?
make[2]: *** [Makefile:7321: doc/images/bootstrap-graph.png] Error 1
--8<---------------cut here---------------end--------------->8---

>>From 83287968f06487fa907ef3575cef331b415350c7 Mon Sep 17 00:00:00 2001
> Message-ID: 
> <83287968f06487fa907ef3575cef331b415350c7.1712479964.git.janneke@gnu.org>
> In-Reply-To: <cover.1712479964.git.janneke@gnu.org>
> References: <cover.1712479964.git.janneke@gnu.org>
> From: Janneke Nieuwenhuizen <janneke@gnu.org>
> Date: Sun, 7 Apr 2024 10:03:06 +0200
> Subject: [PATCH v2 13/12] doc: Use "dejavu sans" instead of "Helvetica" or
>  "sans" in dot images.
>
> Font-dejavu is (now) an input of fontconfig.  Specifying "dejavu sans" makes
> generated images reproducible even when other fonts are installed (notably
> font-google-noto).
>
> * doc/images/bootstrap-graph.dot,
> doc/images/bootstrap-packages.dot,
> doc/images/coreutils-bag-graph.dot,
> doc/images/coreutils-graph.dot,
> doc/images/gcc-core-mesboot0-graph.dot,
> doc/images/service-graph.dot,
> doc/images/shepherd-graph.dot: Use fontname = "dejavu sans".
> * doc/guix.texi (Full-Source Bootstrap): Update gcc-core-mesboot0.dot recipe
> accordingly.
>
> Change-Id: If21d7d39d45c66de5bceafb7b825a057d540ee50

I installed this patch but got:

--8<---------------cut here---------------start------------->8---
$ make dist -j4 V=1
Makefile:7391: warning: overriding recipe for target 'doc/stamp-vti'
Makefile:5105: warning: ignoring old recipe for target 'doc/stamp-vti'
Makefile:7392: warning: overriding recipe for target 'doc/stamp-1'
Makefile:5170: warning: ignoring old recipe for target 'doc/stamp-1'
Makefile:7392: warning: overriding recipe for target 'doc/stamp-2'
Makefile:5235: warning: ignoring old recipe for target 'doc/stamp-2'
Makefile:7392: warning: overriding recipe for target 'doc/stamp-3'
Makefile:5300: warning: ignoring old recipe for target 'doc/stamp-3'
Makefile:7392: warning: overriding recipe for target 'doc/stamp-4'
Makefile:5365: warning: ignoring old recipe for target 'doc/stamp-4'
Makefile:7392: warning: overriding recipe for target 'doc/stamp-5'
Makefile:5430: warning: ignoring old recipe for target 'doc/stamp-5'
Makefile:7392: warning: overriding recipe for target 'doc/stamp-6'
Makefile:5495: warning: ignoring old recipe for target 'doc/stamp-6'
Makefile:7484: Autotools cache out of date.
Autotools cache version: 1.3.0.57430-933766.
Git version: 1.3.0.57431-732eb8.
Please run `autoreconf -vif'.
Makefile:7489: *** Cannot create reproducible tarball.  Stop.
--8<---------------cut here---------------end--------------->8---

Same story after running ‘autoreconf -vfi’, not sure why.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]