From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 wOPWJaxWeWe7GAEA62LTzQ:P1 (envelope-from ) for ; Sat, 04 Jan 2025 15:41:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wOPWJaxWeWe7GAEA62LTzQ (envelope-from ) for ; Sat, 04 Jan 2025 16:41:32 +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=KNkq8V6V; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=mail header.b=GDXUKgHr; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=ultrarare.space (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736005292; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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: dkim-signature; bh=v3S0hUO1hJuJ9s/s4i24L8mDE7Byg1xAjydOG8h37vY=; b=XMMyx49c7oaUnPvKNbSGWmlCaIwUMwCKgzvhJ6TdOfiv5xQaO4WkRm4FLEAyImGv8vbtDD XmUmQMKcvlKwB7kqDPw9BOTvxo05a7709Lz4F9L39DSe0iBzn8VOkZp6kBy+X9Z6ERZJuG uIyCxjVmnaZVIGkTPHLVgwIF0DRLOAwrIwCH1mf1e8PZIOUPXgNGcDTb4FT+exHY4k1dRu UguOjjh9N8grbvuWc09qrzffaA+rN0s7vn5uQiAAtE6FfFa1Aadm01Z0d1X6vajbH7dDGC xVsym3lHMjnsu7MsQ0KsH0ASPzQEakdUYttqVKbSoNUUCat5kYCkY+cNzRHphQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=KNkq8V6V; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=mail header.b=GDXUKgHr; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=ultrarare.space (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736005292; a=rsa-sha256; cv=none; b=KSfjMXQv2d5olGDChoREKEca4GuPLAQ+W2wCsJ0yXUKITF96Ur4NQoRabs7aEVyAsjB4ZH +DOKm+ScLsReoLTeDdgcwE/7HCv84+8qaDx9+B0hjMQKvu3SsreSLNIuRlYMTXWa4ZX6Sj gkF7UXV3pO6Es1R6n2ZcslHaWNpnOueMfoHnBfBov6t1nXtI2BPama+zXDCNQNenUuxr3W Qiv7ZhoavM0snpSNTrh10ze8XPLYby+DSdDKG+1itDzVDcpVaIoADFVCj8jh+ZCBH2CSEh skW9IQNEeLCW4GP54ZBkjRGZOdq/FtuAIxi7AC7HLNhTS06iGvGpOOFVpDIQiQ== 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 6CD6C60C8 for ; Sat, 04 Jan 2025 16:41:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU6H5-0002ch-4f; Sat, 04 Jan 2025 10:41:15 -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 1tU6Gt-0002bq-7G for guix-patches@gnu.org; Sat, 04 Jan 2025 10:41: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 1tU6Gs-0000Dw-HX for guix-patches@gnu.org; Sat, 04 Jan 2025 10:41:02 -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=v3S0hUO1hJuJ9s/s4i24L8mDE7Byg1xAjydOG8h37vY=; b=KNkq8V6VMiNfPF7lWlDfE4oboL07xEDrRlEPMUyNgDFC7ZnyZIwzVJOZqaUNGEK2Nzkd6+POdyTtr6uswjv9OgQqJv8FOFgZ8KCH+hMaUw8GvYevWrnPpIniozTKYHsjwNeNkBUMPV0xCcqeDIzxXWhkGuXfSq2PMkCaif1bC5WbLZztz1FiNd1C44HxRMqtygo8dsuKKfFmSgJKiY+sZmRKDpIQRHmvQgKU3tyIupoG7dmeuTm/E+zlznXDDyInqvRzO8+3rhb5tbcwv99C7Iv7KWJkn7gFpleivPGilkDTIpr9g8JhHosYCKireMp0cWn1hOtVno4PXtAgcZg1QA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU6Gr-0006sJ-VA for guix-patches@gnu.org; Sat, 04 Jan 2025 10:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75337] [PATCH 0/2] Add hyprland-qtutils; use it Hyprland Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Jan 2025 15:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75337 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Kehayias Cc: 75337@debbugs.gnu.org, collin@rekahsoft.ca Received: via spool by 75337-submit@debbugs.gnu.org id=B75337.173600521426238 (code B ref 75337); Sat, 04 Jan 2025 15:41:01 +0000 Received: (at 75337) by debbugs.gnu.org; 4 Jan 2025 15:40:14 +0000 Received: from localhost ([127.0.0.1]:56735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU6G5-0006oK-Im for submit@debbugs.gnu.org; Sat, 04 Jan 2025 10:40:14 -0500 Received: from mx.boiledscript.com ([88.99.243.112]:37698) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU60D-0005m3-Ho for 75337@debbugs.gnu.org; Sat, 04 Jan 2025 10:24:58 -0500 Date: Sat, 04 Jan 2025 22:58:34 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=mail; t=1736004226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=v3S0hUO1hJuJ9s/s4i24L8mDE7Byg1xAjydOG8h37vY=; b=GDXUKgHrxHGIjEHptnrA2O7sf3PTMyBT8PNYT/NfXP1gui3vn6zMxQgz8y+mrTzqUu5//d pkKMcKmOtEwTYq53o/VMyPxD93+nsnSQcwXrOmCIheZJsvjvXf6U0kxxl89A6G+iSXC7dy TijyhSuGE5pDEQnyHcRNUWZPjElM4ea7plC9XypO7tYl5DjvrkVXhz4dRsqFGkJVnX01vh jUzMCbF5M5fPkKh2MuP6N36Aqto5oZOOxjTDDTJTdV6EAwXoWBsEDkLtAIIKdmHa4/3KS9 +/D9ONB3AO+8MA9U7PcP1rsHA2NgzCLnT3H7BfYF+Ke4heljAOJA5lpaT2xfQQ== Message-ID: <87o70mmxr9.wl-hako@ultrarare.space> From: Hilton Chain In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -0.95 X-Spam-Score: -0.95 X-Migadu-Queue-Id: 6CD6C60C8 X-TUID: lIWbWhlATYpS On Sat, 04 Jan 2025 13:23:05 +0800, John Kehayias wrote: > > Hi all, > > As pointed out in , Hyprland now wants > binaries from the hyprland-qtutils package, which this patch series adds. I > checked that it builds and I can run the utlities. One is to send a message if > Hyprland is updated, which isn't relevant for our package, but I didn't look > into any easy way to disable that from the source if that's what we want to > do. > > One thing to point out is that I manually wrapped the binaries with needed QT > environment variables to get them to work. Using qt-buid-system or calling > 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 investigate > further but maybe the qt-team could chime in. qt-build-system has a #:qtbase argument, you can set it to qtbase. > 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/build > does not otherwise depend or try to find these at build time. Using > propagated-inputs seems to me the easiest and most straight forward method > 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--- > I have not actually tried running the latest Hyprland which will warn (but > otherwise should work) about these. > > Thanks all! > John > > John Kehayias (2): > gnu: Add hyprland-qtutils. > gnu: hyprland: Add hyprland-qtutils to propagated-inputs. > > gnu/packages/qt.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++ > gnu/packages/wm.scm | 2 ++ > 2 files changed, 57 insertions(+) > > > base-commit: a707ebe5d3875a49523bc17de2d36af6f1c18f7e > prerequisite-patch-id: 3efc585c869da704ca71214328a78b6e6bbad919 > prerequisite-patch-id: 82bcb22fe1f5bd69d26626e575b7629f6f223ae3 > prerequisite-patch-id: b12f224a58be29cf89415a53dc245e4057139e22 > prerequisite-patch-id: 9fa5469aa4528c28962598256414bf4a4f517dce > -- > 2.47.1 > >