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

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

bug#45878: closed ([PATCH] gnu: xfconf: Install bash completion.)


From: GNU bug Tracking System
Subject: bug#45878: closed ([PATCH] gnu: xfconf: Install bash completion.)
Date: Sat, 16 Jan 2021 22:14:02 +0000

Your message dated Sat, 16 Jan 2021 23:13:02 +0100
with message-id <87k0scwmxd.fsf@gnu.org>
and subject line Re: bug#45878: [PATCH] gnu: xfconf: Install bash completion.
has caused the debbugs.gnu.org bug report #45878,
regarding [PATCH] gnu: xfconf: Install bash completion.
to be marked as done.

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


-- 
45878: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45878
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: xfconf: Install bash completion. Date: Fri, 15 Jan 2021 01:00:47 +0100
* gnu/packages/xfce.scm (xfconf)[arguments]: Add install-shell-completions 
phase.
---
 gnu/packages/xfce.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index a5c9482c01..00befc517d 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -155,6 +155,13 @@ Xfce Desktop Environment.")
              ;; For the missing '/etc/machine-id'.
              (setenv "DBUS_FATAL_WARNINGS" "0")
              (invoke "dbus-launch" "make" "check")))
+         (add-after 'custom-check 'install-shell-completions
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (etc (string-append out "/etc")))
+               (with-directory-excursion "completions"
+                 (install-file "xfconf-query"
+                               (string-append etc "/bash_completion.d"))))))
          (delete 'check))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.30.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#45878: [PATCH] gnu: xfconf: Install bash completion. Date: Sat, 16 Jan 2021 23:13:02 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Michael Rohleder <mike@rohleder.de> skribis:

> * gnu/packages/xfce.scm (xfconf)[arguments]: Add install-shell-completions 
> phase.

Applied, thanks!

Ludo'.


--- End Message ---

reply via email to

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