[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/295: gnu: exempi: Delete the static library.
From: |
guix-commits |
Subject: |
17/295: gnu: exempi: Delete the static library. |
Date: |
Mon, 27 Jul 2020 06:25:04 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit cd533cb4976da24bb87d2dffd8a65f72734f7117
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jun 27 15:53:21 2020 +0200
gnu: exempi: Delete the static library.
* gnu/packages/freedesktop.scm (exempi)[arguments]: Add phase to delete
libexempi.a.
---
gnu/packages/freedesktop.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 1f17485..23cd1aa 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -859,7 +859,18 @@ XEv.")
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list (string-append "--with-boost="
- (assoc-ref %build-inputs "boost")))))
+ (assoc-ref %build-inputs
"boost")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'remove-static-library
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; XXX: Some tests fail to build with --disable-static due to
+ ;; symbols not being visible in the shared library:
+ ;; <https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/17>.
+ ;; Simply delete the static library instead to save ~4.3 MiB.
+ (delete-file (string-append (assoc-ref outputs "out")
+ "/lib/libexempi.a"))
+ #t)))))
(native-inputs
`(("boost" ,boost))) ; tests
(inputs
- 58/295: gnu: r-qtl2: Update to 0.22-8., (continued)
- 58/295: gnu: r-qtl2: Update to 0.22-8., guix-commits, 2020/07/27
- 59/295: gnu: r-qtl2: Update synopsis, description., guix-commits, 2020/07/27
- 62/295: services: Add rshiny service., guix-commits, 2020/07/27
- 74/295: gnu: Add rust-digest-0.9., guix-commits, 2020/07/27
- 75/295: gnu: Add rust-block-buffer-0.9., guix-commits, 2020/07/27
- 78/295: gnu: rust-sha1-asm-0.4: Don't skip build., guix-commits, 2020/07/27
- 12/295: gnu: dav1d: Update to 0.7.1., guix-commits, 2020/07/27
- 15/295: gnu: python-gevent: Update to 20.6.2., guix-commits, 2020/07/27
- 13/295: gnu: Add python2-selectors2., guix-commits, 2020/07/27
- 19/295: gnu: ilmbase: Update to 2.5.2., guix-commits, 2020/07/27
- 17/295: gnu: exempi: Delete the static library.,
guix-commits <=
- 14/295: gnu: python-greenlet: Update to 0.4.16., guix-commits, 2020/07/27
- 21/295: gnu: x265: Update to 3.4., guix-commits, 2020/07/27
- 22/295: gnu: Add emacs-browse-kill-ring., guix-commits, 2020/07/27
- 25/295: gnu: python-setproctitle: Fix indentation., guix-commits, 2020/07/27
- 23/295: gnu: Add r-shapforxgboost., guix-commits, 2020/07/27
- 28/295: daemon: Map directly to gcrypt hash functions., guix-commits, 2020/07/27
- 29/295: daemon: Remove OpenSSL hash compatibility wrappers., guix-commits, 2020/07/27
- 31/295: packages: Recognize SHA3 and BLAKE2s for 'content-hash'., guix-commits, 2020/07/27
- 32/295: gnu: libtiff: Use HTTPS., guix-commits, 2020/07/27
- 33/295: gnu: lxqt: Update to 0.15.0., guix-commits, 2020/07/27