From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aEPeFsIXJGWHOgEA9RJhRA:P1 (envelope-from ) for ; Mon, 09 Oct 2023 17:09:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aEPeFsIXJGWHOgEA9RJhRA (envelope-from ) for ; Mon, 09 Oct 2023 17:09:54 +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 D4C18359D5 for ; Mon, 9 Oct 2023 17:09:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696864194; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=HexGmNzZvEJxjBHshFICFn4JjzfCOaoBbBRkLKbxtvE=; b=ogv1ho5TDPuUZxTAC9n7taEFNzPtBMkGeXMv0b9HPrWskrHLioeJ3Cc1QYFIpDKQFzmq2y 3Yg+655z4sfYlqcr1+9+7qOLFoxmA5kPZBWR12WNi+ido+Ja6KonDLBd4KgnHv7rS4s7U4 Gk/2UzplMoIWsObGZs6nw4y0wfY4pPCoSXvuzraJgX94Y7KRkZ2Dx+8cT7JqOFXvdvJmuz epxQJPTjphb9w2z+/D7Lj6jVDGfJK6vfi9eMHhUWZxaENP+aLnJY3QvVQ0dPCfbIj/K/Cn QBaetM9tSYjlQAqMio1Qke0HxzFbGp1GhE5SBGzGz0pDS7nJ0EWEme4rp9/JJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696864194; a=rsa-sha256; cv=none; b=BB0KgSHPw/Pt14M6Xvfbf+VUoi8fA8FdMjVkpMsoAZwqj5uK0QP7DEXX4igiyZHhTxy5/Y 0QiFTmbiLfvGssixUC1q99r52MJYcsrHuVrEtKoIy5cxmvrfrDlpDTuyY8kjVbeFPtrOqS +4LqCy6D8DRw8Ve49QJHg4busfY39jSS1SlLbLL7mWPGyoFeAb3eTigUpWVjEhcn3aBNTM cSxRKAu/hWvJK4zA2yc8gwy1xQZ6tRQCBzG6DAIlpmNEcAHsZbCsUoz+3Bkuwq/hivRpTz yjCNdfvQMFyhybvHcTPqbGhDF9XMDBtkrzHbkayAEs34Mi3b/QrtU/0L7nWzrw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qprtB-0007Hq-3V; Mon, 09 Oct 2023 11:09:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qprt8-0007GD-3i for guix-patches@gnu.org; Mon, 09 Oct 2023 11:09:42 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qprt7-0000D5-SG for guix-patches@gnu.org; Mon, 09 Oct 2023 11:09:41 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qprtS-0000Sz-9P for guix-patches@gnu.org; Mon, 09 Oct 2023 11:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66424] [PATCH] gnu: libxkbcommon: Fix cross-compile. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Oct 2023 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66424 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66424@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16968641611736 (code B ref -1); Mon, 09 Oct 2023 15:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Oct 2023 15:09:21 +0000 Received: from localhost ([127.0.0.1]:60697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qprsn-0000Rw-Ad for submit@debbugs.gnu.org; Mon, 09 Oct 2023 11:09:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qprsk-0000Ri-NP for submit@debbugs.gnu.org; Mon, 09 Oct 2023 11:09:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qprrz-0006pT-Dl for guix-patches@gnu.org; Mon, 09 Oct 2023 11:08:33 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1qprrp-0008NU-0E for guix-patches@gnu.org; Mon, 09 Oct 2023 11:08:30 -0400 Received: from localhost.localdomain (unknown [183.247.5.151]) by APP-03 (Coremail) with SMTP id rQCowACnryNTFyRlpRMYEQ--.58643S2; Mon, 09 Oct 2023 23:08:04 +0800 (CST) From: Zheng Junjie Date: Mon, 9 Oct 2023 23:07:42 +0800 Message-ID: <62c95fe412c55e9350adff139ff33cb6fe91db68.1696864062.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: rQCowACnryNTFyRlpRMYEQ--.58643S2 X-Coremail-Antispam: 1UD129KBjvdXoW7GrWUWF1DJF1DXryrJFyUAwb_yoWDJwc_uF W7GF1kGw4rurW7Gry7AFsakFy5Jw47Jr1SkFnFqF1fKr9xXrsxWFnrGFn7tFy5tw4vgFn3 Zw4vkrWrGr48ujkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbF8YjsxI4VWDJwAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVWUJVW8JwA2z4x0Y4vEx4A2jsIE14v26F4UJVW0owA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IE w4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMc vjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxGrwCFx2Iq xVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r 106r1rMI8E67AF67kF1VAFwI0_Jr0_JrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AK xVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7 xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_ GrUvcSsGvfC2KfnxnUUI43ZEXa7IU8v_M3UUUUU== X-Originating-IP: [183.247.5.151] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.81; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.69 X-Spam-Score: -4.69 X-Migadu-Queue-Id: D4C18359D5 X-Migadu-Scanner: mx2.migadu.com X-TUID: a3YJpZyUVi+h * 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 -- 2.41.0