From 20d379842319cfb94e65b06f6ded5e8dafef046b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 22 Mar 2020 19:25:48 +0100 Subject: [PATCH] DEB tqt3: Add dh_strip_nondeterminism to support a reproducible build. Correction of a typo in the TQWidget documentation is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 3169cdfbff36872c3bdc969a24dca3e423e29075) --- debian/_base/dependencies/tqt3/debian/rules | 4 ++-- ubuntu/_base/dependencies/tqt3/debian/rules | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/_base/dependencies/tqt3/debian/rules b/debian/_base/dependencies/tqt3/debian/rules index 42061c75a..6391b95e5 100755 --- a/debian/_base/dependencies/tqt3/debian/rules +++ b/debian/_base/dependencies/tqt3/debian/rules @@ -226,8 +226,6 @@ install: build # copy all docs there first install -d $(P_DOC)/usr/share/tqt3/doc/html/ for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done - #typo bugfix - sed -i -e 's/reveives/receives/' $(P_DOC)/usr/share/tqt3/doc/html/ntqwidget.html ## build designer package documentation # tqt3-designer @@ -431,6 +429,8 @@ binary-arch: build install dh_link -a $(IBASE) dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg + $(if $(wildcard /usr/bin/dh_strip_nondeterminism),\ + dh_strip_nondeterminism -a $(IBASE)) dh_compress -a $(IBASE) dh_fixperms -a $(IBASE) diff --git a/ubuntu/_base/dependencies/tqt3/debian/rules b/ubuntu/_base/dependencies/tqt3/debian/rules index 42061c75a..6391b95e5 100755 --- a/ubuntu/_base/dependencies/tqt3/debian/rules +++ b/ubuntu/_base/dependencies/tqt3/debian/rules @@ -226,8 +226,6 @@ install: build # copy all docs there first install -d $(P_DOC)/usr/share/tqt3/doc/html/ for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done - #typo bugfix - sed -i -e 's/reveives/receives/' $(P_DOC)/usr/share/tqt3/doc/html/ntqwidget.html ## build designer package documentation # tqt3-designer @@ -431,6 +429,8 @@ binary-arch: build install dh_link -a $(IBASE) dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg + $(if $(wildcard /usr/bin/dh_strip_nondeterminism),\ + dh_strip_nondeterminism -a $(IBASE)) dh_compress -a $(IBASE) dh_fixperms -a $(IBASE)