Skip to content

Commit a87ecb9

Browse files
Merge pull request #669 from metsma/rel
Add release notes
2 parents e854884 + 608e055 commit a87ecb9

File tree

6 files changed

+25
-15
lines changed

6 files changed

+25
-15
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
brew update
24-
brew install --formula ninja swig doxygen boost
24+
brew install --formula swig doxygen boost
2525
brew unlink [email protected] || true
2626
brew unlink [email protected] || true
2727
brew unlink openssl@3 || true
@@ -108,7 +108,7 @@ jobs:
108108
container: fedora:${{ matrix.container }}
109109
strategy:
110110
matrix:
111-
container: [40, 41, 42, rawhide]
111+
container: [41, 42, rawhide]
112112
steps:
113113
- name: Install Deps
114114
run: |
@@ -132,7 +132,7 @@ jobs:
132132
container: ubuntu:${{ matrix.container }}
133133
strategy:
134134
matrix:
135-
container: ['22.04', '24.04', '24.10']
135+
container: ['22.04', '24.04', '24.10', '25.04']
136136
arch: ['amd64', 'arm64']
137137
env:
138138
DEBIAN_FRONTEND: noninteractive

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ if(TARGET Doxygen::doxygen)
100100
install( DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DOCDIR} )
101101
endif()
102102

103-
if( WIN32 )
104-
add_definitions( -DUNICODE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -DWIN32_LEAN_AND_MEAN )
105-
endif()
106-
107103
enable_testing()
108104
add_subdirectory(src)
109105
add_subdirectory(examples)

RELEASE-NOTES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
Libdigidocpp library [4.2.0](https://github.com/open-eid/libdigidocpp/releases/tag/v4.2.0) release notes
2+
--------------------------------------
3+
- Update libraries and platform support
4+
(#620, #651, #654, #655, #662, #659, #667)
5+
- Improve signature and container compatibility
6+
(#660)
7+
- Other fixes and optimizations
8+
(#653, #664, #657, #666, #663, #661)
9+
10+
[Full Changelog](https://github.com/open-eid/libdigidocpp/compare/v4.1.0...v4.2.0)
11+
112
Libdigidocpp library [4.1.0](https://github.com/open-eid/libdigidocpp/releases/tag/v4.1.0) release notes
213
--------------------------------------
314
- Update libraries and platform support

prepare_osx_build_environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ esac
5151
function xmlsec {
5252
echo Building ${XMLSEC_DIR}
5353
if [ ! -f ${XMLSEC_DIR}.tar.gz ]; then
54-
curl -O -L http://www.aleksey.com/xmlsec/download/${XMLSEC_DIR}.tar.gz
54+
curl -O -L https://www.aleksey.com/xmlsec/download/${XMLSEC_DIR}.tar.gz
5555
fi
5656
rm -rf ${XMLSEC_DIR}
5757
tar xf ${XMLSEC_DIR}.tar.gz

src/CMakeLists.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,15 @@ set( CRYPTO_HEADER
4949
)
5050

5151
add_library(digidocpp_ver INTERFACE)
52-
target_compile_definitions(digidocpp_ver INTERFACE
53-
VERSION_STR="${VERSION}"
54-
$<$<PLATFORM_ID:Windows>:VERSION=${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},${BUILD_NUMBER}>
55-
$<$<PLATFORM_ID:Windows>:TARGET_NAME="$<TARGET_PROPERTY:NAME>">
56-
$<$<PLATFORM_ID:Windows>:$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:APP>>
57-
)
52+
target_compile_definitions(digidocpp_ver INTERFACE VERSION_STR="${VERSION}")
53+
if(WIN32)
54+
target_compile_definitions(digidocpp_ver INTERFACE
55+
UNICODE _CRT_SECURE_NO_WARNINGS _SCL_SECURE_NO_WARNINGS WIN32_LEAN_AND_MEAN
56+
VERSION=${PROJECT_VERSION_MAJOR},${PROJECT_VERSION_MINOR},${PROJECT_VERSION_PATCH},${BUILD_NUMBER}
57+
TARGET_NAME="$<TARGET_PROPERTY:NAME>"
58+
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:APP>
59+
)
60+
endif()
5861
target_sources(digidocpp_ver INTERFACE libdigidocpp.rc)
5962

6063
add_library(digidocpp_util STATIC

src/util/File.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ void File::createDirectory(string path)
261261
#endif
262262
if(result == 0 || errno == EEXIST)
263263
{
264-
DEBUG("Created directory or direcotry exists '%s'", path.c_str());
264+
DEBUG("Created directory or directory exists '%s'", path.c_str());
265265
return;
266266
}
267267
if(errno != ENOENT)

0 commit comments

Comments
 (0)