quicklisp / quicklisp-projects

Metadata for projects tracked by Quicklisp.
http://www.quicklisp.org/
415 stars 47 forks source link

Please add cl-cmark #2230

Closed HiPhish closed 1 year ago

HiPhish commented 1 year ago

Repositories:

This library depends on the native libcmark library, the official reference implementation of CommonMark. I intend to provide versioned releases rather than just following the master branch, so if there is anything I can do to make the update process automatic please let me know.

I have not yet commited to a stable release, so please let me know if there is anything missing for a proper inclusion in Quicklisp.

quicklisp commented 1 year ago

Is there an easy way to install libcmark on debian?

HiPhish commented 1 year ago

On Monday, November 14, 2022 8:29:20 PM CET Zach Beane wrote:

Is there an easy way to install libcmark on debian?

I haven't tried it, but cmark is in the Debian packages:

https://packages.debian.org/bullseye/cmark https://packages.debian.org/bullseye/libcmark0.29.0 https://packages.debian.org/bullseye/libcmark-dev

quicklisp commented 1 year ago

I'm using the latest debian packages, but I still get an error about being unable to load any of the alternatives. I don't quite understand the issue yet.

HiPhish commented 1 year ago

Is the problem with the C library in Debian itself or with my Lisp bindings?

quicklisp commented 1 year ago

Ok, it turns out to work if I make a symlink for libcmark.so.0 to my versioned so file. The package only installs libcmark.so.

On Sat, Nov 26, 2022 at 7:46 PM Alejandro Sanchez @.***> wrote:

Is the problem with the C library in Debian itself or with my Lisp bindings?

— Reply to this email directly, view it on GitHub https://github.com/quicklisp/quicklisp-projects/issues/2230#issuecomment-1328142336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPNLMDDJ4JQSPWYUWDNS3WKKVNRANCNFSM6AAAAAARGPOCVA . You are receiving this because you commented.Message ID: @.***>

phoe commented 1 year ago

Sounds like https://github.com/HiPhish/cl-cmark/blob/14d63fb0c6a79144d0327851c279a0a4a6c98fbc/src/libcmark/main.lisp#L8 could use a "libcmark.so" in addition to the other library names.

HiPhish commented 1 year ago

Oops, you are right. The libcmark should have been libcmark.so. I have fixed it now and pushed to the current master.