From owner-freebsd-ports-bugs@freebsd.org Tue May 11 13:30:00 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F351D6382AB for ; Tue, 11 May 2021 13:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Fff146Gjgz3tmx for ; Tue, 11 May 2021 13:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D74A763848A; Tue, 11 May 2021 13:30:00 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D714B63831B for ; Tue, 11 May 2021 13:30:00 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fff144V5Wz3tbc for ; Tue, 11 May 2021 13:30:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 8D99918F88 for ; Tue, 11 May 2021 13:30:00 +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 14BDU0Nd073199 for ; Tue, 11 May 2021 13:30:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14BDU0sn073198 for ports-bugs@FreeBSD.org; Tue, 11 May 2021 13:30:00 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: ports-bugs@FreeBSD.org Subject: [Bug 255787] x11-toolkits/qt5-gui: make X11=off not turn off graphics completely Date: Tue, 11 May 2021 13:30:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: evgeniy@khramtsov.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2021 13:30:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255787 Bug ID: 255787 Summary: x11-toolkits/qt5-gui: make X11=3Doff not turn off graphics completely Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: evgeniy@khramtsov.org CC: evgeniy@khramtsov.org Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org Created attachment 224844 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224844&action= =3Dedit patch This patch is [1/4] from series of patches. The patches are posted in the o= rder poudriere builds qt5-gui and its dependencies. This is needed for qt5-gui to build and run in a pure Wayland environment. Tested with: DEFAULT_VERSIONS+=3D gl=3Dmesa-devel OPTIONS_SET+=3D GLESV2 OPTIONS_UNSET+=3D CONSOLEKIT OPENGL PULSEAUDIO VDPAU X11 XCB XLIB Note that Qt 5 has a weird build system that picks up if libX11 is installe= d or not. Turning off X11 like adding no-xcb and stuff to QT_CONFIG does not wor= k. I currently don't have the time to dig deeper into Qt build system, I already have PipeWire to do. This depends on bug 254584, because xkeyboard-config g= ets installed into poudriere jail, without that patch libX11 gets installed. Tested both pure Wayland and X11 with KeepassXC and this series of patches. Note that KeePassXC includes Xlib in one place, I locally patched it for pu= re Wayland. This should build a Qt application in a pure Wayland environment that depen= ds on qt5-gui and does not include X11 dependencies. I know that there are other Qt 5 ports as well, though one can't start maki= ng X11 optional without the qt5-gui port first. PORTREVISION is bumped to catch regressions if any. --=20 You are receiving this mail because: You are the assignee for the bug.=