git: cbcb71ff6481 - main - x11-wm/icewm: fix invalid paths in desktop files

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 08 Nov 2022 16:40:31 UTC
The branch main has been updated by fernape:

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

commit cbcb71ff6481effc9074eb601ef43d543738f036
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2022-11-07 19:11:31 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-11-08 16:36:27 +0000

    x11-wm/icewm: fix invalid paths in desktop files
    
    This caused graphical login managers, like slim, to fail on login.
    
    PR:             267574
    Reported by:    ron@digitalcombine.ca
    MFH:            2022Q4
---
 x11-wm/icewm/files/patch-lib_icewm-session.desktop | 13 +++++++++++++
 x11-wm/icewm/files/patch-lib_icewm.desktop         | 13 +++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/x11-wm/icewm/files/patch-lib_icewm-session.desktop b/x11-wm/icewm/files/patch-lib_icewm-session.desktop
new file mode 100644
index 000000000000..d3e4e8df6ee8
--- /dev/null
+++ b/x11-wm/icewm/files/patch-lib_icewm-session.desktop
@@ -0,0 +1,13 @@
+--- lib/icewm-session.desktop.orig	2022-11-07 10:45:52.521479000 -0800
++++ lib/icewm-session.desktop	2022-11-07 10:46:39.992803000 -0800
+@@ -60,8 +60,8 @@
+ Comment[zh_CN]=此会话使您登录到 IceWM
+ Comment[zh_TW]=選取這個作業階段後會進入 IceWM 環境
+ Icon=icewm
+-TryExec=/usr/bin/icewm-session
+-Exec=/usr/bin/icewm-session
++TryExec=/usr/local/bin/icewm-session
++Exec=/usr/local/bin/icewm-session
+ NoDisplay=false
+ Hidden=false
+ StartupNotify=false
diff --git a/x11-wm/icewm/files/patch-lib_icewm.desktop b/x11-wm/icewm/files/patch-lib_icewm.desktop
new file mode 100644
index 000000000000..5abe5732e026
--- /dev/null
+++ b/x11-wm/icewm/files/patch-lib_icewm.desktop
@@ -0,0 +1,13 @@
+--- lib/icewm.desktop.orig	2022-11-07 10:45:37.073745000 -0800
++++ lib/icewm.desktop	2022-11-07 10:46:22.473136000 -0800
+@@ -18,8 +18,8 @@
+ Comment[pt_BR]=Gerenciador simples e rápido de janelas
+ Comment[uk]=Простий та швидкий менеджер вікон
+ Icon=icewm
+-TryExec=/usr/bin/icewm
+-Exec=/usr/bin/icewm
++TryExec=/usr/local/bin/icewm
++Exec=/usr/local/bin/icewm
+ NoDisplay=false
+ Hidden=false
+ Categories=WindowManager;Application;System;