[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63050: "guix pull" requires graphical libraries
From: |
Ludovic Courtès |
Subject: |
bug#63050: "guix pull" requires graphical libraries |
Date: |
Sat, 20 May 2023 18:12:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi!
Ludovic Courtès <ludo@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’.