From 03e780831617d89413f333a1979a3e3e8ce508b9 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 27 Apr 2021 16:26:26 -0400 Subject: [PATCH] Fix desktop file Resolves: #1954285 --- 0001-Make-the-desktop-file-valid.patch | 32 ++++++++++++++++++++++++++ gnome-kiosk.spec | 9 +++++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 0001-Make-the-desktop-file-valid.patch diff --git a/0001-Make-the-desktop-file-valid.patch b/0001-Make-the-desktop-file-valid.patch new file mode 100644 index 0000000..42386d7 --- /dev/null +++ b/0001-Make-the-desktop-file-valid.patch @@ -0,0 +1,32 @@ +From 342cc4adec33571e6e0d786a297f0034161dc6ee Mon Sep 17 00:00:00 2001 +From: Matthias Clasen +Date: Tue, 27 Apr 2021 16:07:13 -0400 +Subject: [PATCH] Make the desktop file valid + +desktop-file-validate was complaining about the +lack of a main category in the Categories value. +So add one. +--- + compositor/data/org.gnome.Kiosk.desktop.in.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/compositor/data/org.gnome.Kiosk.desktop.in.in b/compositor/data/org.gnome.Kiosk.desktop.in.in +index bf6ec39..bb603c8 100644 +--- a/compositor/data/org.gnome.Kiosk.desktop.in.in ++++ b/compositor/data/org.gnome.Kiosk.desktop.in.in +@@ -1,12 +1,12 @@ + [Desktop Entry] + Type=Application + Name=GNOME Kiosk + Comment=Compositor for Kiosk and Single Application deployments + Exec=@bindir@/gnome-kiosk +-Categories=GNOME;GTK;Core; ++Categories=GNOME;GTK;Core;System; + OnlyShowIn=GNOME; + NoDisplay=true + X-GNOME-Autostart-Phase=DisplayServer + X-GNOME-Provides=panel;windowmanager; + X-GNOME-Autostart-Notify=true + X-GNOME-AutoRestart=false +-- +2.31.1 diff --git a/gnome-kiosk.spec b/gnome-kiosk.spec index ee85dbe..48865b1 100644 --- a/gnome-kiosk.spec +++ b/gnome-kiosk.spec @@ -12,7 +12,7 @@ Name: gnome-kiosk Version: 40~alpha -Release: 6%{?dist} +Release: 7%{?dist} Summary: Window management and application launching for GNOME License: GPLv2+ @@ -48,6 +48,9 @@ Patch20002: 0002-input-sources-manager-Fix-overzealous-rename-mistake.patch Patch20003: 0003-compositor-Add-signal-for-reporting-X-server-events.patch Patch20004: 0004-input-sources-manager-Support-libxklavier-managed-ke.patch +# https://gitlab.gnome.org/halfline/gnome-kiosk/-/merge_requests/3 +Patch30001: 0001-Make-the-desktop-file-valid.patch + %description GNOME Kiosk provides a desktop enviroment suitable for fixed purpose, or single application deployments like wall displays and point-of-sale systems. @@ -90,6 +93,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Kiosk.Searc %{_datadir}/wayland-sessions/org.gnome.Kiosk.SearchApp.Session.desktop %changelog +* Tue Apr 27 2021 Ray Strode - 40~alpha-7 +- Fix desktop file + Resolves: #1954285 + * Fri Apr 23 2021 Ray Strode - 40~alpha-6 - Add vprovides so initial-setup can use this