messenger-gtk

Gtk+3 graphical user interfaces for GNUnet Messenger
Log | Files | Refs | Submodules | README | LICENSE

commit b1102cf14f17d9369f26975d0369e9861e6836f6
parent e134f8741e94254b5c36490269032171db31ca8f
Author: Jacki <jacki@thejackimonster.de>
Date:   Wed,  3 Jan 2024 19:23:40 +0100

Update definitions via meson build automatically

Signed-off-by: Jacki <jacki@thejackimonster.de>

Diffstat:
Mmeson.build | 9+++++++--
Mresources/ui/about.ui | 6+++---
Msrc/application.h | 5+----
3 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/meson.build b/meson.build @@ -1,6 +1,6 @@ # # This file is part of GNUnet. -# Copyright (C) 2023 GNUnet e.V. +# Copyright (C) 2023--2024 GNUnet e.V. # # GNUnet is free software: you can redistribute it and/or modify it # under the terms of the GNU Affero General Public License as published @@ -48,8 +48,13 @@ subdir('resources') subdir('src') messenger_gtk_exec = executable( - 'messenger-gtk', + meson.project_name(), messenger_gtk_resources + messenger_gtk_sources, + c_args : [ + '-DMESSENGER_APPLICATION_BINARY="@0@"'.format(meson.project_name()), + '-DMESSENGER_APPLICATION_ID="@0@"'.format(messenger_gtk_id), + '-DMESSENGER_APPLICATION_VERSION="@0@"'.format(meson.project_version()), + ], install: true, dependencies: messenger_gtk_deps, extra_files: submodules_headers, diff --git a/resources/ui/about.ui b/resources/ui/about.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.38.2 +<!-- Generated with glade 3.40.0 Copyright (C) 2022 GNUnet e.V. @@ -28,9 +28,9 @@ Author: Tobias Frisch <property name="window-position">center-on-parent</property> <property name="type-hint">dialog</property> <property name="program-name">GNUnet Messenger</property> - <property name="version">0.7.0</property> + <property name="version">0.0.0</property> <property name="copyright" translatable="yes">This application is part of GNUnet. -Copyright (C) 2021--2022 GNUnet e.V.</property> +Copyright (C) 2021--2024 GNUnet e.V.</property> <property name="website">https://www.gnunet.org</property> <property name="authors">Tobias Frisch</property> <property name="documenters">Tobias Frisch diff --git a/src/application.h b/src/application.h @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - Copyright (C) 2021--2022 GNUnet e.V. + Copyright (C) 2021--2024 GNUnet e.V. GNUnet is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published @@ -49,14 +49,11 @@ #include "util.h" #define MESSENGER_APPLICATION_APPNAME "GNUnet Messenger" -#define MESSENGER_APPLICATION_BINARY "messenger-gtk" -#define MESSENGER_APPLICATION_ID "org.gnunet.Messenger" #define MESSENGER_APPLICATION_NAME "Messenger-GTK" #define MESSENGER_APPLICATION_DESCRIPTION \ "A GTK based GUI for the Messenger service of GNUnet." #define MESSENGER_APPLICATION_TITLE "Messenger" #define MESSENGER_APPLICATION_SUBTITLE "GNUnet" -#define MESSENGER_APPLICATION_VERSION "0.8.0" typedef enum MESSENGER_ApplicationSignal {