From 835386b0c547aa9d740951351c6cc8c91fe9619a Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Sun, 26 Nov 2023 17:11:36 +0100 Subject: [PATCH] Update Freedesktop Metainfo (#2684) * Metainfo file: Use reverse DNS ID and .metainfo.xml extension https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location * Metainfo: Use 'GPL-3.0-or-later' in tag instead of 'GPL-3.0-or-later AND CC-BY-SA-2.0' as recommended by the Freedesktop specification https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-project_license * Metainfo: Change tag to https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer * Metainfo: Add more tags * Metainfo: Extend description * Metainfo: Update screenshot selection and add captions P: org.supertuxproject.SuperTux:3: cid-contains-uppercase-letter org.supertuxproject.SuperTux The component ID should only contain lowercase characters. ? Validation was successful: pedantic: 1 --- makedist.sh | 2 +- mk/cmake/SuperTux/BuildInstall.cmake | 2 +- org.supertuxproject.SuperTux.metainfo.xml | 93 +++++++++++++++++++++++ supertux2.appdata.xml | 54 ------------- 4 files changed, 95 insertions(+), 56 deletions(-) create mode 100644 org.supertuxproject.SuperTux.metainfo.xml delete mode 100644 supertux2.appdata.xml diff --git a/makedist.sh b/makedist.sh index 81fb98ed517..aafd39165e6 100755 --- a/makedist.sh +++ b/makedist.sh @@ -12,7 +12,7 @@ fi echo "Creating directory $DISTDIR" mkdir "$DISTDIR" || exit 1 -cp "CMakeLists.txt" "LICENSE.txt" "INSTALL.md" "README.md" "NEWS.md" "config.h.cmake" "makedist.sh" "makepot.sh" "supertux2.appdata.xml" "supertux2.desktop" "version.cmake" "version.cmake.in" "version.h.in" $DISTDIR +cp "CMakeLists.txt" "LICENSE.txt" "INSTALL.md" "README.md" "NEWS.md" "config.h.cmake" "makedist.sh" "makepot.sh" "org.supertuxproject.SuperTux.metainfo.xml" "supertux2.desktop" "version.cmake" "version.cmake.in" "version.h.in" $DISTDIR cp --parents mk/cmake/*.cmake $DISTDIR cp --parents mk/msvc/* $DISTDIR diff --git a/mk/cmake/SuperTux/BuildInstall.cmake b/mk/cmake/SuperTux/BuildInstall.cmake index e571a1c228d..2f72a010577 100644 --- a/mk/cmake/SuperTux/BuildInstall.cmake +++ b/mk/cmake/SuperTux/BuildInstall.cmake @@ -64,7 +64,7 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/INSTALL.md ${CMAKE_CURRENT_SOURCE_DIR} install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/credits.stxt DESTINATION ${INSTALL_SUBDIR_SHARE}) -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/supertux2.appdata.xml DESTINATION "share/metainfo" ) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.supertuxproject.SuperTux.metainfo.xml DESTINATION "share/metainfo" ) install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/images diff --git a/org.supertuxproject.SuperTux.metainfo.xml b/org.supertuxproject.SuperTux.metainfo.xml new file mode 100644 index 00000000000..3da48f7f5bd --- /dev/null +++ b/org.supertuxproject.SuperTux.metainfo.xml @@ -0,0 +1,93 @@ + + + org.supertuxproject.SuperTux + CC0-1.0 + GPL-3.0-or-later + + mild + mild + + SuperTux + A jump-and-run game starring Tux the Penguin + +

+ Run and jump through multiple worlds, fight off enemies by + jumping on them, bumping them from below or tossing objects at + them, grabbing power-ups and other stuff on the way. +

+

+ In addition to the Story Mode, there is a large amount of + community contributed levels available as add-ons or in the + forums. Everyone can contribute such content by using the + integrated level editor. +

+

+ The Story: Penny Gets Captured! +

+

+ Tux and Penny were out having a nice picnic on the ice fields + of Antarctica. Suddenly, everything was a blur as Tux was + knocked out! +

+

+ When Tux wakes up, he finds that Penny is missing. Where she + lay before now lies a letter. “Tux, my arch enemy!” says the + letter. “I have captured your beautiful Penny and have taken + her to my fortress. The path to my fortress is littered with + my minions. Give up on the thought of trying to reclaim her, + you haven’t got a chance! -Nolok” +

+

+ Tux looks and sees Nolok’s fortress in the distance. + Determined to save his beloved Penny, he begins his journey + through the Icy Island and beyond. +

+
+ + The SuperTux Team + + https://www.supertux.org + https://github.com/SuperTux/supertux/issues + https://github.com/SuperTux/supertux/wiki/SuperTux_FAQ + https://github.com/SuperTux/supertux/wiki/User-Manual + https://www.supertux.org/donate.html + https://github.com/SuperTux/supertux/wiki/Translation + https://github.com/SuperTux/supertux#community + https://github.com/SuperTux/supertux + https://github.com/SuperTux/supertux/blob/master/CONTRIBUTING.md + + Game + ActionGame + ArcadeGame + + + + https://www.supertux.org/images/0_6_0/0_6_0_3.png + An Icy Island level + + + https://www.supertux.org/images/0_6_0/0_6_0_2.png + The Icy Island world map + + + https://www.supertux.org/images/0_6_0/0_6_0_4.png + Another Icy Island level + + + https://www.supertux.org/images/0_6_0/0_6_0_14.png + A Rooted Forest level + + + supertux2.desktop + + supertux2 + + + + + + + + + +
diff --git a/supertux2.appdata.xml b/supertux2.appdata.xml deleted file mode 100644 index 7e037eb36a9..00000000000 --- a/supertux2.appdata.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - org.supertuxproject.SuperTux - CC0-1.0 - GPL-3.0-or-later AND CC-BY-SA-2.0 - - mild - mild - - SuperTux - A jump-and-run game starring Tux the Penguin - -

- Run and jump through multiple worlds, fight off enemies by - jumping on them, bumping them from below or tossing objects at - them, grabbing power-ups and other stuff on the way. -

-

- In addition to the Story Mode, there is a large amount of - community contributed levels available as add-ons or in the - forums. Everyone can contribute such content by using the - integrated level editor. -

-
- The SuperTux Team - https://www.supertux.org - https://github.com/SuperTux/supertux/issues - https://www.supertux.org/donate.html - https://github.com/SuperTux/supertux - - Game - ActionGame - ArcadeGame - - - https://www.supertux.org/images/0_6_0/0_6_0_1.png - https://www.supertux.org/images/0_6_0/0_6_0_2.png - https://www.supertux.org/images/0_6_0/0_6_0_3.png - https://www.supertux.org/images/0_6_0/0_6_0_4.png - https://www.supertux.org/images/0_6_0/0_6_0_5.png - - supertux2.desktop - - supertux2 - - - - - - - - - -