Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Oct 2024 14:57:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 266059] java/openjdk*: Create x11 FLAVOR to support headless (no-x11) default
Message-ID:  <bug-266059-8522-qYMS2rtcQN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266059-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266059-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266059

Ronald Klop <ronald@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ronald@FreeBSD.org

--- Comment #3 from Ronald Klop <ronald@FreeBSD.org> ---
Openjdk11 and openjdk17 seems to have a new configure option
--enable-headless-only. Didn't check openjdk21.

In this mail is talks about the introduction of this option:
https://mail.openjdk.org/pipermail/2d-dev/2016-August/007382.html

Openjdk11 pkg builds fine if I add CONFIGURE_ARGS+=3D--enable-headless-only=
 to
the port. I didn't check running it. And I didn't check how the dependencie=
s of
the openjdk11 need to change for an headless build.

Would it be enough to adapt these Makefile statements to the openjdk11
Makefile?
$ grep X11 /usr/ports/java/openjdk8/Makefile=20
OPTIONS_DEFINE=3D         ALSA POLICY TZUPDATE X11 FONTCONFIG
OPTIONS_DEFAULT=3D        ALSA POLICY TZUPDATE X11
X11_BUILD_DEPENDS_OFF=3D  ${LOCALBASE}/include/X11/Xlib.h:x11/libX11 \
                        ${LOCALBASE}/include/X11/extensions/Xdbe.h:x11/libX=
ext
\
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${LOCALBASE}/include/X11/extensions/Xrender.h:x11/libXrender \
                        ${LOCALBASE}/include/X11/Intrinsic.h:x11-toolkits/l=
ibXt
X11_CONFIGURE_OFF=3D      --disable-headful
X11_CONFIGURE_ON=3D       --with-giflib=3Dsystem \
X11_LIB_DEPENDS=3D        libgif.so:graphics/giflib
X11_MAKE_ENV_OFF=3D       BUILD_HEADLESS_ONLY=3D1 \
X11_USES=3D               xorg
X11_USE=3D                XORG=3Dx11,xext,xi,xrender,xt,xtst
FONTCONFIG_IMPLIES=3D     X11


Anyway.. I have no personal interest in adding this to the port. As this is=
sue
is 2 years old I would like to know if the original requester is still
interested or if other people know if this is still wanted?

Patches are welcome.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266059-8522-qYMS2rtcQN>