Source: gst-pipeline-studio Version: 0.7.3+ds-1 Severity: wishlist Tags: patch User: [email protected] Usertags: timestamps X-Debbugs-Cc: [email protected]
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that gst-pipeline-studio could not be built reproducibly. This is because it generates an XML file with the current date: │ │ │ ├── ./usr/share/metainfo/dev.mooday.GstPipelineStudio.appdata.xml │ │ │ │ ├── ./usr/share/metainfo/dev.mooday.GstPipelineStudio.appdata.xml │ │ │ │ │ @@ -64,15 +64,15 @@ │ │ │ │ │ <update_contact>[email protected]</update_contact> │ │ │ │ │ <translation type="gettext">gst-pipeline-studio</translation> │ │ │ │ │ <launchable type="desktop-id">dev.mooday.GstPipelineStudio.desktop</launchable> │ │ │ │ │ <releases> │ │ │ │ │ - <release version="0.7.3" date="2026-11-17"> │ │ │ │ │ + <release version="0.7.3" date="2027-12-21"> Patch attached that adjusts Meson.build to seed this date from SOURCE_DATE_EPOCH if it is available. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` [email protected] / chris-lamb.co.uk `-
--- a/debian/patches/Reproducible-build.patch 1970-01-01 00:00:00.000000000 +0000 --- b/debian/patches/Reproducible-build.patch 2026-11-18 16:43:12.860677312 +0000 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <[email protected]> +Last-Update: 2026-11-18 + +--- gst-pipeline-studio-0.7.3+ds.orig/meson.build ++++ gst-pipeline-studio-0.7.3+ds/meson.build +@@ -12,7 +12,7 @@ host_system = host_machine.system() + + + python3 = find_program('python3') +-current_date = run_command(python3, '-c', 'import datetime; print(datetime.datetime.now().strftime("%Y-%m-%d"), end ="")').stdout() ++current_date = run_command(python3, '-c', 'import os, time; print(time.strftime("%Y-%m-%d", time.gmtime(int(os.environ.get("SOURCE_DATE_EPOCH", time.time())))), end="")').stdout() + i18n = import('i18n') + host_system = host_machine.system() + --- a/debian/patches/series 2026-11-18 16:23:55.952682357 +0000 --- b/debian/patches/series 2026-11-18 16:43:11.418058112 +0000 @@ -5,3 +5,4 @@ Update-mismatches-in-element_defaults.rs.patch Disable-tests-i18n_catalog.rs.patch Switch-from-appstream-util-to-appstreamcli.patch +Reproducible-build.patch

