Hello,

I've no experience with packaging desktop software so maybe my question
will be stupid.

I'm updating a package which, when running tests, uses libnotify
library to send a notification to a desktop environment. The library
uses D-Bus to route the notification to org.freedesktop.Notifications
D-Bus service. So package needs to build-require an
org.freedesktop.Notifications server implementation.

Now tha packaging question: How to express this dependency?

I discovered that many org.freedesktop.Notifications server packages
provide `desktop-notification-daemon' RPM symbol. I think it would be
much better if the dependency was expressed as, e.g.,
`dbus(org.freedesktop.Notifications)'. It would be more generic and it
would allow to express the dependencies not only for desktop
notificiations servers. The Provides symbols could be generated by
rpm-build scripts from the D-Bus service definition files.

Is this idea worth for pursuing?

-- Petr

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to