libera/#commonlisp - IRC Chatlog
Search
12:08:53
bitblit1
If I were to (probable), make a window manager entirely in common lisp, what should I make that in in your opinion
12:09:52
jackdaniel
I don't know; but you may look at this project for inspiration: https://github.com/admich/Doors
12:13:29
beach
bitblit1: You don't need FFI to make a window manager. And you may want to check out the Eclipse window manger written by my students many years ago.
12:14:23
beach
bitblit1: Metamodular doesn't have an SSL certificate, because I would have no idea how to give it one, and I am busy with other stuff.
12:22:21
bitblit1
beach: Yeah, just install CERTBOT from your package manager (I suppose you don't use windows or MacOS) and run the service.
12:28:25
cpli
https://0x0.st/H-ab.txt we're writing a cffi wrapper for libinput, passing the double pointer to <body>
12:33:22
cpli
didn't mean to paste all of https://www.freedesktop.org/software/libevdev/doc/1.4/group__uinput.html#gaf14b21301bac9d79c20e890172873b96 into chat
12:42:22
cpli
buffet, ElKowar and i are writing a cffi wrapper for libinput but this definition: https://0x0.st/H-ab.txt is causing us trouble, https://github.com/TeMPOraL/cl-sqlite/blob/master/sqlite.lisp#L91-L98 identically uses `cffi:with-foreign-object`... for me it currently bitshifts the evdev pointer by 12 to the right???
12:43:28
beach
bitblit1: contrapunctus has been working on Closos applications and you might want to check what has been accomplished and what is planned for in case you want to work on that.
12:45:51
jackdaniel
then you call alloc on (quote (:pointer (p-uinput)) -- again shadowing the binding p-uinput
12:46:50
cpli
jackdaniel: oh, yes we've been debugging this since yesterday, let me clean the definition up some more first
12:49:11
cpli
jackdaniel: evdev is a class with a slot `foreign-object` containing a cpointer to the libevdev cstruct
12:50:17
contrapunctus
bitblit1: the suggested projects are tracked here - https://codeberg.org/CLOSOS/projects/issues
12:57:43
contrapunctus
bitblit1: I'll have a look at it when I get home. I think it should be https://codeberg.org/contrapunctus/anathema
12:59:44
bitblit1
Oh that's perfect. However, the link in the [CLOSOS-PROJECTS](https://codeberg.org/CLOSOS/projects/) repo in codeberg is broken, and also the [CLIM-APP-BASE](https://codeberg.org/contrapunctus/clim-app-base)
16:01:29
pjb
cpli: well, it may be a C problem or a FFI problem. You could first write a C program to make sure you understand how to use the C library, and then reproduce it in lisp. That's how I did it when I worked with pkcs11 libraries.
21:23:37
jeosol
I wanted to ask for any one using Mac Book Pro, I normally only use Linux so installing sbcl (building from source) is what I normally follow. What is the procedure to install on a Mac Book Pro. I wanted to help someone install SBCL. I see MacOS(Darwin) on the download page, not sure. Thanks
21:48:17
pjb
jeosol: note: macports downloads an old (validated) version of sbcl, and compiles more recent sources with it.
0:01:07
cpli
i understand how to use the C library. in their code TeMPOraL does the same with an identical out-argument and using similar code does not work on any of our three laptops: https://github.com/TeMPOraL/cl-sqlite/blob/master/sqlite.lisp#L91-L98