git: b9aa3ea1679e - main - x11-wm/fvwm3: Use upstream .desktop file

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Fri, 04 Aug 2023 06:33:00 UTC
The branch main has been updated by zirias:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b9aa3ea1679e67e4f30fda91cade7f448aa3f1e3

commit b9aa3ea1679e67e4f30fda91cade7f448aa3f1e3
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2023-08-04 06:29:04 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2023-08-04 06:32:36 +0000

    x11-wm/fvwm3: Use upstream .desktop file
    
    After upstream accepted a simple .desktop file with a few changes, use
    this one until the next upstream version is released.
    
    The main difference is that it uses Type=Application instead of
    Type=XSession. According to freedesktop.org specs, Type=XSession does
    not exist. Both work fine with sddm, but it's still better to use the
    one that conforms to the spec.
    
    PR:             272836
---
 x11-wm/fvwm3/Makefile               | 2 +-
 x11-wm/fvwm3/files/fvwm3.desktop.in | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/x11-wm/fvwm3/Makefile b/x11-wm/fvwm3/Makefile
index 77f8ed3a7142..a3df66724324 100644
--- a/x11-wm/fvwm3/Makefile
+++ b/x11-wm/fvwm3/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fvwm3
 DISTVERSION=	1.0.7
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://github.com/fvwmorg/fvwm3/releases/download/${DISTVERSION}/ \
 		http://fvwm.sourceforge.net/generated/icon_download/:icons
diff --git a/x11-wm/fvwm3/files/fvwm3.desktop.in b/x11-wm/fvwm3/files/fvwm3.desktop.in
index 11d64c92ede2..0ebd7c193340 100644
--- a/x11-wm/fvwm3/files/fvwm3.desktop.in
+++ b/x11-wm/fvwm3/files/fvwm3.desktop.in
@@ -1,6 +1,5 @@
 [Desktop Entry]
 Name=FVWM3
 Comment=The fvwm3 window manager
-Type=XSession
+Type=Application
 Exec=%%PREFIX%%/bin/fvwm3
-TryExec=%%PREFIX%%/bin/fvwm3