From 5594e81de1f07ba064225fce6287722525e2b7e1 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Mon, 7 Aug 2023 18:22:09 +0200 Subject: [PATCH] use reverse-DNS naming for desktop files and add AppStream metadata information (#1167) * use reverse-DNS naming for desktop files This is consistent with Crispy Doom, and the desktop entry specification recommends doing this as well. * add AppStream metadata information --- CMakeLists.txt | 2 +- data/CMakeLists.txt | 5 +- ...github.fabiangreffrath.woof-setup.desktop} | 0 ...=> io.github.fabiangreffrath.woof.desktop} | 2 +- ...o.github.fabiangreffrath.woof.metainfo.xml | 53 +++++++++++++++++++ 5 files changed, 58 insertions(+), 4 deletions(-) rename data/{woof-setup.desktop => io.github.fabiangreffrath.woof-setup.desktop} (100%) rename data/{woof.desktop => io.github.fabiangreffrath.woof.desktop} (68%) create mode 100644 data/io.github.fabiangreffrath.woof.metainfo.xml diff --git a/CMakeLists.txt b/CMakeLists.txt index dd36da20..ed96be3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,7 +154,7 @@ elseif(LINUX) --appimage-extract-and-run --appdir=${CPACK_TEMPORARY_DIRECTORY} --executable=$ - --desktop-file=${CPACK_TEMPORARY_DIRECTORY}/share/applications/woof.desktop + --desktop-file=${CPACK_TEMPORARY_DIRECTORY}/share/applications/io.github.fabiangreffrath.woof.desktop --icon-file=${CPACK_TEMPORARY_DIRECTORY}/share/icons/hicolor/128x128/apps/woof.png --output=appimage) ]]) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 7f478152..7c84fa10 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,6 +1,7 @@ if(UNIX AND NOT APPLE) - install(FILES woof.desktop DESTINATION share/applications) + install(FILES io.github.fabiangreffrath.woof.desktop DESTINATION share/applications) + install(FILES io.github.fabiangreffrath.woof.metainfo.xml DESTINATION share/metainfo) + install(FILES io.github.fabiangreffrath.woof-setup.desktop DESTINATION share/applications) install(FILES woof.png DESTINATION share/icons/hicolor/128x128/apps) - install(FILES woof-setup.desktop DESTINATION share/applications) install(FILES woof-setup.png DESTINATION share/icons/hicolor/128x128/apps) endif() diff --git a/data/woof-setup.desktop b/data/io.github.fabiangreffrath.woof-setup.desktop similarity index 100% rename from data/woof-setup.desktop rename to data/io.github.fabiangreffrath.woof-setup.desktop diff --git a/data/woof.desktop b/data/io.github.fabiangreffrath.woof.desktop similarity index 68% rename from data/woof.desktop rename to data/io.github.fabiangreffrath.woof.desktop index fbb1ce37..dce5e523 100644 --- a/data/woof.desktop +++ b/data/io.github.fabiangreffrath.woof.desktop @@ -3,6 +3,6 @@ Name=Woof! Exec=woof Icon=woof Type=Application -Comment=Continuation of Lee Killough's Doom source port MBF +Comment=Continuation of the Boom/MBF bloodline of Doom source ports Categories=Game;ActionGame; Keywords=first;person;shooter;vanilla;doom;boom;mbf; diff --git a/data/io.github.fabiangreffrath.woof.metainfo.xml b/data/io.github.fabiangreffrath.woof.metainfo.xml new file mode 100644 index 00000000..dd5b7b11 --- /dev/null +++ b/data/io.github.fabiangreffrath.woof.metainfo.xml @@ -0,0 +1,53 @@ + + + + io.github.fabiangreffrath.woof + Woof! + Continuation of the Boom/MBF bloodline of Doom source ports + CC0-1.0 + GPL-2.0+ + Fabian Greffrath + http://fabiangreffrath.github.io/woof + https://github.com/fabiangreffrath/woof/issues + +

+ Woof! is a continuation of Lee Killough's Doom source port MBF + targeted at modern systems. +

+

+ MBF stands for "Marine's Best Friend" and is widely regarded as + the successor of the Boom source port by TeamTNT. It serves as the + code base for popular Doom source ports such as PrBoom+/DSDA-Doom or + The Eternity Engine. As the original engine was limited to run only + under MS-DOS, it has been ported to Windows by Team Eternity under the + name WinMBF in 2004. Woof! is developed based on the WinMBF code with + the aim to make MBF more widely available and convenient to use on + modern systems. +

+

+ To achieve this goal, this source port is less strict regarding + its faithfulness to the original MBF. It is focused on quality-of-life + enhancements, bug fixes and compatibility improvements. However, all + changes have been introduced in good faith that they are in line with + the original author's intentions and even for the trained eye, this + source port should still look very familiar to the original MBF. +

+

+ In summary, this project's goal is to forward-port MBF.EXE from + DOS to 21st century and remove all the stumbling blocks on the way. + Furthermore, just as MBF was ahead of its time, this project dedicates + itself to early adoption of new modding features such as + DEHEXTRA+DSDHacked, UMAPINFO and MBF21. +

+
+ + intense + intense + intense + intense + intense + + + + +