Source: rssguard Version: 4.8.6+dfsg-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 rssguard could not be built reproducibly. │ │ │ │ ├── ./usr/share/metainfo/io.github.martinrotter.rssguard.metainfo.xml │ │ │ │ │ <content_rating type="oars-1.1"/> │ │ │ │ │ <releases> │ │ │ │ │ - <release version="4.8.6" date="2026-05-14"> │ │ │ │ │ + <release version="4.8.6" date="2026-05-15"> │ │ │ │ │ <url>https://github.com/martinrotter/rssguard/ Whilst this date is generated from SOURCE_DATE_EPOCH (due to a feature of CMake), it still varies on the build timezone; you need to specify the UTC flag for this. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` [email protected] / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-build.patch 1969-12-31 16:00:00.000000000 -0800 --- b/debian/patches/reproducible-build.patch 2026-05-18 10:18:21.261235976 -0700 @@ -0,0 +1,17 @@ +Description: Make the build reproducible +Author: Chris Lamb <[email protected]> +Last-Update: 2026-05-18 + +--- rssguard-4.8.6+dfsg.orig/CMakeLists.txt ++++ rssguard-4.8.6+dfsg/CMakeLists.txt +@@ -69,8 +69,8 @@ + cmake_minimum_required(VERSION 3.14.0) + + # Global variables describing the project. +-string(TIMESTAMP YEAR "%Y") +-string(TIMESTAMP DATE "%Y-%m-%d") ++string(TIMESTAMP YEAR "%Y" UTC) ++string(TIMESTAMP DATE "%Y-%m-%d" UTC) + + set(APP_NAME "RSS Guard") + set(APP_EMAIL "[email protected]") --- a/debian/patches/series 1969-12-31 16:00:00.000000000 -0800 --- b/debian/patches/series 2026-05-18 10:18:20.336425665 -0700 @@ -0,0 +1 @@ +reproducible-build.patch

