Package: qtpim5-dev Version: 5.0~git20201102.f9a8f0fc+dfsg1-1 Owner: sunwea...@debian.org Severity: important Tags: patch
The Debian package removes the skeleton plugin but installs the corresponding cmake file. Qt5OrganizerConfig.cmake includes all plugin cmake files and which results in an error because the actual plugin is not found, i.e. this causes build errors for all consumers using cmake. If the plugin isn't there the corresponding cmake file shouldn't be there. Attached patch fixes the packaging. -- Guido Berhoerster
>From 7a9d3a97847caee774a02f6628ce78966cea267e Mon Sep 17 00:00:00 2001 From: Guido Berhoerster <guido+deb...@berhoerster.name> Date: Fri, 27 May 2022 15:38:38 +0200 Subject: [PATCH] Remove cmake file belonging skeleton plugin The skeleton plugin cmake file needs to be removed as well, otherwise find_package() will error out due to the missing plugin. --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 7093392..3b6e3f3 100755 --- a/debian/rules +++ b/debian/rules @@ -73,7 +73,8 @@ override_dh_auto_install: # Remove libtool-like files rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la # Don't install the skeleton plugin - rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/plugins/organizer/libqtorganizer_skeleton.so + rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/plugins/organizer/libqtorganizer_skeleton.so \ + debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Qt5Organizer/Qt5Organizer_QSkeletonOrganizerPlugin.cmake if [ -e /usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/qdoc ]; then \ mkdir -p debian/tmp/usr/share/doc/qtpim-doc-html/; \ -- 2.25.1