Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 13:30:00 +0000
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
Message-ID:  <bug-255787-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



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