What are the generated files or folders at ./unix/ for?

Previous Topic Next Topic
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

What are the generated files or folders at ./unix/ for?

I see that when I build LibreCAD from source code, it generates some files or folders in ./unix like:

- appdata/ (if I am not wrong this is for get the app center to list LibreCAD)
- resources/
- ttf2lff

What are they for? If i move the binary out of the ./unix dir, LibreCAD executes. Would it be safe to distribute just that "librecad" binary file omitting the listed directories and files?

Thank you,
Fabian (cfoch, duckcfoch here because I think I missed-typed my e-mail when registering)
Reply | Threaded
Open this post in threaded view

Re: What are the generated files or folders at ./unix/ for?


I've seen your messages on IRC, but when you are offline answering is not possible there.
You can join us on Zulip Chat.
On Zulip communication is possible even when you are offline.
All messages are kept on their servers and when you login again you see everything that happens while you were offline.

Concerning your questions, the resource folder contains, as its name tells, resources. There are fonts, templates, part libraries, hash patterns and translations.
So LibreCAD may run without these files, but you will miss a lot of comfort and features without them.
The ttf2lff executable is a tool to convert TTF fonts into LibreCAD's font format LFF.
This is only needed, when someone wants to use a font that isn't available in resource folder.
But ttf2lff can't convert all kind of TTF fonts, it has to be an outline font.

If you have more questions about development, I recommend Zulip.
You need patience there too, consider various time zones and personal schedules, but you will get answers, even when you are offline.

investing less than half an hour into Search function can save hours or days of waiting for a solution