Hi Andreas,

Le 26 sept. 07 à 09:28, Andreas Schik a écrit :

> Hi all,
> I wonder whether the Etoile project would be interested in  
> integrating support
> for HAL and DBus.

I think so. At least it offers the possibility to immediately  
leverage existing Freedesktop work rather than rewriting every pieces  
of this abstraction layer in SystemConfig framework.

As a side note, /Etoile/Services/Private/System implements reboot,  
shut down and sleep with DBus requests passed to HAL.  It's currently  
the only way to do it cleanly because System is run as the user  
session and as such cannot directly ask the host system to reboot,  
shut down etc. HAL daemon by being run as root is precisely able to  
handle these operations.
However this should change in the future, System will be reworked  
into a framework providing session nesting (like system/init, user,  
project sessions). At this point, running system/init session with  
root permission should become possible.

> I am currently not quite up-to-date to the latest
> developemnts in Etoile. Maybe there already exists something which  
> I have
> missed.

No, in System I just use glib DBus wrapper to message HAL. It isn't  
truly nice and involves glib dependency, but writing an ObjC DBus  
wrapper would be a lot of work so I'm not really convinced it's worth  
the investment for us. If someone decides to write one, we are surely  
going to be interested by bundling it with Étoilé though.

> I have made up something simple for my battery menulet, which could  
> serve at
> least as a basis for further development I think. Currently, it  
> fulfils the
> basic needs for my menulet and is not in the shape to be put into a  
> separate
> framework, but this may not be too difficult to achieve. I want to  
> do it
> anyway for another project and if you are interested I would  
> 'donate' it to
> the Etoile project.

We are always interested by new code, so thanks for offering to  
donate it to the project. If you submit it we'll take a loot at it  
and see whether it is interesting for us and meet our needs.

Cheers,
Quentin.


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à