You are viewing a plain text version of this content. The canonical link for it is here.
Posted to legal-discuss@apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2016/06/22 13:07:57 UTC

[jira] [Commented] (LEGAL-259) License issues with protobufs extracted from Apple applications?

    [ https://issues.apache.org/jira/browse/LEGAL-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15344280#comment-15344280 ] 

Tim Allison commented on LEGAL-259:
-----------------------------------

More info...
>good analogy?(For example, is it just the equivalent of taking a .jar file, filtering the .class files for just the interfaces, and saving that as a new jar to compile against? Equivalent of using the DWARF debug info on a non-stripped ELF .so to largely automatically re-create the .h header file? Some other analogy?)

From what little I know, it's more than just the interfaces and more than just header files.  I think a fairly close analogy is if we could extract xsds from MSWord and then use those to create ooxml beans. 

The code for proto-dump is available here: https://github.com/obriensp/proto-dump

The author of proto-dump writes:
"proto-dump is a tool for recovering Protobuf descriptors (.proto files) from compiled programs. It can be thought of as class-dump for Protobuf."

So, maybe, y, a special type of .h file that can be used to automatically generate the .cc because they follow specific protocols (protobuf/xsd/etc).

This proto file:
https://github.com/obriensp/iWorkFileFormat/blob/master/iWorkFileInspector/iWorkFileInspector/Messages/Proto/KNArchives.proto

is extracted from the application and then used to build both:

https://github.com/obriensp/iWorkFileFormat/blob/master/iWorkFileInspector/iWorkFileInspector/Messages/KNArchives.pb.h

https://github.com/obriensp/iWorkFileFormat/blob/master/iWorkFileInspector/iWorkFileInspector/Messages/KNArchives.pb.cc 


> License issues with protobufs extracted from Apple applications?
> ----------------------------------------------------------------
>
>                 Key: LEGAL-259
>                 URL: https://issues.apache.org/jira/browse/LEGAL-259
>             Project: Legal Discuss
>          Issue Type: Question
>            Reporter: Tim Allison
>
> Over on TIKA-1358, we're working to add a parser for the 2013 Apple iWorks files.  We aren't quite sure what the final solution will be, but a key component will be exporting protobuf descriptors from Apple's applications, either literally from [obriensp|https://github.com/obriensp/iWorkFileFormat/tree/master/iWorkFileInspector/iWorkFileInspector/Messages/Proto] or perhaps, in the future, on our own, probably through [protodump|https://github.com/obriensp/proto-dump].
> Are there any licensing issues with using those protobuf descriptors to build protobufs for distribution within an Apache licensed project?
> Alternatively, is anyone aware of an API or other means available for parsing these files?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
For additional commands, e-mail: legal-discuss-help@apache.org