Replies: 1 comment
-
Great :) For the protocol: In general, applications should always use distro-provided libraries, because distros maintain them (security, bugfixes, ...), and users receive important updates very fast and automatically. When libs are bundled, this doesn't work, and we end up w/ lots of duplicated work. Another aspect is, there may be reasons for the distros to change something in those 3rdparty libs, so it fits better into the ecosystem - that also won't work w/ bundling. And there's also risk of various kinds of library(-version) clashes.
The package's build system (cmake files) should install all files exactly as they'll have to be in the final system From here, the higher order build systems (distro's package build machinery) can pick it up.
Does the dev-package really need to be installed at runtime ?
Great :)
Okay, valid exception case. We should - from distro perspective - consider this not a traditional library. |
Beta Was this translation helpful? Give feedback.
-
This discussion was opened following this reddit discussion (see messages exchanged with metux-its),
and will serve as a place for discussion about this.
The objectives of this discussion are: how can Hello ImGui be ready so that an app developed with it may be included as part of a linux distro.
Points that were raised by metux-its:
"link third parties library dynamically"
A commit was pushed about this topic. Under linux, third parties (i.e. Gflfw and/or SDL) now use system wide libraries.
"Deploying anything outside the Distro's package management is a bad idea"
Actually, at this moment, HelloImGui does not deal with the deployment under Linux
At the moment, deploying an app under Linux requires
It is up to the app developper to handle this installation via a package manager, CPack or anything else.
Note about ImGui Bundle: ImGui Bundle is built on top of HelloImGui and does include some more 3rd party packages (small widgets libraries built on top of ImGui).
Some are based on fork from the original version, because a support for Python bindings was added, as well as patches for HighDPI support. PR were posted to these repos when possible. Another similar discussion about this repo can also be opened.
Beta Was this translation helpful? Give feedback.
All reactions