Codebase list ibus-input-pad / 7864ff2
Add patch to make package reproducible. Boyuan Yang 2 years ago
2 changed file(s) with 33 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Chris Lamb <lamby@debian.org>
1 Date: Tue, 2 Nov 2021 09:34:15 +0000
2 Subject: Make the build reproducible
3
4 Last-Update: 2021-12-07
5 Bug-Debian: https://bugs.debian.org/998312
6 ---
7 configure.ac | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10 diff --git a/configure.ac b/configure.ac
11 index acde72e..41b75bf 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -26,7 +26,7 @@ m4_define([ibus_minor_version], [4])
15 m4_define([ibus_micro_version], [99])
16 m4_define([pad_abi_current], [1])
17 m4_define(ibus_maybe_datestamp,
18 - m4_esyscmd([if test x]ibus_released[ != x1; then date +.%Y%m%d | tr -d '\n\r'; fi]))
19 + m4_esyscmd([if test x]ibus_released[ != x1; then date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" '+.%Y%m%d' | tr -d '\n\r'; fi]))
20
21 m4_define([ibus_version],
22 ibus_major_version.ibus_minor_version.ibus_micro_version[]ibus_maybe_datestamp)
23 @@ -56,7 +56,7 @@ IT_PROG_INTLTOOL([0.35.0])
24
25 dnl - For dislpay Date
26 m4_define(ibus_datedisplay,
27 - m4_esyscmd(date '+%a %b %d %Y' | tr -d '\n\r'))
28 + m4_esyscmd(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" '+%a %b %d %Y' | tr -d '\n\r'))
29 DATE_DISPLAY="ibus_datedisplay"
30 AC_SUBST(DATE_DISPLAY)
31
0 0001-Make-the-build-reproducible.patch