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
[protobuf] Update protobuf to v25.x #3
Conversation
The current cmake setup does not support building both static and shared libraries at the same time, at least not without some hackish usage of cmake (build twice in two separate builddirs, install twice). Questions:
Some experiments with |
These are always built statically, see also protocolbuffers/protobuf#14958 I have for now lumped them into the |
This also installs a |
You can see that Fedora packaging also dropped static package some time ago https://src.fedoraproject.org/rpms/protobuf/blob/rawhide/f/protobuf.spec. Need to be tested if there are any issues after that. |
Fallout expected from this change: There seem to be a lot of issues reported around the various bug trackers, mainly they are about issues with:
As noted in the abseil PR, these packages are dependants of protobuf:
In my tests, this results in the following dependent packages requiring changes:
|
With updated libphonenumber (https://github.com/sailfishos/libphonenumber/tree/update) I had no issues using this branch to build all the packages which need protobuf and the packages requiring libphonenumber. |
The java file you mentioned is useless for us and can be excluded or even removed in install step. |
I guess this is as far as I can take it, marking ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could squash the commits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. The version handling part looks a lot cleaner now.
This updates protobuf to the latest LTS branch, v25.
Reason is that several packages (e.g. on OBS/Chum) are starting to require newer
protobuf versions.
There are some major changes in the packaging:
abseil
dependency, use pkgconfig for parts of thatSee also:
Depends-On: sailfishos/abseil-cpp#2