From 00a0e65c303e79df1b1a19115270f7ef8d8d5be7 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 22 Aug 2022 21:17:51 +0300 Subject: [PATCH 53/53] Add gtk4-client desktop and metainfo files See osdn #43449 Signed-off-by: Marko Lindqvist --- bootstrap/Makefile.am | 2 ++ bootstrap/org.freeciv.gtk4.desktop.in | 24 +++++++++++++++++++++ bootstrap/org.freeciv.gtk4.metainfo.xml.in | 25 ++++++++++++++++++++++ client/.gitignore | 2 ++ client/Makefile.am | 4 ++++ configure.ac | 2 ++ 6 files changed, 59 insertions(+) create mode 100644 bootstrap/org.freeciv.gtk4.desktop.in create mode 100644 bootstrap/org.freeciv.gtk4.metainfo.xml.in diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am index 623e4a78dc..f2355124bd 100644 --- a/bootstrap/Makefile.am +++ b/bootstrap/Makefile.am @@ -19,6 +19,7 @@ EXTRA_DIST = freeciv.project \ langstat_nations.txt \ langstat_ruledit.txt \ org.freeciv.gtk322.desktop.in \ + org.freeciv.gtk4.desktop.in \ org.freeciv.sdl2.desktop.in \ org.freeciv.qt.desktop.in \ org.freeciv.server.desktop.in \ @@ -27,6 +28,7 @@ EXTRA_DIST = freeciv.project \ org.freeciv.mp.qt.desktop.in \ org.freeciv.ruledit.desktop.in \ org.freeciv.gtk322.metainfo.xml.in \ + org.freeciv.gtk4.metainfo.xml.in \ org.freeciv.sdl2.metainfo.xml.in \ org.freeciv.qt.metainfo.xml.in \ org.freeciv.server.metainfo.xml.in \ diff --git a/bootstrap/org.freeciv.gtk4.desktop.in b/bootstrap/org.freeciv.gtk4.desktop.in new file mode 100644 index 0000000000..3617e12d8a --- /dev/null +++ b/bootstrap/org.freeciv.gtk4.desktop.in @@ -0,0 +1,24 @@ +[Desktop Entry] +Name=Freeciv +Name[ca]=Freeciv +Name[es]=Freeciv +Name[fr]=Freeciv +Name[nb]=Freeciv +Name[pt]=Freeciv +Name[ru]=Freeciv +Comment=Turn-based strategy game inspired by the history of human civilization +Comment[ca]=Joc d'estratègia inspirat en la història de la civilització humana +Comment[da]=Strategispil inspireret af den menneskelige civilisations historie +Comment[de]=Rundenbasiertes Strategiespiel, inspiriert durch die Geschichte der menschlichen Zivilisation +Comment[fi]=Ihmiskunnan historian inspiroima vuoropohjainen strategiapeli +Comment[nb]=Strategispill inspirert av historien til menneskelig sivilisasjon +Comment[pt]=Jogo de estratégia por turnos inspirado na História da civilização humana +Comment[ru]=Пошаговая стратегическая игра, вдохновлённая историей человеческой цивилизации +Comment[sv]=Turordningsbaserat strategispel inspirerat av den mänskliga historien +Exec=freeciv-gtk4 +Icon=freeciv-client +StartupNotify=true +Terminal=false +Type=Application +Categories=GTK;Game;StrategyGame; +Keywords=strategy;simulation;civilization;tiles;history;mankind;multiplayer; diff --git a/bootstrap/org.freeciv.gtk4.metainfo.xml.in b/bootstrap/org.freeciv.gtk4.metainfo.xml.in new file mode 100644 index 0000000000..4237b14d54 --- /dev/null +++ b/bootstrap/org.freeciv.gtk4.metainfo.xml.in @@ -0,0 +1,25 @@ + + + Freeciv gtk4 client + org.freeciv.gtk4 + GPL-2.0-or-later + CC0 + Gtk4 based client for the Freeciv game + +

+ Freeciv is a Free and Open Source empire-building strategy game inspired by the history of human civilization. The game commences in prehistory and your + mission is to lead your tribe from the Stone Age to the Space Age... +

+

+ This client for connecting to network games, or to launch local single-player games, is based on gtk4 widget set. +

+
+ org.freeciv.gtk4.desktop + https://www.freeciv.org/ + + + https://images1.wikia.nocookie.net/__cb20120308234702/freeciv/images/thumb/4/43/Hex2.3.png/1000px-Hex2.3.png + + + freeciv-dev@freelists.org +
diff --git a/client/.gitignore b/client/.gitignore index 10231d3f3f..0cf2548913 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -9,10 +9,12 @@ /.deps /org.freeciv.gtk3.desktop /org.freeciv.gtk322.desktop +/org.freeciv.gtk4.desktop /org.freeciv.sdl2.desktop /org.freeciv.qt.desktop /org.freeciv.gtk3.metainfo.xml /org.freeciv.gtk322.metainfo.xml +/org.freeciv.gtk4.metainfo.xml /org.freeciv.sdl2.metainfo.xml /org.freeciv.qt.metainfo.xml /packhand_gen.c diff --git a/client/Makefile.am b/client/Makefile.am index a72f0583d6..de64687227 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -25,6 +25,10 @@ metainfofile_DATA += \ endif if CLIENT_GUI_GTK_4 GUI_SUBDIRS += gui-gtk-4.0 +desktopfile_DATA += \ + org.freeciv.gtk4.desktop +metainfofile_DATA += \ + org.freeciv.gtk4.metainfo.xml endif if CLIENT_GUI_QT GUI_SUBDIRS += gui-qt diff --git a/configure.ac b/configure.ac index 93f7087ed6..b435cf080e 100644 --- a/configure.ac +++ b/configure.ac @@ -1897,6 +1897,7 @@ AC_CONFIG_FILES([Makefile bootstrap/Makefile lua/Makefile client/org.freeciv.gtk322.desktop:bootstrap/org.freeciv.gtk322.desktop.in + client/org.freeciv.gtk4.desktop:bootstrap/org.freeciv.gtk4.desktop.in client/org.freeciv.sdl2.desktop:bootstrap/org.freeciv.sdl2.desktop.in client/org.freeciv.qt.desktop:bootstrap/org.freeciv.qt.desktop.in server/org.freeciv.server.desktop:bootstrap/org.freeciv.server.desktop.in @@ -1905,6 +1906,7 @@ AC_CONFIG_FILES([Makefile tools/fcmp/org.freeciv.mp.qt.desktop:bootstrap/org.freeciv.mp.qt.desktop.in tools/ruledit/org.freeciv.ruledit.desktop:bootstrap/org.freeciv.ruledit.desktop.in client/org.freeciv.gtk322.metainfo.xml:bootstrap/org.freeciv.gtk322.metainfo.xml.in + client/org.freeciv.gtk4.metainfo.xml:bootstrap/org.freeciv.gtk4.metainfo.xml.in client/org.freeciv.sdl2.metainfo.xml:bootstrap/org.freeciv.sdl2.metainfo.xml.in client/org.freeciv.qt.metainfo.xml:bootstrap/org.freeciv.qt.metainfo.xml.in server/org.freeciv.server.metainfo.xml:bootstrap/org.freeciv.server.metainfo.xml.in -- 2.35.1