Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better AppStream metadata #14648

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ elseif(UNIX) # Linux, BSD etc
set(EXAMPLE_CONF_DIR ".")
set(MANDIR "unix/man")
set(XDG_APPS_DIR "unix/applications")
set(APPDATADIR "unix/metainfo")
set(METAINFODIR "unix/metainfo")
set(ICONDIR "unix/icons")
set(LOCALEDIR "locale")
else()
Expand All @@ -167,7 +167,7 @@ elseif(UNIX) # Linux, BSD etc
set(MANDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}")
set(EXAMPLE_CONF_DIR ${DOCDIR})
set(XDG_APPS_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/applications")
set(APPDATADIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/metainfo")
set(METAINFODIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/metainfo")
set(ICONDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/icons")
set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LOCALEDIR}")
endif()
Expand Down Expand Up @@ -258,7 +258,7 @@ install(FILES "minetest.conf.example" DESTINATION "${EXAMPLE_CONF_DIR}")
if(UNIX AND NOT APPLE)
install(FILES "doc/minetest.6" "doc/minetestserver.6" DESTINATION "${MANDIR}/man6")
install(FILES "misc/net.minetest.minetest.desktop" DESTINATION "${XDG_APPS_DIR}")
install(FILES "misc/net.minetest.minetest.appdata.xml" DESTINATION "${APPDATADIR}")
install(FILES "misc/net.minetest.minetest.metainfo.xml" DESTINATION "${METAINFODIR}")
install(FILES "misc/minetest.svg" DESTINATION "${ICONDIR}/hicolor/scalable/apps")
install(FILES "misc/minetest-xorg-icon-128.png"
DESTINATION "${ICONDIR}/hicolor/128x128/apps"
Expand Down
87 changes: 0 additions & 87 deletions misc/net.minetest.minetest.appdata.xml

This file was deleted.

4 changes: 2 additions & 2 deletions misc/net.minetest.minetest.desktop
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Desktop Entry]
Name=Minetest
GenericName=Minetest
Comment=Multiplayer infinite-world block sandbox
Comment=Multiplayer infinite-world block sandbox game
Comment[de]=Mehrspieler-Sandkastenspiel mit unendlichen Blockwelten
Comment[es]=Juego sandbox multijugador con mundos infinitos
Comment[fr]=Jeu multijoueurs de type bac à sable avec des mondes infinis
Comment[fr]=Jeu multijoueur bac à sable avec des mondes infinis
Zughy marked this conversation as resolved.
Show resolved Hide resolved
Comment[ja]=マルチプレイに対応した、無限の世界のブロック型サンドボックスゲームです
Comment[ru]=Игра-песочница с безграничным миром, состоящим из блоков
Comment[tr]=Tek-Çok oyuncuyla küplerden sonsuz dünyalar inşa et
Expand Down
159 changes: 159 additions & 0 deletions misc/net.minetest.minetest.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>net.minetest.minetest</id>

<name>Minetest</name>
<summary>Multiplayer infinite-world block sandbox game</summary>
<summary xml:lang="de">Mehrspieler-Sandkastenspiel mit unendlichen Blockwelten</summary>
<summary xml:lang="es">Juego sandbox multijugador con mundos infinitos</summary>
<summary xml:lang="fr">Jeu multijoueur bac à sable avec des mondes infinis</summary>
<summary xml:lang="ja">マルチプレイに対応した、無限の世界のブロック型サンドボックスゲームです</summary>
<summary xml:lang="ru">Игра-песочница с безграничным миром, состоящим из блоков</summary>
<summary xml:lang="tr">Tek-Çok oyuncuyla küplerden sonsuz dünyalar inşa et</summary>
AFCMS marked this conversation as resolved.
Show resolved Hide resolved

<metadata_license>CC0-1.0</metadata_license>
<project_license>LGPL-2.1+ and CC-BY-SA-3.0 and MIT and Apache-2.0</project_license>
AFCMS marked this conversation as resolved.
Show resolved Hide resolved

<developer id="net.minetest">
<name>Minetest Team</name>
</developer>

<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
<control>gamepad</control>
AFCMS marked this conversation as resolved.
Show resolved Hide resolved
<internet>offline-only</internet>
</supports>

<requires>
<display_length compare="ge">360</display_length>
</requires>

<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">mild</content_attribute>
<content_attribute id="violence-fantasy">mild</content_attribute>
<content_attribute id="social-chat">intense</content_attribute>
<content_attribute id="social-info">mild</content_attribute>
</content_rating>

<description>
<p>
Minetest is an infinite-world block sandbox game and game engine.
</p>
<p xml:lang="de">
Minetest ist ein Sandkastenspiel und eine Spielengine mit unendlichen Welten.
</p>
<p xml:lang="fr">
Minetest est un jeu et un moteur de jeu de type bac à sable avec un monde infini.
</p>
<p>
Players can create and destroy various types of blocks in a
three-dimensional open world. This allows forming structures in
every possible creation, on multiplayer servers or in singleplayer.
</p>
<p xml:lang="de">
Spieler können in einer offenen 3D-Welt viele verschiedene Arten von
Blöcken platzieren und abbauen. Dies erlaubt das Bauen von vielfältigen
Strukturen im Einzelspieler oder auf Mehrspielerservern.
</p>
<p xml:lang="fr">
Les joueurs peuvent créer et détruire différents types de blocs dans un
monde ouvert tridimensionnel. Cela permet de créer des structures de toutes les
formes possibles, sur des serveurs multijoueurs ou en solo.
</p>
<p>
Minetest is designed to be simple, stable, and portable.
It is lightweight enough to run on fairly old hardware.
</p>
<p xml:lang="de">
Minetest wurde entworfen, um einfach, stabil und portabel zu sein.
Es ist leichtgewichtig genug, um auf relativ alter Hardware zu laufen.
</p>
<p xml:lang="fr">
Minetest est conçu pour être simple, stable et portable.
Il est suffisamment léger pour fonctionner sur du matériel relativement ancien.
</p>
<p>
Minetest has many features, including:
</p>
<p xml:lang="de">
Minetest besitzt viele Features, unter anderem:
</p>
<p xml:lang="fr">
Minetest offre de nombreuses fonctionnalités, notamment :
</p>
<ul>
<li>Ability to walk around, dig, and build in a near-infinite voxel world</li>
<li xml:lang="de">Die Möglichkeit, in einer nahezu unendlichen Voxel-Welt herumzulaufen, zu graben und zu
bauen
</li>
<li xml:lang="fr">La possibilité de se promener, de creuser et de construire dans un monde voxel quasi-infini
</li>
<li>Crafting of items from raw materials</li>
<li xml:lang="de">Fertigen von Items aus Rohmaterialien</li>
<li xml:lang="fr">Fabrication d'objets à partir de matières premières</li>
<li>A simple modding API that supports many additions and modifications to the game</li>
<li xml:lang="de">Eine einfache Modding-API, die viele Ergänzungen und Änderungen am Spiel unterstützt</li>
<li xml:lang="fr">Une API de modding simple qui permet de nombreux ajouts et modifications au jeu</li>
<li>Multiplayer support via servers hosted by users</li>
<li xml:lang="de">Mehrspieler auf selber gehosteten Servern</li>
<li xml:lang="fr">Prise en charge du multijoueur via des serveurs hébergés par les utilisateurs</li>
<li>Beautiful lightning-fast map generator</li>
<li xml:lang="de">Wunderschöner, blitzschneller Kartengenerator</li>
<li xml:lang="fr">Générateur de cartes très rapide</li>
</ul>
</description>

<launchable type="desktop-id">net.minetest.minetest.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://www.minetest.net/media/gallery/1.jpg</image>
</screenshot>
<screenshot>
<image>https://www.minetest.net/media/gallery/3.jpg</image>
</screenshot>
<screenshot>
<image>https://www.minetest.net/media/gallery/5.jpg</image>
</screenshot>
</screenshots>

<icon type="stock">minetest</icon>

<categories>
<category>Game</category>
<category>Simulation</category>
</categories>

<keywords>
<keyword>sandbox</keyword>
<keyword>world</keyword>
<keyword>mining</keyword>
<keyword>crafting</keyword>
<keyword>blocks</keyword>
<keyword>nodes</keyword>
<keyword>multiplayer</keyword>
<keyword>roleplaying</keyword>
</keywords>

<url type="homepage">https://www.minetest.net</url>
<url type="bugtracker">https://www.minetest.net/get-involved/#reporting-issues</url>
<url type="translate">https://dev.minetest.net/Translation</url>
<url type="donation">https://www.minetest.net/get-involved/#donate</url>
<url type="faq">https://wiki.minetest.net/FAQ</url>
<url type="help">https://wiki.minetest.net</url>
<url type="vcs-browser">https://github.com/minetest/minetest</url>
<url type="contribute">https://www.minetest.net/get-involved</url>

<provides>
<binary>minetest</binary>
</provides>

<translation type="gettext">minetest</translation>

<update_contact>[email protected]</update_contact>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use this opportunity to put someone else's email here.
Volunteers?

Copy link
Member

@SmallJoker SmallJoker May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A Minetest mailing list (for core devs?) would be convenient for such cases.


<releases>
<release date="2023-12-04" version="5.8.0"/>
</releases>
</component>
6 changes: 3 additions & 3 deletions util/bump_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ perform_release() {
local release_version=$1
RELEASE_DATE=$(date +%Y-%m-%d)

sed -i '/\<release/s/\(version\)="[^"]*"/\1="'"$release_version"'"/' misc/net.minetest.minetest.appdata.xml
sed -i 's/\(<release date\)="[^"]*"/\1="'"$RELEASE_DATE"'"/' misc/net.minetest.minetest.appdata.xml
sed -i '/\<release/s/\(version\)="[^"]*"/\1="'"$release_version"'"/' misc/net.minetest.minetest.metainfo.xml
sed -i 's/\(<release date\)="[^"]*"/\1="'"$RELEASE_DATE"'"/' misc/net.minetest.minetest.metainfo.xml

git add -f misc/net.minetest.minetest.appdata.xml
git add -f misc/net.minetest.minetest.metainfo.xml

git commit -m "Bump version to $release_version"

Expand Down