From patchwork Thu Aug 25 11:48:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: guix--- via Guix-patches via X-Patchwork-Id: 41959 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 000CD27BBEA; Thu, 25 Aug 2022 17:22:03 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3AF9C27BBE9 for ; Thu, 25 Aug 2022 17:22:03 +0100 (BST) Received: from localhost ([::1]:54538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRFcI-0003Ht-9k for patchwork@mira.cbaines.net; Thu, 25 Aug 2022 12:22:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oREtn-0007o5-0x for guix-patches@gnu.org; Thu, 25 Aug 2022 11:36:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oREtm-0007Jp-NI for guix-patches@gnu.org; Thu, 25 Aug 2022 11:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oREtm-0001ZA-Ik for guix-patches@gnu.org; Thu, 25 Aug 2022 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57406] [PATCH] qtile desktop file install Resent-From: jonscoresby@mailbox.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Aug 2022 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57406 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57406@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.16614417065928 (code B ref -1); Thu, 25 Aug 2022 15:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Aug 2022 15:35:06 +0000 Received: from localhost ([127.0.0.1]:51092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oREsq-0001XW-PE for submit@debbugs.gnu.org; Thu, 25 Aug 2022 11:35:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:35836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRBLe-0003C2-T7 for submit@debbugs.gnu.org; Thu, 25 Aug 2022 07:48:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRBLa-00074y-AV for guix-patches@gnu.org; Thu, 25 Aug 2022 07:48:34 -0400 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:59124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oRBLX-0007la-Sd for guix-patches@gnu.org; Thu, 25 Aug 2022 07:48:29 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4MD1SQ472sz9sWd for ; Thu, 25 Aug 2022 13:48:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1661428102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=2BtA295HCNhAjFFKSVXKxHQ+s2BmpG/5RmQn1326wGc=; b=C/ABQphJ69asriMcmFloz/1EwNyLmBbaceqvjcl1/Pf/mlHcOJvDHkwS+qxp3S1iQmP8DV DQkyX3xt6zxtl+doeWPyydZ3/vj/tcOiSHl7mwOb1KtFN5Fb3/ZcgBkRiGaBlfITd3Ffmu A7JzuYbKam2WzCMx+Ao2E6IwpUslUVs3w9D1OAuF0eaV2t3sS97bgcajnHE1ngk2dtaWmf i1wQFMur5B60t5K4jlMaDmlt4X0nwlah5roC8MPAgb9Abl+71pOpL92d4hDXwdMIonuth2 Haor4oZhBH82NDhlZJanXPAaRl4rgGUKX4BKPy+JrTmJCrHj8usdaLWL5i4gyg== Date: Thu, 25 Aug 2022 05:48:22 -0600 (MDT) Message-ID: <1116003924.687612.1661428102310@office.mailbox.org> MIME-Version: 1.0 X-Priority: 3 Importance: Normal X-MBO-RS-META: qm961tmxb5xmbsip7rp5xcnfaqybuthc X-MBO-RS-ID: 29f70f7964011d590da Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=jonscoresby@mailbox.org; helo=mout-p-102.mailbox.org 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 25 Aug 2022 11:35:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 25 Aug 2022 12:21:04 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: jonscoresby@mailbox.org X-ACL-Warn: , jonscoresby--- via Guix-patches X-Patchwork-Original-From: jonscoresby--- via Guix-patches via From: guix--- via Guix-patches via X-getmail-retrieved-from-mailbox: Patches I don't know if my previous patch will be discarded or not, but it had an error (this is my first time). This is the revised, working patch. --- gnu/packages/wm.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) base-commit: 80baa8f87aa69151dffe04fb432a37c91d4dd242 -- 2.37.2 diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 7ea6840689..5084d194a6 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -579,7 +579,16 @@ (define-public qtile (assoc-ref inputs "pango") "/lib/libpango-1.0.so.0\")\n")) (("^pangocairo = ffi.dlopen.*") (string-append "pangocairo = ffi.dlopen(\"" - (assoc-ref inputs "pango") "/lib/libpangocairo-1.0.so.0\")\n")))))))) + (assoc-ref inputs "pango") "/lib/libpangocairo-1.0.so.0\")\n"))))) + (add-after 'install 'install-xsession + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (xsessions (string-append out "/share/xsessions")) + (qtile (string-append out "/bin/qtile start"))) + (mkdir-p xsessions) + (copy-file "resources/qtile.desktop" (string-append xsessions "/qtile.desktop")) + (substitute* (string-append xsessions "/qtile.desktop") + (("qtile start") qtile)))))))) (inputs (list glib pango pulseaudio)) (propagated-inputs