From 0d22a2452ea503a132f90c6c89817324abb4feec Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 29 Apr 2025 14:04:18 +0200 Subject: app: rename meta information file --- app/CMakeLists.txt | 7 ++++--- app/ch.arknet.Turns.metainfo.xml | 38 -------------------------------------- app/metainfo.xml | 38 ++++++++++++++++++++++++++++++++++++++ app/src/main.cpp | 2 +- 4 files changed, 43 insertions(+), 42 deletions(-) delete mode 100644 app/ch.arknet.Turns.metainfo.xml create mode 100644 app/metainfo.xml (limited to 'app') diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 669cfeb..4c2d3cd 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -18,8 +18,8 @@ target_link_libraries("app" PRIVATE ) target_add_glib_resources("app" - PREFIX "metainfo" - UI_FILES "ch.arknet.Turns.metainfo.xml" + PREFIX "/ch/arknet/Turns" + UI_FILES "metainfo.xml" ) set_target_properties("app" PROPERTIES @@ -31,8 +31,9 @@ install(TARGETS "app" ) install(FILES - "${CMAKE_CURRENT_SOURCE_DIR}/ch.arknet.Turns.metainfo.xml" + "${CMAKE_CURRENT_SOURCE_DIR}/metainfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/metainfo" + RENAME "ch.arknet.Turns.metainfo.xml" ) configure_file("desktop.in" diff --git a/app/ch.arknet.Turns.metainfo.xml b/app/ch.arknet.Turns.metainfo.xml deleted file mode 100644 index 621c1ee..0000000 --- a/app/ch.arknet.Turns.metainfo.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - ch.arknet.Turns - CC-BY-SA-4.0 - LGPL-2.1-or-later - Turns - Züge - A simple turn order tracker - -

- Turns is an application to track turn order for TTRPGs like Dungeons and Dragons or Call of Cthulhu. -

-
- - - -

This is the first public release

-
-
-
- - keyboard - pointing - - - - Role-playing Games - Tabletop Games - - - Felix Morgner - - felix.morgner@gmail.com - ch.arknet.Turns.desktop - https://source.arknet.ch/fmorgner/turns - https://source.arknet.ch/fmorgner/turns/-/issues - https://source.arknet.ch/fmorgner/turns -
\ No newline at end of file diff --git a/app/metainfo.xml b/app/metainfo.xml new file mode 100644 index 0000000..621c1ee --- /dev/null +++ b/app/metainfo.xml @@ -0,0 +1,38 @@ + + + ch.arknet.Turns + CC-BY-SA-4.0 + LGPL-2.1-or-later + Turns + Züge + A simple turn order tracker + +

+ Turns is an application to track turn order for TTRPGs like Dungeons and Dragons or Call of Cthulhu. +

+
+ + + +

This is the first public release

+
+
+
+ + keyboard + pointing + + + + Role-playing Games + Tabletop Games + + + Felix Morgner + + felix.morgner@gmail.com + ch.arknet.Turns.desktop + https://source.arknet.ch/fmorgner/turns + https://source.arknet.ch/fmorgner/turns/-/issues + https://source.arknet.ch/fmorgner/turns +
\ No newline at end of file diff --git a/app/src/main.cpp b/app/src/main.cpp index 6002e9a..b76e9ea 100644 --- a/app/src/main.cpp +++ b/app/src/main.cpp @@ -37,7 +37,7 @@ auto add_new_window(Glib::RefPtr app, Glib::RefPtr app) { auto active_window = app->get_active_window(); - auto dialog = Gtk::make_managed("metainfo/ch.arknet.Turns.metainfo.xml", ""); + auto dialog = Gtk::make_managed("/ch/arknet/Turns/metainfo.xml", ""); dialog->present(active_window); } -- cgit v1.2.3