[digikam] [Bug 350446] Port MacOS PKG to Arm64 Apple Silicon.
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sat Aug 31 07:46:55 BST 2024
https://bugs.kde.org/show_bug.cgi?id=350446
--- Comment #29 from caulier.gilles at gmail.com ---
Hi Michael,
Ok i will take a look to your git fork asap.
> total build time is less than an hour in my UTM arm64 dev VM from 01-04 if Homebrew is installed in /opt/homebrew
It's normal as you use directly the pre-compiled version of the packages. But
in fact we cannot do it as the Qt6Mysql plugin is not provided in precompiled
version (at least i seen in my previous tests 2 months ago). So whole Qt6 must
be recompiled and it's take age.
About the gmic-qt plugin, it's possible that binary file is not installed at
the right place and must be moved by the script before packaging.
The main difference between digiKam plugins and 3rdparty plugins is the KDE
framework dependency which is dropped for simplification. In the KDE framework
the ECM script is used in digiKam to identify the install path of plugins. In
the 3rd-party, a simplified CMake base rule is used instead, and i already seen
few differences. Code relevant is here :
In digiKam :
https://invent.kde.org/graphics/digikam/-/blob/master/core/cmake/macros/MacroDPlugins.cmake?ref_type=heads#L93
Note the ${KDE_INSTALL_FULL_PLUGINDIR} variable taken from ECM.
In GMic-Qt :
https://github.com/cgilles/gmic-qt/blob/master/src/editor/EditorPluginRules.cmake#L46
Note the ${QT_PLUGINS_DIR} variable taken from CMake.
Gilles
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list