A pkg-config file for OpenJDK
Mario Torre
neugens at redhat.com
Mon Aug 4 08:41:22 UTC 2014
On Mon, 2014-06-30 at 13:55 +0200, dalibor topic wrote:
> There was some chatter about packaging OpenJDK 8 profiles on the
> debian-java mailing list a few weeks ago.[0]
>
> Assuming a pkg-config file gets included and installed as part of an
> OpenJDK build, I'm just curious if that would cause additional issues to
> consider in the case of compact profiles (which may end up being
> dpkg/rpm installed in different locations, for example - I can't really
> say, since Debian packages haven't hit the repos yet).
But I think this is really a packaging issues, upstream should not be
concerned that much, other than trying to involve downstream in the
process to be as friendly as possible.
If compact profiles are an issue, I would say that OpenJDK should ship
with a pkg-config for each of the profiles.
The whole point of pkg-config is to not worry about where things are
installed and what the linking/flags options are, you only need to know
the package name, which should be standard across distros.
> There is also the side question of how/if this would (need to) work on
> other platforms (Solaris, OS X, Windows) which pkg-config claims to work
> on. [1]
Again, I think this is a job done by pkg-config itself on the specific
system, so tweaking the specific content is a distributor
responsibility, what OpenJDK should ship is just the template[s].
Cheers,
Mario
More information about the discuss
mailing list