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 [07/07/2022 14:06] – [Notes] scorpio810 | doc:packaging_debian [17/01/2024 16:36] (Version actuelle) – scorpio810 | ||
---|---|---|---|
Ligne 16: | Ligne 16: | ||
| | ||
- | [[http:// | + | [[https:// |
=== Git Debian package ==== | === Git Debian package ==== | ||
Ligne 25: | Ligne 25: | ||
=== packaging_script Debian, Ubuntu, Windows === | === packaging_script Debian, Ubuntu, Windows === | ||
- | < | + | <code=bash> |
# | # | ||
#nettoyage des chroots | #nettoyage des chroots | ||
Ligne 258: | Ligne 258: | ||
echo -e " | echo -e " | ||
cd $DEFAULT_DIR/ | cd $DEFAULT_DIR/ | ||
- | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress --exclude-from=ExclusionRSync ~/ | + | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress --exclude-from=ExclusionRSync ~/ |
if [ $? != 0 ]; then | if [ $? != 0 ]; then | ||
{ | { | ||
echo "RSYNC ERROR: problem syncing qelectrotech-$VERSION.r$HEAD " | echo "RSYNC ERROR: problem syncing qelectrotech-$VERSION.r$HEAD " | ||
- | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress --exclude-from=ExclusionRSync ~/ | + | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress --exclude-from=ExclusionRSync ~/ |
} fi | } fi | ||
Ligne 533: | Ligne 533: | ||
read a | read a | ||
if [[ $a == " | if [[ $a == " | ||
- | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress | + | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress |
if [ $? != 0 ]; then | if [ $? != 0 ]; then | ||
{ | { | ||
echo "RSYNC ERROR: problem syncing qelectrotech-$VERSION.r$HEAD " | echo "RSYNC ERROR: problem syncing qelectrotech-$VERSION.r$HEAD " | ||
- | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress | + | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress |
} fi | } fi | ||
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 " | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | < | ||
# | # | ||
#set -x | #set -x | ||
Ligne 626: | Ligne 822: | ||
=== Flatpak === | === Flatpak === | ||
- | < | + | <code=bash> |
# | # | ||
#set -x | #set -x | ||
Ligne 667: | Ligne 863: | ||
flatpak-builder --force-clean --ccache --repo=qet_git/ | flatpak-builder --force-clean --ccache --repo=qet_git/ | ||
flatpak build-update-repo qet_git/ | flatpak build-update-repo qet_git/ | ||
- | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress qet_git/ | + | rsync -e ssh -av --delete-after --no-owner --no-g --chmod=g+w --progress qet_git/ |
</ | </ |