Re: git: 66259c9c641b - main - Qt6: Import Qt6 ports form kde@'s repository

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 23 Aug 2022 02:39:25 UTC
"Tobias C. Berner" <tcberner@FreeBSD.org> writes:

>  devel/qt6-base/Makefile                            |  125 +
>  devel/qt6-base/distinfo                            |    3 +
>  devel/qt6-base/files/patch-cmake_FindMySQL.cmake   |   13 +
>  devel/qt6-base/files/patch-cmake_QtBuild.cmake     |   11 +
>  .../files/patch-cmake_QtFlagHandlingHelpers.cmake  |   13 +
>  .../files/patch-cmake_QtPkgConfigHelpers.cmake     |   10 +
>  .../files/patch-cmake_QtRpathHelpers.cmake         |   11 +
>  ...rt_devicediscovery_qdevicediscovery__static.cpp |   14 +
>  ...port_devicediscovery_qdevicediscovery__udev.cpp |   14 +
>  ...t_evdevkeyboard_qevdevkeyboard__defaultmap__p.h |   14 +
>  ...t_input_evdevkeyboard_qevdevkeyboardhandler.cpp |   14 +
>  ...support_input_evdevmouse_qevdevmousehandler.cpp |   15 +
>  ...pport_input_evdevtablet_qevdevtablethandler.cpp |   14 +
>  ...support_input_evdevtouch_qevdevtouchhandler.cpp |   14 +
>  devel/qt6-base/pkg-descr                           |    3 +
>  devel/qt6-base/pkg-plist                           | 3746 ++++++++++++++++++++
[...]
>  graphics/qt6-wayland/Makefile                      |   35 +
>  graphics/qt6-wayland/distinfo                      |    3 +
>  graphics/qt6-wayland/files/patch-CMakeLists.txt    |   11 +
>  graphics/qt6-wayland/pkg-descr                     |    6 +
>  graphics/qt6-wayland/pkg-plist                     |  621 ++++

What's the point of splitting off qt6-wayland when GUI is part of qt6-base?
Besides, qt6-wayland is maybe more stable given GNOME didn't disable[1] it.

[1] https://codereview.qt-project.org/c/qt/qtbase/+/231227

> USE_XORG=	xcomposite
> USE_QT=		base declarative
> USE_XORG=	x11 xau xcb xcomposite xdmcp

Why qt6-wayland needs USE_XORG despite no X11 dependencies?

$ poudriere testport -j 130amd64 graphics/qt6-wayland
[...]
===========================================================================
=>> Checking shared library dependencies
 0x0000000000000001 NEEDED               Shared library: [libEGL.so.1]
 0x0000000000000001 NEEDED               Shared library: [libGLX.so.0]
 0x0000000000000001 NEEDED               Shared library: [libOpenGL.so.0]
 0x0000000000000001 NEEDED               Shared library: [libQt6Core.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6Gui.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6Network.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6OpenGL.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6Qml.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6QmlModels.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6Quick.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6WaylandClient.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6WaylandCompositor.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6WaylandEglClientHwIntegration.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6WaylandEglCompositorHwIntegration.so.6]
 0x0000000000000001 NEEDED               Shared library: [libQt6WlShellIntegration.so.6]
 0x0000000000000001 NEEDED               Shared library: [libc++.so.1]
 0x0000000000000001 NEEDED               Shared library: [libc.so.7]
 0x0000000000000001 NEEDED               Shared library: [libcxxrt.so.1]
 0x0000000000000001 NEEDED               Shared library: [libm.so.5]
 0x0000000000000001 NEEDED               Shared library: [libthr.so.3]
 0x0000000000000001 NEEDED               Shared library: [libwayland-client.so.0]
 0x0000000000000001 NEEDED               Shared library: [libwayland-cursor.so.0]
 0x0000000000000001 NEEDED               Shared library: [libwayland-egl.so.1]
 0x0000000000000001 NEEDED               Shared library: [libwayland-server.so.0]
 0x0000000000000001 NEEDED               Shared library: [libxkbcommon.so.0]