Bug#1005793: libadwaita-1: reproducible builds: Embedded date in .xml file

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Feb 15 01:16:06 GMT 2022


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

The file /usr/share/metainfo/org.gnome.Adwaita1.Demo.metainfo.xml
contains an embedded build date:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libadwaita-1.html

  <release·version="1.0.2"·date="2023-03-19">
  vs.
  <release·version="1.0.2"·date="2022-02-15">

The attached patch fixes this by removing the call to date from the
meson.build file.


An alternate option would be to use the SOURCE_DATE_EPOCH environment
variable, and there is a meson example available:

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

This would be better if the package somehow fails to work correctly when
there is no date in this file, though ideally no timestamp would be
better if possible.


With this patch applied, libadwaita-1 should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining libadwaita-1!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-demo-data-meson.build-Remove-build-date.patch
Type: text/x-diff
Size: 926 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20220214/ddebb24c/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/pkg-gnome-maintainers/attachments/20220214/ddebb24c/attachment.sig>


More information about the pkg-gnome-maintainers mailing list