mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 20:51:10 +00:00
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
This commit is contained in:
parent
14e6d9555d
commit
d6f4a0d2cf
@ -33,7 +33,7 @@
|
|||||||
<developer_name>Matthias Clasen and others</developer_name>
|
<developer_name>Matthias Clasen and others</developer_name>
|
||||||
<content_rating type="oars-1.1"/>
|
<content_rating type="oars-1.1"/>
|
||||||
<releases>
|
<releases>
|
||||||
<release version="@BUILD_VERSION@" date="@BUILD_DATE@">
|
<release version="@BUILD_VERSION@">
|
||||||
<description>
|
<description>
|
||||||
<p>A new build of GTK.</p>
|
<p>A new build of GTK.</p>
|
||||||
</description>
|
</description>
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
<developer_name>Matthias Clasen and others</developer_name>
|
<developer_name>Matthias Clasen and others</developer_name>
|
||||||
<content_rating type="oars-1.1"/>
|
<content_rating type="oars-1.1"/>
|
||||||
<releases>
|
<releases>
|
||||||
<release version="@BUILD_VERSION@" date="@BUILD_DATE@">
|
<release version="@BUILD_VERSION@">
|
||||||
<description>
|
<description>
|
||||||
<p>A new build of GTK.</p>
|
<p>A new build of GTK.</p>
|
||||||
</description>
|
</description>
|
||||||
|
@ -12,19 +12,9 @@ demo_conf_h = declare_dependency(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# appdata
|
# 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 = configuration_data()
|
||||||
appdata_config.set('BUILD_VERSION', meson.project_version())
|
appdata_config.set('BUILD_VERSION', meson.project_version())
|
||||||
appdata_config.set('BUILD_DATE', today)
|
|
||||||
|
|
||||||
subdir('constraint-editor')
|
subdir('constraint-editor')
|
||||||
subdir('gtk-demo')
|
subdir('gtk-demo')
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<developer_name>Matthias Clasen and others</developer_name>
|
<developer_name>Matthias Clasen and others</developer_name>
|
||||||
<content_rating type="oars-1.1"/>
|
<content_rating type="oars-1.1"/>
|
||||||
<releases>
|
<releases>
|
||||||
<release version="@BUILD_VERSION@" date="@BUILD_DATE@">
|
<release version="@BUILD_VERSION@">
|
||||||
<description>
|
<description>
|
||||||
<p>A new build of GTK.</p>
|
<p>A new build of GTK.</p>
|
||||||
</description>
|
</description>
|
||||||
|
Loading…
Reference in New Issue
Block a user