From: Mark H Weaver <mhw@netris.org>
To: "Léo Le Bouter" <lle-bout@zaclys.net>
Cc: guix-devel@gnu.org
Subject: Re: gnu: imagemagick/fixed: Redirect old sonames to new sonames.
Date: Thu, 18 Mar 2021 08:51:44 -0400 [thread overview]
Message-ID: <87y2eksjyc.fsf@netris.org> (raw)
Hi Léo,
Regarding your commit:
> From 2e0ff59f0cd836b156f1ef2e78791d864ce3cfcd Mon Sep 17 00:00:00 2001
> From: Léo Le Bouter <lle-bout@zaclys.net>
> Date: Thu, 18 Mar 2021 11:12:51 +0100
> Subject: [PATCH] gnu: imagemagick/fixed: Redirect old sonames to new sonames.
>
> * gnu/packages/imagemagick.scm (imagemagick/fixed)[arguments]: Add
> 'fix-compat-cheat-rename-so phase to redirect old soname paths (expected
> without grafting) to new sonames introduced by ImageMagick 6.9.12-0 and
> later. These sonames are probably not forward compatible but most probably
> backwards compatible so it should suffice until we remove the graft.
> ---
> gnu/packages/imagemagick.scm | 24 +++++++++++++++++++++++-
> 1 file changed, 23 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
> index 9ac15361b4..a3562f2e13 100644
> --- a/gnu/packages/imagemagick.scm
> +++ b/gnu/packages/imagemagick.scm
> @@ -143,7 +143,29 @@ text, lines, polygons, ellipses and Bézier curves.")
> "6.9.12-2.tar.xz"))
> (sha256
> (base32
> - "17da5zihz58qm41y61sbvw626m5xfwr2nzszlikrvxyq1j1q7asa"))))))
> + "17da5zihz58qm41y61sbvw626m5xfwr2nzszlikrvxyq1j1q7asa"))))
> + (arguments
> + (substitute-keyword-arguments (package-arguments imagemagick)
> + ((#:phases phases)
> + `(modify-phases ,phases
> + (add-after 'install 'fix-compat-cheat-rename-so
> + (lambda* (#:key outputs #:allow-other-keys)
> + (with-directory-excursion
> + (string-append (assoc-ref outputs "out")
> + "/lib")
> + (symlink "libMagick++-6.Q16.so.9.0.0"
> + "libMagick++-6.Q16.so.8.0.0")
> + (symlink "libMagick++-6.Q16.so.9"
> + "libMagick++-6.Q16.so.8")
> + (symlink "libMagickCore-6.Q16.so.7.0.0"
> + "libMagickCore-6.Q16.so.6.0.0")
> + (symlink "libMagickCore-6.Q16.so.7"
> + "libMagickCore-6.Q16.so.6")
> + (symlink "libMagickWand-6.Q16.so.7.0.0"
> + "libMagickWand-6.Q16.so.6.0.0")
> + (symlink "libMagickWand-6.Q16.so.7"
> + "libMagickWand-6.Q16.so.6"))
> + #t))))))))
This is really nasty. Why is imagemagick grafted, anyway? I think it
can simply be updated without causing many rebuilds, no?
Regards,
Mark
next reply other threads:[~2021-03-18 12:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 12:51 Mark H Weaver [this message]
2021-03-18 13:08 ` gnu: imagemagick/fixed: Redirect old sonames to new sonames zimoun
2021-03-18 13:40 ` Mark H Weaver
2021-03-18 19:44 ` Leo Famulari
2021-03-20 0:14 ` Mark H Weaver
2021-03-20 18:28 ` Leo Famulari
2021-03-20 20:26 ` Mark H Weaver
2021-03-27 9:36 ` Mark H Weaver
2021-03-27 18:06 ` Leo Famulari
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=87y2eksjyc.fsf@netris.org \
--to=mhw@netris.org \
--cc=guix-devel@gnu.org \
--cc=lle-bout@zaclys.net \
/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.