In my last related post on the topic, hughsie rightfully suggested that dbus dependencies be scoped system vs session. So, here we are with an implentation that does
Provides: dbus-session(...)
and
Provides: dbus-system(...)
for dbus session and system services respectively.
See http://rdieter.fedorapeople.org/dbus/
Modulo any bugs or bikeshedding over the particular naming (any suggestions?), I'll stew things over another week or so before sending this upstream for consideration.
Showing posts with label rpm. Show all posts
Showing posts with label rpm. Show all posts
Thursday, May 31, 2012
Monday, March 26, 2012
automatic rpm dependencies for dbus services
I was querying around the other day trying to determine what items in fedora were providing particular dbus services, and it just occured to me that this might be something nice to expose via rpm dependencies. First step is to determine Provides, and here's my first try.
To test, drop dbus.attr into /usr/lib/rpm/fileattrs/ and dbus.prov into /usr/lib/rpm/, and build some pkg that includes something matching /usr/share/dbus-1/services/*.service. For example, I tested with ksecrets, and I end up with a pkg that has a new provides:
dbus-service(org.freedesktop.secrets).
To test, drop dbus.attr into /usr/lib/rpm/fileattrs/ and dbus.prov into /usr/lib/rpm/, and build some pkg that includes something matching /usr/share/dbus-1/services/*.service. For example, I tested with ksecrets, and I end up with a pkg that has a new provides:
dbus-service(org.freedesktop.secrets).
Subscribe to:
Posts (Atom)