Skip to content

Commit 97a97ae

Browse files
metsmamrts
authored andcommitted
Update version number
- remove Qt5 support - remove OpenSSL 1.1.1 support WE2-1050 Signed-off-by: Raul Metsma <[email protected]>
1 parent 083f4b7 commit 97a97ae

File tree

19 files changed

+48
-90
lines changed

19 files changed

+48
-90
lines changed

.github/workflows/cmake-linux-fedora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
container: fedora:${{ matrix.container }}
1515
strategy:
1616
matrix:
17-
container: [38, 39, 40]
17+
container: [40, 41]
1818

1919
steps:
2020
- name: Install Deps

.github/workflows/cmake-linux-ubuntu.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,16 @@ env:
1313

1414
jobs:
1515
build:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04${{ matrix.arch == 'arm64' && '-arm' || '' }}
1717
container: ubuntu:${{matrix.container}}
1818
strategy:
1919
matrix:
20-
container: ['20.04', '22.04', '24.04']
20+
container: ['22.04', '24.04', '24.10']
21+
arch: ['amd64', 'arm64']
2122

2223
steps:
2324
- name: Install dependencies
24-
if: matrix.container == '20.04'
25-
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev
26-
27-
- name: Install dependencies
28-
if: matrix.container != '20.04'
29-
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6core5compat6-dev
25+
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools
3026

3127
- uses: actions/checkout@v4
3228
with:
@@ -46,5 +42,5 @@ jobs:
4642

4743
- uses: actions/upload-artifact@v4
4844
with:
49-
name: web-eid-app-ubuntu-build-ubuntu${{matrix.container}}-${{github.run_number}}
45+
name: web-eid-app-ubuntu-build-ubuntu${{matrix.container}}-${{ matrix.arch }}-${{github.run_number}}
5046
path: build/*.*deb

.github/workflows/cmake-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Install Qt
6565
uses: jurplel/install-qt-action@v4
6666
with:
67-
version: 6.7.2
67+
version: 6.7.3
6868
arch: clang_64
6969

7070
- name: Configure

.github/workflows/cmake-windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install Qt
3636
uses: jurplel/install-qt-action@v4
3737
with:
38-
version: 6.7.2
38+
version: 6.7.3
3939
arch: win64_msvc2019_64
4040

4141
- name: Setup MS Visual C++ dev env
@@ -45,10 +45,10 @@ jobs:
4545

4646
- name: Install WiX
4747
run: |
48-
dotnet tool install --global wix --version 5.0.1
49-
wix extension -g add WixToolset.UI.wixext/5.0.1
50-
wix extension -g add WixToolset.Util.wixext/5.0.1
51-
wix extension -g add WixToolset.BootstrapperApplications.wixext/5.0.1
48+
dotnet tool install --global wix --version 5.0.2
49+
wix extension -g add WixToolset.UI.wixext/5.0.2
50+
wix extension -g add WixToolset.Util.wixext/5.0.2
51+
wix extension -g add WixToolset.BootstrapperApplications.wixext/5.0.2
5252
5353
- name: Configure
5454
run: |

CMakeLists.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.16)
1+
cmake_minimum_required(VERSION 3.22)
22

33
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/lib/libelectronic-id/README.md")
44
message(FATAL_ERROR "libelectronic-id submodule directory empty, did you 'git clone --recursive'?")
@@ -11,7 +11,7 @@ elseif($ENV{CI_PIPELINE_IID})
1111
else()
1212
set(BUILD_NUMBER 0)
1313
endif()
14-
project(web-eid VERSION 2.6.0.${BUILD_NUMBER})
14+
project(web-eid VERSION 2.7.0.${BUILD_NUMBER})
1515

1616
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
1717
set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION_TWEAK})
@@ -32,9 +32,8 @@ set(SIGNCERT "" CACHE STRING "Common name of certificate to used sign binaries,
3232
set(CROSSSIGNCERT "" CACHE STRING "Common name of certificate to used cross sign binaries, empty skips signing (Windows)")
3333
set(SAFARI_PROVISIONPROFILE "" CACHE STRING "Provision profile to include in application (macOS)")
3434

35-
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
36-
find_package(Qt${QT_VERSION_MAJOR} 5.12.0 REQUIRED COMPONENTS Core Widgets Network Test LinguistTools Svg)
37-
get_target_property(qtCore_install_prefix Qt${QT_VERSION_MAJOR}::qmake IMPORTED_LOCATION)
35+
find_package(Qt6 6.2.0 REQUIRED COMPONENTS Core Widgets Network Test LinguistTools SvgWidgets)
36+
get_target_property(qtCore_install_prefix Qt6::qmake IMPORTED_LOCATION)
3837
get_filename_component(qtCore_install_prefix ${qtCore_install_prefix} DIRECTORY)
3938

4039
add_subdirectory(lib/libelectronic-id)

debian/control

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Priority: optional
44
Maintainer: RIA <[email protected]>
55
Build-Depends:
66
cmake,
7-
debhelper-compat (= 12),
7+
debhelper-compat (= 13),
88
libpcsclite-dev,
99
libssl-dev,
1010
libgtest-dev,
11-
qt6-tools-dev | qttools5-dev,
12-
qt6-l10n-tools | qttools5-dev-tools,
13-
libqt6svg6-dev | libqt5svg5-dev
14-
Standards-Version: 4.5.1
11+
qt6-tools-dev,
12+
qt6-l10n-tools,
13+
libqt6svg6-dev
14+
Standards-Version: 4.6.1
1515
Homepage: https://github.com/web-eid/web-eid-app
1616

1717
Package: web-eid
@@ -30,7 +30,7 @@ Architecture: any
3030
Multi-Arch: foreign
3131
Depends:
3232
pcscd,
33-
qt6-qpa-plugins | libqt5gui5,
33+
qt6-qpa-plugins,
3434
${shlibs:Depends},
3535
${misc:Depends}
3636
Replaces: token-signing-native

install/web-eid.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
2424
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
2525
<Package Name="Web eID software" UpgradeCode="4f0e0fef-0dbc-481b-9d81-08921740f781"
26-
Language="1033" Version="$(var.MSI_VERSION)" Codepage="1251" Manufacturer="RIA" InstallerVersion="500">
26+
Language="1033" Version="!(bind.FileVersion.App)" Manufacturer="RIA">
2727
<MediaTemplate EmbedCab="yes" CompressionLevel="high" />
2828
<Icon Id="web_eid.exe" SourceFile="$(var.app_path)" />
2929
<Property Id="ARPPRODUCTICON" Value="web_eid.exe" />
@@ -69,7 +69,7 @@
6969

7070
<StandardDirectory Id="ProgramFiles6432Folder">
7171
<Directory Id="INSTALLFOLDER" Name="Web eID">
72-
<File Source="$(var.app_path)" />
72+
<File Id="App" Source="$(var.app_path)" />
7373
<?ifdef var.qt_path ?>
7474
<File Source="$(var.VCPATH)\msvcp140$(var.qt_suffix).dll" />
7575
<File Source="$(var.VCPATH)\msvcp140_1$(var.qt_suffix).dll" />

lib/libelectronic-id

Submodule libelectronic-id updated 40 files

src/app/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ if(WIN32)
3131
-arch ${PLATFORM}
3232
-ext WixToolset.UI.wixext
3333
-bv WixUIDialogBmp=${CMAKE_SOURCE_DIR}/install/dlgbmp.bmp
34-
-d MSI_VERSION=${PROJECT_VERSION}
3534
-d ssl_path="${SSL_PATH}"
3635
-d qt_suffix="$<$<CONFIG:Debug>:d>"
3736
-d json=${CMAKE_CURRENT_BINARY_DIR}/eu.webeid.json

src/app/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
int main(int argc, char* argv[])
3030
{
3131
Q_INIT_RESOURCE(web_eid_resources);
32-
Q_INIT_RESOURCE(translations);
3332

3433
Application app(argc, argv, QStringLiteral("web-eid"));
3534

0 commit comments

Comments
 (0)