Bug 385953 - reduce installed footprint under Windows
Summary: reduce installed footprint under Windows
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (show other bugs)
Version: 5.7.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 15:20 UTC by RJVB
Modified: 2020-01-16 16:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RJVB 2017-10-19 15:20:15 UTC
digiKam 4.7 currently takes up almost 1.5Gb (32bit MSWin install) when installed with the official installer. I have the impression a lot of that is icing on the cake; artwork (in multiple translations?), I see a copy of gdb, etc.

NTFS compression reduces that a bit, but it would still be nice to know what can be thrown out if you're intending to use the application on a tablet PC with only a 32Gb disk. It would be even nicer if the installer had options to skip the space-consuming optional bits.
Comment 1 caulier.gilles 2017-10-22 12:58:50 UTC
DK 5.7 you want mean, not 4.7...

Probably i need to rebuild 32 and 64 bits installer from scratch to cleanup all previous build of Qt5 and KF5. This will take 4-5 hours.

Gilles Caulier
Comment 2 caulier.gilles 2018-08-16 12:04:44 UTC
Currenty digiKam 6.0.0 pre-release installer 64 bits take 1.31 Gb after install.

This can be optimized if we removed all unwanted plugins from marble located in C:\programme\digiKam\plugins\*.dll.

At least one plugin must be installed elese Marble will report a warning dialog at startup. I let's libOsmPlugin.dll which is Open Street Map tool that we can use.

I also seen that without Marble plugins, digiKam start faster under Windows.

Gilles Caulier
Comment 3 caulier.gilles 2020-01-09 15:55:24 UTC
I can propose to remove all debug symbols from official releases and to let's debug symbols only in weekly pre-release build of the bundles.

This will reduce the size by 5 at least.

What do you think about ?

Gilles Caulier
Comment 4 RJVB 2020-01-09 16:35:08 UTC
That would be a good trade-off I think, esp. if DrKonqi isn't part of the bundle so you don't get crash reports anyway.
Comment 5 caulier.gilles 2020-01-16 07:39:25 UTC
Git commit 36181629eef86c2e06057de6bdcf01d5899742bd by Gilles Caulier.
Committed on 16/01/2020 at 07:35.
Pushed by cgilles into branch 'master'.

Build a Windows installer without debug symbold to reduce bundle fingerprints
A debug version is compiled also in the workflow deployement (this one use '-debug' prefix).
Non debug version will be published officially on KDE download mirrors, and debug will be only published on weekly build area.

M  +3    -3    project/bundles/mxe/04-build-installer.sh
M  +15   -0    project/bundles/mxe/makeall.sh
M  +15   -0    project/bundles/mxe/update.sh

https://invent.kde.org/kde/digikam/commit/36181629eef86c2e06057de6bdcf01d5899742bd
Comment 6 caulier.gilles 2020-01-16 16:25:29 UTC
Git commit 9d334432c216096d14ddbe7f0ece758feef95610 by Gilles Caulier.
Committed on 16/01/2020 at 16:24.
Pushed by cgilles into branch 'master'.

Only embed gdb.exe with bundle including debug symbols

M  +3    -1    project/bundles/mxe/04-build-installer.sh

https://invent.kde.org/kde/digikam/commit/9d334432c216096d14ddbe7f0ece758feef95610
Comment 7 caulier.gilles 2020-01-16 16:25:56 UTC
All digiKam bundles (not only Windows) are now generated in 2 categories : with debug symbols (large) and without debug symbols (stripped)

This divide by 2 the size of the bundles.

Look here: https://files.kde.org/digikam/

I close this file now

Gilles Caulier