[gnome-build-meta/alatiera/fish-desktop: 1/2] vm/fish: hide the .desktop file




commit c4886bfedb9b6659fe2e67f028c4f59a2f7c3e70
Author: Jordan Petridis <jordan centricular com>
Date:   Tue Jul 13 11:24:29 2021 +0300

    vm/fish: hide the .desktop file
    
    The .desktop file was added for development and appimage builds,
    it doesn't need to be there in gnomeos.
    
    https://github.com/fish-shell/fish-shell/commit/eb7172458b628b81a3f70f38a0e58c7c23202f05
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1199>

 elements/vm/fish.bst | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/elements/vm/fish.bst b/elements/vm/fish.bst
index f9429a1f..f6ccbef8 100644
--- a/elements/vm/fish.bst
+++ b/elements/vm/fish.bst
@@ -20,3 +20,12 @@ public:
   bst:
     integration-commands:
     - echo %{bindir}/fish >> /etc/shells
+
+# Do not display the .desktop file in the launcher.
+# The reason it was added was for appimage builds, not cause its a critical part of the software.
+# It doesn't need to be shown in gnome-os.
+# https://github.com/fish-shell/fish-shell/commit/eb7172458b628b81a3f70f38a0e58c7c23202f05
+config:
+  install-commands:
+    (>):
+    - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/fish.desktop"
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]