Bug 265843 (qt6-6.3.1)

Summary: [exp-run] Import Qt6
Product: Ports & Packages Reporter: Tobias C. Berner <tcberner>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: grahamperrin, kde, rhurlin, wen
Priority: --- Flags: tcberner: exp-run?
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D36179

Description Tobias C. Berner freebsd_committer freebsd_triage 2022-08-14 19:18:00 UTC
Moin moin 

kde@ would like to ask for an exp-run to import Qt6.

The patch is attached and can also be found here:
https://people.freebsd.org/~tcberner/patches/0001-Qt6-Import-Qt6-ports-form-kde-s-repository.patch

Note:
 * www/qt6-webengine is expected to fail (at least on current).
 * I'm mostly interested in ensuring that qt5 consumers are not broken.


mfg Tobias
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-08-14 19:25:32 UTC
(In reply to Tobias C. Berner from comment #0)
... patch to large for an attachment :)
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2022-08-17 09:26:13 UTC
There is this error:

[00:00:42] Warning: Nonexistent origin listed in category Makefiles: x11-toolkits/qt6-quickcontrols2 (skipping)
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2022-08-17 11:23:18 UTC
(In reply to Antoine Brodin from comment #2)
Moin moin 

Here's the updated patch without the superfluos SUBDIR:

https://people.freebsd.org/~tcberner/patches/0001-Qt6-Import-Qt6-ports-form-kde-s-repository.patch


mfg Toibas
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2022-08-20 09:14:19 UTC
(In reply to Antoine Brodin from comment #4)
Moin moin 

Thanks.

So in conclusion, Qt5 stuff is not broken by this :)

Are you fine with me importing it, to get the diff smaller, and then do the fixing on i386?


mfg Tobias
Comment 6 Tobias C. Berner freebsd_committer freebsd_triage 2022-08-20 09:28:26 UTC
https://people.freebsd.org/~tcberner/patches/patch-src_corelib_thread_qthread.h
this should fix it for i386
Comment 7 Antoine Brodin freebsd_committer freebsd_triage 2022-08-20 18:33:21 UTC
I think it's ok to import it, but qt6-webengine should not be committed when it is broken on all platforms.
Comment 8 commit-hook freebsd_committer freebsd_triage 2022-08-21 16:46:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66259c9c641b1fc828becbe2959dbe7380e55fe1

commit 66259c9c641b1fc828becbe2959dbe7380e55fe1
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-08-12 17:55:36 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-08-21 16:42:38 +0000

    Qt6: Import Qt6 ports form kde@'s repository

    This change brings in the new Qt6 stack, which might still be a bit
    in flux in the ports tree for a while.

    Obtained from https://github.com/freebsd/freebsd-ports-kde/tree/qt6-6.3.1
    with commits from lbartoletti and myself.

    Note:
    ww/qt6-webengine will land once kai wins another round of patching boundled
    chromiums sources.

    Exp-run by:     antoine
    PR:             265843
    Differential Revision: https://reviews.freebsd.org/D36179

 Mk/Uses/qmake.mk                                   |    2 +-
 Mk/Uses/qt-dist.mk                                 |   94 +-
 Mk/Uses/qt.mk                                      |   40 +-
 devel/Makefile                                     |    4 +
 devel/qt6-5compat/Makefile (new)                   |   21 +
 devel/qt6-5compat/distinfo (new)                   |    3 +
 devel/qt6-5compat/pkg-descr (new)                  |    8 +
 devel/qt6-5compat/pkg-plist (new)                  |   85 +
 devel/qt6-base/Makefile (new)                      |  125 +
 devel/qt6-base/distinfo (new)                      |    3 +
 .../files/patch-cmake_FindMySQL.cmake (new)        |   13 +
 .../qt6-base/files/patch-cmake_QtBuild.cmake (new) |   11 +
 .../patch-cmake_QtFlagHandlingHelpers.cmake (new)  |   13 +
 .../patch-cmake_QtPkgConfigHelpers.cmake (new)     |   10 +
 .../files/patch-cmake_QtRpathHelpers.cmake (new)   |   11 +
 ...icediscovery_qdevicediscovery__static.cpp (new) |   14 +
 ...evicediscovery_qdevicediscovery__udev.cpp (new) |   14 +
 ...vkeyboard_qevdevkeyboard__defaultmap__p.h (new) |   14 +
 ...t_evdevkeyboard_qevdevkeyboardhandler.cpp (new) |   14 +
 ...t_input_evdevmouse_qevdevmousehandler.cpp (new) |   15 +
 ...input_evdevtablet_qevdevtablethandler.cpp (new) |   14 +
 ...t_input_evdevtouch_qevdevtouchhandler.cpp (new) |   14 +
 devel/qt6-base/pkg-descr (new)                     |    3 +
 devel/qt6-base/pkg-plist (new)                     | 3746 ++++++++++++++++++++
 devel/qt6-tools/Makefile (new)                     |   45 +
 devel/qt6-tools/distinfo (new)                     |    3 +
 devel/qt6-tools/pkg-descr (new)                    |    7 +
 devel/qt6-tools/pkg-plist (new)                    |  430 +++
 devel/qt6-translations/Makefile (new)              |   16 +
 devel/qt6-translations/distinfo (new)              |    3 +
 devel/qt6-translations/pkg-descr (new)             |    4 +
 devel/qt6-translations/pkg-plist (new)             |  267 ++
 graphics/Makefile                                  |    4 +
 graphics/qt6-3d/Makefile (new)                     |   40 +
 graphics/qt6-3d/distinfo (new)                     |    3 +
 ...dparty_assimp_src_contrib_zip_src_miniz.h (new) |   13 +
 graphics/qt6-3d/pkg-descr (new)                    |    7 +
 graphics/qt6-3d/pkg-plist (new)                    | 1458 ++++++++
 graphics/qt6-imageformats/Makefile (new)           |   35 +
 graphics/qt6-imageformats/distinfo (new)           |    3 +
 graphics/qt6-imageformats/pkg-descr (new)          |    6 +
 graphics/qt6-imageformats/pkg-plist (new)          |   45 +
 graphics/qt6-svg/Makefile (new)                    |   31 +
 graphics/qt6-svg/distinfo (new)                    |    3 +
 graphics/qt6-svg/pkg-descr (new)                   |    8 +
 graphics/qt6-svg/pkg-plist (new)                   |   87 +
 graphics/qt6-wayland/Makefile (new)                |   35 +
 graphics/qt6-wayland/distinfo (new)                |    3 +
 .../qt6-wayland/files/patch-CMakeLists.txt (new)   |   11 +
 graphics/qt6-wayland/pkg-descr (new)               |    6 +
 graphics/qt6-wayland/pkg-plist (new)               |  621 ++++
 misc/Makefile                                      |    1 +
 misc/qt6-doc/Makefile (new)                        |   16 +
 misc/qt6-doc/distinfo (new)                        |    3 +
 misc/qt6-doc/pkg-descr (new)                       |    6 +
 misc/qt6-doc/pkg-plist (new)                       |    1 +
 net/Makefile                                       |    1 +
 net/qt6-networkauth/Makefile (new)                 |   22 +
 net/qt6-networkauth/distinfo (new)                 |    3 +
 net/qt6-networkauth/pkg-descr (new)                |    6 +
 net/qt6-networkauth/pkg-plist (new)                |   51 +
 www/Makefile                                       |    1 +
 x11-toolkits/Makefile                              |    4 +
 x11-toolkits/qt6-declarative/Makefile (new)        |   44 +
 x11-toolkits/qt6-declarative/distinfo (new)        |    3 +
 x11-toolkits/qt6-declarative/pkg-descr (new)       |    7 +
 x11-toolkits/qt6-declarative/pkg-plist (new)       | 2622 ++++++++++++++
 x11-toolkits/qt6-quick3d/Makefile (new)            |   33 +
 x11-toolkits/qt6-quick3d/distinfo (new)            |    3 +
 x11-toolkits/qt6-quick3d/pkg-descr (new)           |    7 +
 x11-toolkits/qt6-quick3d/pkg-plist (new)           |  931 +++++
 x11-toolkits/qt6-quicktimeline/Makefile (new)      |   31 +
 x11-toolkits/qt6-quicktimeline/distinfo (new)      |    3 +
 x11-toolkits/qt6-quicktimeline/pkg-descr (new)     |    6 +
 x11-toolkits/qt6-quicktimeline/pkg-plist (new)     |   46 +
 x11-toolkits/qt6-shadertools/Makefile (new)        |   31 +
 x11-toolkits/qt6-shadertools/distinfo (new)        |    3 +
 x11-toolkits/qt6-shadertools/pkg-descr (new)       |    8 +
 x11-toolkits/qt6-shadertools/pkg-plist (new)       |   48 +
 79 files changed, 11386 insertions(+), 40 deletions(-)