KDE Connect looks like a great piece of software, but its dependency tree is quite large. It would be nice to have a better split of the kde-connect package so that it doesn't drag in all kinds of things which aren't (at least, AFAICT) related. For example, I see kwallet being dragged in, KDE workspace bits (breeze icons, fuse, and phonon). I *think* this is due to the KCM component tree, but I'm not 100% sure since dnf is tight-lipped about how it got its dependencies. Looking at the file list, a split might be: # For each plugin %package plugin-%{name} %{_qt5_prefix}/plugins/kdeconnect/%{name}.so # KCM components %package kcm %{_qt5_prefix}/plugins/kcm_kdeconnect.so %{_datadir}/applications/org.kde.kdeconnect.kcm.desktop # KIO bits %package kio %{_qt5_prefix}/plugins/kio_kdeconnect.so # The actual service %package -n kconnectd %{_libexecdir}/kdeconnectd %dir %{_qt5_prefix}/plugins/kdeconnect/ %{_sysconfdir}/xdg/autostart/kdeconnectd.desktop %{_prefix}/lib/firewalld/services/kde-connect.xml %{_datadir}/dbus-1/services/*.service There's also missing headers to write other plugins, but I'll file a bug upstream for that.
I might try a copr to see how the split would work this or next week sometime.
<nod>, splitting out kdeconnectd would be a good first step. That seems to be what most non-plasma/kde using folks have been asking for
So I actually was waiting on other builds here and did a split. Doesn't seem to help all that much due to kde-settings -> breeze-icon-theme, but it's a start. Spec file attached.
Created attachment 1144028 [details] Spec file with package splitting I suspect that some of the Requires: are inaccurate, but it's a start.
OK, so kdeconnect-cli acts a little weird if the ping plugin (and probably the share plugin as well) isn't installed. I suppose upstream could be a little more robust against it, but I'll add that to the list :) .
Copr: https://copr.fedorainfracloud.org/coprs/mathstuf/patches/packages/ It does have other things in it, but only dmenu might cause issues (just a few extra patches upstream hasn't merged yet, but put on their website).
IMHO, splitting every plugin into it's own package is way overkill (unless you just wanted to do it as an academic excersize), greatly increasing packaging complexity and generally not helping serve the cause of minimizing dependencies What are the greatest dependency pain-points you're trying to solve here?
Yeah, the plugin split could probably be better (a virtual Provides: kde-connect(%{name}) would help here). Maybe a better split would be "plugins-multimedia" (mpriscontrol, pausemusic, telephony), "plugins-sharing" (sftp, share, though sftp has that fuse dependency), "plugins-desktop" (clipboard, notifications, screensaver-inhibit). That just leaves battery and mousepad. ping probably belongs in the kdeconnectd subpackage since it's really "core". The KCM modules seem to be the ones which drag in the KDE runtime (e.g., kde-cli-tools, kdesu, kf5-kded). The breeze theme stuff seems to be kde-settings which is a different bug.
*** Bug 1323421 has been marked as a duplicate of this bug. ***
Went with making a kdeconnectd subpkg only for now. %changelog * Sun Jun 05 2016 Rex Dieter <rdieter> - 0.9-7 - prep git snapshot (for 1.0 compatibility), but don't use yet - kdeconnectd subpkg (#1324214) - kdeconnectd does not autostart on MATE (#1296523)
kde-connect-0.9-7.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6437195d6b
kde-connect-0.9-7.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6437195d6b
kde-connect-0.9-7.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Thank you ! It seem much better, at least without installing weak dependencies feature that I use (# echo "install_weak_deps=False" >> /etc/dnf/dnf.conf)