[aur-general] Packages that include other project code
eschwartz at archlinux.org
Mon Jul 15 15:05:37 UTC 2019
On 7/15/19 10:57 AM, Brett Cornwall via aur-general wrote:
> I'd like a sanity check!
> Waybar has a dependency on a C++ logging library called spdlog. This
> project depends on fmt and by default uses an included copy. I've raised
> a ticket about removing this but it doesn't look like the developer is
> interested .
> In this case, I feel it expedient to patch out the logic to use the
> bundled headers  and outright remove the directories . Am I
> correct in this conclusion or is this too far-reaching?
>  https://github.com/gabime/spdlog/issues/1146
Upstream has an option to build using the system spdlog, which is
perfectly reasonable. We should use that configure-time option.
There's no reason to also use downstream patches which can get out of
date, just to remove source code that isn't used. Debian does this all
the time, and it's one of the reasons it's so hard to understand
anything at all about how Debian packages are constructed. Their
rationale for doing so is, I think, that it offends their morality to
know that the build system is at all capable of using vendored code.
Bug Wrangler and Trusted User
More information about the aur-general