diff -Nru ibus-input-pad-1.4.99.20140916/debian/changelog ibus-input-pad-1.4.99.20140916/debian/changelog --- ibus-input-pad-1.4.99.20140916/debian/changelog 2021-10-31 00:04:54.000000000 +0000 +++ ibus-input-pad-1.4.99.20140916/debian/changelog 2021-12-07 20:21:24.000000000 +0000 @@ -1,3 +1,11 @@ +ibus-input-pad (1.4.99.20140916-2) unstable; urgency=medium + + * Team upload. + * debian/patches: Add patch from Chris Lamb to make the build + reproducible. (Closes: #998312) + + -- Boyuan Yang Tue, 07 Dec 2021 15:21:24 -0500 + ibus-input-pad (1.4.99.20140916-1) unstable; urgency=medium * Team upload. diff -Nru ibus-input-pad-1.4.99.20140916/debian/patches/0001-Make-the-build-reproducible.patch ibus-input-pad-1.4.99.20140916/debian/patches/0001-Make-the-build-reproducible.patch --- ibus-input-pad-1.4.99.20140916/debian/patches/0001-Make-the-build-reproducible.patch 1970-01-01 00:00:00.000000000 +0000 +++ ibus-input-pad-1.4.99.20140916/debian/patches/0001-Make-the-build-reproducible.patch 2021-12-07 20:21:08.000000000 +0000 @@ -0,0 +1,32 @@ +From: Chris Lamb +Date: Tue, 2 Nov 2021 09:34:15 +0000 +Subject: Make the build reproducible + +Last-Update: 2021-12-07 +Bug-Debian: https://bugs.debian.org/998312 +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index acde72e..41b75bf 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -26,7 +26,7 @@ m4_define([ibus_minor_version], [4]) + m4_define([ibus_micro_version], [99]) + m4_define([pad_abi_current], [1]) + m4_define(ibus_maybe_datestamp, +- m4_esyscmd([if test x]ibus_released[ != x1; then date +.%Y%m%d | tr -d '\n\r'; fi])) ++ 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])) + + m4_define([ibus_version], + ibus_major_version.ibus_minor_version.ibus_micro_version[]ibus_maybe_datestamp) +@@ -56,7 +56,7 @@ IT_PROG_INTLTOOL([0.35.0]) + + dnl - For dislpay Date + m4_define(ibus_datedisplay, +- m4_esyscmd(date '+%a %b %d %Y' | tr -d '\n\r')) ++ m4_esyscmd(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" '+%a %b %d %Y' | tr -d '\n\r')) + DATE_DISPLAY="ibus_datedisplay" + AC_SUBST(DATE_DISPLAY) + diff -Nru ibus-input-pad-1.4.99.20140916/debian/patches/series ibus-input-pad-1.4.99.20140916/debian/patches/series --- ibus-input-pad-1.4.99.20140916/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ ibus-input-pad-1.4.99.20140916/debian/patches/series 2021-12-07 20:21:08.000000000 +0000 @@ -0,0 +1 @@ +0001-Make-the-build-reproducible.patch