diff --git a/debian/libqt6gui6.lintian-overrides b/debian/libqt6gui6.lintian-overrides new file mode 100644 index 0000000..8d5e269 --- /dev/null +++ b/debian/libqt6gui6.lintian-overrides @@ -0,0 +1,11 @@ +# libQt5EglDeviceIntegration and libQt5XcbQpa are actually private libraries +# *only* used by their respective platforms plugins. Sadly instead of being +# installed into a proper place like /usr/lib//qt5/ 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 this Lintian warning. +libqt6gui6: ships-undeclared-shared-library libQt6EglFSDeviceIntegration 6 for usr/lib/*/libQt6EglFSDeviceIntegration.so.6.* +libqt6gui6: ships-undeclared-shared-library libQt6EglFsKmsGbmSupport 6 for usr/lib/*/libQt6EglFsKmsGbmSupport.so.6.* +libqt6gui6: ships-undeclared-shared-library libQt6EglFsKmsSupport 6 for usr/lib/*/libQt6EglFsKmsSupport.so.6.* +libqt6gui6: ships-undeclared-shared-library libQt6XcbQpa 6 for usr/lib/*/libQt6XcbQpa.so.6.* diff --git a/debian/rules b/debian/rules index c1080c3..53ee88a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,15 +1,12 @@ #!/usr/bin/make -f #export DH_VERBOSE = 1 -# Use already defined DEB_HOST_* variables. +# Use already defined DEB_HOST_* variables. include /usr/share/dpkg/architecture.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all -# see ENVIRONMENT in dpkg-buildflags(1) -# package maintainers to append CFLAGS #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -# package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed @@ -17,8 +14,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja -# dh_make generated override targets -# This is example for Cmake (See https://bugs.debian.org/641051 ) override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \ @@ -66,3 +61,14 @@ override_dh_auto_configure: # will remove/change this once all installed files are sorted override_dh_missing: dh_missing --list-missing + + +override_dh_auto_install-arch: + dh_auto_install + + # 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 + + +override_dh_makeshlibs: + dh_makeshlibs -XlibQt6EglFSDeviceIntegration -XlibQt6EglFsKmsGbmSupport -XlibQt6EglFsKmsSupport -XlibQt6XcbQpa