From 79ef117aa867751110124fec843e0e406ddfe234 Mon Sep 17 00:00:00 2001 From: Mike Swanson Date: Fri, 12 Jun 2015 12:43:05 -0700 Subject: Add some preliminary *.appdata.xml files for software centers This should resolve #406; the description text probably needs revisement, and we still need to compose images for the screenshots section. --- configure.ac | 6 ++++++ src/.gitignore | 1 + src/Makefile.am | 19 +++++++++++++++++++ src/doom.appdata.xml.in | 32 ++++++++++++++++++++++++++++++++ src/heretic.appdata.xml.in | 31 +++++++++++++++++++++++++++++++ src/hexen.appdata.xml.in | 31 +++++++++++++++++++++++++++++++ src/strife.appdata.xml.in | 32 ++++++++++++++++++++++++++++++++ 7 files changed, 152 insertions(+) create mode 100644 src/doom.appdata.xml.in create mode 100644 src/heretic.appdata.xml.in create mode 100644 src/hexen.appdata.xml.in create mode 100644 src/strife.appdata.xml.in diff --git a/configure.ac b/configure.ac index aab5f1ad..e281b114 100644 --- a/configure.ac +++ b/configure.ac @@ -6,6 +6,7 @@ PACKAGE_COPYRIGHT="Copyright (C) 1993-2015" PACKAGE_LICENSE="GNU General Public License, version 2" PACKAGE_MAINTAINER="Simon Howard" PACKAGE_URL="http://www.chocolate-doom.org/" +PACKAGE_ISSUES="https://github.com/chocolate-doom/chocolate-doom/issues" AC_CONFIG_AUX_DIR(autotools) @@ -142,6 +143,7 @@ AC_SUBST(PACKAGE_COPYRIGHT) AC_SUBST(PACKAGE_LICENSE) AC_SUBST(PACKAGE_MAINTAINER) AC_SUBST(PACKAGE_URL) +AC_SUBST(PACKAGE_ISSUES) dnl Shut up the datarootdir warnings. AC_DEFUN([AC_DATAROOTDIR_CHECKED]) @@ -159,11 +161,14 @@ pkg/osx/Info.plist rpm.spec data/Makefile src/Makefile +src/doom.appdata.xml src/doom.desktop src/doom-screensaver.desktop src/doom/Makefile +src/heretic.appdata.xml src/heretic.desktop src/heretic/Makefile +src/hexen.appdata.xml src/hexen.desktop src/hexen/Makefile src/resource.rc @@ -171,6 +176,7 @@ src/setup-res.rc src/setup/Makefile src/setup/setup.desktop src/setup/setup-manifest.xml +src/strife.appdata.xml src/strife.desktop src/strife/Makefile textscreen/Makefile diff --git a/src/.gitignore b/src/.gitignore index a0cf15b4..84a9eaea 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -14,5 +14,6 @@ chocolate-strife-setup chocolate-setup *.exe *.desktop +*.appdata.xml tags TAGS diff --git a/src/Makefile.am b/src/Makefile.am index 1e54824c..78ee3bae 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -217,6 +217,25 @@ EXTRA_DIST = \ doom-screensaver.desktop.in \ manifest.xml +appdatadir = $(prefix)/share/appdata +appdata_DATA = \ + @PROGRAM_PREFIX@doom.appdata.xml \ + @PROGRAM_PREFIX@heretic.appdata.xml \ + @PROGRAM_PREFIX@hexen.appdata.xml \ + @PROGRAM_PREFIX@strife.appdata.xml + +@PROGRAM_PREFIX@doom.appdata.xml : doom.appdata.xml + cp doom.appdata.xml $@ + +@PROGRAM_PREFIX@heretic.appdata.xml : heretic.appdata.xml + cp heretic.appdata.xml $@ + +@PROGRAM_PREFIX@hexen.appdata.xml : hexen.appdata.xml + cp hexen.appdata.xml $@ + +@PROGRAM_PREFIX@strife.appdata.xml : strife.appdata.xml + cp strife.appdata.xml $@ + appdir = $(prefix)/share/applications app_DATA = \ @PROGRAM_PREFIX@doom.desktop \ diff --git a/src/doom.appdata.xml.in b/src/doom.appdata.xml.in new file mode 100644 index 00000000..220229d4 --- /dev/null +++ b/src/doom.appdata.xml.in @@ -0,0 +1,32 @@ + + + + @PROGRAM_PREFIX@doom.desktop + CC0-1.0 + GPL-2.0+ + @PACKAGE_MAINTAINER@ + @PACKAGE_URL@ + @PACKAGE_ISSUES@ + +

+ @PACKAGE_SHORTNAME@ Doom is a conservative, + historically-accurate Doom source port, which is compatible with + the thousands of mods and levels that were made before the Doom + source code was released. Unlike other source ports, the goal + is to preserve the original look, feel, limitations, and bugs of + the original DOS executable. +

+

+ Full support for single- and multi-player games is provided, for + all of the original Doom games, Chex Quest, and Hacx. Unlike + the original executable, network play is implemented on the IP + network stack, allowing it to function on modern LANs and the + Internet. +

+
+ + + + + +
diff --git a/src/heretic.appdata.xml.in b/src/heretic.appdata.xml.in new file mode 100644 index 00000000..943c35ad --- /dev/null +++ b/src/heretic.appdata.xml.in @@ -0,0 +1,31 @@ + + + + @PROGRAM_PREFIX@heretic.desktop + CC0-1.0 + GPL-2.0+ + @PACKAGE_MAINTAINER@ + @PACKAGE_URL@ + @PACKAGE_ISSUES@ + +

+ @PACKAGE_SHORTNAME@ Heretic is a conservative, + historically-accurate Heretic source port, which is compatible + with mods and levels that were made before the Heretic source + code was released. Unlike other source ports, the goal is to + preserve the original look, feel, limitations, and bugs of the + original DOS executable. +

+

+ Full support for single- and multi-player games is provided. + Unlike the original executable, network play is implemented on + the IP network stack, allowing it to function on modern LANs and + the Internet. +

+
+ + + + + +
diff --git a/src/hexen.appdata.xml.in b/src/hexen.appdata.xml.in new file mode 100644 index 00000000..e81af3a7 --- /dev/null +++ b/src/hexen.appdata.xml.in @@ -0,0 +1,31 @@ + + + + @PROGRAM_PREFIX@hexen.desktop + CC0-1.0 + GPL-2.0+ + @PACKAGE_MAINTAINER@ + @PACKAGE_URL@ + @PACKAGE_ISSUES@ + +

+ @PACKAGE_SHORTNAME@ Hexen is a conservative, + historically-accurate Hexen source port, which is compatible + with mods and levels that were made before the Hexen source code + was released. Unlike other source ports, the goal is to + preserve the original look, feel, limitations, and bugs of the + original DOS executable. +

+

+ Full support for single- and multi-player games is provided. + Unlike the original executable, network play is implemented on + the IP network stack, allowing it to function on modern LANs and + the Internet. +

+
+ + + + + +
diff --git a/src/strife.appdata.xml.in b/src/strife.appdata.xml.in new file mode 100644 index 00000000..f8345e27 --- /dev/null +++ b/src/strife.appdata.xml.in @@ -0,0 +1,32 @@ + + + + @PROGRAM_PREFIX@strife.desktop + CC0-1.0 + GPL-2.0+ + @PACKAGE_MAINTAINER@ + @PACKAGE_URL@ + @PACKAGE_ISSUES@ + +

+ @PACKAGE_SHORTNAME@ Strife is a conservative, + historically-accurate recreation of the Strife engine. It is + completely compatible with the original game and mods created + with the original engine in mind. Made with a great reverse + engineering effort, it has the goal of preserving the original + look, feel, limitations, and bugs of the original DOS + executable. +

+

+ Full support for single- and multi-player games is provided. + Unlike the original executable, network play is implemented on + the IP network stack, allowing it to function on modern LANs and + the Internet. +

+
+ + + + + +
-- cgit v1.2.3