[Openmcl-devel] X11 from scratch
Taoufik Dachraoui
taoufik.dachraoui at wanadoo.fr
Fri Oct 16 12:39:29 PDT 2009
Dear Gary,
I already have CLX installed but I would like to use the Mac OS X11
delivered libraries (not only XLib).
If I undersstood, CLX is an implementation of X11 it is not based on
the libraries delived with MAC OS X11.
I am doing this partly to learn and practice this kind of taking.
Kind regards
Taoufik
On Oct 16, 2009, at 6:58 PM, Gary Byers wrote:
>
> Taoufik Dachraoui wrote:
>> Dear,
>>
>> I would like to create an X11 package from scratch using FFI and
>> need some help
>>
>> I did create an X11/C/populate.sh file in the headers directory
>> with all .h files in /usr/include/X11/ directory.
>>
>> In ccl prompt I did the following:
>>
>> ccl> (require "PARSE-FFI")
>> ccl> (ccl::parse-standard-ffi-files :X11)
>> ccl> (use-interface-dir :X11)
>>
>> and now I do not know what to do.
>>
>> I would like to create an X11 package and use as following:
>>
>> > (require :X11)
>> > (xcreatewindow ...)
>>
> Write code ?
>
> Some people find it awkward to deal with X11 at the FFI level and
> prefer to use an
> interface layer called "CLX"; there's a slightly old version of CLX
> for CCL in
>
> <ftp://clozure.com/pub/CLX/clx-060601.tar.gz>
>
> As far as I know, that code basically works; there are several
> compiler warnings
> generated when it's compiled and I think that I actually cleaned
> them up fairly
> recently but must have gotten distracted before packaging those
> changes up.
>
> Several years ago, Gilbert Baumann converted the CLX manual to HTML;
> it's
> still available online at:
>
> <http://www.labri.fr/perso/strandh/Teaching/MTP/Common/CLX-man/>
>
>
>
>
>> Or use asdf to load the :X11 package
>>
>> Thank you for your help
>> Taoufik
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel
>>
>
>
More information about the Openmcl-devel
mailing list