-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow compiling with system-installed loguru #154
Comments
Thanks for contributing! I am also a maintainer of some packages on Void Linux, so I'm glad to help other packagers. You may have noticed in the documentation I have created that I strongly prefer Meson as the build system. To be honest, I would have liked to remove CMake support altogether, but I understand that it must be kept for compatibility.
I understand that I declared official support for both build systems, so they should both be capable of building j4-dmenu-desktop in all supported environments including package builders of different distros. But I would still prefer packagers to switch to Meson, because it's easier to maintain for me and, in my personal opinion, it is a more capable build system. The cross and native file mechanism, wrap dependencies, a clear host/target distinction & more make Meson a better choice for packagers in my opinion.
|
I did already package loguru and am waiting for review, so this should not be the problem. I have no strong opinion RE build system. Am I right, that meson does not require any flags to use system installed catch and loguru? I can switch without any problems I suppose. I propose that you deprecate cmake support if it's too much of a hassle to maintain. Honestly, I always wonder why people support two build systems. |
Oh wow. I've looked more into the loguru situation. The latest release doesn't even have a build system! It has been added to Feature wise, I've been pretty satisfied with loguru. It is small and it does what I need. But the last commit was made a year ago, the last release was made 5 years ago, and I see the problems with packaging. They say "If it ain't broke, don't fix it" and it is still fully functional, but I will have to consider finding an alternative. |
Yeah, sorry about that. A switch to spdlog will probably make such package obsolete. But this switch should simplify packaging. See #160 for my rationale for the change. Disclaimer: I haven't yet made the promised |
Loguru has been replaced by spdlog: 5b5542f. |
Ah, no worries. I'll switch the build system to meson and use spdlog. |
I am the Fedora package maintainer of j4-dmenu-desktop.
To allow distributions to package the upcoming release, there has to be a way to use a system-installed loguru. Similarly as with catch2.
Aside: It's a little unfortunate that loguru was chosen, because it's not packaged in debian derivates (AFAICT) or Fedora and there is no released version. But we'll deal with that.
The text was updated successfully, but these errors were encountered: