momentarylapse / tsunami

A simple but powerful audio editor
GNU General Public License v3.0
77 stars 6 forks source link

Some absolute path are hardcoded #5

Closed ycollet closed 1 year ago

ycollet commented 2 years ago

Some absolute pathes are hardcoded in some code. So, if you set and installation path via --prefix the program doesn't work:

momentarylapse commented 2 years ago

Yes, that restriction is due to my cheap build system. And my 2 users have not complained so far... I've been very busy recently. Hopefully next week I can have a look. It might be an easy fix, but I don't want to promise. For now, if you want to try the program, you can run it without installing. Just make it and run ./tsunami in the repository root folder. Thanks for your curiosity :)

momentarylapse commented 2 years ago

Well, it took a bit longer, due to life. But I finally managed to upgrade the build system.

Now, a CMakeLists.txt is generated automatically, and should allow regular cmake usage including --prefix (at least it worked on my machine).

The src/lib/hui/Application.cpp will now respect the prefix via macros (even when using the clumsily provided Makefiles that are now mostly obsolete). The .desktop file will be changed when installing.

I would very much appreciate it, if you could try it out and complain if it fails. Thanks!

ycollet commented 1 year ago

Thanks a lot !