Index | Thread | Search

From:
Корякин Артём <karakin2000@gmail.com>
Subject:
[NEW/wip]: compiledb —— tool for generating Clang's JSON Compilation Database
To:
ports@openbsd.org
Date:
Wed, 10 Jul 2024 02:09:31 +0300

Download raw body.

Thread
Clangd language server can be used inside editors with language clients
like eglot in Emacs.  It gives IDE-like features support, for example
M-x eglot-rename with cursor at variable would rename matching specific
variable rather than regex substring. But Clangd also need compilation
database to know about included and linked files.

Repo on github[1] states that it is for GNU Make based build systems, but
to me it seems that it works with BSD make when invoked like this:
$ make clean
$ make | compiledb -p -

I may try to write short pkg-readme about this if needed.
If you still not sure that it work this way —— please test.

Depends on py-click and py-bashlex.

I submitted py-bashlex port before.
There is one small patch I added because of which I dont need to port
third rarely used python dependancy package.

License is GPLv3+

[1]: https://github.com/nickdiego/compiledb



File .tar.gz file attached as application/octet-stream mime-type.

Best regards, Artsiom.
I hope to submit more complex ports like newer cad/KiCAD or
audio/clementine or audio/strawberry one day in the future.