Loading... (original) (raw)

This is a request to add to the devkits used for building JDK11 updates and JDK12 and later.

JDK currently has in its source two include files :
Xrandr.h and randr.h,
which are generally installed on a Linux system
as
/usr/include/X11/extensions/Xrandr.h
and
/usr/include/X11/extensions/randr.h

Output from OEL 7.1 :
rpm -qf /usr/include/X11/extensions/Xrandr.h
libXrandr-devel-1.4.1-2.1.el7.i686
libXrandr-devel-1.4.1-2.1.el7.x86_64

randr.h comes from this package :
rpm -qf /usr/include/X11/extensions/randr.h
xorg-x11-proto-devel-7.7-8.el7.1.noarch

However I've checked and this is already part of the devkit,
so it seems its just libXrandr-devel that needs to be added.

These files were included in JDK source because we started to use Xrandr a long ago, before it was generally available on Linux
build platforms.

Now we can remove that dependency but we need to make sure
it is part of the devkit for Linux, which it seems it is not.