Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 17 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
key: vcpkg-macOS-${{ hashFiles('prepare_osx_build_environment.sh') }}
- name: Build libraries
run: |
mkdir -p ${LIBS_PATH}/Qt-6.10.2-OpenSSL
mkdir -p ${LIBS_PATH}/Qt-6.11.1-OpenSSL
./prepare_osx_build_environment.sh -p ${LIBS_PATH}
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: 6.10.2
version: 6.11.1
arch: clang_64
cache: true
- name: Build
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
container: fedora:${{ matrix.container }}
strategy:
matrix:
container: [42, 43, 44]
container: [43, 44]
steps:
- name: Download artifact
uses: dawidd6/action-download-artifact@v20
Expand All @@ -140,7 +140,7 @@ jobs:
path: build/qdigidoc4*.rpm
windows:
name: Build on Windows
runs-on: ${{ matrix.platform == 'arm64' && 'windows-11-arm' || 'windows-2025' }}
runs-on: windows-2022
strategy:
matrix:
vcver: [143]
Expand All @@ -160,7 +160,8 @@ jobs:
- name: Install artifact
run: |
Rename-Item "libdigidocpp*.msi" libdigidocpp.msi
msiexec /qn /i libdigidocpp.msi
$r = Start-Process msiexec -ArgumentList '/a', 'libdigidocpp.msi', '/qn', "TARGETDIR=$env:GITHUB_WORKSPACE\libs", '/l*v', 'install.log' -Wait -PassThru
if ($r.ExitCode -ne 0) { Get-Content install.log; exit $r.ExitCode }
- name: Cache vcpkg
uses: actions/cache@v5
with:
Expand All @@ -169,24 +170,26 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: 6.10.2
arch: ${{ matrix.platform == 'arm64' && 'win64_msvc2022_arm64' || 'win64_msvc2022_64' }}
version: 6.11.1
arch: ${{ matrix.platform == 'arm64' && 'win64_msvc2022_arm64_cross_compiled' || 'win64_msvc2022_64' }}
cache: true
- name: Setup dev env
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.platform }}
aqtsource: git+https://github.com/miurahr/aqtinstall.git
- name: Install WiX
run: |
dotnet tool install -g wix --version 6.0.2
wix extension -g add WixToolset.UI.wixext/6.0.2
- name: Build
shell: cmd
env:
VCPKG_BINARY_SOURCES: clear;files,${{ github.workspace }}/vcpkg_cache,readwrite
run: |
cmake "-GNinja" -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo `
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake `
-DVCPKG_MANIFEST_DIR=${{ github.workspace }}/client/libcdoc
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find VC\Auxiliary\Build\vcvarsall.bat`) do call "%%i" ${{ matrix.platform == 'arm64' && 'amd64_arm64' || 'amd64' }}
set QT_HOST_PATH=%QT_HOST_PATH:\=/%
cmake -GNinja -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo ^
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake ^
-DVCPKG_MANIFEST_DIR=${{ github.workspace }}/client/libcdoc ^
-Dlibdigidocpp_ROOT=${{ github.workspace }}/libs/PFiles64 ^
${{ matrix.platform == 'arm64' && '-DQT_HOST_PATH=%QT_HOST_PATH%' || '' }}
cmake --build build --target msi
cmake --build build --target msishellext
cmake --build build --target appx
Expand Down
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.22)
if(NOT EXISTS ${CMAKE_SOURCE_DIR}/common/CMakeLists.txt)
message(FATAL_ERROR "common submodule directory empty, did you 'git clone --recursive'?")
endif()
project(qdigidoc4 VERSION 4.10.0
project(qdigidoc4 VERSION 4.11.0
DESCRIPTION "DigiDoc4 application for digital signing and encryption"
HOMEPAGE_URL https://github.com/open-eid/DigiDoc4-Client
)
Expand Down Expand Up @@ -33,6 +33,9 @@ set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION YES)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_DEBUG NO)
set(CMAKE_DISABLE_FIND_PACKAGE_Boost ON)
set(CMAKE_DISABLE_FIND_PACKAGE_Doxygen ON)
set(CMAKE_DISABLE_FIND_PACKAGE_SWIG ON)
set(CPACK_PACKAGE_VERSION ${VERSION})
set(CPACK_GENERATOR RPM)
set(CPACK_PACKAGE_CONTACT "RIA <info@ria.ee>")
Expand Down
25 changes: 0 additions & 25 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -264,28 +264,3 @@ client/fonts
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

_______________________________________________________________________________
schema

MIT License

Copyright (c) 2023 Open Electronic Identity

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
3. Configure

cmake -B build -S . \
-DCMAKE_PREFIX_PATH=~/cmake_builds/Qt-6.10.2-OpenSSL
-DCMAKE_PREFIX_PATH=~/cmake_builds/Qt-6.11.1-OpenSSL \
-DOPENSSL_ROOT_DIR=~/cmake_build/OpenSSL \
-DLDAP_ROOT=~/cmake_build/OpenLDAP \
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
Expand Down Expand Up @@ -95,7 +95,7 @@
3. Configure

cmake -G"NMAKE Makefiles" -B build -S . `
-DCMAKE_PREFIX_PATH=C:\Qt\6.10.2\msvc2022_x64 `
-DCMAKE_PREFIX_PATH=C:\Qt\6.11.1\msvc2022_64 `
-DLibDigiDocpp_ROOT="C:\Program Files (x86)\libdigidocpp" `
-DVCPKG_MANIFEST_DIR=client/libcdoc

Expand Down
6 changes: 6 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
DigiDoc4 version [4.10.0](https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.10.0) release notes
--------------------------------------
- Code, Text and translation improvements and updates

[Full Changelog](https://github.com/open-eid/DigiDoc4-Client/compare/v4.9.0...v4.10.0)

DigiDoc4 version [4.9.0](https://github.com/open-eid/DigiDoc4-Client/releases/tag/v4.9.0) release notes
--------------------------------------
- Code, Text and translation improvements and updates
Expand Down
6 changes: 3 additions & 3 deletions prepare_osx_build_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
set -e

######### Versions of libraries/frameworks to be compiled
QT_VER="6.10.2"
OPENSSL_VER="3.5.5"
OPENLDAP_VER="2.6.12"
QT_VER="6.11.1"
OPENSSL_VER="3.5.6"
OPENLDAP_VER="2.6.13"
REBUILD=false
BUILD_PATH=~/cmake_builds
: ${MACOSX_DEPLOYMENT_TARGET:="13.0"}
Expand Down