appdata: Add release info tag for 52~alpha

Since we now have fatal criticals enabled, we are prone to crashes
caused by our external dependencies emitting criticals. The newest case
is the Adwaita About dialog. The critical happened because `ministream`
couldn't find a release tag for 52.0

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/864>
This commit is contained in:
mindonwarp
2026-10-04 12:35:19 +02:00
parent b1f6e609c6
commit 6f511b600a
3 changed files with 12 additions and 2 deletions
+9 -1
View File
@@ -63,6 +63,13 @@ config_h = configuration_data()
package_bugreport = 'http://bugzilla.gnome.org/enter_bug.cgi?product=' + meson.project_name()
# release tag for the about dialog and metainfo release infos
if development_release
release_tag = calendar_version.replace('.', '~')
else
release_tag = calendar_version
endif
# package
set_defines = [
['PACKAGE', meson.project_name()],
@@ -71,7 +78,8 @@ set_defines = [
['PACKAGE_STRING', '@0@ @1@'.format(meson.project_name(), calendar_version)],
['PACKAGE_TARNAME', meson.project_name()],
['PACKAGE_URL', 'https://apps.gnome.org/Calendar/'],
['MAJOR_VERSION', calendar_major_version + '.' + '0'],
['MAJOR_VERSION', calendar_major_version],
['RELEASE_TAG', release_tag],
['PACKAGE_VERSION', calendar_version + rev],
['VERSION', calendar_version + rev],
['GETTEXT_PACKAGE', meson.project_name()],
@@ -115,6 +115,8 @@
<update_contact>gbsneto@gnome.org</update_contact>
<releases>
<release date="2026-09-13" version="52~alpha" type="development" />
<release date="2026-09-11" version="51.0" type="stable">
<description>
<p>
+1 -1
View File
@@ -242,7 +242,7 @@ gcal_application_show_about (GSimpleAction *simple,
copyright = build_about_copyright (self);
troubleshooting = build_system_information ();
about = adw_about_dialog_new_from_appdata ("/org/gnome/calendar/appdata", MAJOR_VERSION);
about = adw_about_dialog_new_from_appdata ("/org/gnome/calendar/appdata", RELEASE_TAG);
adw_about_dialog_set_designers (ADW_ABOUT_DIALOG (about), designers);
adw_about_dialog_set_copyright (ADW_ABOUT_DIALOG (about), copyright);