From: Bernhard M. Wiedemann Date: Mon, 6 Sep 2021 08:05:31 +0000 (+0200) Subject: Drop date attribute from our appdata files X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2^2~62^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6681bbf8d22e1d1277f165f5cd8209a8ef9139a1;p=gtk4.git Drop date attribute from our appdata files in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good This was suggested by Matthias Clasen as an alternative to MR !3929 --- diff --git a/demos/gtk-demo/org.gtk.Demo4.appdata.xml.in b/demos/gtk-demo/org.gtk.Demo4.appdata.xml.in index a1a468c407..87f9267e67 100644 --- a/demos/gtk-demo/org.gtk.Demo4.appdata.xml.in +++ b/demos/gtk-demo/org.gtk.Demo4.appdata.xml.in @@ -33,7 +33,7 @@ Matthias Clasen and others - +

A new build of GTK.

diff --git a/demos/icon-browser/org.gtk.IconBrowser4.appdata.xml.in b/demos/icon-browser/org.gtk.IconBrowser4.appdata.xml.in index 8cfaaa2b49..87add81324 100644 --- a/demos/icon-browser/org.gtk.IconBrowser4.appdata.xml.in +++ b/demos/icon-browser/org.gtk.IconBrowser4.appdata.xml.in @@ -32,7 +32,7 @@ Matthias Clasen and others - +

A new build of GTK.

diff --git a/demos/meson.build b/demos/meson.build index de720925f6..550f90b0de 100644 --- a/demos/meson.build +++ b/demos/meson.build @@ -12,19 +12,9 @@ demo_conf_h = declare_dependency( ) # appdata -today = 'unknown' -date = find_program('date', - required: false) -if date.found() - r = run_command(date, '-I') - if r.returncode() == 0 - today = r.stdout().strip() - endif -endif appdata_config = configuration_data() appdata_config.set('BUILD_VERSION', meson.project_version()) -appdata_config.set('BUILD_DATE', today) subdir('constraint-editor') subdir('gtk-demo') diff --git a/demos/widget-factory/org.gtk.WidgetFactory4.appdata.xml.in b/demos/widget-factory/org.gtk.WidgetFactory4.appdata.xml.in index 7f8c4e5617..284b7419c2 100644 --- a/demos/widget-factory/org.gtk.WidgetFactory4.appdata.xml.in +++ b/demos/widget-factory/org.gtk.WidgetFactory4.appdata.xml.in @@ -34,7 +34,7 @@ Matthias Clasen and others - +

A new build of GTK.