Bug 114417 - Use Qt5.15 LTS source code from KDE git collection patch repository to compile AppImage bundle
Summary: Use Qt5.15 LTS source code from KDE git collection patch repository to compil...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-AppImage (show other bugs)
Version: 7.6.0
Platform: Appimage Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL: https://invent.kde.org/qt/qt/qt5/-/tr...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-14 21:59 UTC by Mammon
Modified: 2022-02-02 13:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mammon 2005-10-14 21:59:23 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Unspecified

BLA bla bla bla bla bla

ad
 asd
asdas dasd 
asd asd asd
sad asd asda
sd asd as asd asd asd asdas
Comment 1 Thiago Macieira 2005-10-15 02:02:56 UTC
Do you need this for anything?
Comment 2 Joern Ahrens 2005-10-15 09:24:10 UTC
Don't you have anything better to do?
Thanks for producting additional work.
Comment 4 caulier.gilles 2022-01-23 18:51:14 UTC
Maik, 

Just for information : QT 5.15 LTS take more than 13 hours to compile, where QtWebEngine take 80% of time, 4 cores in a VM with 8Gb or RAM, 20 Gib of Swap and 20 Gb of /tmp :

...
QtPdfWidgets: created headers.pri file
[100%] Performing install step for 'ext_qt'
strip:/usr/bin/fixqt4headers.pl: format de fichier non reconnu
strip:/usr/bin/syncqt.pl: format de fichier non reconnu
Makefile:5242: avertissement : surchargement de la recette pour la cible « ../../qml/QtQuick/Controls/qmldir »
Makefile:5239: avertissement : ancienne recette ignorée pour la cible « ../../qml/QtQuick/Controls/qmldir »
[100%] Completed 'ext_qt'
[100%] Built target ext_qt
Elaspsed time for script execution : 13 hours 6 minutes 3 seconds
[root@localhost appimage (master)]# 

I take a look to the memory allocation while QtWebEngine, and there are plenty of time where 16 Gb is used to link code at end. The swap is used and compilation slow down a lots.

This have been done a a Linux Mageia 7.1 VM (it's not the AppImage server yet), just to see if the Qt 5.15 LTS git repository compile fine.

Gilles
Comment 5 caulier.gilles 2022-01-23 21:45:21 UTC
Git commit 5ef7607018ca8ac1128a18de2b0fca30bc0546be by Gilles Caulier.
Committed on 23/01/2022 at 21:44.
Pushed by cgilles into branch 'master'.

AppImage: switch to KF5 framework from 5.89 to 5.90

M  +16   -0    project/bundles/3rdparty/ext_kf5_frameworks/kio-drop-ktextwidgets.patch
M  +4    -2    project/bundles/appimage/config.sh

https://invent.kde.org/graphics/digikam/commit/5ef7607018ca8ac1128a18de2b0fca30bc0546be
Comment 6 caulier.gilles 2022-01-23 23:19:04 UTC
Git commit e6db88513131131daa5c4b7060b186af50378192 by Gilles Caulier.
Committed on 23/01/2022 at 23:15.
Pushed by cgilles into branch 'master'.

copy list of Qt submodules git revisions as manifiest in /usr/share/qt...
Related: bug 261634

M  +3    -1    project/bundles/3rdparty/ext_qt/5.15-LTS/kde-qt5-lts.sh
M  +3    -1    project/bundles/3rdparty/ext_qt/6.3/kde-qt6.sh

https://invent.kde.org/graphics/digikam/commit/e6db88513131131daa5c4b7060b186af50378192
Comment 7 caulier.gilles 2022-01-24 06:41:19 UTC
Git commit bf5ee4c11fb37e8cab35d9231bed34d96c6d5afb by Gilles Caulier.
Committed on 24/01/2022 at 06:39.
Pushed by cgilles into branch 'master'.

copy qt git revision manifest in the bundle at ./usr/share/digikam/MANIFEST.txt
Related: bug 261634

M  +3    -5    project/bundles/3rdparty/ext_qt/5.15-LTS/kde-qt5-lts.sh
M  +4    -6    project/bundles/3rdparty/ext_qt/6.3/kde-qt6.sh
M  +2    -0    project/bundles/appimage/01-build-host.sh
M  +0    -2    project/bundles/appimage/03-build-digikam.sh
M  +6    -1    project/bundles/appimage/04-build-appimage.sh

https://invent.kde.org/graphics/digikam/commit/bf5ee4c11fb37e8cab35d9231bed34d96c6d5afb
Comment 8 caulier.gilles 2022-01-24 09:43:23 UTC
Git commit 332ac3bd39e779666eb74348b3690c40c64cce01 by Gilles Caulier.
Committed on 24/01/2022 at 09:37.
Pushed by cgilles into branch 'master'.

prepare libs info dialog to show MANIFEST file contents with all git revisions from upstream code as QT5.15 LTS

M  +74   -33   core/app/views/utils/componentsinfodlg.cpp
M  +111  -52   core/libs/dialogs/libsinfodlg.cpp
M  +6    -0    core/libs/dialogs/libsinfodlg.h

https://invent.kde.org/graphics/digikam/commit/332ac3bd39e779666eb74348b3690c40c64cce01
Comment 9 caulier.gilles 2022-01-24 10:12:10 UTC
Git commit 7613ada0bbe789e44e185e70035445a828778dc3 by Gilles Caulier.
Committed on 24/01/2022 at 10:10.
Pushed by cgilles into branch 'master'.

Add support of MANIFEST.txt file with all git revisions from upstream components
Related: bug 261634

M  +50   -0    core/libs/dialogs/libsinfodlg.cpp

https://invent.kde.org/graphics/digikam/commit/7613ada0bbe789e44e185e70035445a828778dc3
Comment 10 caulier.gilles 2022-01-24 12:05:57 UTC
Git commit 92ff73c9bd7c174088187ebf5f3a6e5b8d99c1df by Gilles Caulier.
Committed on 24/01/2022 at 12:04.
Pushed by cgilles into branch 'master'.

Add new setting for QtWebEngine revision to use with Qt 5.15 LTS

M  +1    -1    project/bundles/3rdparty/ext_qt/5.15-LTS/CMakeLists.txt
M  +2    -1    project/bundles/3rdparty/ext_qt/5.15-LTS/kde-qt5-lts.sh
M  +12   -1    project/bundles/appimage/01-build-host.sh
M  +4    -1    project/bundles/appimage/config.sh

https://invent.kde.org/graphics/digikam/commit/92ff73c9bd7c174088187ebf5f3a6e5b8d99c1df
Comment 11 caulier.gilles 2022-01-24 12:36:44 UTC
Maik, 

This is the new Help/Components info Dialog with all MANIFEST git revisions for Qt 5.15. LTS :

https://i.imgur.com/R7o2xoj.png

This will allow to know which patches is included in the Qt code compiled for the AppImage. The negative is that we are forced to recompile whole Qt if we need a more recent snapshot, and this take age...

Note the Qt version is now 5.15.3 and Qt WebEngine is the last one released officially 5.15.8
In opposite of all other Qt components, QtWebEngine still available in open source as LTS, probably about the Chromium licensing restrictions used internally.

So I have an experimental AppImage bundle of 7.6.0, supporting ICU, supporting Mariadb > 10.6, and supporting all last fixes in for Qt5 backported from Qt6 by KDE team. Great no ? This is want mean that we can live with Qt 5.15 LTS safety for a while.

My plan is to start the Qt6 build for AppImage to continue the port initiated this summer with Google Summer of Code. See my bug #261634.

Gilles
Comment 12 caulier.gilles 2022-01-24 12:45:58 UTC
Maik,

I pushed the experimental AppImage bundle 7.6.0 with ICU and Qt 5.15 LTS support here :

https://files.kde.org/digikam/experimental/

If you want to test on your computer...

Thanks in advance

Note : the AppImage compiled daily by the CD server is not this one. I must stop the server and recompile whole Qt5/KF5/DK installation. I will do it later (i'm not on the front of the server).

Gilles
Comment 13 caulier.gilles 2022-01-25 09:37:02 UTC
Git commit 340b6fe593599a7a1cefd8b77bce86f66fa264ec by Gilles Caulier.
Committed on 25/01/2022 at 09:35.
Pushed by cgilles into branch 'master'.

create manifest for libraw in digiKam core.
merge manifest files in all bundles
Related: bug 261634

M  +1    -1    NEWS
A  +2    -0    core/libs/rawengine/libraw/libraw_manifest.txt
M  +1    -0    project/bundles/appimage/03-build-digikam.sh
M  +9    -1    project/bundles/appimage/04-build-appimage.sh
M  +1    -0    project/bundles/macports/03-build-digikam.sh
M  +14   -0    project/bundles/macports/04-build-installer.sh
M  +1    -0    project/bundles/mxe/03-build-digikam.sh
M  +11   -0    project/bundles/mxe/04-build-installer.sh

https://invent.kde.org/graphics/digikam/commit/340b6fe593599a7a1cefd8b77bce86f66fa264ec
Comment 14 caulier.gilles 2022-01-25 11:09:00 UTC
Git commit 3351d8c3a80247c9008994ae10fe84d8d6134839 by Gilles Caulier.
Committed on 25/01/2022 at 11:07.
Pushed by cgilles into branch 'master'.

Create manifest for rolling release Exiv2
Related: bug 261634

M  +1    -1    core/libs/rawengine/libraw/libraw_manifest.txt
M  +14   -8    project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
M  +1    -1    project/bundles/3rdparty/ext_qt/5.15-LTS/kde-qt5-lts.sh
M  +1    -1    project/bundles/3rdparty/ext_qt/6.3/kde-qt6.sh
A  +37   -0    project/scripts/create_manifest.sh

https://invent.kde.org/graphics/digikam/commit/3351d8c3a80247c9008994ae10fe84d8d6134839
Comment 15 caulier.gilles 2022-01-25 12:19:45 UTC
Git commit cf3de1f3b2f9eba2a4b6fe7be050d31b30a520cd by Gilles Caulier.
Committed on 25/01/2022 at 12:18.
Pushed by cgilles into branch 'master'.

create manifest for rolling release lensfun and qtav
Related: bug 261634

M  +3    -1    project/bundles/3rdparty/ext_exiv2/CMakeLists.txt
M  +12   -2    project/bundles/3rdparty/ext_lensfun/CMakeLists.txt
M  +11   -2    project/bundles/3rdparty/ext_qtav/CMakeLists.txt
M  +3    -0    project/bundles/appimage/03-build-digikam.sh
M  +1    -1    project/bundles/appimage/config.sh
M  +2    -2    project/scripts/create_manifest.sh

https://invent.kde.org/graphics/digikam/commit/cf3de1f3b2f9eba2a4b6fe7be050d31b30a520cd
Comment 16 caulier.gilles 2022-01-26 05:16:31 UTC
Macports UPSTREAM bug to support KDE Qt5 LTS collection patches repository:

https://trac.macports.org/ticket/64518
Comment 17 caulier.gilles 2022-01-26 05:17:03 UTC
MXE UPSTREAM bug to support KDE Qt5 LTS collection patches repository:

https://github.com/mxe/mxe/issues/2685
Comment 18 caulier.gilles 2022-01-28 04:54:31 UTC
Git commit c31062cbf3b7b55aa485787c1e12f67832327b43 by Gilles Caulier.
Committed on 28/01/2022 at 04:52.
Pushed by cgilles into branch 'master'.

include O2 library manifest with git revision to all bundles.
Related: bug 261634

A  +2    -0    core/libs/dplugins/webservices/o2/o2_manifest.txt
M  +3    -0    project/bundles/appimage/03-build-digikam.sh
M  +3    -0    project/bundles/macports/03-build-digikam.sh
M  +3    -0    project/bundles/mxe/03-build-digikam.sh

https://invent.kde.org/graphics/digikam/commit/c31062cbf3b7b55aa485787c1e12f67832327b43