[neon/qt/qtwayland/Neon/unstable] debian: Remove build path from .prl files for reproducibility.
Dmitry Shachnev
null at kde.org
Mon Apr 29 17:44:39 BST 2024
Git commit da0ccaa0817e0132a618013a51495458f30cbc34 by Dmitry Shachnev.
Committed on 24/12/2023 at 15:15.
Pushed by jriddell into branch 'Neon/unstable'.
Remove build path from .prl files for reproducibility.
M +1 -0 debian/changelog
M +4 -0 debian/rules
https://invent.kde.org/neon/qt/qtwayland/-/commit/da0ccaa0817e0132a618013a51495458f30cbc34
diff --git a/debian/changelog b/debian/changelog
index 18b13c2..1aed5af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ qtwayland-opensource-src (5.15.12-1) UNRELEASED; urgency=medium
* Refresh other patches.
* Add patches from KDE’s Qt 5 Patch Collection up to 2023-10-24.
* Remove hack for mips/mipsel, these architectures are no longer in Debian.
+ * Remove build path from .prl files for reproducibility.
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sat, 23 Dec 2023 16:11:34 +0300
diff --git a/debian/rules b/debian/rules
index 6b49a5c..04c9dee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,10 @@ override_dh_auto_build-indep:
override_dh_auto_install-indep:
dh_auto_build -- INSTALL_ROOT=$(CURDIR)/debian/tmp install_docs
+execute_after_dh_auto_install-arch:
+ # Reproducible builds: remove build path from the prl files.
+ sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/libQt5*.prl
+
override_dh_link:
dh_link -pqtwayland5-dev-tools \
usr/lib/qt5/bin/qtwaylandscanner usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/qtwaylandscanner
More information about the Neon-commits
mailing list