Bug 464463

Summary: Windows Nightlys are missing /share/ data
Product: [Applications] krita Reporter: Freya Lupen <penguinflyer2222>
Component: GeneralAssignee: amyspark <amy>
Status: RESOLVED FIXED    
Severity: normal CC: amy
Priority: NOR Keywords: triaged
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Freya Lupen 2023-01-18 15:28:57 UTC
SUMMARY
The latest Windows Nightlys are missing everything in the /share/ folder except for /mime/.
This causes problems like
>krita.general: "file:///C:/Users/name/Applications/krita-nightly-x64-5.2.0-prealpha-f5e7f50ac8//bin/..//share/krita/qmlthemes/default/theme.qml:-1 No such file or directory\n"
because the color, color-schemes, icons, kf5, krita, and kritaplugins folders are missing.

From the binary-factory build's log:
> -- Installing: C:/Packaging/KritaWS/krita-install/bin/data/color-schemes/BreezeDark.colors
It seems that the files were installed in /bin/data/ rather than /share/, thus the packaging script could not find them?

STEPS TO REPRODUCE
1.  Download from binary-factory and check the /share/ folder.

OBSERVED RESULT
mime folder.

EXPECTED RESULT
color, color-schemes, icons, kf5, krita, kritaplugins, and mime folders.

Versions tested: 5.1.x-4e69b49f8b, 5.2.x-d13111eeb7 and 5.2.x-f5e7f50ac8.
Comment 1 amyspark 2023-01-18 18:27:32 UTC
Git commit f1fedafeccd6e84ad5d9329d56c228ff095bef33 by L. E. Segovia.
Committed on 18/01/2023 at 18:27.
Pushed by lsegovia into branch 'master'.

frameworks: Recover and reapply Halla's change of DATAROOTDIR

A  +37   -0    3rdparty/ext_frameworks/0003-Revert-Use-BIN_INSTALL_DIR-data-for-DATAROOTDIR-on-W.patch
M  +1    -0    3rdparty/ext_frameworks/CMakeLists.txt

https://invent.kde.org/graphics/krita/commit/f1fedafeccd6e84ad5d9329d56c228ff095bef33