Bug#1067099: woof-doom: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Mar 18 13:14:29 GMT 2024


Source: woof-doom
Version: 14.3.0+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
woof-doom could not be built reproducibly:

│ │ │ │ ├── /usr/share/metainfo/io.github.fabiangreffrath.woof.metainfo.xml
│ │ │ │ │ @@ -35,10 +35,10 @@
│ │ │ │ │    </content_rating>
│ │ │ │ │    <releases>
│ │ │ │ │ -    <release version="14.3.0" date="2024-03-14"/>
│ │ │ │ │ +    <release version="14.3.0" date="2024-03-15"/>
│ │ │ │ │    </releases>

A patch is attached that uses CMake's "UTC" argument to make sure that
this value does not vary due to the build system's timezone. (CMake is
already magically making the date inherit from SOURCE_DATE_EPOCH.)

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build.patch	2024-03-18 13:03:40.906056433 +0000
@@ -0,0 +1,12 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2024-03-18
+
+--- woof-doom-14.3.0+dfsg.orig/data/CMakeLists.txt
++++ woof-doom-14.3.0+dfsg/data/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-string(TIMESTAMP PROJECT_DATE "%Y-%m-%d")
++string(TIMESTAMP PROJECT_DATE "%Y-%m-%d" UTC)
+ 
+ configure_file(io.github.fabiangreffrath.woof.metainfo.in
+                io.github.fabiangreffrath.woof.metainfo.xml
--- a/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series	2024-03-18 13:03:39.342056834 +0000
@@ -0,0 +1 @@
+reproducible-build.patch


More information about the Pkg-games-devel mailing list