head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @// @; 1.1 date 2025.10.15.01.32.01; author gutteridge; state Exp; branches; next ; commitid er3K2v4Dn07NxBeG; desc @@ 1.1 log @musescore: update to 4.6.2 There have been many important changes between 3.6.2 and 4.6.2, too many to summarize. See https://github.com/musescore/MuseScore/releases A very significant portion of this update was made by Paul Ripke in pkgsrc-wip, packaging 4.5.2. Further patching was done by me to bring it to 4.6.2 (where they've refactored UI components and lost the FreeBSD support that was previously present), and address some other minor packaging issues. @ text @$NetBSD$ Provide a usable context for NetBSD. --- src/framework/ui/uimodule.cpp.orig 2025-10-10 09:21:06.000000000 +0000 +++ src/framework/ui/uimodule.cpp @@@@ -43,7 +43,7 @@@@ #include "internal/platform/windows/windowsplatformtheme.h" #include "internal/platform/windows/winwindowscontroller.h" #include "view/mainwindowbridge.h" -#elif defined(Q_OS_LINUX) +#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) #include "internal/platform/linux/linuxplatformtheme.h" #include "internal/windowscontroller.h" #include "view/mainwindowbridge.h" @@@@ -104,7 +104,7 @@@@ void UiModule::registerExports() #elif defined(Q_OS_WIN) m_platformTheme = std::make_shared(); m_windowsController = std::make_shared(); - #elif defined(Q_OS_LINUX) + #elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) m_platformTheme = std::make_shared(); m_windowsController = std::make_shared(); #else @@@@ -120,6 +120,7 @@@@ void UiModule::registerExports() ioc()->registerExport(moduleName(), m_uiactionsRegister); ioc()->registerExport(moduleName(), m_keyNavigationController); ioc()->registerExport(moduleName(), new DragController()); + // XXX this will fail with the #else above, as m_windowsController is not defined! ioc()->registerExport(moduleName(), m_windowsController); } @