The Qt part was a bit complex as it had two FLAVORS. To work this out the
slave devel/appstream-qt port wasn't removed but instead switched to build
the master port without SUBPACKAGES and against Qt5 only.
The Qt subpackage of the master port is fixed to Qt6 instead. This will make it
possible to just remove Qt5 slave port when we get rid of Qt5 altogether.
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D43445
- DPorts hasn't updated since 22.2.b.1392 (2022-08-31)
- DPorts patched to no longer excludes libunwind and anv
- Allow DPorts to pick libelf.so from devel/elfutils
To achieve this, add a temporary hacky knob KDE_MAN_PREFIX to allow ports to
override the man installation dir. Once Uses/kde.mk migrates to share/man, this
knob will be removed.
Approved by: tcberner
Minimal required LLVM version to build is 16 now.
It is stated on the clang release page, that the proposals for doing these kinds of captures are implemented in Clang16
Error example:
/wrkdirs/overlays/wip/net-im/telegram-desktop/work-qt5/tdesktop-4.14.4-full/Telegram/SourceFiles/window/window_session_controller.cpp
/wrkdirs/overlays/wip/net-im/telegram-desktop/work-qt5/tdesktop-4.14.4-full/Telegram/SourceFiles/window/window_session_controller.cpp:1249:9: error: reference to local binding 'index' declared in enclosing lambda expression
if (index >= list.size()) {
^
/wrkdirs/overlays/wip/net-im/telegram-desktop/work-qt5/tdesktop-4.14.4-full/Telegram/SourceFiles/window/window_session_controller.cpp:1246:29: note: 'index' declared here
for (const auto [command, index] : accounts) {
^
/wrkdirs/overlays/wip/net-im/telegram-desktop/work-qt5/tdesktop-4.14.4-full/Telegram/SourceFiles/window/window_session_controller.cpp:1252:31: error: reference to local binding 'index' declared in enclosing lambda expression
const auto account = list[index];
^
/wrkdirs/overlays/wip/net-im/telegram-desktop/work-qt5/tdesktop-4.14.4-full/Telegram/SourceFiles/window/window_session_controller.cpp:1246:29: note: 'index' declared here
for (const auto [command, index] : accounts) {
^
2 errors generated.
Reported by: Benjamin Takacs <nimaje+fbz@bureaucracy.de>
Yury V. Zaytsev points out that for X11 and Aspell support, header
files <X11/Xlib.h> and <aspell.h> are only needed during the build,
while their corresponding libraries would be loaded dynamically if
available; if not, mc(1) would still work fine, just without those
features. The source code and ldd(1) output confirm his findings:
% cd $WRKDIR/mc-4.8.30 && grep -R -A1 g_module_build_path *
lib/tty/x11conn.c: x11_module_fname = g_module_build_path (NULL, "X11");
lib/tty/x11conn.c- x11_module = g_module_open (x11_module_fname, G_MODULE_BIND_LAZY);
--
src/editor/spell.c: spell_module_fname = g_module_build_path (NULL, "libaspell");
src/editor/spell.c- spell_module = g_module_open (spell_module_fname, G_MODULE_BIND_LAZY);
This allows to enable Aspell support by default and drop X11-less
slave port now that both of these dependencies are build-time only
yet still can be completely disabled via options.
PR: 269120