emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57406: closed ([PATCH] qtile desktop file install)


From: GNU bug Tracking System
Subject: bug#57406: closed ([PATCH] qtile desktop file install)
Date: Sat, 27 Aug 2022 21:48:01 +0000

Your message dated Sat, 27 Aug 2022 23:47:29 +0200
with message-id <87a67pfjf2.fsf@gnu.org>
and subject line Re: [bug#57406] Format Fix
has caused the debbugs.gnu.org bug report #57406,
regarding [PATCH] qtile desktop file install
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
57406: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57406
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] qtile desktop file install Date: Thu, 25 Aug 2022 05:48:22 -0600 (MDT)
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(-)
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
base-commit: 80baa8f87aa69151dffe04fb432a37c91d4dd242
--
2.37.2

--- End Message ---
--- Begin Message --- Subject: Re: [bug#57406] Format Fix Date: Sat, 27 Aug 2022 23:47:29 +0200
jonscoresby--- via Guix-patches via <guix-patches@gnu.org> skriver:

> I realized my email client messed up the formatting. Here is the formatted 
> patch.

Applied (with an appropriate commit message), thanks!

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]