From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cDeDDIQhV2cr0gAAqHPOHw:P1 (envelope-from ) for ; Mon, 09 Dec 2024 16:57:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cDeDDIQhV2cr0gAAqHPOHw (envelope-from ) for ; Mon, 09 Dec 2024 17:57:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sDimRj9y; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=mail header.b=almEsV3y; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=ultrarare.space (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733763459; a=rsa-sha256; cv=none; b=IStx1iIjqd8iXyntGp3SBhGuYRfftvr7Yi7PgYictCOPErqOTGblxHLDrQUQfbFl9h+KmK n2PYg+yz9dGZA8hk+GwBOBXOqdqxgzreViIa3enOYtrnjCx8X5w7eMjfHwvI+mCP6xzTB7 O3E2RmsN8E4nk40LyuTV8+Eki1I/nuNQ43N9/Nh65N2+G0nKnT9uvKlUrPDx/WbYMEju43 EPK/YLXAWh+QTSzcbVxYusKQy2tcoGbQCCIzUmhNlx83A+WMkMBCIZ13dPYqlih+ZGCMwH 89g6xoxx0gG2FKWhu8Ybf2OnFUeUA9VlmHg9JA7/u7CcpehjqUu4rKIc8FsvCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sDimRj9y; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=mail header.b=almEsV3y; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=ultrarare.space (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733763459; 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=PrdQXJKPJYDs3Z6mi+PmJ9/tF4Ra2eurtKxsHNBBEsw=; b=oiPTDAOWRSEcRnUH0VIKKrGALpYMltwfpZ27BYFcBafTBK217dfM2vCplRACG/1yGbS65Z Ux6cWolQR9EL2QRe7f7tvWi4DEX5gCBXVB9HSwx6l4dhVgD5YJ+rN+Dmw0aBoxju3BK9Y2 B00g3yz5xNkRpFYkUG3qSopI3Kn2jFi7IZnAR712HU097D3BL6J1Lj+zvM8YO/w1BzJ+VO HloVEz2KicpP7AkwwfY0VGd43ao+Rvbdz2OKPw/ajF51bIFDvXBWXc8HFGFxobz3ARVz7k wwE2QNkZm3RubSYvR1IzhUK9I9Pp5frvvKzEf2RBMQP85RtnSDFA5ZorIFeQSw== 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 DC8B28F720 for ; Mon, 09 Dec 2024 17:57:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKh4J-0001HP-3t; Mon, 09 Dec 2024 11:57:11 -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 1tKh4C-0001GB-AG for guix-patches@gnu.org; Mon, 09 Dec 2024 11:57:05 -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 1tKh4B-0007be-WD for guix-patches@gnu.org; Mon, 09 Dec 2024 11:57:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=PrdQXJKPJYDs3Z6mi+PmJ9/tF4Ra2eurtKxsHNBBEsw=; b=sDimRj9yXPH9lns1YhA9Ojop1CfyVRC9d+6sttnl345D18tUY4CsBBucRHezAxnc1nChC5e5Y4Yp2MRGSBZHrUaIK0TaBbpUJBbFu7KE1uklSre7VjABfissw486A2poTY9e/oSeBYUjmSDf0L+pcK2UkWbLp9jr8tLKchwJ8MvQiYfvlS9qdrmZI8OSOfytCfla8HlDNgLW76RlOiitRF3o5i4/mYPUEWXju08vAJue19pCqDAWCnfWQu6b2yMdgYne8XGtkTFMcmlP8fSFYF96q888oUcsqaVtg4WV0V57JIs0PGFLbLN5y2StwTZzXk57ooafXchXAs7XbGtq8Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKh4B-000810-Jf for guix-patches@gnu.org; Mon, 09 Dec 2024 11:57:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74753] [PATCH] gnu: hyprlang: Fix cross-compilation. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2024 16:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74753 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74753@debbugs.gnu.org Cc: Hilton Chain X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173376340730743 (code B ref -1); Mon, 09 Dec 2024 16:57:03 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2024 16:56:47 +0000 Received: from localhost ([127.0.0.1]:55354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKh3v-0007zh-DU for submit@debbugs.gnu.org; Mon, 09 Dec 2024 11:56:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:41900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKh3t-0007zR-Cj for submit@debbugs.gnu.org; Mon, 09 Dec 2024 11:56:46 -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 1tKh3t-0001FI-6y for guix-patches@gnu.org; Mon, 09 Dec 2024 11:56:45 -0500 Received: from mx.boiledscript.com ([88.99.243.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKh3r-0007Y4-HV for guix-patches@gnu.org; Mon, 09 Dec 2024 11:56:44 -0500 From: Hilton Chain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=mail; t=1733763394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PrdQXJKPJYDs3Z6mi+PmJ9/tF4Ra2eurtKxsHNBBEsw=; b=almEsV3yc73ufLvHd3YqHax7cwHZUfkSnv1IpCfjqQzupcwwNsdUgKagcJlkJVm7EQv23b dgKx9XeJuUfX+XNYA3NiFEiUp28XkXUx8Kweey70speIEElv2bVFzraU05Yc2d1QAFYtWw bVjMcWq823+xgrg9J/Uk5wxURnPTK/yy3is1QyqOfCZ9MwXKgIcttaw69TDWwVNz61Jv/I H0ryHQh5kBSyC2mcaYZj9PxMtFa/ch0KAas4TouauWPvAitIrWwzdJszokirVXDM6vPTDN kc0XEVDvlafy8RG9xJdda2VvXMfVIyB4li1LI2BzFYVi3BByHqgDdtgcOomN2A== Date: Tue, 10 Dec 2024 00:56:26 +0800 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=88.99.243.112; envelope-from=hako@ultrarare.space; helo=mx.boiledscript.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.17 X-Spam-Score: -1.17 X-Migadu-Queue-Id: DC8B28F720 X-Migadu-Scanner: mx10.migadu.com X-TUID: Umg2qZV+0tg6 * gnu/packages/cpp.scm (hyprlang)[arguments]<#:phases>: Set PKG_CONFIG_EXECUTABLE in CMakeLists.txt. Change-Id: Ied775ece2de83f6842bf405be76ce7f33fdce5fe --- gnu/packages/cpp.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index a72f491fd0..4fd5f8fa00 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -678,6 +678,17 @@ (define-public hyprlang (base32 "0yvfrz3hdyxzhngzhr0bgc5279ra5fv01hbfi6pdj84pz0lpaw02")))) (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-cross-compilation + (lambda _ + (substitute* "CMakeLists.txt" + (("find_package.PkgConfig" all) + (string-append + "set(PKG_CONFIG_EXECUTABLE " #$(pkg-config-for-target) ")\n" + all)))))))) (native-inputs (list gcc-13 pkg-config)) (inputs (list hyprutils)) (home-page "https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang/") base-commit: 9d09b0cf841fb657a1aec12e9bab68e00c2b493c prerequisite-patch-id: f132b4af7b85df465998e4f459bf729f8b66f320 prerequisite-patch-id: 71423f8b55ad6f04c3f3d647cbd9d42c6c332e06 prerequisite-patch-id: 1076bb75432f82f35d834ca4f97dffebd0ce98d5 prerequisite-patch-id: ecd87e69b7aebebd64256db106ed96dc12f6c12d prerequisite-patch-id: e0e81738807e886ac5109a7d26f841204a35d8a7 prerequisite-patch-id: f27c33b6c7f5dcb37c36551ecde29f1f0c734935 prerequisite-patch-id: fc6ad5af54f75869a657c065c86b262d74a1efff prerequisite-patch-id: 1665e62d1990a460bc5679bc89d600e94bab407a -- 2.46.0