On 2026/01/28 2:15, Luya Tshimbalanga wrote:
On 2026-01-25 23:47, Cristian Le via devel wrote:
The case of c-blosc is weird because they have the CMake config files [5] and
iiuc conan is making some auto-generated config files from who knows what
instructions. The proper solution is to contribute to c-blosc with a proper
CMake config file (it can be a much simpler patch than [5]). And since there
exists a consumer and something to provide compatibility with, we can focus on
that first. If you want a quick downstream-only solution then we can simply
create a fake c-blosc CMake config and wrap thw pkgconfig around it, ping me if
you need a snippet for that.
[5]:https://github.com/Blosc/c-blosc/pull/281
Let's get the snippet then so we can progress from there.
Sorry it took me so long, but here [6] is the PR with the mimicked
config file. I have just done a simple test using the simple.c example
in the blosc repo and it seems to work as intended.
While doing this I've noticed two things. I did not find any reference
on how they have define the c-blosc dependency in the conan project.
Granted I am very much unfamiliar with how the conan projects are
defined, but at the very least I would have expected a mention as a
required dependency. And the other thing, the only usage reference I
found was here [7], which seems to be before a renaming of the
dependency. According to the conan recipe [8], that may not be defined
and it expands to empty on their side. So, is blosc a real dependency
for them?
About your other message about disabled LuxDeps, I am not sure what the
patch there is, but I do not expect `-Dc-blosc_DIR` do be useful, other
than bypassing the `find_package`. Since the project does not actually
properly import the targets, it might work, but be careful about
`-Dzstd_DIR`, that will most likely break stuff.
[6]: https://src.fedoraproject.org/rpms/blosc/pull-request/8
[7]:
https://github.com/LuxCoreRender/LuxCore/blob/33c964d18f4467dd68b0b509db5e606484bbea0a/tests/luxcoreimplserializationdemo/CMakeLists.txt#L34
[8]: https://conan.io/center/recipes/c-blosc
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new