From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Sébastien Lerique" <sl@eauchat.org>
Cc: 73157@debbugs.gnu.org
Subject: [bug#73157] [PATCH] gnu: mscgen: Fix dependencies.
Date: Tue, 10 Sep 2024 14:43:03 +0900 [thread overview]
Message-ID: <87mskg5ajc.fsf@gmail.com> (raw)
In-Reply-To: <895158e3b7dfe85ec77db0cb6763bb02b612be7e.1725916543.git.sl@eauchat.org> ("Sébastien Lerique"'s message of "Mon, 9 Sep 2024 23:15:43 +0200")
Hello,
Sébastien Lerique <sl@eauchat.org> writes:
> * gnu/packages/graph.scm (mscgen)
> [inputs]: Add fontconfig, freetype, ijg-libjpeg, libpng, zlib.
>
> Change-Id: If185bcb2f786f6493c20040b47e93440987d7243
> ---
> gnu/packages/graph.scm | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
> index 5c985eaf5b..e987e656a0 100644
> --- a/gnu/packages/graph.scm
> +++ b/gnu/packages/graph.scm
> @@ -53,10 +53,12 @@ (define-module (gnu packages graph)
> #:use-module (gnu packages datastructures)
> #:use-module (gnu packages docbook)
> #:use-module (gnu packages flex)
> + #:use-module (gnu packages fontutils)
> #:use-module (gnu packages gd)
> #:use-module (gnu packages graphics)
> #:use-module (gnu packages graphviz)
> #:use-module (gnu packages gtk)
> + #:use-module (gnu packages image)
> #:use-module (gnu packages linux)
> #:use-module (gnu packages machine-learning)
> #:use-module (gnu packages maths)
> @@ -813,7 +815,7 @@ (define-public mscgen
> (native-inputs
> (list pkg-config))
> (inputs
> - (list gd))
> + (list fontconfig freetype gd ijg-libjpeg libpng zlib))
> (home-page "https://www.mcternan.me.uk/mscgen/")
> (synopsis "Message Sequence Chart Generator")
> (description "Mscgen is a small program that parses Message Sequence Chart
>
> base-commit: 590904cca15922e6474fbd3a71af9b3a45b268af
I've built this locally, and checked if references were retained to the
added inputs; it seems ijg-libjpeg is not retained as a reference, which
means it is unused at run time and could be left out (or perhaps it
tries to dynamically load it, in which case the dlopen calls could be
patched, but I doubt so).
--8<---------------cut here---------------start------------->8---
$ guix gc -R /gnu/store/jbdbq8kxy5956wkqg4qrvfdks776gfb1-mscgen-0.20 |
grep ijg-libjpeg
-> no output
--8<---------------cut here---------------end--------------->8---
Could you verify the above, and if my assumption is correct, send a v2
without the added ijg-libjpeg?
--
Thanks,
Maxim
next prev parent reply other threads:[~2024-09-10 5:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 21:15 [bug#73157] [PATCH] gnu: mscgen: Fix dependencies Sébastien Lerique
2024-09-10 5:43 ` Maxim Cournoyer [this message]
2024-09-10 8:15 ` Sébastien Lerique
2024-09-12 1:24 ` Maxim Cournoyer
2024-09-10 8:48 ` [bug#73157] [PATCH v2] " Sébastien Lerique
2024-09-12 6:25 ` [bug#73157] [PATCH] " Rutherther via Guix-patches via
2024-09-12 12:09 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mskg5ajc.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=73157@debbugs.gnu.org \
--cc=sl@eauchat.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.