[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/13: gnu: wlroots: Fix cross-compiling.
From: |
guix-commits |
Subject: |
06/13: gnu: wlroots: 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 9315b3fbffa845120a2f5f61f38820ddae8e449f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 13:06:53 2023 +0300
gnu: wlroots: Fix cross-compiling.
* gnu/packages/wm.scm (wlroots)[arguments]: Adjust custom phases to also
search for files from native-inputs.
[native-inputs]: Add wayland. When cross-compiling add
pkg-config-for-build.
---
gnu/packages/wm.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 4950b7fa38..ba7bd9d316 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1643,10 +1643,10 @@ functionality to display information about the most
commonly used services.")
"/bin/Xwayland")))
#t))
(add-before 'configure 'fix-meson-file
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
(substitute* "backend/drm/meson.build"
(("/usr/share/hwdata/pnp.ids")
- (string-append (assoc-ref inputs "hwdata")
+ (string-append (assoc-ref (or native-inputs inputs) "hwdata")
"/share/hwdata/pnp.ids"))))))))
(propagated-inputs
(list ;; As required by wlroots.pc.
@@ -1662,9 +1662,13 @@ functionality to display information about the most
commonly used services.")
xcb-util-wm
xorg-server-xwayland))
(native-inputs
- (list
+ (cons*
`(,hwdata "pnp")
- pkg-config))
+ pkg-config
+ wayland
+ (if (%current-target-system)
+ (list pkg-config-for-build)
+ '())))
(home-page "https://gitlab.freedesktop.org/wlroots/wlroots/")
(synopsis "Pluggable, composable, unopinionated modules for building a
Wayland compositor")
- branch core-updates updated (651265562b -> 7e4fdaccbc), guix-commits, 2023/10/16
- 01/13: gnu: libinput-minimal: Fix cross-compiling., guix-commits, 2023/10/16
- 06/13: gnu: wlroots: Fix cross-compiling.,
guix-commits <=
- 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, 2023/10/16
- 07/13: gnu: sway: Fix cross-compiling., guix-commits, 2023/10/16