DEB tqt3: Add dh_strip_nondeterminism to support a reproducible build.

Correction of a typo in the TQWidget documentation is no longer needed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3169cdfbff)
pull/92/head
Slávek Banko 5 years ago
parent 35bee2de20
commit 20d3798423
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -226,8 +226,6 @@ install: build
# copy all docs there first # copy all docs there first
install -d $(P_DOC)/usr/share/tqt3/doc/html/ 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 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 ## build designer package documentation
# tqt3-designer # tqt3-designer
@ -431,6 +429,8 @@ binary-arch: build install
dh_link -a $(IBASE) dh_link -a $(IBASE)
dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg 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_compress -a $(IBASE)
dh_fixperms -a $(IBASE) dh_fixperms -a $(IBASE)

@ -226,8 +226,6 @@ install: build
# copy all docs there first # copy all docs there first
install -d $(P_DOC)/usr/share/tqt3/doc/html/ 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 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 ## build designer package documentation
# tqt3-designer # tqt3-designer
@ -431,6 +429,8 @@ binary-arch: build install
dh_link -a $(IBASE) dh_link -a $(IBASE)
dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg 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_compress -a $(IBASE)
dh_fixperms -a $(IBASE) dh_fixperms -a $(IBASE)

Loading…
Cancel
Save