From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4JJyBisxfGfkrQAAe85BDQ:P1 (envelope-from ) for ; Mon, 06 Jan 2025 19:38:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4JJyBisxfGfkrQAAe85BDQ (envelope-from ) for ; Mon, 06 Jan 2025 20:38:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=l3f2zdvn; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=aN23KIXh; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736192298; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: 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:dkim-signature; bh=VbX/Bs7sJMLLBg6jhw5BkWUDDw2aRGhOQuIA6iJvu6U=; b=ZR9JNcCThdtF2vlR3/6Cd/Z5cm7jOHp0xUBl7/jxWLdaYExsbEfVRbxPQFYLPt7QzN1S+3 Ir4d9krq0tgjvw1DH1lhM48TCBLGuOE48U0Hvw3xX3NEd9BvyclhiRgSWSVl5hAdg6PgJd dgqMg/tdI4ESL82qQ4ir/N/J1w0v9jQ8/9tIVKqjwb7FJa61/dN+GPx2xOFbzOTcrgh6UR +GtkQUP/FZyjy6Yba9H1X5L0JlySmnh6yT2GHRFpzWaDeWjVTaQETZN5qNZlZhKMFqC/SE PNEUZZGNyfNmuQdNEZn5jg0l3ZJHs4np2ngLNX2xgnjVtr5hIFrELEZq4CWK0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=l3f2zdvn; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=aN23KIXh; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736192298; a=rsa-sha256; cv=none; b=Q6zlOVhySqQgCbIc2zhhIZhXYMXAX4png2olbzHkkH7r0xKY6g4xtDzrgqc7IZlsEXsXw0 oOExExL20Yx6P9/MSeFDDUh0gNKDMNeklgkxPC0qLX8nKv4SjWI4E7qfGfcrqsefj9kmgm yDR0qWU781TgRXBPWUEZya7sOxneaAaox6nCglVColZ40staRs6IqmWV86+t4cLxgKmduP Lp2VqSOQWc7CiqVlYpfKGHlLhmWw+g1dQ+PyUQX6godrndW8GjzkJ22pR2Kvbx6vXBeTZT Q7sLtXSKEt0wDV23DTK4seULt1Er45qRNVccEyMuRUdTkLn4VdIohJaZpG0T6A== 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 D25B743EEF for ; Mon, 06 Jan 2025 20:38:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUsvN-0008Vr-6Y; Mon, 06 Jan 2025 14:38:05 -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 1tUsvL-0008VG-Oi for guix-patches@gnu.org; Mon, 06 Jan 2025 14:38:03 -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 1tUsvK-00010P-AR for guix-patches@gnu.org; Mon, 06 Jan 2025 14:38: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:References:In-Reply-To:From:Date:To:Subject; bh=VbX/Bs7sJMLLBg6jhw5BkWUDDw2aRGhOQuIA6iJvu6U=; b=l3f2zdvnS8JIBNcGCXma1XHDZhLd1/0jr8mLKZiAhRTImK4GQeXO6eUwYrt/ka13yUflP5wFchSsc0/Js0s5nDkvsI8Nkirwejvjv5e4t9R7yrkzGqWr3sIgRMtCvzUFVAN4qjsdMRxbWRu2+6wiLlfmidRDq3vCrIUZ4Z7TNgTCIn0k+MmV07nOhfLiLBZWRm0Ub9tYIHkxamBEIz/OrwZPKe1d2yiY1Nku4DM8KrkVm8LDOG1lEOvwlVBhRecPZkkX5fb14/SDIxwj8FuIPfcnSGGe6pe4eFRWgqahzLiaHe7qnrasXPazlDFjqhtX5wTrt4Dx1EXo5izhecb8zw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUsvK-0006jH-4v for guix-patches@gnu.org; Mon, 06 Jan 2025 14:38:02 -0500 Subject: bug#75337: [PATCH 0/2] Add hyprland-qtutils; use it Hyprland Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 06 Jan 2025 19:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 75337 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain Cc: 75337-done@debbugs.gnu.org, collin@rekahsoft.ca Mail-Followup-To: 75337@debbugs.gnu.org, john.kehayias@protonmail.com, john.kehayias@protonmail.com Received: via spool by 75337-done@debbugs.gnu.org id=D75337.173619224725793 (code D ref 75337); Mon, 06 Jan 2025 19:38:01 +0000 Received: (at 75337-done) by debbugs.gnu.org; 6 Jan 2025 19:37:27 +0000 Received: from localhost ([127.0.0.1]:40158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUsuk-0006hx-WB for submit@debbugs.gnu.org; Mon, 06 Jan 2025 14:37:27 -0500 Received: from mail-10630.protonmail.ch ([79.135.106.30]:54943) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUsui-0006he-IY for 75337-done@debbugs.gnu.org; Mon, 06 Jan 2025 14:37:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1736192237; x=1736451437; bh=VbX/Bs7sJMLLBg6jhw5BkWUDDw2aRGhOQuIA6iJvu6U=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=aN23KIXhUMP2PGSyU8H0Yn1CfKslcrC2Fp8lK08bJWW6La1F0NnqzPmplTdSeGYvP uGkXV2oBC8PtopKIjga6flI0PEgeYcMV90T0MPivmBfPOx/9xWybUU0+C9g7CMSlI7 uEVyNciyRc8Aamv5wqvWi6H4rufaOSx82oQzDXe8qflsOv96ja/WuphW9Twk+hBudo 6u3Kqzsvcrp7pBbGtSJwSaHKZXi/TjocxxMJCEaPcjsJ4L6yYTDgfBHvSg0tEiePo0 zs9aTrdfvzgQzlTWRxkqGN3S0NqYGjPtnIGceFKP+R7DI3MJDSfv5zpvT/G0wniCiV 1WqVbIMvyalsw== Date: Mon, 06 Jan 2025 19:37:11 +0000 Message-ID: <87o70jka3i.fsf@protonmail.com> In-Reply-To: <87o70mmxr9.wl-hako@ultrarare.space> References: <87o70mmxr9.wl-hako@ultrarare.space> Feedback-ID: 7805494:user:proton X-Pm-Message-ID: 0a41876e962103d39d7d7efb06e45616351259e2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via 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-Queue-Id: D25B743EEF X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.98 X-Spam-Score: -0.98 X-TUID: LHEhPJjQBDe+ Hi, On Sat, Jan 04, 2025 at 10:58 PM, Hilton Chain wrote: > On Sat, 04 Jan 2025 13:23:05 +0800, > John Kehayias wrote: >> One thing to point out is that I manually wrapped the binaries with need= ed QT >> environment variables to get them to work. Using qt-buid-system or calli= ng >> qt-wrap-program (or qt-wrap-all-programs) did not do much: it just added= the >> plugin path for qtbase-5 (not an input here). I didn't try to investigat= e >> further but maybe the qt-team could chime in. > > qt-build-system has a #:qtbase argument, you can set it to qtbase. > Right, and I swear I tried that but I guess that's what happens when you do a bunch of things at the same time late at night :) Or maybe it was when I was just using the wrap-qt-program phase and didn't quite do it correctly. Anyway, that does indeed work and is much cleaner now. >> On the Hyprland end, it just checks for these utlities somewhere on the = PATH >> (or something like that) so I just used propagated-inputs. The package/b= uild >> does not otherwise depend or try to find these at build time. Using >> propagated-inputs seems to me the easiest and most straight forward meth= od >> here (the source does not just hardcode something like >> "/usr/bin/hyprland-dialog" to patch with a store path). > > Found a pattern to bypass the check :) > --8<---------------cut here---------------start------------->8--- > (substitute* ... > (("!executableExistsInPath.*\".") "false") > (("hyprland-update-screen" cmd) > (search-input-file inputs (in-vicinity "bin" cmd)))) > --8<---------------cut here---------------end--------------->8--- > Ah nice, thanks! I used that and made hyprland-qtutils just a regular input (after checking the substitutions were correct in both files and searching Hyprland to make sure that there were no other instances). I added you as co-author to that patch. Pushed both, as 8f261686ec0e5a988935e76e5495898e036f9fa7 and 0b4b22b6d363d0dd0bdaee65e47bda5cac72475c Thanks for the help! John