File qdbus-qt5.patch of Package bash-completion
From: Fabian Vogt <fvogt@suse.de>
Subject: Add completion for qdbus-qt5
qdbus is the Qt 4 variant, also complete for the Qt 5 version.
Index: bash-completion-2.11/completions/qdbus
===================================================================
---
bash-completion-2.12.0/completions/Makefile.am | 4 +++-
bash-completion-2.12.0/completions/qdbus | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
--- bash-completion-2.12.0/completions/Makefile.am
+++ bash-completion-2.12.0/completions/Makefile.am 2024-02-23 09:21:49.726811653 +0000
@@ -821,6 +821,8 @@ CLEANFILES = \
pyvenv-3.10 \
pyvenv-3.11 \
pyvenv-3.12 \
+ qdbus-qt5 \
+ qdbus6 \
qemu-kvm \
qemu-system-i386 \
qemu-system-x86_64 \
@@ -1169,7 +1171,7 @@ symlinks: $(DATA)
pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8 \
pyvenv-3.9 pyvenv-3.10 pyvenv-3.11 pyvenv-3.12
$(ss) qdbus \
- dcop
+ dcop qdbus-qt5 qdbus6
$(ss) qemu \
qemu-kvm qemu-system-i386 qemu-system-x86_64
$(ss) quota \
--- bash-completion-2.12.0/completions/qdbus
+++ bash-completion-2.12.0/completions/qdbus 2024-02-23 09:20:07.148708732 +0000
@@ -9,6 +9,6 @@ _comp_cmd_qdbus()
command "${words[@]::cword}" 2>/dev/null | command sed 's/(.*)//'
)"
} &&
- complete -F _comp_cmd_qdbus qdbus dcop
+ complete -F _comp_cmd_qdbus qdbus qdbus-qt5 qdbus6 dcop
# ex: filetype=sh