From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AOr7I4LbAGAnIAAA0tVLHw (envelope-from ) for ; Fri, 15 Jan 2021 00:02:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UGq3H4LbAGD/LwAAbx9fmQ (envelope-from ) for ; Fri, 15 Jan 2021 00:02:10 +0000 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 1EBA1940355 for ; Fri, 15 Jan 2021 00:02:10 +0000 (UTC) Received: from localhost ([::1]:46406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0CZ6-0005dN-T3 for larch@yhetil.org; Thu, 14 Jan 2021 19:02:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0CZ0-0005d4-7C for guix-patches@gnu.org; Thu, 14 Jan 2021 19:02:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0CYz-0005m8-VY for guix-patches@gnu.org; Thu, 14 Jan 2021 19:02:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l0CYz-0002bw-SB for guix-patches@gnu.org; Thu, 14 Jan 2021 19:02:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45878] [PATCH] gnu: xfconf: Install bash completion. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Jan 2021 00:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45878@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16106688699965 (code B ref -1); Fri, 15 Jan 2021 00:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jan 2021 00:01:09 +0000 Received: from localhost ([127.0.0.1]:39602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0CY7-0002ae-W5 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 19:01:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:40504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0CY2-0002aT-Qv for submit@debbugs.gnu.org; Thu, 14 Jan 2021 19:01:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0CY2-0005T3-IN for guix-patches@gnu.org; Thu, 14 Jan 2021 19:01:02 -0500 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:59406) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0CXv-0005NL-3I for guix-patches@gnu.org; Thu, 14 Jan 2021 19:01:02 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1l0CXp-0000ch-A0; Fri, 15 Jan 2021 01:00:49 +0100 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1l0CXn-0002Kk-Tc; Fri, 15 Jan 2021 01:00:48 +0100 From: Michael Rohleder Date: Fri, 15 Jan 2021 01:00:47 +0100 Message-Id: <20210115000047.21572-1-mike@rohleder.de> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1610668855;e791ee08; X-HE-SMSGID: 1l0CXp-0000ch-A0 Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.64 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1EBA1940355 X-Spam-Score: 2.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: jyeJNh7CskcH * 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