[sysprof] about: add symbolic information to release



commit 4d332dc68a49b0982a6b00bb44384c2873679322
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 23 15:40:32 2021 -0800

    about: add symbolic information to release

 meson.build                       | 3 +++
 src/sysprof/sysprof-application.c | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index bf9b241..2e33e50 100644
--- a/meson.build
+++ b/meson.build
@@ -8,6 +8,8 @@ project('sysprof', 'c',
   ]
 )
 
+symbolic_version = '40.beta1'
+
 gnome = import('gnome')
 pkgconfig = import('pkgconfig')
 i18n = import('i18n')
@@ -31,6 +33,7 @@ if get_option('libsysprof')
 endif
 
 config_h = configuration_data()
+config_h.set_quoted('SYMBOLIC_VERSION', symbolic_version)
 config_h.set_quoted('API_VERSION_S', '@0@'.format(libsysprof_api_version))
 config_h.set_quoted('PACKAGE_NAME', 'sysprof')
 config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
diff --git a/src/sysprof/sysprof-application.c b/src/sysprof/sysprof-application.c
index b19ed87..8613b1b 100644
--- a/src/sysprof/sysprof-application.c
+++ b/src/sysprof/sysprof-application.c
@@ -200,7 +200,7 @@ sysprof_about (GSimpleAction *action,
                          "license-type", GTK_LICENSE_GPL_3_0,
                          "logo-icon-name", "org.gnome.Sysprof",
                          "program-name", _("Sysprof"),
-                         "version", PACKAGE_VERSION,
+                         "version", SYMBOLIC_VERSION "\n" "(" PACKAGE_VERSION ")",
                          "website", "https://wiki.gnome.org/Apps/Sysprof";,
                          "website-label", _("Learn more about Sysprof"),
                          NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]