Skip to content

Commit

Permalink
Use XSD 4.2.0
Browse files Browse the repository at this point in the history
IB-7856

Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma committed Nov 1, 2023
1 parent 7dc3ce9 commit 86f4e4c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
8 changes: 8 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Libdigidocpp library [3.17.0](https://github.com/open-eid/libdigidocpp/releases/tag/v3.17.0) release notes
--------------------------------------
- Update libraries and platform support (#549, #554, #558, #553)
- Improve signature and container compatibility (#543, #545, #559, #561)
- Other fixes and optimizations (#542, #550, #557, #544, #551)

[Full Changelog](https://github.com/open-eid/libdigidocpp/compare/v3.16.0...v3.17.0)

Libdigidocpp library [3.16.0](https://github.com/open-eid/libdigidocpp/releases/tag/v3.16.0) release notes
--------------------------------------
- Update libraries and platform support (#530, #477, #534, #535)
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Depends:
${misc:Depends},
${shlibs:Depends}
Recommends:
opensc
opensc-pkcs11
Conflicts:
libdigidoc2 (<<3.0)
Description: DigiDoc digital signature library
Expand Down
2 changes: 1 addition & 1 deletion examples/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.1'
classpath 'com.android.tools.build:gradle:8.1.2'
}
}

Expand Down
23 changes: 12 additions & 11 deletions prepare_win_build_environment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,32 @@
param(
[string]$vcpkg = "vcpkg\vcpkg.exe",
[string]$git = "git.exe",
[string]$7zip = "C:\Program Files\7-Zip\7z.exe",
[string]$toolset = "142",
[string]$xsdver = "xsd-4.0.0-i686-windows",
[switch]$xsd = $false,
[switch]$dependencies = $false
)

if(!(Test-Path -Path $vcpkg)) {
$vcpkg_dir = (split-path -parent $vcpkg)
& $git clone --depth 1 https://github.com/microsoft/vcpkg $vcpkg_dir
& $vcpkg_dir\bootstrap-vcpkg.bat
}

function xsd() {
$client = new-object System.Net.WebClient
$client.DownloadFile("http://www.codesynthesis.com/download/xsd/4.0/windows/i686/$xsdver.zip", "$PSScriptRoot\$xsdver.zip")
& $7zip x "$xsdver.zip" > $null
Rename-Item $xsdver xsd
& mkdir xsd
foreach($xsdver in @("xsd-4.2.0-x86_64-windows10", "libxsd-4.2.0-windows")) {
$client.DownloadFile("https://www.codesynthesis.com/download/xsd/4.2/windows/windows10/x86_64/$xsdver.zip", "$PSScriptRoot\$xsdver.zip")
& tar xf "$xsdver.zip"
& xcopy /e /r /y $xsdver\*.* xsd
& Remove-Item $xsdver -Force -Recurse -ErrorAction Ignore
}
}

if($xsd) {
xsd
}

if($dependencies) {
if(!(Test-Path -Path $vcpkg)) {
$vcpkg_dir = (split-path -parent $vcpkg)
& $git clone --depth 1 https://github.com/microsoft/vcpkg $vcpkg_dir
& $vcpkg_dir\bootstrap-vcpkg.bat
}
& $vcpkg install --clean-after-build --triplet x86-windows-v$toolset --x-feature=tests --x-install-root=vcpkg_installed_x86
& $vcpkg install --clean-after-build --triplet x64-windows-v$toolset --x-feature=tests --x-install-root=vcpkg_installed_x64
}
Expand Down

0 comments on commit 86f4e4c

Please sign in to comment.