Bug 455232 - digiKam MSVC build from Binary Factory needs libmarble-qt5 dependency at run time.
Summary: digiKam MSVC build from Binary Factory needs libmarble-qt5 dependency at run ...
Status: RESOLVED FIXED
Alias: None
Product: Craft
Classification: Unmaintained
Component: Blueprints (show other bugs)
Version: master
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-14 05:33 UTC by caulier.gilles
Modified: 2022-06-18 02:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description caulier.gilles 2022-06-14 05:33:53 UTC
Hi,

digiKam MSVC build from Binary Factory compile, link and is packaged to 100% now. 

But, After an install under Windows, at run time, digiKam fail to start due to missing libmarble-qt5 dependency not packaged in the bundle. Marble is a very important dependency to digiKam as the geo-location features of images in collections is managed by this software component 

Even if Marble in present to compile the code, there is no way to install libmarble-qt5 (with marble map data) in the bundle:

https://invent.kde.org/packaging/craft-blueprints-kde/-/blob/master/extragear/digikam/digikam.py#L91

And in marble.py script from Craft, there is no way to only install the libraries and map data :

https://invent.kde.org/packaging/craft-blueprints-kde/-/blob/master/kde/applications/marble/marble.py

What's the best strategy to fix this problem ?

Best

Gilles Caulier

PS : typically this problem also affect other bundles build with Craft, as MacOS and AppImage.
Comment 1 caulier.gilles 2022-06-18 02:27:06 UTC
Git commit f9cf4c4ebc1c2647172255ae99519897f5e2fffd by Gilles Caulier.
Committed on 18/06/2022 at 02:23.
Pushed by cgilles into branch 'master'.

move Marble data to bin directory
Now all Marble files are triaged. digiKam geolocation work as expected under Windows MSVC target

M  +9    -3    extragear/digikam/digikam.py

https://invent.kde.org/packaging/craft-blueprints-kde/commit/f9cf4c4ebc1c2647172255ae99519897f5e2fffd