From 8833dfa6c45d7fbd732687afd2c9f399f9889e49 Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Fri, 12 Apr 2024 22:04:04 +0300 Subject: [PATCH] Use WIX 5 IB-8024 Signed-off-by: Raul Metsma --- .github/workflows/build.yml | 8 +-- CMakeLists.txt | 3 + cmake | 2 +- qdigidoc4.wxs | 116 +++++++++++++----------------------- 4 files changed, 48 insertions(+), 81 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 294bf00d5..1db20d076 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,10 +62,10 @@ jobs: steps: - name: Install dependencies if: matrix.container == '20.04' - run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper pkg-config cmake libldap2-dev gettext libpcsclite-dev libssl-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev lintian libflatbuffers-dev zlib1g-dev + run: apt update -qq && apt install --no-install-recommends -y git lsb-release build-essential devscripts debhelper pkg-config cmake libldap2-dev gettext libpcsclite-dev libssl-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev lintian libflatbuffers-dev zlib1g-dev - name: Install dependencies if: matrix.container != '20.04' - run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper pkg-config cmake libldap2-dev gettext libpcsclite-dev libssl-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools lintian libflatbuffers-dev zlib1g-dev + run: apt update -qq && apt install --no-install-recommends -y git lsb-release build-essential devscripts debhelper pkg-config cmake libldap2-dev gettext libpcsclite-dev libssl-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools lintian libflatbuffers-dev zlib1g-dev - name: Checkout uses: actions/checkout@v4 with: @@ -189,8 +189,8 @@ jobs: sdk: 10.0.19041.0 - name: Install WiX run: | - dotnet tool install --global wix - wix extension -g add WixToolset.UI.wixext/4.0.4 + dotnet tool install -g wix --version 5.0.0 + wix extension -g add WixToolset.UI.wixext/5.0.0 - name: Build run: | md build/client diff --git a/CMakeLists.txt b/CMakeLists.txt index d0121740f..c402bec71 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,7 @@ cmake_minimum_required(VERSION 3.16) +if(NOT EXISTS ${CMAKE_SOURCE_DIR}/cmake/modules/VersionInfo.cmake) + message(FATAL_ERROR "cmake submodule directory empty, did you 'git clone --recursive'?") +endif() project(qdigidoc4 VERSION 4.6.0) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) diff --git a/cmake b/cmake index da3cafb07..9ff1996b4 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit da3cafb0712eac8fbfddd7d37343016430b65b44 +Subproject commit 9ff1996b4758aeb2f643fdc4ded26f45357cade3 diff --git a/qdigidoc4.wxs b/qdigidoc4.wxs index d699d399c..a8c930026 100644 --- a/qdigidoc4.wxs +++ b/qdigidoc4.wxs @@ -23,7 +23,6 @@ - @@ -33,17 +32,17 @@ - - + + - - + + + Directory="ProgramMenuFolder" WorkingDirectory="INSTALLFOLDER" /> @@ -96,87 +95,52 @@ - - - - - - - - - + + + + + + + + - - - - - - + + + + + + + + - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - + + - - - - + + - - - - + + - - - - + + - - - - + + - - - - - - - - - - - - -