[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/22: gnu: autotrace: Remove libtool archives.
From: |
guix-commits |
Subject: |
13/22: gnu: autotrace: Remove libtool archives. |
Date: |
Sat, 9 Mar 2024 13:28:23 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit bf6db081180f9a4548bce7714d5ada742449ff13
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Feb 18 23:42:26 2024 -0500
gnu: autotrace: Remove libtool archives.
* gnu/packages/graphics.scm (autotrace)
[arguments] <phases>: 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 @@ objects!")
;; 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
- 14/22: gnu: autotrace: Fix pkg-config file., (continued)
- 14/22: gnu: autotrace: Fix pkg-config file., guix-commits, 2024/03/09
- 15/22: gnu: gd: Update to 2.3.3., guix-commits, 2024/03/09
- 17/22: gnu: inkscape: Truly enable ImageMagic support., guix-commits, 2024/03/09
- 18/22: gnu: lib2geom: Use gexps and remove input labels., guix-commits, 2024/03/09
- 19/22: gnu: inkscape: Update to 1.3.2., guix-commits, 2024/03/09
- 06/22: gnu: pkgconf: Enable test suite., guix-commits, 2024/03/09
- 11/22: gnu: pstoedit: Update to 4.00., guix-commits, 2024/03/09
- 08/22: gnu: pkgconf: Add $PKG_CONFIG_PATH search path., guix-commits, 2024/03/09
- 05/22: gnu: Add kyua., guix-commits, 2024/03/09
- 02/22: gnu: ld-wrapper: Also unset GUILE_LOAD_PATH., guix-commits, 2024/03/09
- 13/22: gnu: autotrace: Remove libtool archives.,
guix-commits <=
- 04/22: gnu: Add lutok., guix-commits, 2024/03/09
- 22/22: Revert "gnu: mpv: Propagate most libraries.", guix-commits, 2024/03/09
- 03/22: gnu: Add atf., guix-commits, 2024/03/09
- 12/22: gnu: autotrace: Update to 0.31.10., guix-commits, 2024/03/09
- 09/22: gnu: pkgconf: Add support for cross-compilation., guix-commits, 2024/03/09
- 16/22: gnu: lib2geom: Update to 1.3., guix-commits, 2024/03/09
- 20/22: gnu: inkscape: Sort inputs., guix-commits, 2024/03/09
- 07/22: gnu: Add pkgconf-as-pkg-config., guix-commits, 2024/03/09
- 01/22: gnu: alsa-ucm-conf: Update to 1.2.11., guix-commits, 2024/03/09
- 21/22: gnu: inkscape: Fix Python support., guix-commits, 2024/03/09