diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d610d596..3883ae9e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: name: Build on macOS runs-on: macos-latest env: - MACOSX_DEPLOYMENT_TARGET: '10.13' + MACOSX_DEPLOYMENT_TARGET: '10.14' steps: - name: Checkout uses: actions/checkout@v2 @@ -33,12 +33,12 @@ jobs: - name: Build run: | QT_DIR=$(ls -d /Library/Developer/Qt-*-OpenSSL | tail -n 1) - mkdir build && cd build && cmake \ + cmake \ -DQt5_DIR=${QT_DIR}/lib/cmake/Qt5 \ -DOPENSSL_ROOT_DIR=/Library/Developer/OpenSSL \ -DLDAP_ROOT=/Library/Developer/OpenLDAP \ - -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" .. - make zipdebug macdeployqt zip + -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -B build -S . + cmake --build build --target zipdebug macdeployqt zip - name: Archive artifacts uses: actions/upload-artifact@v2 with: @@ -107,9 +107,7 @@ jobs: - name: Install Build Deps run: dnf groupinstall -y "Development Tools" "Development Libraries" fedora-packager - name: Install Deps - run: | - dnf install -y \ - cmake openssl-devel vim-common qt5-qtsvg-devel qt5-linguist + run: dnf install -y cmake openssl-devel vim-common qt5-qtsvg-devel qt5-linguist - name: Download artifact uses: dawidd6/action-download-artifact@v2 with: @@ -119,16 +117,11 @@ jobs: path: libdigidocpp-pkg repo: 'open-eid/libdigidocpp' - name: Install artifact - run: | - dnf install -y ./libdigidocpp-pkg/*$(lsb_release -rs)*.rpm - rm -rf libdigidocpp-pkg + run: dnf install -y ./libdigidocpp-pkg/*$(lsb_release -rs)*.rpm - name: Build run: | - mkdir build - cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr .. - make - make package + cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S . + cmake --build build --target all package - name: Archive artifacts uses: actions/upload-artifact@v2 with: @@ -200,7 +193,7 @@ jobs: uses: lukka/run-vcpkg@v7 with: vcpkgArguments: openssl - vcpkgGitCommitId: d417ae59d6e9aa20d9f812b5deb966645c54687d + vcpkgGitCommitId: b25cb779e5783531cc66562e224079b376055939 vcpkgTriplet: ${{ matrix.arch }}-windows - name: Install Qt uses: jurplel/install-qt-action@v2 @@ -216,14 +209,13 @@ jobs: - name: Build run: | md build/client - cd build - copy ${{ env.VCPKG_ROOT }}\installed\${{ matrix.arch }}-windows\bin\*.dll client\ + copy ${{ env.VCPKG_ROOT }}\installed\${{ matrix.arch }}-windows\bin\*.dll build\client\ cmake "-GNinja" -DCMAKE_BUILD_TYPE=RelWithDebInfo ` -DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake ` - "-DLIBDIGIDOCPP_LIBRARY=../libs/libdigidocpp/${{ matrix.arch }}/digidocpp.lib" ` - "-DLIBDIGIDOCPP_INCLUDE_DIR=../libs/libdigidocpp/include" .. - cmake --build . --target msi - cmake --build . --target appx + "-DLIBDIGIDOCPP_LIBRARY=libs/libdigidocpp/${{ matrix.arch }}/digidocpp.lib" ` + "-DLIBDIGIDOCPP_INCLUDE_DIR=libs/libdigidocpp/include" -B build -S . + cmake --build build --target msi + cmake --build build --target appx - name: Archive artifacts uses: actions/upload-artifact@v2 with: diff --git a/CMakeLists.txt b/CMakeLists.txt index 73cd3d59f..fc9f5f6f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10) if(POLICY CMP0074) cmake_policy(SET CMP0074 NEW) endif() -project(qdigidoc4 VERSION 4.2.11) +project(qdigidoc4 VERSION 4.2.12) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules") set(CMAKE_INCLUDE_CURRENT_DIR ON) @@ -26,7 +26,7 @@ set(CPACK_PACKAGE_VERSION ${VERSION}) set(CPACK_GENERATOR "RPM") set(CPACK_PACKAGE_NAME "qdigidoc4") set(CPACK_PACKAGE_RELEASE 1) -set(CPACK_PACKAGE_CONTACT "Andrus Randveer") +set(CPACK_PACKAGE_CONTACT "RIA ") set(CPACK_PACKAGE_VENDOR "RIA") set(CPACK_PACKAGING_INSTALL_PREFIX "/usr/") set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}") diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 4052a14b7..f63a17862 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,3 +1,9 @@ +DigiDoc4 version [4.2.11](https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.2.11) release notes +-------------------------------------- +- Code, Text and translation improvements and updates + +[Full Changelog](https://github.com/open-eid/DigiDoc4-Client/compare/v4.2.9...v4.2.11) + DigiDoc4 version [4.2.9](https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.2.9) release notes -------------------------------------- - Code, Text and translation improvements and updates diff --git a/client/mac/Info.plist.cmake b/client/mac/Info.plist.cmake index 4b6a28c7b..1336c56c0 100644 --- a/client/mac/Info.plist.cmake +++ b/client/mac/Info.plist.cmake @@ -16,6 +16,10 @@ ${MACOSX_BUNDLE_BUNDLE_NAME} CFBundlePackageType APPL + CFBundleSupportedPlatforms + + MacOSX + CFBundleShortVersionString ${MACOSX_BUNDLE_SHORT_VERSION_STRING} CFBundleVersion diff --git a/cmake b/cmake index 672bbbf86..eececc017 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 672bbbf868e3822bd43a8530c994ef010fd88e0b +Subproject commit eececc017b2d40e025018727afb9d925482e1a14