GNU bug report logs -
#66424
[PATCH core-updates] gnu: libxkbcommon: Fix cross-compile.
Previous Next
Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Date: Mon, 9 Oct 2023 15:10:02 UTC
Severity: normal
Tags: patch
Done: John Kehayias <john.kehayias <at> protonmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
(CC'ing authors of two related commits too)
On Mon, Oct 09, 2023 at 11:07 PM, Zheng Junjie wrote:
> * gnu/packages/xdisorg.scm (libxkbcommon): Fix cross-compile.
> [native-inputs]: When cross-compile add PKG-CONFIG-FOR-BUILD.
> ---
> gnu/packages/xdisorg.scm | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
> index db948a9318..84bdcad031 100644
> --- a/gnu/packages/xdisorg.scm
> +++ b/gnu/packages/xdisorg.scm
> @@ -527,9 +527,13 @@ (define-public libxkbcommon
> wayland-protocols
> xkeyboard-config))
> (native-inputs
> - (list bison doxygen pkg-config python
> - ;; wayland-scanner is required at build time.
> - wayland))
> + (append
> + (if (%current-target-system)
> + (list pkg-config-for-build)
> + '())
> + (list bison doxygen pkg-config python
> + ;; wayland-scanner is required at build time.
> + wayland)))
> (arguments
> (list #:configure-flags
> #~(list (string-append "-Dxkb-config-root="
>
> base-commit: 9b77bd0b9b4f3de69390da0ba7db5b9dbc01e554
When searching the log it looked like this had already been done on
core-updates in 5841ac3981a3a08968704728cef14accd14e7a1c (Marius) but I
was confused when I didn't see it. Looks like the pkg-config-for-build
was dropped (accidentally?) in 5841ac3981a3a08968704728cef14accd14e7a1c
(Maxim)
Is this still needed?
And if so, I can do it on mesa-updates very soon, since libx11 and
libxpm will be ungrafted and related packages (like mesa) updated too.
Or we can leave it to core-updates if that makes more sense.
WDYT?
Thanks!
John
This bug report was last modified 1 year and 277 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.