From cc0c148d90741e39615e3380d283f684a052dd94 Mon Sep 17 00:00:00 2001 From: Jerry Casiano Date: Tue, 11 Mar 2025 20:41:17 -0400 Subject: [PATCH] - Fix reproducible build issue - Closes #439 Bug-Debian: https://bugs.debian.org/1100115 Bug: https://github.com/FontManager/font-manager/issues/439 Applied-Upstream: https://github.com/FontManager/font-manager/commit/cc0c148d90741e39615e3380d283f684a052dd94 --- ...ithub.FontManager.FontManager.appdata.xml.in.in | 2 +- ...github.FontManager.FontViewer.appdata.xml.in.in | 2 +- meson.build | 14 ++++---------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/data/com.github.FontManager.FontManager.appdata.xml.in.in b/data/com.github.FontManager.FontManager.appdata.xml.in.in index 715bba45..477a4b47 100644 --- a/data/com.github.FontManager.FontManager.appdata.xml.in.in +++ b/data/com.github.FontManager.FontManager.appdata.xml.in.in @@ -76,7 +76,7 @@ - +
  • https://github.com/FontManager/font-manager/releases/tag/@PACKAGE_VERSION@
  • diff --git a/data/com.github.FontManager.FontViewer.appdata.xml.in.in b/data/com.github.FontManager.FontViewer.appdata.xml.in.in index b0a4ff0b..6249ad8c 100644 --- a/data/com.github.FontManager.FontViewer.appdata.xml.in.in +++ b/data/com.github.FontManager.FontViewer.appdata.xml.in.in @@ -63,7 +63,7 @@ - +
    • https://github.com/FontManager/font-manager/releases/tag/@PACKAGE_VERSION@
    • diff --git a/meson.build b/meson.build index cf5829ed..fa5a0c17 100644 --- a/meson.build +++ b/meson.build @@ -8,6 +8,8 @@ project( meson_version: '>= 1.1.0' ) +release_date = '2025-03-07' + if meson.version().version_compare('< 1.1.0') error('Meson version is @0@ but project requires >= 1.1.0'.format(meson.version())) endif @@ -72,17 +74,10 @@ datadir = get_option('datadir') pkglib_dir = join_paths(prefix, get_option('libdir'), meson.project_name()) pkglibexec_dir = join_paths(prefix, get_option('libexecdir'), meson.project_name()) -datetime = ''' -from datetime import date -print(date.today()) -''' - -today = run_command(python, '-c', datetime, check: true).stdout().strip() - config = configuration_data() config.set('PACKAGE_NAME', meson.project_name()) config.set('PACKAGE_VERSION', meson.project_version()) -config.set('CURRENT_DATE', today) +config.set('RELEASE_DATE', release_date) config.set('PACKAGE_URL', 'http://fontmanager.github.io/') config.set('PACKAGE_BUGREPORT', 'https://github.com/FontManager/master/issues') config.set('GETTEXT_PACKAGE', meson.project_name()) @@ -125,8 +120,7 @@ meson.add_dist_script('meson_dist.py') gnome.post_install( glib_compile_schemas: true, gtk_update_icon_cache: true, - update_desktop_database: true, - update_mime_database: true + update_desktop_database: true ) summary(