[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: poppler: Use gexps in arguments.
From: |
guix-commits |
Subject: |
04/06: gnu: poppler: Use gexps in arguments. |
Date: |
Sat, 5 Feb 2022 18:57:39 -0500 (EST) |
lilyp pushed a commit to branch core-updates
in repository guix.
commit 65df5a4eb25fd6c42575df62b13655f99cf9d806
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sun Feb 6 00:29:16 2022 +0100
gnu: poppler: Use gexps in arguments.
* gnu/packages/pdf.scm (poppler)[arguments]: Transform from quasiquote to
list
of gexps.
<#:phases>: Always bind, using %standard-phases as explicit default.
---
gnu/packages/pdf.scm | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index a7eaea991c..fb4e545160 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -257,22 +257,20 @@ please install the @code{flyer-composer-gui} package.")))
`(,glib "bin") ; glib-mkenums, etc.
gobject-introspection))
(arguments
- `(#:tests? #f ;no test data provided with the tarball
- #:configure-flags
- (let* ((out (assoc-ref %outputs "out"))
- (lib (string-append out "/lib")))
- (list "-DENABLE_UNSTABLE_API_ABI_HEADERS=ON" ;to install header files
- "-DENABLE_ZLIB=ON"
- "-DENABLE_BOOST=OFF" ;disable Boost to save size
- (string-append "-DCMAKE_INSTALL_LIBDIR=" lib)
- (string-append "-DCMAKE_INSTALL_RPATH=" lib)))
- ,@(if (%current-target-system)
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-PKG_CONFIG
- (lambda _
- (setenv "PKG_CONFIG" ,(pkg-config-for-target))))))
- '())))
+ (list
+ #:tests? #f ;no test data provided with the tarball
+ #:configure-flags
+ #~(list "-DENABLE_UNSTABLE_API_ABI_HEADERS=ON" ;to install header files
+ "-DENABLE_ZLIB=ON"
+ "-DENABLE_BOOST=OFF" ;disable Boost to save size
+ (string-append "-DCMAKE_INSTALL_LIBDIR=" #$output "/lib")
+ (string-append "-DCMAKE_INSTALL_RPATH=" #$output "/lib"))
+ #:phases
+ (if (%current-target-system) #~%standard-phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-PKG_CONFIG
+ (lambda _
+ (setenv "PKG_CONFIG" #$(pkg-config-for-target))))))))
(synopsis "PDF rendering library")
(description
"Poppler is a PDF rendering library based on the xpdf-3.0 code base.")
- branch core-updates updated (6ac6a7e020 -> 10ee2542e8), guix-commits, 2022/02/05
- 01/06: gnu: poppler: Add poppler-data., guix-commits, 2022/02/05
- 02/06: gnu: pdf2djvu: Remove poppler-data., guix-commits, 2022/02/05
- 03/06: gnu: poppler: Use new input style., guix-commits, 2022/02/05
- 06/06: gnu: poppler: Enable tests., guix-commits, 2022/02/05
- 04/06: gnu: poppler: Use gexps in arguments.,
guix-commits <=
- 05/06: gnu: poppler: Update to 22.01.0., guix-commits, 2022/02/05