Hi,
I'm not subscribed to debian-science, so please CC me and I hope I didn't break
the thread when I manually set the In-Reply-To header.
Quoting Jonathon Love (30 Apr 2016)
i've been packaging the flatbuffers project, and i think it might be ready to
go (although, perhaps it should be submitted independent of debian-science).
i've pushed the work to:
/git/debian-science/packages/flatbuffers.git
Thanks! Your packaging saved me lots of work when I wanted to test flatbuffers
on Debian. :)
the flatbuffers project contains many subprojects which should form separate
binary packages. my packaging so far produces:
- libflatbuffers-dev
- flatbuffers-compiler
- libjs-flatbuffers
- libflatbuffers-java
I was confused that there was no shared library but apparently that is intended
by upstream:
https://github.com/google/flatbuffers/issues/4008
but there's also subprojects for go, C#, python, PHP, etc. which i haven't
packaged.... and didn't really want to. hopefully that's ok.
Certainly.
i'm not completely sure i've done the right thing with the maven java builds.
the pom.xml has sections requiring the plugins:
- maven-source-plugin (version 2.3)
- maven-javadoc-plugin (version 2.9.1)
so i've added these to the dependencies in d/control
however, these (older) versions don't exist in debian, and only newer ones
(2.4, and 2.10.3). so i've patched pom.xml to use these newer versions, which
works. but of course, this will *only* build with these versions, so i've
fixed the dependency to require these versions.
from what i've read, maven requires you to specify a specific version, and
doesn't allow wildcards or >= $version ... so i can't see a way around this.
Unfortunately, I cannot help you with java. You should contact the Debian Java
team debian-java@lists.debian.org about this issue.
Unfortunately, I wasn't able to use your package to successfully compile a
small hello-world demo of flatbuffers. I reported the problem here:
https://github.com/google/flatbuffers/issues/4071
Did you get flatbuffers from your package to work and if yes, how?