A pkg-config file for OpenJDK
dalibor topic
dalibor.topic at oracle.com
Tue Aug 5 15:42:25 UTC 2014
On 04.08.2014 10:41, Mario Torre wrote:
> If compact profiles are an issue, I would say that OpenJDK should ship
> with a pkg-config for each of the profiles.
OK, now let's assume that multiple profiles are installed in parallel. ;)
Or, for a not too unusual setup, that multiple JDK/JRE versions are
installed in parallel.
How does pkg-config pick the 'right' one to link against? Does the first
one to install the OpenJDK .pc file win? The last one? Does one need a
different .pc file for each major version? For each minor version?
If I'm parsing https://bugzilla.redhat.com/show_bug.cgi?id=740762#c27
right it seems that the design of the feature in the context of Fedora
is still under discussion.
> 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.
OpenJDK 8u typically gets packaged as "openjdk-8" on Debian derived
distributions, "java-1.8.0-openjdk" on Fedora derived ones, and
presumably something else somewhere else.
In addition, the distributions tend to split OpenJDK packages in
different ways - See
java-1.8.0-openjdk-accessibility
java-1.8.0-openjdk-demo
java-1.8.0-openjdk-devel
java-1.8.0-openjdk-headless
java-1.8.0-openjdk-javadoc
java-1.8.0-openjdk-src
vs.
openjdk-8-dbg
openjdk-8-demo
openjdk-8-doc
openjdk-8-jdk
openjdk-8-jre
openjdk-8-jre-headless
openjdk-8-jre-jamvm
openjdk-8-jre-zero
openjdk-8-source
for a Fedora vs. Debian comparison.
cheers,
dalibor topic
--
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>
ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment
More information about the discuss
mailing list