From d800a193c39fe0117c62a714f8665dc03facfcdd Mon Sep 17 00:00:00 2001 From: LRFLEW Date: Mon, 8 Sep 2025 14:35:55 -0500 Subject: [PATCH] Update AppImage metadata to rDNS --- CMakeLists.txt | 12 +++---- ...-mimeinfo.xml => io.openrct2.mimeinfo.xml} | 0 ...a.xml => io.openrct2.openrct2.appdata.xml} | 36 ++++++++++--------- ...2.desktop => io.openrct2.openrct2.desktop} | 0 ...e.desktop => io.openrct2.savegame.desktop} | 0 ...o.desktop => io.openrct2.scenario.desktop} | 0 ...t2-uri.desktop => io.openrct2.uri.desktop} | 0 scripts/build-appimage | 2 +- 8 files changed, 26 insertions(+), 24 deletions(-) rename distribution/linux/{openrct2-mimeinfo.xml => io.openrct2.mimeinfo.xml} (100%) rename distribution/linux/{openrct2.appdata.xml => io.openrct2.openrct2.appdata.xml} (96%) rename distribution/linux/{openrct2.desktop => io.openrct2.openrct2.desktop} (100%) rename distribution/linux/{openrct2-savegame.desktop => io.openrct2.savegame.desktop} (100%) rename distribution/linux/{openrct2-scenario.desktop => io.openrct2.scenario.desktop} (100%) rename distribution/linux/{openrct2-uri.desktop => io.openrct2.uri.desktop} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 468e6947e0..7574db229e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -517,7 +517,7 @@ if (NOT MACOS_BUNDLE OR (MACOS_BUNDLE AND WITH_TESTS)) endif() install(TARGETS "openrct2-cli" OPTIONAL RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") install(FILES ${DOC_FILES} DESTINATION "${CMAKE_INSTALL_DOCDIR}") - install(FILES "distribution/linux/openrct2.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo") + install(FILES "distribution/linux/io.openrct2.openrct2.appdata.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo") if (NOT DISABLE_GUI) install(FILES "resources/logo/icon_x16.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/16x16/apps" RENAME "openrct2.png") install(FILES "resources/logo/icon_x24.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/24x24/apps" RENAME "openrct2.png") @@ -528,12 +528,12 @@ if (NOT MACOS_BUNDLE OR (MACOS_BUNDLE AND WITH_TESTS)) install(FILES "resources/logo/icon_x128.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/128x128/apps" RENAME "openrct2.png") install(FILES "resources/logo/icon_x256.png" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/256x256/apps" RENAME "openrct2.png") install(FILES "resources/logo/icon_flag.svg" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps" RENAME "openrct2.svg") - install(FILES "distribution/linux/openrct2.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") - install(FILES "distribution/linux/openrct2-savegame.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") - install(FILES "distribution/linux/openrct2-scenario.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") - install(FILES "distribution/linux/openrct2-uri.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") + install(FILES "distribution/linux/io.openrct2.openrct2.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") + install(FILES "distribution/linux/io.openrct2.savegame.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") + install(FILES "distribution/linux/io.openrct2.scenario.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") + install(FILES "distribution/linux/io.openrct2.uri.desktop" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications") endif() - install(FILES "distribution/linux/openrct2-mimeinfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/mime/packages/" RENAME "openrct2.xml") + install(FILES "distribution/linux/io.openrct2.mimeinfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/mime/packages/" RENAME "openrct2.xml") install(DIRECTORY "distribution/man/" DESTINATION "${CMAKE_INSTALL_MANDIR}/man6" FILES_MATCHING PATTERN "*.6") if (MACOS_USE_DEPENDENCIES) diff --git a/distribution/linux/openrct2-mimeinfo.xml b/distribution/linux/io.openrct2.mimeinfo.xml similarity index 100% rename from distribution/linux/openrct2-mimeinfo.xml rename to distribution/linux/io.openrct2.mimeinfo.xml diff --git a/distribution/linux/openrct2.appdata.xml b/distribution/linux/io.openrct2.openrct2.appdata.xml similarity index 96% rename from distribution/linux/openrct2.appdata.xml rename to distribution/linux/io.openrct2.openrct2.appdata.xml index 49c41eb6e6..1244ae82af 100644 --- a/distribution/linux/openrct2.appdata.xml +++ b/distribution/linux/io.openrct2.openrct2.appdata.xml @@ -1,6 +1,6 @@ - openrct2.desktop + io.openrct2.openrct2 CC0-1.0 GPL-3.0 OpenRCT2 @@ -17,22 +17,24 @@ Pretparksimulatie Symulator parku rozrywki Simulador de parque de diversões - The OpenRCT2 Team - Equip de l’OpenRCT2 - Tým OpenRCT2 - Das OpenRCT2-Team - La OpenRCT2-Teamo - El equipo de OpenRCT2 - L’équipe d’OpenRCT2 - O equipo OpenRCT2 - Il team di OpenRCT2 - OpenRCT2 팀 - Het OpenRCT2-team - Zespół OpenRCT2 - Equipe do OpenRCT2 - OpenRCT2团队 - OpenRCT2團隊 - openrct2.desktop + + The OpenRCT2 Team + Equip de l’OpenRCT2 + Tým OpenRCT2 + Das OpenRCT2-Team + La OpenRCT2-Teamo + El equipo de OpenRCT2 + L’équipe d’OpenRCT2 + O equipo OpenRCT2 + Il team di OpenRCT2 + OpenRCT2 팀 + Het OpenRCT2-team + Zespół OpenRCT2 + Equipe do OpenRCT2 + OpenRCT2团队 + OpenRCT2團隊 + + io.openrct2.openrct2.desktop

OpenRCT2 is an open-source re-implementation of RollerCoaster Tycoon 2 (RCT2). diff --git a/distribution/linux/openrct2.desktop b/distribution/linux/io.openrct2.openrct2.desktop similarity index 100% rename from distribution/linux/openrct2.desktop rename to distribution/linux/io.openrct2.openrct2.desktop diff --git a/distribution/linux/openrct2-savegame.desktop b/distribution/linux/io.openrct2.savegame.desktop similarity index 100% rename from distribution/linux/openrct2-savegame.desktop rename to distribution/linux/io.openrct2.savegame.desktop diff --git a/distribution/linux/openrct2-scenario.desktop b/distribution/linux/io.openrct2.scenario.desktop similarity index 100% rename from distribution/linux/openrct2-scenario.desktop rename to distribution/linux/io.openrct2.scenario.desktop diff --git a/distribution/linux/openrct2-uri.desktop b/distribution/linux/io.openrct2.uri.desktop similarity index 100% rename from distribution/linux/openrct2-uri.desktop rename to distribution/linux/io.openrct2.uri.desktop diff --git a/scripts/build-appimage b/scripts/build-appimage index 6f6becc193..2cc6b735b5 100755 --- a/scripts/build-appimage +++ b/scripts/build-appimage @@ -12,7 +12,7 @@ linuxdeploy=/tmp/linuxdeploy-x86_64.AppImage curl -fLo $linuxdeploy https://github.com/TheAssassin/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage chmod +x $linuxdeploy pushd bin - $linuxdeploy --appimage-extract-and-run --appdir install/ --output appimage --desktop-file install/usr/share/applications/openrct2.desktop + $linuxdeploy --appimage-extract-and-run --appdir install/ --output appimage --desktop-file install/usr/share/applications/io.openrct2.openrct2.desktop popd mkdir -p artifacts # If APPIMAGE_FILE_NAME is set, use it as the filename, otherwise use the default