[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/16: gnu: exempi: Delete the static library.
From: |
guix-commits |
Subject: |
12/16: gnu: exempi: Delete the static library. |
Date: |
Sat, 27 Jun 2020 14:50:43 -0400 (EDT) |
mbakke pushed a commit to branch master
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
- branch master updated (5f7474a -> afdc16d), guix-commits, 2020/06/27
- 01/16: gnu: opusfile: Update to 0.12., guix-commits, 2020/06/27
- 05/16: gnu: libconfuse: Update to 3.3., guix-commits, 2020/06/27
- 10/16: gnu: python-gevent: Update to 20.6.2., guix-commits, 2020/06/27
- 03/16: gnu: feh: Update to 3.4.1., guix-commits, 2020/06/27
- 04/16: gnu: spdlog: Update to 1.6.1., guix-commits, 2020/06/27
- 06/16: gnu: libconfuse: Do not build static libraries., guix-commits, 2020/06/27
- 07/16: gnu: dav1d: Update to 0.7.1., guix-commits, 2020/06/27
- 12/16: gnu: exempi: Delete the static library.,
guix-commits <=
- 13/16: gnu: libzip: Update to 1.7.1., guix-commits, 2020/06/27
- 02/16: gnu: opusfile: Do not build static libraries., guix-commits, 2020/06/27
- 08/16: gnu: Add python2-selectors2., guix-commits, 2020/06/27
- 09/16: gnu: python-greenlet: Update to 0.4.16., guix-commits, 2020/06/27
- 14/16: gnu: ilmbase: Update to 2.5.2., guix-commits, 2020/06/27
- 16/16: gnu: x265: Update to 3.4., guix-commits, 2020/06/27
- 15/16: gnu: libcyaml: Remove unused input., guix-commits, 2020/06/27
- 11/16: gnu: exempi: Update to 2.5.2., guix-commits, 2020/06/27