File desktop.patch of Package wxlua

From 070d7003f92c877985c2df2cc956170e41a0999f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
 <Mailaender@users.noreply.github.com>
Date: Tue, 12 Dec 2017 07:51:14 +0100
Subject: [PATCH 1/3] The binary is called wxLua instead of wxluaedit.

---
 wxLua/distrib/autopackage/wxlua.desktop | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wxLua/distrib/autopackage/wxlua.desktop b/wxLua/distrib/autopackage/wxlua.desktop
index 9ef83c1..47bac57 100644
--- a/wxLua/distrib/autopackage/wxlua.desktop
+++ b/wxLua/distrib/autopackage/wxlua.desktop
@@ -1,11 +1,11 @@
 [Desktop Entry]
 Name=wxLua Editor
 Comment=Editor for Lua script files
-Exec=wxluaedit %F
+Exec=wxLua %F
 Encoding=UTF-8
 Terminal=false
 Type=Application
 MimeType=application/lua;
 Categories=Application;Development;
 Icon=wxlualogo.xpm
-X-GNOME-DocPath=
\ No newline at end of file
+X-GNOME-DocPath=

From 179dacff6fedc8be28d0df6c9d0c38151054dc58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
 <Mailaender@users.noreply.github.com>
Date: Tue, 12 Dec 2017 07:52:28 +0100
Subject: [PATCH 2/3] Avoid the deprecated .xpm file format extension

as the art folder also contains a modern .svg
---
 wxLua/distrib/autopackage/wxlua.desktop | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wxLua/distrib/autopackage/wxlua.desktop b/wxLua/distrib/autopackage/wxlua.desktop
index 47bac57..1b269ac 100644
--- a/wxLua/distrib/autopackage/wxlua.desktop
+++ b/wxLua/distrib/autopackage/wxlua.desktop
@@ -7,5 +7,5 @@ Terminal=false
 Type=Application
 MimeType=application/lua;
 Categories=Application;Development;
-Icon=wxlualogo.xpm
+Icon=wxlualogo
 X-GNOME-DocPath=

From f276216494ab244630a186b79cdba33ed177df85 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
 <Mailaender@users.noreply.github.com>
Date: Tue, 12 Dec 2017 07:54:20 +0100
Subject: [PATCH 3/3] Update the .desktop categories

according to https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#main-category-registry
---
 wxLua/distrib/autopackage/wxlua.desktop | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wxLua/distrib/autopackage/wxlua.desktop b/wxLua/distrib/autopackage/wxlua.desktop
index 1b269ac..911f34c 100644
--- a/wxLua/distrib/autopackage/wxlua.desktop
+++ b/wxLua/distrib/autopackage/wxlua.desktop
@@ -6,6 +6,6 @@ Encoding=UTF-8
 Terminal=false
 Type=Application
 MimeType=application/lua;
-Categories=Application;Development;
+Categories=Development;IDE;
 Icon=wxlualogo
 X-GNOME-DocPath=
openSUSE Build Service is sponsored by