Debian Codegraph @

debian/patches/use-UTC-timestamp-for-reproducibility.patch

raw
1 From: Vagrant Cascadian <[email protected]>
2 Date: Sun, 17 Oct 2021 08:54:17 +0000
3 Subject: [PATCH] package/CMakeLists.txt: Use UTC timestamp.
4
5 While cmake respects SOURCE_DATE_EPOCH, the timezone may still change
6 the date stamp used.
7
8 https://reproducible-builds.org/docs/source-date-epoch/
9 ---
10 package/CMakeLists.txt | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/package/CMakeLists.txt b/package/CMakeLists.txt
14 index 16dd50a..ccf3264 100644
15 --- a/package/CMakeLists.txt
16 +++ b/package/CMakeLists.txt
17 @@ -3,7 +3,7 @@
18 # switch to parsing this from flightgear/version file explicity,
19 # but it's only needed by AppStream metainfo for the moment
20
21 -string(TIMESTAMP FG_CMAKE_TIMESTAMP "%Y-%m-%d")
22 +string(TIMESTAMP FG_CMAKE_TIMESTAMP "%Y-%m-%d" UTC)
23
24 if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
25 set(DESKTOP_FILE_VERSION "1.0")