From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YJIAOkbdCGONVwAAbAwnHQ (envelope-from ) for ; Fri, 26 Aug 2022 16:48:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IEzIOUbdCGM5cAEAauVa8A (envelope-from ) for ; Fri, 26 Aug 2022 16:48:38 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AA6BE3AAED for ; Fri, 26 Aug 2022 16:48:38 +0200 (CEST) Received: from localhost ([::1]:57738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRadR-0006Mq-1k for larch@yhetil.org; Fri, 26 Aug 2022 10:48:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRaNP-0002rf-KD for guix-patches@gnu.org; Fri, 26 Aug 2022 10:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRaNP-00074t-0R for guix-patches@gnu.org; Fri, 26 Aug 2022 10:32:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRaNO-0005N8-SQ for guix-patches@gnu.org; Fri, 26 Aug 2022 10:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57430] [PATCH] gnu: wayland-protocols: Fix cross-compilation Resent-From: Tobias Kortkamp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Aug 2022 14:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57430 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57430@debbugs.gnu.org Cc: Tobias Kortkamp X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166152427120560 (code B ref -1); Fri, 26 Aug 2022 14:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Aug 2022 14:31:11 +0000 Received: from localhost ([127.0.0.1]:54248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRaMZ-0005LT-2v for submit@debbugs.gnu.org; Fri, 26 Aug 2022 10:31:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:46742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRWMk-0001Ab-A6 for submit@debbugs.gnu.org; Fri, 26 Aug 2022 06:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRWMk-0007uP-4Q for guix-patches@gnu.org; Fri, 26 Aug 2022 06:15:06 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:33470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRWMi-0000iv-GQ for guix-patches@gnu.org; Fri, 26 Aug 2022 06:15:05 -0400 Received: by mail-ej1-x62e.google.com with SMTP id cu2so2326515ejb.0 for ; Fri, 26 Aug 2022 03:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=SyNsiPNd9E6wn5dQKUWEQW4V/wg32yIVWiIEGzJrIXs=; b=M1GtdEIcTT3Cv8ZcIPDS5FDo8iVESTpdCf5Ci8PtHhIZxOnAd2bZQOcOBb5XQrVVfZ fjYtf0TBWKwsAq+e05feABaHvV18v7YAEMIbYFacq+W6sMNzYXMWt7NISylI0/7MO/a2 S1iDO+Ao/LyjT5qew7S15wJWiyzykG83vLgY3fcYNmUGid0MYjmlfcrOztbr31uLxVeV tm/UIkIViftYHzpCqBFfJ6RqctGBtX56KZc4EBjOBEiVEWOJcT3WG0uMmVJDxErvUtyy 5f3qNo1KtM6D4E6dnIe/dWsYuYc9ERqZ4WNLaHnN7qoU5/W8p4hGE1k4uYyWUQMmrqvS +WaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=SyNsiPNd9E6wn5dQKUWEQW4V/wg32yIVWiIEGzJrIXs=; b=cnU4jmSrY4sZIISoJF7ZxxduQBeimnFXvmvtv6ekg1WtlcLraHfEyP4IKVevGbCo1B 6hyJOBWWNS05tRV6Aq6Odu1vp/edL1D0X313owxTMDvL40Rrowd48umEIwUt9jD3P4PZ xQVNsOW7TUgAoX6T54MowBz2pXw+LiZP5ivB6xtNUK7FXUiuBJCJykMPEwPV9npJKN4h bsEH4+LGvD5L9bsQTkT5tzaxBW9Xc5qXPMVdPj1+ja07+PduVgFX+UxMS6e+62lWpyeT N7VXjz8B7T8hU3WPVVdYevkKY6bf1Sw5kJBuR/rFDbc0e/CygQe8QZO0jV27flBMNVyH aHKA== X-Gm-Message-State: ACgBeo0dj/ycmjQFNQwI1l1uU9cjPdCkeyLKMXF9JSKBrzUrnJ4MOfpW y7wYqJ80bijqdonSKN2V58Dwm/lj6x8= X-Google-Smtp-Source: AA6agR5bwMOfncq3Q7ad7lnN95VZjQy9iqCEAreYgmnfsoozG6bZ2IykwePYvv2CVOEZGTArlUvIpg== X-Received: by 2002:a17:907:75cd:b0:73d:8d05:1b35 with SMTP id jl13-20020a17090775cd00b0073d8d051b35mr5026442ejc.638.1661508902613; Fri, 26 Aug 2022 03:15:02 -0700 (PDT) Received: from anubis.kortkamp.xyz (p200300ff7f02ab00bb3a869e030b0f74.dip0.t-ipconnect.de. [2003:ff:7f02:ab00:bb3a:869e:30b:f74]) by smtp.gmail.com with ESMTPSA id u18-20020a1709061db200b0073d7d9deb73sm719182ejh.68.2022.08.26.03.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 03:15:02 -0700 (PDT) From: Tobias Kortkamp Date: Fri, 26 Aug 2022 12:14:58 +0200 Message-Id: <2195d673159785d305502677d786ae9bcd69ac7c.1661508240.git.tobias.kortkamp@gmail.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=tobias.kortkamp@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 26 Aug 2022 10:31:08 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661525318; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=SyNsiPNd9E6wn5dQKUWEQW4V/wg32yIVWiIEGzJrIXs=; b=HCeY4DygRRikLAOVcSW/Tr6WYctzxFsIFd4xfZGGsAoKiBx7+4Hq95S9NtUhQdZEosxvhU xv69GTgpgLoC+fhuUu0dZyhC/r27oKSxqYd6FUkw2dASGp2iIs2DQRErQxkdRSf3Ymz5eL KPIWXNRITSzgUKpkG295/JuL7t+SQBgPCGNLBiwozbiT8xsVBfBhCSY7xbc+MB3AlaZgtP JvIIDE+VXXWuWJvraicAmuhe4iZCQm/BYnNUYuEtNlpkBAAa3heQITiRJZoAwixdXQ2s0/ oPbzbmuhsUR98s14UAnA/vlbLtxKdBwsxRLXioEN6MmswoQnbg2xAUIvURH2vQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661525318; a=rsa-sha256; cv=none; b=L0z2PwxUPb6/HAatOCfHNkB2SY6/a6hnBW6L/l1UKN4LtP2vc+5sH3Z1V7ymkldoOlnx1w oBTDgHGoocpsi2PnWNkxncj5FM61+bEN+NVDZ/3MlGn4dNimYj8FHpm7aEvuV0UK8Vsn9y 5qwm8zCJXFQfCh7oS3v+gXHGLdPw9sflg/miqNsavGTcAuzvUfas6g72mJx+sktiI7yaLm JkmLDfKejC65nLG+r0uw6c1TdAdWXJWE8qitm7g0tZRMd/hv01pYGCbi3IcO2YsgK55l3G AdRUevHmrAhigKpH5k+QpUi+cOL5RHOI+awD6fOvxNZVTDA5C+iKPflNKEf59w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=M1GtdEIc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=M1GtdEIc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AA6BE3AAED X-Spam-Score: 5.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: /a1FsBmGmtDS * 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