From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bill Schottstaedt" Newsgroups: gmane.lisp.guile.user Subject: Re: What new libraries or functionality does Guile need? Date: Sat, 19 Jul 2008 11:10:12 -0700 Message-ID: <20080719180348.M46975@ccrma.Stanford.EDU> References: <300493.30487.qm@web37903.mail.mud.yahoo.com> <877ibibtaf.fsf@mithrandir.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: ger.gmane.org 1216491035 32399 80.91.229.12 (19 Jul 2008 18:10:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jul 2008 18:10:35 +0000 (UTC) To: "Maciek Godek" , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jul 19 20:11:24 2008 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KKGtq-0006WD-6a for guile-user@m.gmane.org; Sat, 19 Jul 2008 20:11:18 +0200 Original-Received: from localhost ([127.0.0.1]:55459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKGsx-00027o-14 for guile-user@m.gmane.org; Sat, 19 Jul 2008 14:10:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKGss-00026h-G5 for guile-user@gnu.org; Sat, 19 Jul 2008 14:10:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKGsr-00025i-8P for guile-user@gnu.org; Sat, 19 Jul 2008 14:10:18 -0400 Original-Received: from [199.232.76.173] (port=50037 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKGsr-00025Z-3O for guile-user@gnu.org; Sat, 19 Jul 2008 14:10:17 -0400 Original-Received: from smtp1.stanford.edu ([171.67.22.28]:46430) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KKGsq-0005B4-Rx for guile-user@gnu.org; Sat, 19 Jul 2008 14:10:17 -0400 Original-Received: from smtp1.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 4DD842D6C25; Sat, 19 Jul 2008 11:10:15 -0700 (PDT) Original-Received: from cm-mail.stanford.edu (cm-mail.Stanford.EDU [171.64.197.135]) by smtp1.stanford.edu (Postfix) with ESMTP id 169A22D6B45; Sat, 19 Jul 2008 11:10:15 -0700 (PDT) Original-Received: from ccrma.stanford.edu (ccrma.stanford.edu [171.64.197.141]) by cm-mail.stanford.edu (8.13.8/8.13.8) with ESMTP id m6JIACK3012226; Sat, 19 Jul 2008 11:10:12 -0700 Original-Received: from ccrma.Stanford.EDU (localhost.localdomain [127.0.0.1]) by ccrma.stanford.edu (8.12.11.20060308/8.12.5) with ESMTP id m6JIACZT008197; Sat, 19 Jul 2008 11:10:12 -0700 In-Reply-To: X-Mailer: Open WebMail 2.41 20040926 X-OriginatingIP: 67.161.21.103 (bil) X-Virus-Scanned: ClamAV 0.92.1/7754/Sat Jul 19 09:00:46 2008 on cm-mail.stanford.edu X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6680 Archived-At: > that it could be wiser to write a semi > automatic tool for making guile bindings from C headers For gl.c in the snd (or libxm) tarball, that's tools/makegl.scm, using the predigested header info in gldata.scm. gl.c needs only xen.[ch], I think, so you could easily extract it from Snd. There's a similar (but much fancier) script for the Glib/Gdk/Gtk bindings in xg.c: makexg.scm which uses xgdata.scm. snd-gl.scm has a few examples of using openGL in Guile. I just remembered, you'll also need mus-config.h.