Fixing Lintian-issues.

ci/unstable
Patrick Franz 3 years ago
parent e54eefba03
commit 783afe3a8a
No known key found for this signature in database
GPG Key ID: 9E9F7A603077FE56

@ -0,0 +1,14 @@
# libQt6EglFSDeviceIntegration, libQt6EglFsKmsGbmSupport, libQt6EglFsKmsSupport
# and libQt6XcbQpa are actually private libraries *only* used by their
# respective platforms plugins.
# Sadly instead of being installed into a proper place like
# /usr/lib/<arch-triplet>/qt6/ they are being installed into /usr/lib/.
# We are still shipping the headers but they only contain the version and
# the only binaries that depend on them are shipped within this very same
# binary package, so it's safe to override these Lintian warnings.
qt6-egl-plugins: lacks-ldconfig-trigger usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.*
qt6-egl-plugins: package-name-doesnt-match-sonames libQt6EglFSDeviceIntegration6 libQt6EglFsKmsGbmSupport6 libQt6EglFsKmsSupport6 libQt6XcbQpa6
qt6-egl-plugins: no-shlibs usr/lib/x86_64-linux-gnu/libQt6EglFSDeviceIntegration.so.6.*
qt6-egl-plugins: no-shlibs usr/lib/x86_64-linux-gnu/libQt6EglFsKmsGbmSupport.so.6.*
qt6-egl-plugins: no-shlibs usr/lib/x86_64-linux-gnu/libQt6EglFsKmsSupport.so.6.*
qt6-egl-plugins: no-shlibs usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.*

5
debian/rules vendored

@ -6,7 +6,6 @@ include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%: %:
dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
@ -58,6 +57,10 @@ override_dh_auto_configure:
override_dh_auto_install-arch: override_dh_auto_install-arch:
dh_auto_install dh_auto_install
# Policy § 10.4. Remove this if https://bugs.debian.org/904409 gets fixed.
sed -i 's,bin/env perl,bin/perl,' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt6/libexec/*.pl \
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt6/mkspecs/features/data/unix/findclasslist.pl
# Reproducible builds: remove build paths from .prl files # Reproducible builds: remove build paths from .prl files
sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQt6*.prl sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libQt6*.prl

Loading…
Cancel
Save