[gnome-build-meta/alatiera/remove-desktop-files: 6/6] vm: hide unwanted .desktop files from the launcher
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/alatiera/remove-desktop-files: 6/6] vm: hide unwanted .desktop files from the launcher
- Date: Mon, 17 Feb 2020 07:06:56 +0000 (UTC)
commit 527a56a70ca8b081c345fa86ca135eba279531c5
Author: Jordan Petridis <jpetridis gnome org>
Date: Sun Sep 22 08:59:04 2019 +0300
vm: hide unwanted .desktop files from the launcher
elements/core-deps/avahi.bst | 2 ++
elements/sdk/fcitx.bst | 15 +++++++++++----
2 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/elements/core-deps/avahi.bst b/elements/core-deps/avahi.bst
index 1bbcadc0..eaa8bb59 100644
--- a/elements/core-deps/avahi.bst
+++ b/elements/core-deps/avahi.bst
@@ -26,3 +26,5 @@ config:
- |
install -Dm644 -t "%{install-root}%{indep-libdir}/sysusers.d" \
extra/avahi.conf
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/bvnc.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/bssh.desktop"
diff --git a/elements/sdk/fcitx.bst b/elements/sdk/fcitx.bst
index 058eceab..bee56422 100644
--- a/elements/sdk/fcitx.bst
+++ b/elements/sdk/fcitx.bst
@@ -31,7 +31,14 @@ public:
split-rules:
devel:
(>):
- - '%{libdir}/libfcitx-core.so'
- - '%{libdir}/libfcitx-gclient.so'
- - '%{libdir}/libfcitx-config.so'
- - '%{libdir}/libfcitx-utils.so'
+ - "%{libdir}/libfcitx-core.so"
+ - "%{libdir}/libfcitx-gclient.so"
+ - "%{libdir}/libfcitx-config.so"
+ - "%{libdir}/libfcitx-utils.so"
+
+config:
+ install-commands:
+ (>):
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx-skin-installer.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx-configtool.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fcitx.desktop"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]