From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9624 invoked by alias); 11 Sep 2007 13:57:52 -0000 Received: (qmail 9613 invoked by uid 22791); 11 Sep 2007 13:57:51 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Sep 2007 13:56:56 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l8BDurFV000443; Tue, 11 Sep 2007 09:56:53 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l8BDurYZ027113; Tue, 11 Sep 2007 09:56:53 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l8BDuiEA021257; Tue, 11 Sep 2007 09:56:52 -0400 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id A38FD8001FF; Tue, 11 Sep 2007 09:56:44 -0400 (EDT) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id l8BDui6T018181; Tue, 11 Sep 2007 09:56:44 -0400 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id l8BDuiXV018180; Tue, 11 Sep 2007 09:56:44 -0400 Date: Tue, 11 Sep 2007 14:38:00 -0000 From: "Frank Ch. Eigler" To: budi ono Cc: sid@sourceware.org Subject: Re: how to add component in SID Message-ID: <20070911135644.GA31319@redhat.com> References: <64299.14397.qm@web33203.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64299.14397.qm@web33203.mail.mud.yahoo.com> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00020.txt.bz2 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