Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Couple of fixes from Gentoo #4
I'm packaging jmx2munin in Gentoo and these are a couple of fixes I think could be useful.
I'll probably send you something more, the big issue for us is that we have a very different way to handle Java packages so we're basically working a number of things around.
added a commit
this pull request
Aug 12, 2012
Well, we have a policy that disallows bundling of libraries, which in this case includes jcommander — which is not a problem, as I wrote a package for jcommander that works just fine, but it requires it to be loaded beforehand.
I guess the main issue is that Maven and Gentoo don't play nice together — like Rubygems didn't up to one or two years ago. But the package is now available, users can just
Pretty cool that it's available :)
That said - the non-bundling policy is a bit odd. It certainly might make sense for bigger projects like Tomcat and friends, but there are good reasons why some projects bundle (or even even shade) the jars. It's like not allowing statically linked binaries. Anyway - probably not worth discussing policies here. Just saying.
And indeed we don't allow statically linked binaries if not for special cases (like busybox), at least not by default (we do have a way to select static building for any of the packages there).
But in general it's not much of a problem, just makes it a bit quirkier, but in this case it's really just a matter of a couple of changes and everything works fine, so, cheers :)