From nobody Wed Oct 2 14:57:46 2024 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XJdG25NMZz5Xf7f for ; Wed, 02 Oct 2024 14:57:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJdG229Glz4sSt for ; Wed, 2 Oct 2024 14:57:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727881066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hjucPk41mnFWHI7005d+qsgRvNbV2edU4WxAOA+/dDs=; b=K0sXg8wK1EaMZbd8iy2tGtTYQ+u/QRwu9EfQXFbbi5ZRCf37fLhJOGpBCBzfEcuLEfIVn0 cAI1ObTQ0H0M3VCC/g/QQtFCjehIe+4uqKIepA1ZMtgdroPvdpSn/yWDm8HEVgzxD8DRBA wKiRTXwiTCosBRE45K1DybHl59dOAn3t+mOro6KrM7oeffA3Rkqw4hpUae4xm48nazeAoo dgETSPRnrtReTGjePBmYYmcq/9z3G6QigUVyW4VKD6gV/BwIhpj04yH8VR5Ee2wOMp92+a Ew0wGELcDSb0A/G+RPcbe0v1er53EN3ZJskuWFUq8SxsFUr8DfMfPyz8AB0Vmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727881066; a=rsa-sha256; cv=none; b=dQ9SwaDarc+gi3vDlzH0HCX1yZcC+5dXZy92nNfvGd6/ZUlKJB5tkVgWXli4N86vKNbarR 06aCkSWluv2RcZx3Ei2gbKm3CwK9TKkLaHygbiW2EhCxFykHSSds7sdv6jbhg77ZtWoe6Z 0XwfZXd0gijqDhTiSRcsH1K+ptOOpKjjhq1B1SRYAP4gCgInAe+tsmP70bKzIVsuEDEUH7 aXMZNPqgWftDFdcIO3HKLn2fH7aPc7L6FGUTCFmVdoJMdsZ+uNDnQDhiZ7Qxtp5tjYDXRw kVmovKgka9yNit52XykcY5sX+uCBdrrySUJSxkHkT6S/oAp473QEnizQwL59OQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XJdG21c77z1PpB for ; Wed, 2 Oct 2024 14:57:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 492EvkLS038011 for ; Wed, 2 Oct 2024 14:57:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 492EvkFR038010 for java@FreeBSD.org; Wed, 2 Oct 2024 14:57:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 266059] java/openjdk*: Create x11 FLAVOR to support headless (no-x11) default Date: Wed, 02 Oct 2024 14:57:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ronald@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266059 Ronald Klop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronald@FreeBSD.org --- Comment #3 from Ronald Klop --- 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.=