From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KG5NOoVNU2BQWgAA0tVLHw (envelope-from ) for ; Thu, 18 Mar 2021 12:54:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GCYsNoVNU2B3dwAA1q6Kng (envelope-from ) for ; Thu, 18 Mar 2021 12:54:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B39424AC6 for ; Thu, 18 Mar 2021 13:54:29 +0100 (CET) Received: from localhost ([::1]:55038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMsAW-0001hk-Dy for larch@yhetil.org; Thu, 18 Mar 2021 08:54:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMs9R-0000iQ-1p for guix-devel@gnu.org; Thu, 18 Mar 2021 08:53:21 -0400 Received: from world.peace.net ([64.112.178.59]:37886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMs9O-0006hw-Sh for guix-devel@gnu.org; Thu, 18 Mar 2021 08:53:20 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMs9M-0003B9-AZ; Thu, 18 Mar 2021 08:53:16 -0400 From: Mark H Weaver To: =?utf-8?Q?L=C3=A9o?= Le Bouter Subject: Re: gnu: imagemagick/fixed: Redirect old sonames to new sonames. Date: Thu, 18 Mar 2021 08:51:44 -0400 Message-ID: <87y2eksjyc.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.112.178.59; envelope-from=mhw@netris.org; helo=world.peace.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616072069; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=zNofnm8eokpZ6J04TRlxX+4jUTXm4nelnnUYcm68uGc=; b=bsnW3vuuc1uH9dLTj5qThvO/7nFm138rs/P8Exazx7H54kkCa/k7r+9nXV78msnoY+lusJ 6j+xSMNRh0MPcjON8USsk0hDzkHfuNLkXAFzJIdJkoyCCKuLc7dvaSjfKMXspSeVPn1S1W py5PyW2fU0fUMitG33QuYhgngH0FDspCLxe4bkK7iAlzEjn9Cn15fZnOK/c1Rboep/T215 ebN/0A6zS874qg78M6tD4i547YsIwlldqad0TPzYuBIAHCq7s/SoVdLiB9LMqv1bADczvR ovLCnA9HaVN+eP0wFFT03dHAwBEvJbV7ytMuAVrYxHQbYp3BWnipBIARD4wGTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616072069; a=rsa-sha256; cv=none; b=GGgjrFhl7I8PZEGgSc5iVCC06qMoz8Fp06iKDzHi5u1q4525/k99JZATAJUthy6JqF3NHC S8fzO5oedPPNnohZTL2A0qujR/GkuDk9LkGOJjocNx9mbNckY7c/XKHsxXTaa1/g71OTNi +vU17zqxW3lxh3d8loT7/rpeQk6I/4vLKAkaI36yRmG3nO7VahuPjxWFFBL9bP3i0D5dq/ rSbH5vfeAtykTx7px+U9E0tr/tzUcgIDJgrndOqzxxjha/eO0ECsf1l4cpvNekPkcbEGCy RiuH2NQdC4QdfrjPs4QkwXnPG/ORnDpQP60nv47LpG+/0e2+/29uiyIZHbPYpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 8B39424AC6 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZoyTcSO/Ti6G Hi L=C3=A9o, Regarding your commit: > From 2e0ff59f0cd836b156f1ef2e78791d864ce3cfcd Mon Sep 17 00:00:00 2001 > From: L=C3=A9o Le Bouter > Date: Thu, 18 Mar 2021 11:12:51 +0100 > Subject: [PATCH] gnu: imagemagick/fixed: Redirect old sonames to new sona= mes. >=20 > * 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(-) >=20 > 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=C3=A9zier curv= es.") > "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