emacs-bug-tracker
[Top][All Lists]
Advanced

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

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


From: GNU bug Tracking System
Subject: bug#57430: closed ([PATCH] gnu: wayland-protocols: Fix cross-compilation)
Date: Tue, 30 Aug 2022 07:19:01 +0000

Your message dated Tue, 30 Aug 2022 09:18:30 +0200
with message-id <87sfleqjw9.fsf@gnu.org>
and subject line Re: bug#57430: [PATCH] gnu: wayland-protocols: Fix 
cross-compilation
has caused the debbugs.gnu.org bug report #57430,
regarding [PATCH] gnu: wayland-protocols: Fix cross-compilation
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
57430: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57430
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: wayland-protocols: Fix cross-compilation Date: Fri, 26 Aug 2022 12:14:58 +0200
* gnu/packages/freedesktop.scm (wayland-protocols): Fix cross-compilation
[native-inputs]: Add pkg-config-for-build and wayland.
---
 gnu/packages/freedesktop.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 037a247243..c0a94c6623 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1074,8 +1074,11 @@ (define-public wayland-protocols
     (build-system meson-build-system)
     (inputs
      (list wayland))
-    (native-inputs
-     (list pkg-config python))
+    (native-inputs (cons* pkg-config python
+                          (if (%current-target-system)
+                              (list pkg-config-for-build
+                                    wayland) ; for wayland-scanner
+                              '())))
     (synopsis "Wayland protocols")
     (description "Wayland-Protocols contains Wayland protocols that add
 functionality not available in the Wayland core protocol.  Such protocols 
either
-- 
2.37.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#57430: [PATCH] gnu: wayland-protocols: Fix cross-compilation Date: Tue, 30 Aug 2022 09:18:30 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
Hello Tobias,

> * gnu/packages/freedesktop.scm (wayland-protocols): Fix cross-compilation
> [native-inputs]: Add pkg-config-for-build and wayland.

Maxime's idea of setting #target to false is interesting but let's go
with your original patch because it's the way we handle things in
general.

Thanks,

Mathieu


--- End Message ---

reply via email to

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