Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can dnfdragora provide org.freedesktop.PackageKit session bus service? #137

Open
sharkcz opened this issue Jun 12, 2019 · 4 comments
Open

Comments

@sharkcz
Copy link

sharkcz commented Jun 12, 2019

This came in PackageKit/PackageKit#326 when I'm trying to get gstreamer helper working for non-x86 arches for multimedia applications like parole. To allow that something must provide org.freedesktop.PackageKit session bus service that's called by the helper to do the actual installation. https://bugzilla.redhat.com/show_bug.cgi?id=1411236 is also related.

@Conan-Kudo
Copy link
Member

Conan-Kudo commented Jun 12, 2019

Currently dnfdaemon does not provide the system or session bus for PackageKit. I've been happy to not implement that and leave it to PackageKit, since the DNF backend there is very good compared to the others.

If someone wants to implement these aspects in dnfdaemon and dnfdragora, it could be done, but I think you're probably better off actually fixing PackageKit, because there's a large ecosystem around PackageKit (with many frontends that are better than GNOME Software, like Plasma Discover, Apper, etc.) and only terrible people would actually break that for the Linux ecosystem.

@Conan-Kudo
Copy link
Member

Oh wait, this is for a desktop that doesn't have a PackageKit frontend (Xfce specifically)?

It's possible, but I don't currently have the time to do the implementation. I'd welcome contributions if it's so desired.

@sharkcz
Copy link
Author

sharkcz commented Jun 12, 2019

yes, I mean for desktops like XFCE

@Conan-Kudo
Copy link
Member

My understanding is that the session bus is implemented by the frontend, which delegates to the system bus (dnfdaemon in our case) for the actual install. This can be mimicked in dnfdragora because it has a similar architecture to your average PackageKit frontend.

Some code to the frontend to add support for the PK session bus listener is required, which probably means we need a tiny daemon app that can kick the main UI when that happens, similar to the updater applet.

It shouldn't be too much work to add it, and if you need help with it, you can reach out and I can try to assist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants