GNU bug report logs - #63050
"guix pull" requires graphical libraries

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Mon, 24 Apr 2023 10:14:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 63050 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 63050 <at> debbugs.gnu.org, Simon Tournier <zimon.toutoune <at> gmail.com>
Subject: Re: bug#63050: "guix pull" requires graphical libraries
Date: Sat, 20 May 2023 18:12:47 +0200
Hi!

Ludovic Courtès <ludo <at> gnu.org> skribis:

> We can get an X11-free Graphviz like so:
>
> diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
> index 26ee96afd4..3a5d33e662 100644
> --- a/gnu/packages/graphviz.scm
> +++ b/gnu/packages/graphviz.scm
> @@ -94,16 +94,12 @@ (define-public graphviz
>                                    (string-append extdir
>                                                   "/libgv_guile.so"))))))))
>      (inputs
> -     (list libxrender
> -           libx11
> -           gts
> +     (list gts
>             gd
>             guile-3.0                    ;Guile bindings
> -           pango
>             fontconfig
>             freetype
>             libltdl
> -           libxaw
>             expat
>             libjpeg-turbo
>             libpng))
>
>
> The closure size reduction is substantial:
>
> $ ./pre-inst-env guix size graphviz | tail -1
> total: 183.6 MiB
> $ guix size graphviz | tail -1
> total: 242.3 MiB
>
> But I suspect we’d still need the full-blown variant for things like
> xdot.

Here’s a proposal:

  https://issues.guix.gnu.org/63610

Ludo’.




This bug report was last modified 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.