From patchwork Fri Aug 26 10:14:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Kortkamp X-Patchwork-Id: 41976 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1F24327BBEA; Fri, 26 Aug 2022 15:48:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D786527BBE9 for ; Fri, 26 Aug 2022 15:48:36 +0100 (BST) Received: from localhost ([::1]:57738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRadQ-0006Mq-0P for patchwork@mira.cbaines.net; Fri, 26 Aug 2022 10:48:36 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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