From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IJCaI4chV2dmfAEAe85BDQ:P1 (envelope-from ) for ; Mon, 09 Dec 2024 16:57:43 +0000 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 IJCaI4chV2dmfAEAe85BDQ (envelope-from ) for ; Mon, 09 Dec 2024 17:57:43 +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=KLp9SCE7; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=mail header.b=NOcETmFv; 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=1733763463; a=rsa-sha256; cv=none; b=I49e6J3/GSZd+l1n5CGXxsg6cavATTWageRgUdiK07mD0zklyFc2skSJUhhkaqibMSBp5V 85r5o13Kc3ymcLF6X+GrFqi21y/Z+/CYa0yZzftNULAZjPS6q3M28x7ZSjdqyLQt8cHFHd snPnYbQAO/7tg6E1yBYfExmBx5k1Djsn/t21MsZmi9mTUIQTfG3idZYNtV6tccumXkCOnF dIOXQ0P8GHa1kQQ2ZdUZuT5/d0ZoSyPG7vna9bis0m2JEbX20GLkCYCBFjYcQ4kAXZ6uxC yhu/w6hPbmxi7TubsAk4OhO1FV/oS0PQXqY+dkPM6V4/p/ay7m0fFSSiFuNI8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=KLp9SCE7; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=mail header.b=NOcETmFv; 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=1733763463; 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=FHHk5+PH/GM6G0MAv3uqFFmt83GuEWf21OCe+31llMo=; b=sn2CdOPqkrwLfosBPcxo8y36B45dHuiocBvKoF1DesrNrfRgzghJH+X0t7WqHgCkrgNj6f z+WwjM6g9Jsi336rYRKcZfEsUQFHBHuiReBNIhbs90SvesbVnRmT/ZtGfk9c1P2SbC2ELu IM7D2NIfinXyH91uc1/UpFJt9VZ97wju1VLOsRhvQR6ys1EhzkmrvQWziwjIKhV3forwS7 oDLqLSpEv9a3sxOa6R7r1cKRDO8onYyYHoc3uzI/L24cUpBjfbjr6yZIwsZai5CSeIGmoS zYHeaca24U7ZzWEx/xNbzO4qVOGU2juYyFWdfP7JeAR9RBEYMN8CkMyB172Kqg== 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 416A761C60 for ; Mon, 09 Dec 2024 17:57:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKh4K-0001HZ-WA; Mon, 09 Dec 2024 11:57:13 -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-0001G9-2O for guix-patches@gnu.org; Mon, 09 Dec 2024 11:57:04 -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-0007bW-QU for guix-patches@gnu.org; Mon, 09 Dec 2024 11:57:03 -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=FHHk5+PH/GM6G0MAv3uqFFmt83GuEWf21OCe+31llMo=; b=KLp9SCE7zyByZ7XI4YrU+Zou3PEHBwCzpVFy+EbSstm6TxTGPxRKPFZiyZa63XoHvFk9CKuEs5eSKsCQWzDxrGtAdwIMjwpdrIsb6trlCuZ9QPjSJ4rQ0IRNQvgPll14FKsWn6w43xOX14MQ9PZvl5/0IDJSZlA6nNG0o2AALRw025lxDovjQhnxRlKcDNRE3oqSBnsl2kkzMkZp+Zs0Xx4HXGB5pkdHCXL7lz/X82MI0o2MIRpiqlqCGWxjYJa/hF1Vl7xF+1nz5TU7JEWYmA77MVXIsQx/IOhbJ3Xbevq0Z+O03rRAZ2gR5ol2/K4WAa7n1inMgi4MtOJeI00iKQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKh4A-00080l-NT for guix-patches@gnu.org; Mon, 09 Dec 2024 11:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74752] [PATCH] gnu: hyprutils: 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:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74752 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74752@debbugs.gnu.org Cc: Hilton Chain X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173376340730736 (code B ref -1); Mon, 09 Dec 2024 16:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2024 16:56:47 +0000 Received: from localhost ([127.0.0.1]:55352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKh3v-0007ze-2l for submit@debbugs.gnu.org; Mon, 09 Dec 2024 11:56:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:41896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKh3t-0007zP-1E for submit@debbugs.gnu.org; Mon, 09 Dec 2024 11:56:45 -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 1tKh3s-0001F3-Iz for guix-patches@gnu.org; Mon, 09 Dec 2024 11:56:44 -0500 Received: from mx.boiledscript.com ([2a01:4f8:10b:392::42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKh3q-0007Xr-Rg 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=1733763392; 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=FHHk5+PH/GM6G0MAv3uqFFmt83GuEWf21OCe+31llMo=; b=NOcETmFvY4OG88lbquOnY9FtnodH+Uo3ZfpMC+pwJAbW64+LoXjhCqrQowkSUIjyrTzFYv 3RurKxD6TjmZusBbzm55sPOiJeQ6Wcvj2nfTbH/p76FOWLZ1L+WRxyvk4WMNRvGXFxmhxU hMXJQ/YCcXZ26EwgnGin93GevQIgw+tpwq5tQ5pf5Hfsl3LTLSLgVg3ftxbamM2xTG8G6o IE2AvMZeX4TujnOreihnbtdwcD5XtVwiJlSNHiStzdduvnbKechT5hEnEDWDbyptX3KWYB QzfVz4BG5dISRS0s8azx57xKEmsFfu8gXMMXrRECZ0KtRKjxEyuJOKjEptZfwQ== Date: Tue, 10 Dec 2024 00:56:25 +0800 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:4f8:10b:392::42; 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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.07 X-Spam-Score: -1.07 X-Migadu-Queue-Id: 416A761C60 X-Migadu-Scanner: mx12.migadu.com X-TUID: ZcGrd3t+T0ud * gnu/packages/cpp.scm (hyprutils)[arguments]<#:phases>: Set PKG_CONFIG_EXECUTABLE in CMakeLists.txt. Change-Id: Ia08cf44230c311f444e4881bdca2b759cda9b112 --- gnu/packages/cpp.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index d70b2dbd06..a72f491fd0 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -701,6 +701,17 @@ (define-public hyprutils (base32 "01dh24rf62gb6xm32f7mfv6wx0dxprr1q9y73hvv7xanrjyia2zn")))) (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 pixman)) (home-page "https://github.com/hyprwm/hyprutils") 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 -- 2.46.0