From ec1d82023e6b4bdb6d2fd897460b8c841ee56a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lisandro=20Dami=C3=A1n=20Nicanor=20P=C3=A9rez=20Meyer?= Date: Sat, 22 Jul 2023 12:57:37 -0300 Subject: [PATCH] Remove build path from documentation's build path. This not only breaks reproducible builds but also is useless, as the build dir might change from submodule to submodule, and it might have a random path on it. --- debian/changelog | 3 +++ debian/rules | 3 +++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 0fe2c74..ff280ef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,9 @@ qt6-base (6.4.2+dfsg-15) UNRELEASED; urgency=medium [ Eren Eroğlu ] * Add qt6-base-doc* packages. + [ Lisandro Damián Nicanor Pérez Meyer ] + * Remove build path from documentation's index files. + -- Lisandro Damián Nicanor Pérez Meyer Sat, 22 Jul 2023 11:55:09 -0300 qt6-base (6.4.2+dfsg-14) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index ba8738e..728f90e 100755 --- a/debian/rules +++ b/debian/rules @@ -113,6 +113,9 @@ override_dh_auto_build-indep: override_dh_auto_install-indep: DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install_docs + # Remove build path from index files. + find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \ + sed -i 's@$(CURDIR)/@@g' {} \; override_dh_makeshlibs: dh_makeshlibs -XlibQt6EglFSDeviceIntegration -XlibQt6EglFsKmsGbmSupport -XlibQt6EglFsKmsSupport -XlibQt6XcbQpa