-
Notifications
You must be signed in to change notification settings - Fork 36
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
Please include Protobuf into conan-center #381
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
/cc @zamazan4ik |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@uilianries are we done with it? :) |
Yes! We could request for the inclusion on Conan center 😄 |
Please go ahead then :) |
I just requested the inclusion 3 days ago 😄 |
NOTE: protoc_installer couldn't be just |
status update: |
@danimtb I think we're ready to go. I've backported changes to 3.5.2 branch, and 3.6.1 is also done. I don't think we need 3.5.1 if we have 3.5.2 (I don't see the point into supporting two minor releases). so, please take a look. |
@danimtb Any news? 😄 |
I updated both conan-protobuf and conan-protoc_installer https://github.com/bincrafters/conan-protobuf/pulls |
Hi! Update: We are currently discussing the dependency relationship among protobuf, protoc and consumers of protobuf library. We are making some progress to have it included in Conan Center but will still require some work. Thanks @uilianries for updating the recipes. |
Currently the protobuf recipe exposes all of libprotobuf, libprotobuf-lite, and libprotoc to consumers. As I've discovered, linking to both libprotobuf and libprotobuf-lite will result in undefined behavior. Additionally, linking to libprotoc is not a common use case. To resolve these problems, would this design be acceptable?
|
/cc @jgsogo |
Hi! I think that this should be the dependency graph associated with these packages (meaning of arrows is As @elizagamedev says, we cannot link both with |
Hi @jgsogo, thanks for you help! 😸 So we could create two packages as well, but protoc_installer will depend on protobuf, if I get it. Also, we will need to add an option for protobuf-lite and exclude libprotobuf from CONAN_LIBS, but if on same build the customer requires protoc and protobuf there will be a problem. Will we need to create a new package for libprotobuf-lite only? 🤔 As libprotoc is only required by protoc, we could use static link. |
Yes,
If the consumer just want So the problem will be if the consumer requires both of them. We will have a diamond and we will transitively link to One more issue we could have with this library is how to deploy the CMake macros |
Agreed that |
Now in conan center |
There are still several huge issues, aren't there? Why was it added to conan-center now? |
Most simple cases are working and protobuf is very popular. We can continue fixing and updating. |
okay, as we have other issues to track, can we close this one? |
I think this can be closed as the packages are already in Conan Center |
In order to move the creation of a gRPC recipe further, it would be really helpful to have Protobuf in conan-center. Please consider making an inclusion request for Protobuf.
Furthermore there seems to quite some demand for it anyway 😄
https://croydon.github.io/conan_inquiry/#!stats
The text was updated successfully, but these errors were encountered: