Service files in lib/datadir

Richard Hult richard at imendio.com
Mon Dec 20 13:09:47 PST 2004


Mark McLoughlin wrote:
> On Mon, 2004-12-20 at 17:56 +0100, Richard Hult wrote:
> 
>>>	Why aren't they shareable across different archs? At the moment they
>>>only have Name/Exec, right?
>>
>>They point to an executable which isn't shareable, which I think means 
>>that you need different service files for different machines that share 
>>the same /usr/share directory. 
> 
> 
> 	I don't understand that - how are the executables not shareable? How
> are .service files different from .desktop files in that respect?

Hm, right. I'm probably confused to what shareable means. If you need 
different executables, I guess you'd just put them in the same path on 
any shared boxes and it would just work (or put them anywhere if a 
relative path is used in the service file).

>>I'm not sure if that's a problem, I'm more concerned with the location
>>being changed if not necessary.
> 
> 
> 	Sure, but it sounds to me like .service files don't contain platform
> specific data, and on that grounds do actually belong in $(datadir). Now
> is the time to fix stuff like that.

Agreed, if there are no problems it would be good to fix this sooner 
rather than later, even if it is a bit of an annoyance for stuff that 
already uses dbus.

/Richard

-- 
Imendio AB, http://www.imendio.com/


More information about the dbus mailing list