Bug#975504: obs-studio: reproducible builds: Embeds date in appdata.xml file

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Nov 23 02:24:40 GMT 2020


Source: obs-studio
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

A date string that defaults to the current date is embedded in
/usr/share/metainfo/com.obsproject.Studio.appdata.xml, causing builds on
different days to not build reproducibly.

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/obs-studio.html
  21 	····<release·version="26.0.2+dfsg1-1"·date="2021-12-18"/>	21 	····<release·version="26.0.2+dfsg1-1"·date="2020-11-15"/>

This can be fixed by setting a value from the configure target that uses
SOURCE_DATE_EPOCH:

  https://reproducible-builds.org/docs/source-date-epoch/

The attached patch does this.


Alternately, it may be worth exploring patching
UI/xdg-data/CMakeLists.txt to support SOURCE_DATE_EPOCH and get the
support merged upstream.


Thanks for maintaining obs-studio!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Set-APPDATA_RELEASE_DATE-using-the-SOUR.patch
Type: text/x-diff
Size: 998 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201122/2489f6df/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201122/2489f6df/attachment.sig>


More information about the Reproducible-bugs mailing list