GNU bug report logs - #45878
[PATCH] gnu: xfconf: Install bash completion.

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Fri, 15 Jan 2021 00:02:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Rohleder <mike <at> rohleder.de>
Subject: bug#45878: closed (Re: bug#45878: [PATCH] gnu: xfconf: Install
 bash completion.)
Date: Sat, 16 Jan 2021 22:14:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45878: [PATCH] gnu: xfconf: Install bash completion.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 45878 <at> debbugs.gnu.org.

-- 
45878: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45878
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 45878-done <at> debbugs.gnu.org
Subject: Re: bug#45878: [PATCH] gnu: xfconf: Install bash completion.
Date: Sat, 16 Jan 2021 23:13:02 +0100
Michael Rohleder <mike <at> rohleder.de> skribis:

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

Applied, thanks!

Ludo'.

[Message part 3 (message/rfc822, inline)]
From: Michael Rohleder <mike <at> rohleder.de>
To: guix-patches <at> gnu.org
Cc: Michael Rohleder <mike <at> rohleder.de>
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




This bug report was last modified 4 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.