This is the mail archive of the
sid@sourceware.org
mailing list for the SID project.
Re: how to add component in SID
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: budi ono <boesoex at yahoo dot com>
- Cc: sid at sourceware dot org
- Date: Tue, 11 Sep 2007 09:56:44 -0400
- Subject: Re: how to add component in SID
- References: <64299.14397.qm@web33203.mail.mud.yahoo.com>
Hi -
On Mon, Sep 10, 2007 at 11:37:51PM -0700, budi ono wrote:
> I would like to add some component in SID (example: virtual LCD).
Great. You may find the hw-lcd-* and hw-visual-lcd components useful
as a reference (if not outright duplicative).
> can I do that? is there any documentation about that?
There is some documentation in the source tree (src/sid/doc), and lots
of sample working components. This includes ones written in native
C++, for which you need to #include "sidcomp.h" and build in an
abi-compatible way. Adding a new sibling directory under
sid/components/ by cloning/renaming a previous small one is a good way
to start.
Also, some components are written in tcl/tk (which are bridged
transparently into the system), and for them you just install a
suitably named source file under ../share/sidcomp.
- FChE