From 81f963cfeb9af0bc99ff7397088d432d23424c35 Mon Sep 17 00:00:00 2001 From: Florian Piesche Date: Fri, 18 Jul 2025 19:13:02 +0100 Subject: [PATCH 1/3] Optimise icon SVG and merge releases.xml into main metainfo --- .../io.github.elasota.aerofoil.metainfo.xml | 14 ++- .../io.github.elasota.aerofoil.releases.xml | 10 -- .../Linux/io.github.elasota.aerofoil.svg | 115 +----------------- 3 files changed, 15 insertions(+), 124 deletions(-) delete mode 100644 Resources/Linux/io.github.elasota.aerofoil.releases.xml diff --git a/Resources/Linux/io.github.elasota.aerofoil.metainfo.xml b/Resources/Linux/io.github.elasota.aerofoil.metainfo.xml index f343718..43be867 100644 --- a/Resources/Linux/io.github.elasota.aerofoil.metainfo.xml +++ b/Resources/Linux/io.github.elasota.aerofoil.metainfo.xml @@ -44,9 +44,21 @@ Level editor included! + + keyboard + Game - + + + https://github.com/elasota/Aerofoil/releases/tag/1.1.2 + +

Added gamepad support to Android and fixed gamepads not working + on other platforms.

+

Split off comand-line import tools to a separate package.

+
+
+
diff --git a/Resources/Linux/io.github.elasota.aerofoil.releases.xml b/Resources/Linux/io.github.elasota.aerofoil.releases.xml deleted file mode 100644 index 0f7e922..0000000 --- a/Resources/Linux/io.github.elasota.aerofoil.releases.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - https://github.com/elasota/Aerofoil/releases/tag/1.1.2 - -

Added gamepad support to Android and fixed gamepads not working - on other platforms.

-

Split off comand-line import tools to a separate package.

-
-
-
diff --git a/Resources/Linux/io.github.elasota.aerofoil.svg b/Resources/Linux/io.github.elasota.aerofoil.svg index dc3adb2..cb4c563 100644 --- a/Resources/Linux/io.github.elasota.aerofoil.svg +++ b/Resources/Linux/io.github.elasota.aerofoil.svg @@ -1,113 +1,2 @@ - - - - + + From bdb51862f4105bd4088506583c6e78ec3cfa5140 Mon Sep 17 00:00:00 2001 From: Florian Piesche Date: Fri, 18 Jul 2025 19:47:21 +0100 Subject: [PATCH 2/3] Install freedesktop files on Linux --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index efafa61..b5317db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -734,3 +734,15 @@ install(TARGETS "${EXECNAME}" COMPONENT Executable) install(FILES ${DATA_FILES} DESTINATION lib/aerofoil/Packaged COMPONENT Resources) install(FILES ${HOUSE_FILES} DESTINATION lib/aerofoil/Packaged/Houses COMPONENT Resources) install(TARGETS ${TOOL_EXES} DESTINATION lib/aerofoil/tools COMPONENT Tools) + +if (UNIX AND NOT APPLE) + install(FILES Resources/Linux/io.github.elasota.aerofoil.metainfo.xml + DESTINATION share/appdata + PERMISSIONS WORLD_READ GROUP_READ GROUP_EXECUTE OWNER_READ OWNER_WRITE) + install(FILES Resources/Linux/io.github.elasota.aerofoil.desktop + DESTINATION share/applications + PERMISSIONS WORLD_EXECUTE WORLD_READ GROUP_READ GROUP_EXECUTE OWNER_READ OWNER_WRITE OWNER_EXECUTE) + install(FILES Resources/Linux/io.github.elasota.aerofoil.svg + DESTINATION share/icons/hicolor/scalable/apps + PERMISSIONS WORLD_READ GROUP_READ GROUP_EXECUTE OWNER_READ OWNER_WRITE) +endif() \ No newline at end of file From baa7bbde7f656ad85838c6272b00a888020acc02 Mon Sep 17 00:00:00 2001 From: Florian Piesche Date: Fri, 18 Jul 2025 19:47:33 +0100 Subject: [PATCH 3/3] add trailing newline --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b5317db..c67c4ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -745,4 +745,4 @@ if (UNIX AND NOT APPLE) install(FILES Resources/Linux/io.github.elasota.aerofoil.svg DESTINATION share/icons/hicolor/scalable/apps PERMISSIONS WORLD_READ GROUP_READ GROUP_EXECUTE OWNER_READ OWNER_WRITE) -endif() \ No newline at end of file +endif()