[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68813] [core-updates PATCH 11/20] gnu: autotrace: Remove libtool ar
From: |
Maxim Cournoyer |
Subject: |
[bug#68813] [core-updates PATCH 11/20] gnu: autotrace: Remove libtool archives. |
Date: |
Thu, 22 Feb 2024 11:10:10 -0500 |
* 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 @@ (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
--
2.41.0
- [bug#68813] [core-updates PATCH 00/20] Replace pkg-config with pkgconf to reduce propagation / Inkscape updates, Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 03/20] gnu: Add kyua., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 05/20] gnu: Add pkgconf-as-pkg-config., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 14/20] gnu: lib2geom: Update to 1.3., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 16/20] gnu: lib2geom: Use gexps and remove input labels., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 11/20] gnu: autotrace: Remove libtool archives.,
Maxim Cournoyer <=
- [bug#68813] [core-updates PATCH 04/20] gnu: pkgconf: Enable test suite., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 19/20] gnu: inkscape: Fix Python support., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 15/20] gnu: inkscape: Truly enable ImageMagic support., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 13/20] gnu: gd: Update to 2.3.3., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 08/20] gnu: pkg-config: Alias to pkgconf-as-pkg-config., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 12/20] gnu: autotrace: Fix pkg-config file., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 07/20] gnu: pkgconf: Add support for cross-compilation., Maxim Cournoyer, 2024/02/22