[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: poppler: Fix cross-compiling.
From: |
guix-commits |
Subject: |
05/13: gnu: poppler: Fix cross-compiling. |
Date: |
Mon, 16 Oct 2023 05:39:58 -0400 (EDT) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 5cf8b0a46e2597ee8e4558e9be6c7af2cfcc0680
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 13:06:03 2023 +0300
gnu: poppler: Fix cross-compiling.
* gnu/packages/pdf.scm (poppler)[native-inputs]: When cross-compiling
add pkg-config-for-build.
---
gnu/packages/pdf.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 029eafc010..ae47d97848 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -341,10 +341,14 @@ please install the @code{flyer-composer-gui} package.")))
;; different solution to the circular dependency mentioned above.
(list glib))
(native-inputs
+ (append
(list pkg-config
`(,glib "bin") ; glib-mkenums, etc.
gobject-introspection
- python))
+ python)
+ (if (%current-target-system)
+ (list pkg-config-for-build)
+ '())))
(arguments
(list
;; The Poppler test suite needs to be downloaded separately and contains
- 01/13: gnu: libinput-minimal: Fix cross-compiling., (continued)
- 01/13: gnu: libinput-minimal: Fix cross-compiling., guix-commits, 2023/10/16
- 06/13: gnu: wlroots: Fix cross-compiling., guix-commits, 2023/10/16
- 10/13: gnu: egl-wayland: Fix cross-compiling., guix-commits, 2023/10/16
- 03/13: gnu: nss: Fix cross-compiling., guix-commits, 2023/10/16
- 04/13: gnu: libtirpc: Keep reference to mit-krb5 when cross-compiling., guix-commits, 2023/10/16
- 09/13: gnu: libxkbcommon: Fix cross-compiling., guix-commits, 2023/10/16
- 08/13: gnu: swaybg: Fix cross-compiling., guix-commits, 2023/10/16
- 13/13: gnu: nss: Set CCC unconditionally., guix-commits, 2023/10/16
- 11/13: gnu: xorg-server-xwayland: Fix cross-compiling., guix-commits, 2023/10/16
- 02/13: gnu: mesa: Fix cross-compiling., guix-commits, 2023/10/16
- 05/13: gnu: poppler: Fix cross-compiling.,
guix-commits <=
- 07/13: gnu: sway: Fix cross-compiling., guix-commits, 2023/10/16
- 12/13: gnu: xcb-util-errors: Fix cross-compiling., guix-commits, 2023/10/16