<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Sean Middleditch wrote:<br>
<blockquote
cite="mid1083077338.26097.10.camel@support02.civic.twp.ypsilanti.mi.us"
type="cite">
<pre wrap="">On Tue, 2004-04-27 at 10:41, Tako Schotanus wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Well HAL (<a class="moz-txt-link-freetext" href="http://freedesktop.org/Software/hal">http://freedesktop.org/Software/hal</a> for those people who
like me were maybe wondering where it could be found) seems to be only
for 2.6 kernels so that's no option.
</pre>
</blockquote>
<pre wrap=""><!---->
Currenly only for 2.6 kernels; it's intended to work anywhere that
OS-specific bits are written. So that HAL-using apps can run on BSD,
Solaris, whatever. Just needs porting. But that's rather off topic
here, I guess. ;-)
</pre>
<blockquote type="cite">
<pre wrap="">Besides the fact that I think that small example that show off how
dbus works should be found _here_ instead of having to look around
(and look _hard_!) to find them.
It seems to be pretty hard to to just say: want to use dbus? Well just
take a look at <this code> to get an idea or: just insert <this code>
into your application as a simple starting point.
</pre>
</blockquote>
<pre wrap=""><!---->
There are examples in the D-BUS tarball, IIRC.
</pre>
</blockquote>
Ok, but usefull enough to take a look at even without needing a 2.6
kernel? I'll take a look at it.<br>
<blockquote
cite="mid1083077338.26097.10.camel@support02.civic.twp.ypsilanti.mi.us"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Please don't take this as criticism, I wouldn't mind writing a couple
of simple examples myself if I would only understand how everything
works. It's just that, while I know dbus isn't used yet by a large
group of people, there _must_ be somebody out there that has written
code that he thinks could help other people understand more how things
work!
</pre>
</blockquote>
<pre wrap=""><!---->
The documentation could use some work... If you want to write a
tutorial, that would be great. :) Just remember that until 1.0 is
released, nothing says the API won't change. This is probably one
reason that nobody has put a lot of time into a tutorial yet...
</pre>
</blockquote>
Well, a tutorial might be a bit too much for a pre-1.0 version, but
even so, many OSS project never reach a 1.0 so I can't know how long to
wait for decent documentation ;-)<br>
<br>
But for myself I was thinking more of either some extensively
documented examples or maybe a HOWTO or something like that (writing
non-code documentation never has been my strong point ;-)), just
something to help people on their way. There must have been lots like
me who just downloaded the tarball to see if it could be used somewhere
or how it works. And then give up because, okay, it compiles, it
installs, it tests okay..... but now what?<br>
<br>
Even a tiny document saying saying "imagine you have a service which
you want to control with DBus, it has a start(), a stop() an
isStarted() and OnStart()/onStop() methods/signals. Now this is what
you would do: ......" would help enormously to get people over that
first obstacle. Once people see it and think "wow this really works!"
they might be more willing to spend some time to really get to know it
all.<br>
<br>
<blockquote
cite="mid1083077338.26097.10.camel@support02.civic.twp.ypsilanti.mi.us"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Cheers,
-Tako
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>