-
Notifications
You must be signed in to change notification settings - Fork 12
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
Cannot use machinetalk-protobuf without resorting to git subtree #24
Comments
we can do that, I guess the files would then go to |
pkgconfig file - are you suggesting to wrap these proto files into a machinetalk-protobuf package? what would the pkg-config invocation look like to retrieve the path to the .proto files? |
Yes, if the namespace is For the .proto files, I've used |
ah, pk-config can retrieve dirs too. Yes, that would work! |
Good idea, would make things easier. |
Is this still an issue? |
Hmm, I think so. I don't know what is best though. A pkgconfig file would only partly help, because people would still need to install machinetalk-protobuf. A separate deb (with pkgconfig) could be a solution, but it would also require compiling and installing .so and .a I think. Basically it comes down to, do we want to package machinetalk-protobuf separately? |
We definitely can split the Machintalk Protobuf stuff from Machinekit. Projects have been prepared to use namespaces. Separation needs to be executed. |
To make use of .proto files it would be nice to have them in a standard location, so that other projects can more easily depend on them. From what I gathered .proto files should go in
/usr/include/{namespace}/*.proto
.It would also be nice to install the .h files in
/usr/include
(or whatever includedir is set) as well and compile a .so and/or .a and place those/usr/lib
.Installing a pkgconfig file would allow other C/C++ projects to depend on the protobuf files without resorting to git subtree.
The text was updated successfully, but these errors were encountered: