Closed srakitnican closed 1 year ago
Also, please note that I've removed boost_lib_suffix
as I don't know a proper way of setting it, and it was not necessary in my case.
Why is this needed? Didn't Fedora accept the package as is?
FYI, I'm heading out on a backpacking trip tomorrow and will be out of communication until August 6th.
All separate project libraries should be shared when packaging for a distribution, where it is reasonable to do so. Boost is a common library, it is available and used by many other software already packaged. So it should be shared unless you have a good reason not to, for example library contains some modifications that are not upstreamed. Shared libraries share computer resources, they are easier to address security issues and software in general then uses less disk space.
Also, take a look at this: https://www.spinics.net/lists/fedora-devel/msg233948.html
Not sure how do you feel about flatpak, but it might be possible soon to build one from Fedora package.
Right, I understand the reasons for using system libs. However, boost is an exception. 99% of the code is in the header files. This negates nearly all of the benefits. Most changes to boost libraries, security fixes or otherwise, require that you rebuild the software. There is a little bit of library code with boost but it's very small so the space savings is also negligible. It just does not seem worth the added effort for boost. I can put my time to better use.
See #30
I understand that it was complicated for you to check if boost is present on the system automatically so you've removed it 97e5ae8c416e7d0295b38ad13f6ab64977e2c78a, how about we toggle it with an already present switch
disable_local
. To build CAMotics without boost all I have to do is following:Now if we could somehow tie this up to
disable_local
in an elegant way, that would be awesome. What do you think about that?