Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
doc:packaging_debian [12/10/2023 12:57] – scorpio810 | doc:packaging_debian [17/01/2024 16:36] (Version actuelle) – scorpio810 | ||
---|---|---|---|
Ligne 557: | Ligne 557: | ||
=== AppImage === | === AppImage === | ||
+ | |||
+ | |||
+ | We use now Digikam scripts, on Xubuntu 20.04 VM for create Qt 5.15.X compile environment with system-sqlite (Sqilte3) for database project exporting.\\ | ||
+ | See: | ||
+ | https:// | ||
+ | First read the README file: \\ | ||
+ | https:// | ||
+ | |||
+ | We only use __01-build-host.sh__ | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
+ | cd digikam/ | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | diff --git a/ | ||
+ | index a362363309..8548419442 100644 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -38,7 +38,7 @@ ExternalProject_Add(ext_qt5 | ||
+ | | ||
+ | | ||
+ | | ||
+ | - -sql-sqlite | ||
+ | + -system-sqlite | ||
+ | | ||
+ | # | ||
+ | -icu | ||
+ | diff --git a/ | ||
+ | index f8c317f336..77e1247fb3 100755 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -80,19 +80,10 @@ cmake $ORIG_WD/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | - -DKDE_VERSION=$DK_KDE_VERSION \ | ||
+ | - -DENABLE_QTVERSION=$DK_QTVERSION \ | ||
+ | - -DENABLE_QTWEBENGINE=$DK_QTWEBENGINE | ||
+ | + -DKDE_VERSION=$DK_KDE_VERSION | ||
+ | |||
+ | # Install new cmake recent version and shared lib | ||
+ | |||
+ | -cmake --build . --config RelWithDebInfo --target ext_cmake | ||
+ | -cmake --build . --config RelWithDebInfo --target ext_jasper | ||
+ | -cmake --build . --config RelWithDebInfo --target ext_libde265 | ||
+ | -cmake --build . --config RelWithDebInfo --target ext_libjxl | ||
+ | -cmake --build . --config RelWithDebInfo --target ext_libaom | ||
+ | -cmake --build . --config RelWithDebInfo --target ext_libavif | ||
+ | -cmake --build . --config RelWithDebInfo --target ext_ffmpeg | ||
+ | |||
+ | ################################################################################################# | ||
+ | |||
+ | @@ -107,9 +98,7 @@ cmake $ORIG_WD/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | - -DENABLE_QTVERSION=$DK_QTVERSION \ | ||
+ | - -DENABLE_QTWEBENGINE=$DK_QTWEBENGINE \ | ||
+ | - -DQTWEBENGINE_VERSION=$DK_QTWEBENGINEVERSION | ||
+ | + -DENABLE_QTVERSION=$DK_QTVERSION | ||
+ | |||
+ | # Low level libraries and Qt dependencies | ||
+ | # NOTE: The order to compile each component here is very important. | ||
+ | @@ -121,9 +110,7 @@ cmake --build . --config RelWithDebInfo --target ext_openssl | ||
+ | |||
+ | cmake --build . --config RelWithDebInfo --target ext_qt$DK_QTVERSION -- -j$CPU_CORES | ||
+ | |||
+ | -if [[ $DK_QTWEBENGINE = 0 ]] ; then | ||
+ | - cmake --build . --config RelWithDebInfo --target ext_qtwebkit | ||
+ | -fi | ||
+ | + | ||
+ | |||
+ | # Clean up previous openssl install | ||
+ | |||
+ | @@ -131,9 +118,7 @@ rm -fr / | ||
+ | rm -fr / | ||
+ | rm -fr / | ||
+ | |||
+ | -cmake --build . --config RelWithDebInfo --target ext_imagemagick | ||
+ | -cmake --build . --config RelWithDebInfo --target ext_opencv | ||
+ | -cmake --build . --config RelWithDebInfo --target ext_heif | ||
+ | + | ||
+ | |||
+ | ################################################################################################# | ||
+ | |||
+ | diff --git a/ | ||
+ | index 523b1c4c73..92dad7912e 100755 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -123,35 +123,5 @@ cmake --build . --config RelWithDebInfo --target ext_breeze | ||
+ | |||
+ | ################################################################################################# | ||
+ | |||
+ | -if [[ $DK_QTVERSION == 6 ]] ; then | ||
+ | - | ||
+ | - KF6_GITREV_LST=$ORIG_WD/ | ||
+ | - | ||
+ | - echo "List git sub-module revisions in $KF6_GITREV_LST" | ||
+ | - | ||
+ | - if [ -f $KF6_GITREV_LST ] ; then | ||
+ | - rm -f $KF6_GITREV_LST | ||
+ | - fi | ||
+ | - | ||
+ | - currentDate=`date +" | ||
+ | - echo "+KF6 Snapshot $currentDate" | ||
+ | - | ||
+ | - # --- List git revisions for all sub-modules | ||
+ | - | ||
+ | - DIRS=$(find $BUILDING_DIR/ | ||
+ | - | ||
+ | - for ITEM in $DIRS ; do | ||
+ | - | ||
+ | - COMPONENT=(echo $ITEM | cut -d' | ||
+ | - SUBDIR=$BUILDING_DIR/ | ||
+ | - cd $SUBDIR | ||
+ | - echo " | ||
+ | - cd $ORIG_WD | ||
+ | - | ||
+ | - done | ||
+ | - | ||
+ | - cat $KF6_GITREV_LST | ||
+ | - | ||
+ | -fi | ||
+ | |||
+ | | ||
+ | diff --git a/ | ||
+ | index 2bcfca9e7c..d428e12a5e 100644 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -132,17 +132,6 @@ invent.kde.org \ | ||
+ | | ||
+ | " | ||
+ | |||
+ | -if [[ ! -f $HOME/ | ||
+ | - touch $HOME/ | ||
+ | -fi | ||
+ | - | ||
+ | -for server in $SERVER_LIST; | ||
+ | - | ||
+ | - echo " | ||
+ | |||
+ | - ssh-keygen -R $server | ||
+ | - ssh-keyscan -H $server >> $HOME/ | ||
+ | - | ||
+ | -done | ||
+ | |||
+ | } | ||
+ | diff --git a/ | ||
+ | index 8d5722d756..9bfdf91799 100644 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -61,7 +61,7 @@ DK_KA_VERSION=" | ||
+ | | ||
+ | |||
+ | # Option to use QtWebEngine instead QtWebkit | ||
+ | -DK_QTWEBENGINE=1 | ||
+ | +DK_QTWEBENGINE=0 | ||
+ | |||
+ | # Installer sub version to differentiates newer updates of the installer itself, even if the underlying application hasn’t changed. | ||
+ | # | ||
+ | @@ -70,7 +70,7 @@ DK_QTWEBENGINE=1 | ||
+ | | ||
+ | |||
+ | # Upload automatically bundle to files.kde.org (pre-release only). | ||
+ | -DK_UPLOAD=1 | ||
+ | +DK_UPLOAD=0 | ||
+ | | ||
+ | |||
+ | # KDE frameworks version + Upload URL. | ||
+ | diff --git a/ | ||
+ | index 0a283ad98d..989e52afa7 100644 | ||
+ | --- a/ | ||
+ | +++ b/ | ||
+ | @@ -211,11 +211,7 @@ for pkg in ${optional_packages[@]}; | ||
+ | echo " | ||
+ | done | ||
+ | |||
+ | -# Install more recent version of NodeJs for QtWebEngine. | ||
+ | -# https:// | ||
+ | |||
+ | -curl -sL https:// | ||
+ | -sudo apt-get install nodejs | ||
+ | |||
+ | echo -e " | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
< | < |