[gnome-build-meta/alatiera/remove-desktop-files: 113/113] 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: 113/113] vm: hide unwanted .desktop files from the launcher
- Date: Mon, 2 Dec 2019 23:40:54 +0000 (UTC)
commit f14cfdcd43e73fe165c980f379ca304a703b8dca
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 | 6 ++++++
elements/sdk/fcitx.bst | 15 +++++++++++----
2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/elements/core-deps/avahi.bst b/elements/core-deps/avahi.bst
index 6d2152ff..763a0f82 100644
--- a/elements/core-deps/avahi.bst
+++ b/elements/core-deps/avahi.bst
@@ -17,3 +17,9 @@ variables:
--disable-gtk
--disable-python
--disable-mono
+
+config:
+ install-commands:
+ (>):
+ - 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]