While working on the reproducible builds effort, I found that
when building the lirc package for openSUSE Linux, there were slight differences between each build that could be fixed with 3 changes:
https://sourceforge.net/p/lirc/git/merge-requests/33/
https://sourceforge.net/p/lirc/git/merge-requests/34/
or differently, because I don't know enough about why things were this way.
Git: 599c91914d0063333598c777
Commit: [14a39d]
Commit: [be743a]
Here is how a typical package diff looked without patches: http://rb.zq1.de/compare.factory-20170621/lirc-compare.out
The lirc.hwdb is not longer created by the build, so that should be fine. Likewise, the lirc-lsplugins call has been moved to the lirc-postinstall script which also should be ok.
Which leaves us with irdb-get. Just removing the date as proposed in PR might not be ideal since the database the script uses might change between invocations. So, in many scenarios the date is actually meaningful.
Thinking about a irdb-get command line option which replaces the date with a md5sum of the possibly cached database aimed for packaging usecases. Or perhaps an option which suppresses or hardcodes the date.
Fixed irdb-get using an environmetn variable in [be743a] (master).
Related
Commit: [be743a]
openSUSE updated to 0.10.1 now and I found the attached patch helped to make it reproducible.
Opened https://sourceforge.net/p/lirc/git/merge-requests/36/