From rmh3093 at gmail.com Mon Mar 8 03:27:11 2010 From: rmh3093 at gmail.com (Ryan Hope) Date: Sun, 7 Mar 2010 22:27:11 -0500 Subject: [cl-gtk2-devel] gtk2 on OSX Message-ID: <48f7fe351003071927h13750bao93106f7889db40c0@mail.gmail.com> Could you please support gtk2 builds on OSX by searching for .dylib in addition to .so files? -Ryan From kalyanov.dmitry at gmail.com Mon Mar 8 19:27:27 2010 From: kalyanov.dmitry at gmail.com (Kalyanov Dmitry) Date: Mon, 8 Mar 2010 22:27:27 +0300 Subject: [cl-gtk2-devel] gtk2 on OSX In-Reply-To: <48f7fe351003071927h13750bao93106f7889db40c0@mail.gmail.com> References: <48f7fe351003071927h13750bao93106f7889db40c0@mail.gmail.com> Message-ID: <201003082227.32045.Kalyanov.Dmitry@gmail.com> On Monday 08 March 2010 06:27:11, Ryan Hope wrote: > Could you please support gtk2 builds on OSX by searching for .dylib in > addition to .so files? If you provide a patch, I'll add it to cl-gtk2, but I cannot myself write it - I don't have a Mac on which to develop and test such change. If you intend to write a patch, you should search for define-foreign-library forms in source tree and add (:darwin ...) clause with correct library name. If you can't write a patch, I'll write it myself, but you'll have to test it. ---- ???????? ??????? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: From tkpapp at gmail.com Wed Mar 31 15:52:33 2010 From: tkpapp at gmail.com (Tamas Papp) Date: Wed, 31 Mar 2010 17:52:33 +0200 Subject: [cl-gtk2-devel] cl-gtk2 w/ cl-cairo2 Message-ID: <20100331155233.GB12510@daedalus> Hi cl-gtk2 developers, I am the author of the cl-cairo2 library (with significant contributions from others), and I was very happy to see it mentioned on the cl-gtk2 page. cl-cairo2 has some basic functionality for displaying graphics using X11. It basically creates an xlib image surface in cairo, draws on that, and copies that to a window whenever there is a change or X asks for redrawing. This code was written by my in plain vanilla X (manually implemented event loop etc) with a few Lisp wrappers, and it is not very robust. I was wondering if it would be possible to do a better job with cl-gtk2. Since cl-cairo2 is mentioned on the project page, maybe someone here could point me to code that does something related so that I could learn how to do this. I have to admit that I am pretty clueless about X and Gtk programming in general. Thanks, Tamas From kalyanov.dmitry at gmail.com Wed Mar 31 19:26:16 2010 From: kalyanov.dmitry at gmail.com (Kalyanov Dmitry) Date: Wed, 31 Mar 2010 23:26:16 +0400 Subject: [cl-gtk2-devel] cl-gtk2 w/ cl-cairo2 In-Reply-To: <20100331155233.GB12510@daedalus> References: <20100331155233.GB12510@daedalus> Message-ID: <201003312326.23627.Kalyanov.Dmitry@gmail.com> On Wednesday 31 March 2010 19:52:33, Tamas Papp wrote: > Hi cl-gtk2 developers, > > I am the author of the cl-cairo2 library (with significant > contributions from others), and I was very happy to see it mentioned > on the cl-gtk2 page. > > cl-cairo2 has some basic functionality for displaying graphics using > X11. It basically creates an xlib image surface in cairo, draws on > that, and copies that to a window whenever there is a change or X asks > for redrawing. > > This code was written by my in plain vanilla X (manually implemented > event loop etc) with a few Lisp wrappers, and it is not very robust. > I was wondering if it would be possible to do a better job with > cl-gtk2. Since cl-cairo2 is mentioned on the project page, maybe > someone here could point me to code that does something related so > that I could learn how to do this. I have to admit that I am pretty > clueless about X and Gtk programming in general. cl-gtk2 integrates with cl-cairo2 by providing a couple of wrappers that create cairo surfaces and contexts and then all drawing is done by calling cl- cairo2 functions. There is a demo that uses cl-cairo2 (http://github.com/dmitryvk/cl- gtk2/blob/master/cairo/cairo.demo.lisp). This demo creates a window which includes widget painted with cl-cairo2. PS. Thanks for a good binding to Cairo! ---- ???????? ??????? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: