1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-18 10:27:09 +00:00

CI: Windows: try installing zlib

This commit is contained in:
gitlost
2025-09-16 11:04:36 +01:00
parent 5138d0703c
commit 55e89ae01f
6 changed files with 15 additions and 13 deletions

View File

@@ -111,6 +111,10 @@ jobs:
shell: bash
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} && cmake -E make_directory build
- name: Install zlib
shell: bash
run: git clone https://github.com/madler/zlib.git zlib && cd zlib && nmake -f win32\Makefile.msc
- name: Configure CMake
working-directory: build
shell: bash

View File

@@ -57,9 +57,7 @@ Changes
`GS1SYNTAXENGINE_MODE` (CLI --gs1strict, GUI "GS1 Strict" checkbox)
- GS1_MODE: allow GS1 Digital Link URIs (no validation unless
`GS1SYNTAXENGINE_MODE` set)
- CLI: --gs1parens, --gs1nocheck and --gs1strict now imply --gs1;
--gs1parens no longer requires --esc if AI data includes backslashed
parentheses
- CLI: --gs1parens, --gs1nocheck and --gs1strict now imply --gs1
Bugs
----

View File

@@ -1362,16 +1362,16 @@ namespace Zint {
arg_bool(cmd, "--fullmultibyte", supportsFullMultibyte() && (option3() & 0xFF) == ZINT_FULL_MULTIBYTE);
if (supportsGS1()) {
bool done_gs1 = false;
bool gs1_implied = false;
if (gs1Parens() || (inputMode() & GS1PARENS_MODE)) {
arg_bool(cmd, "--gs1parens", (done_gs1 = true));
arg_bool(cmd, "--gs1parens", (gs1_implied = true));
}
if (gs1NoCheck() || (inputMode() & GS1NOCHECK_MODE)) {
arg_bool(cmd, "--gs1nocheck", (done_gs1 = true));
arg_bool(cmd, "--gs1nocheck", (gs1_implied = true));
} else if (gs1SyntaxEngine() || (inputMode() & GS1SYNTAXENGINE_MODE)) {
arg_bool(cmd, "--gs1strict", (done_gs1 = true));
arg_bool(cmd, "--gs1strict", (gs1_implied = true));
}
arg_bool(cmd, "--gs1", (inputMode() & 0x07) == GS1_MODE && !done_gs1);
arg_bool(cmd, "--gs1", (inputMode() & 0x07) == GS1_MODE && !gs1_implied);
arg_bool(cmd, "--gssep", gsSep());
}

View File

@@ -2582,8 +2582,8 @@ Modes and ECI</a> below.</p>
<p>GS1 data can be encoded in a number of symbologies. Application
Identifiers (AIs) should be enclosed in <code>[square brackets]</code>
followed by the data to be encoded (see <a href="#gs1-128">6.1.10.3
GS1-128</a>). For matrix symbologies, GS1 Digital Link URIs are also
supported. To encode GS1 data use the <code>--gs1</code> option.
GS1-128</a>). For matrix symbologies, GS1 Digital Link URIs can also be
given. To encode GS1 data use the <code>--gs1</code> option.
Alternatively, use the <code>--gs1strict</code> option, which strictly
verifies the GS1 data.</p>
<p>GS1 mode is assumed (and doesnt need to be set) for GS1-128, EAN-14,

View File

@@ -1281,7 +1281,7 @@ Interpretations) mechanism to encode the data if the symbology supports it - see
GS1 data can be encoded in a number of symbologies. Application Identifiers
(AIs) should be enclosed in `[square brackets]` followed by the data to be
encoded (see [6.1.10.3 GS1-128]). For matrix symbologies, GS1 Digital Link URIs
are also supported. To encode GS1 data use the `--gs1` option. Alternatively,
can also be given. To encode GS1 data use the `--gs1` option. Alternatively,
use the `--gs1strict` option, which strictly verifies the GS1 data.
GS1 mode is assumed (and doesn't need to be set) for GS1-128, EAN-14, GS1

View File

@@ -1353,8 +1353,8 @@ Interpretations) mechanism to encode the data if the symbology supports it - see
GS1 data can be encoded in a number of symbologies. Application Identifiers
(AIs) should be enclosed in [square brackets] followed by the data to be encoded
(see 6.1.10.3 GS1-128). For matrix symbologies, GS1 Digital Link URIs are also
supported. To encode GS1 data use the --gs1 option. Alternatively, use the
(see 6.1.10.3 GS1-128). For matrix symbologies, GS1 Digital Link URIs can also
be given. To encode GS1 data use the --gs1 option. Alternatively, use the
--gs1strict option, which strictly verifies the GS1 data.
GS1 mode is assumed (and doesnt need to be set) for GS1-128, EAN-14, GS1