From patchwork Thu Feb 22 16:10:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 60889 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 342C427BBEA; Thu, 22 Feb 2024 16:17:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AE04927BBE2 for ; Thu, 22 Feb 2024 16:17:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdBko-0003gO-Qh; Thu, 22 Feb 2024 11:16:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdBkb-0003PU-0Y for guix-patches@gnu.org; Thu, 22 Feb 2024 11:16:46 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdBka-0004bz-Nf for guix-patches@gnu.org; Thu, 22 Feb 2024 11:16:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdBkx-0003Ua-LS for guix-patches@gnu.org; Thu, 22 Feb 2024 11:17:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68813] [core-updates PATCH 11/20] gnu: autotrace: Remove libtool archives. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Feb 2024 16:17:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68813 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68813@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 68813-submit@debbugs.gnu.org id=B68813.170861858713186 (code B ref 68813); Thu, 22 Feb 2024 16:17:07 +0000 Received: (at 68813) by debbugs.gnu.org; 22 Feb 2024 16:16:27 +0000 Received: from localhost ([127.0.0.1]:38598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdBkI-0003QX-Nf for submit@debbugs.gnu.org; Thu, 22 Feb 2024 11:16:27 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:58628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdBkA-0003Oh-US for 68813@debbugs.gnu.org; Thu, 22 Feb 2024 11:16:20 -0500 Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-42dd9dfe170so29992011cf.1 for <68813@debbugs.gnu.org>; Thu, 22 Feb 2024 08:15:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708618490; x=1709223290; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kOYeOhlmXgYmQKj3B/XaHrfcBpTwwNKJXDdDIwMmj94=; b=gPoQ0ESsZX02L6WRtBelqdVPH6bto0AW58QhpaamUHc61nM8TEuwRDJNkpv1H2wHvj j4rWtdSzAkZQtyo4RSLhq9IT5Hn2IuvsPMHgda8KGN0JGuUrB9o3maM5NI7ePBSH+bg1 2vFSfi9Rzw8UBPp8zGYEj3QdNYS9xPzoWpKL2Q+Jqy57f0hLyRI6lfreSG5Glr0Pwbya tucp5wue89J6HSr1/ESXpiLrClZS4WXEplYdenJyeB9FO8qXvrG5lGHILvhkmzvlcsqP v8XwIldYyH7U6LoNTA/qOgJX/HxGRSjse6u0uYzn+0aquJmkPxJ5QuZDT7FofAa9uYwI p8sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708618490; x=1709223290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kOYeOhlmXgYmQKj3B/XaHrfcBpTwwNKJXDdDIwMmj94=; b=NJyHwNyEUeaN5Vl+baNa+r9Ds5bnYDXlykwGcs1Z7/EiSDES+IfMSwMP5oi9PQfXm7 XhtzWmveBE36YlvzbOvc5N6BvbUP1+hDhSN5Bg4ceyWh9D2MAl6j9AEZwTphpFszMS3+ BMkMRjt+OkC00VzDhAd8asyQLmJZcTCaXHJ9BaQCFj3G3KPrlV/hX8sIp8LAMJhZzIeT xX76x29KnQwh1osz+Ev6uf6gvr9qUT/HvyReh2Oh9S6ScBVnJDMyYydeahuWyQ8yxfjn rMMyzYCj3CoOee03cdxxTzXaD+Eu5otkodtc+Rlu+qAS6SsszvIdejAYa7ykVdxBS7iA W/ZA== X-Gm-Message-State: AOJu0YzPTgboNN8AKKk9wZcfxhEjxkCd6aBgMY7m6StylUuxm7eMlXDl 2uTG6BZWoMflrngf/lh/aH81v56Hplcos3QiT1YPrZhfWFTPUI0YYsXzuSxu X-Google-Smtp-Source: AGHT+IHNjorfcUEKbkqw+nIZZniQlNQ9jgtNkUb5atTfHY5hIZMiNgUfoBYcMKT5YfPduCNMUDMrZQ== X-Received: by 2002:a0c:e086:0:b0:68f:5d17:8d4 with SMTP id l6-20020a0ce086000000b0068f5d1708d4mr12507002qvk.46.1708618490294; Thu, 22 Feb 2024 08:14:50 -0800 (PST) Received: from localhost.localdomain (dsl-155-144.b2b2c.ca. [66.158.155.144]) by smtp.gmail.com with ESMTPSA id od5-20020a0562142f0500b0068fa74cfa79sm2078437qvb.117.2024.02.22.08.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 08:14:50 -0800 (PST) From: Maxim Cournoyer Date: Thu, 22 Feb 2024 11:10:10 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/graphics.scm (autotrace) [arguments] : Add remove-libtool-archives phase. Change-Id: Icd8dcf86592231e958db1ebe723e3ec6f902e0bd --- gnu/packages/graphics.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index bc7bdc124c..fa33dce747 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -405,7 +405,16 @@ (define-public autotrace ;; or IMAGEMAGICK_; fix that. (substitute* "autotrace.pc.in" (("@MAGICK_(LIBS|CFLAGS)@" _ var) - (string-append "@IMAGEMAGICK_" var "@")))))))) + (string-append "@IMAGEMAGICK_" var "@"))))) + (add-after 'install 'remove-libtool-archives + ;; Libtool archives lists the whole transitive dependencies, + ;; which is unnecessary unless producing static archives and + ;; leads to overlinking, e.g. causing the build of inkscape + ;; to fail due to looking for a transitive pstoedit library. + (lambda _ + (for-each delete-file + (find-files (string-append #$output "/lib") + "\\.la$"))))))) (native-inputs (list which autoconf