Is anyone using the protobufs compiler plug-in? (It doesn't do the right thing for "package" and "import")

Is anyone using the protobufs compiler (protoc) to create *_pb.pl files for the probufs module?

I have discovered that the plugin (protoc-gen-swipl) doesn’t do the right thing for “package” and “import” statements, and changes to fix this wouldn’t be backward-compatible (although they would require only minor changes to code that uses them).

One of the changes that I’m thinking of would require the use of a file_search_path/2 directive … I propose that it use the alias protobufs or protobufs_library; but maybe library would suffice? For example, if file /path/to/include/google/protobuf/compiler.proto has

package google.protobuf.compiler;
import google/protobuf/descriptor.proto;

then the generated /path/to/modules/google/protobuf/compiler_pb.pl would have a :-use_module(protobufs(google/protobuf/descriptor_pb)) and would require a file_search_path(protobufs, '/path/to/modules'). There would also need to be some small changes to any make or cmake rules.