From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GMjKLFT6j2VbOwAAkFu2QA (envelope-from ) for ; Sat, 30 Dec 2023 12:09:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kNf9JlT6j2UB1wAAe85BDQ (envelope-from ) for ; Sat, 30 Dec 2023 12:09:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703934548; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=/hpD91S71ksq/jl7OIe62qUk0EZ/MQYC4v16d3/fg58=; b=KTGXbDw0oH6GQjKVcEmfZpRuUwUvCrHE4kbj7nXAK4xCvtDS5R8djJxEf5yy8F+7Ngti86 iK0sEBQrXBZbJkVx/xZxHtmKbz5DFlQlV3IFqLa18/eDl1aF9PpdahgacIC0oRIDtstxqi ffGmeVc5yd8yCVipckTYETdHVeHabsBkJsTHfi84VLmvlobuWQeT3Kt0gHUmIJXW7CtdAd 8RuVlGujvPr9fUKCkiQf8huN7TuR4K2hf9hWLfhbOsMooG5liVpKoKNYQflrjXfHfGLc/x 1x47HqggOlpuytGcszE0TXUuYHvce2x8XWy3XnqXaAoZaaudELwCxhxve6lFUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703934548; a=rsa-sha256; cv=none; b=IFg/QmGHMP0cuA4SjHcl5LJk9Xfr4NKd0z2OQabiXcxVvsnOPbmNhbEtKXrOLAXtRBiSal JZQgYAv9+IXnkm6q1MOxB8Giwzt0CZQwBtfAyGeJv7hP97jMnPYx22slCZqPIQ6LCcbbRr KPVlobNOaUhFjvmxnwAbsbyWSVWYgUh2sMR2JM00/ZK8HNPX9OkyfucjVeT5id2PTIwNYt 1Jrr4z87BI1BURd9cnzW0YjKQic872PXoxjiXV2QPWbPcG73t08pl8cqmwRbsiTCJb74LM 2Nt4G2hz0sTyra/2mmmTtHfhDOBqh/9q9qAHrndudEnPxuvX7ncq6O9aBlBM8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none 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 6B6381EAB0 for ; Sat, 30 Dec 2023 12:09:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJXDE-0005SU-Dy; Sat, 30 Dec 2023 06:09:04 -0500 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 1rJXDC-0005Ri-3n for guix-patches@gnu.org; Sat, 30 Dec 2023 06:09:02 -0500 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 1rJXDB-0000Uk-SN for guix-patches@gnu.org; Sat, 30 Dec 2023 06:09:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJXDC-0003Ek-AH for guix-patches@gnu.org; Sat, 30 Dec 2023 06:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68144] [PATCH 2/2] gnu: grim: Fix cross-compiling. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Dec 2023 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68144 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68144@debbugs.gnu.org Received: via spool by 68144-submit@debbugs.gnu.org id=B68144.170393451512403 (code B ref 68144); Sat, 30 Dec 2023 11:09:02 +0000 Received: (at 68144) by debbugs.gnu.org; 30 Dec 2023 11:08:35 +0000 Received: from localhost ([127.0.0.1]:43190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJXCl-0003Dx-A9 for submit@debbugs.gnu.org; Sat, 30 Dec 2023 06:08:35 -0500 Received: from smtp21.cstnet.cn ([159.226.251.21]:58320 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJXCj-0003Db-0l for 68144@debbugs.gnu.org; Sat, 30 Dec 2023 06:08:34 -0500 Received: from localhost.localdomain (unknown [183.247.5.190]) by APP-01 (Coremail) with SMTP id qwCowAC3F0Eb+Y9l_p1NAg--.17063S3; Sat, 30 Dec 2023 19:03:58 +0800 (CST) From: Zheng Junjie Date: Sat, 30 Dec 2023 19:07:20 +0800 Message-ID: <156951564d68d936010397aa2120529955395da6.1703934201.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-T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IYCT nIWIevJa73UjIFyTuYvjxU23xhDUUUU X-Originating-IP: [183.247.5.190] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ 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.97 X-Spam-Score: -4.97 X-Migadu-Queue-Id: 6B6381EAB0 X-Migadu-Scanner: mx12.migadu.com X-TUID: I55rkU6ahCI+ gnu/packages/image.scm(grim): [native-inputs]: When cross compiling, add wayland, pkg-config-for-build. Change-Id: I9dbf99d0bc92a62b17ded36937827dfbc6b29bb2 --- gnu/packages/image.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 843181a941..8cf6207c57 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -2236,7 +2236,11 @@ (define-public grim (sha256 (base32 "1snp4qlj05d0nx4f0qr8kywv0i1xcw5i278ybng1rand2alhkjz5")))) (build-system meson-build-system) - (native-inputs (list pkg-config scdoc)) + (native-inputs (append (if (%current-target-system) + ;; for wayland-scanner + (list pkg-config-for-build wayland) + '()) + (list pkg-config scdoc))) (inputs (list pixman libpng libjpeg-turbo wayland wayland-protocols)) (home-page "https://sr.ht/~emersion/grim/") (synopsis "Create screenshots from a Wayland compositor") -- 2.41.0