guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#57430] [PATCH] gnu: wayland-protocols: Fix cross-compilation


From: Maxime Devos
Subject: [bug#57430] [PATCH] gnu: wayland-protocols: Fix cross-compilation
Date: Sat, 27 Aug 2022 13:02:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0


On 27-08-2022 12:40, Tobias Kortkamp wrote:
On Fri, Aug 26, 2022 at 08:58:51PM +0200, Maxime Devos wrote:
Tobias, does unconditionally moving wayland from 'inputs' to 'native-inputs'
(and unconditionally using pkg-config-for-build) work? Potential problem:
lots of dependents according to "guix refresh -l", making it unconditional
would need to be done on core-updates or staging.
You mean change the patch like this?

-    (inputs
-     (list wayland))
-    (native-inputs (cons* pkg-config python
-                          (if (%current-target-system)
-                              (list pkg-config-for-build
-                                    wayland) ; for wayland-scanner
-                              '())))
+    (native-inputs (list pkg-config pkg-config-for-build wayland python))

No, it doesn't work:

Run-time dependency wayland-client found: NO (tried pkgconfig)

../wayland-protocols-1.23/tests/meson.build:4:0: ERROR: Dependency 
"wayland-client" not found, tried pkgconfig

I thought it would work because in the meson.build, wayland-protocols was listed as 'native', but apparently things are different on core-updates and master (1.23 vs. 1.25).

Greetings,
Maxime.


Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]