Repository navigation
FormEncoder 0.13.1: the Windows release builds again, with LAME and the C2PA tool - #18
Merged
Merged
Conversation
…, and CI parses it setup/freeze_backend.bat had lost the space before --distpath, so PyInstaller took dist-engine as the script and refused formencoder_engine.py. The space is back; the line was read token by token against setup/freeze_backend. setup/check_freeze_bat.py parses the .bat's pyinstaller line with PyInstaller's own parser (stand-ins for %ROOT% and %CONSOLE%, ; as the path separator) and compares it with the POSIX twin. It exits 1 on the 0.13.0 line with PyInstaller's unrecognized-arguments error and 0 on the fixed one. The CI scripts job runs it.
LAME's nmake gets MSVCVER=Win64 and MACHINE=/machine:X64 (ARM64 on an arm64 MSVC target), so its lib step no longer asks for x86 objects. c2patool's cargo install gets OPENSSL_SRC_PERL pointing at a Perl with Locale::Maketext::Simple (Strawberry Perl on the hosted runners) when one is found; without one it runs as before. Not run on Windows.
Sets 0.13.1 at the version sites of the 0.13.0 release (README badge and line, backend, frontend package and lock, version.ts, the native and desktop Cargo files and their lock entries, pyproject, tauri.conf.json, form-functions.json) and adds the CHANGELOG entry. The three demo bundles are rebuilt with the commands of demo/README.md; each changes only its version string. form-functions.json: python -m app.functions manifest, run with the engine built, gave the committed 0.13.0 file byte for byte, so the generator and the hand-set version agreed; the version here is set by hand and checked with manifest --check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FormEncoder 0.13.1: the Windows release builds again, with LAME and the C2PA tool
Three commits on
origin/main(merged 0.13.0), the release commit last. Branchfeat/finish-0.13.1.What changes for people
pyinstaller: error: unrecognized arguments: ...\backend\formencoder_engine.py): one space was missing insetup/freeze_backend.bat, so--nametookformencoder-engine--distpathanddist-enginebecame the script. The space is back, and the line was read token by token againstsetup/freeze_backend: every option and the five--add-datapairs match,;for:; only--collect-submodules winptyis Windows-only.setup/check_freeze_bat.py, takes thepyinstallerline out of the.bat, puts stand-ins for%ROOT%and%CONSOLE%, splits it as cmd.exe does and parses it with PyInstaller's own parser (generate_parser(), Windows path separator). It fails when the parser refuses it, when the script name is not the engine entry file, or when the options differ from the POSIX twin's. The CIscriptsjob installsrequirements_desktop.txtand runs it; CONTRIBUTING and the verification skill list it.MSVCVER=Win64 MACHINE=/machine:X64(/machine:ARM64for an arm64 MSVC target), so itslibstep no longer asks for x86 and theLNK1112stop is gone. LAME 3.100'sMakefile.MSVCcould not be read here, so the two macros are the ones the build log points at.cargo installgetsOPENSSL_SRC_PERLset to a Perl that hasLocale::Maketext::Simple(Strawberry Perl atC:\Strawberry\perl\bin\perl.exeon the hosted runners) for that one command only; with none found it says so and runs as before, so a failure is still the--keep-goingwarning.Commits
cb8ad2efix(windows): the engine freeze command names the engine script again, and CI parses it8076864fix(windows): LAME and c2patool build in a 64-bit Windows releaseabf3159chore(release): 0.13.1This is a merge commit pull request: merge it with a merge commit, as the earlier releases were, so the history stays as it is.
What was run, with counts
.batline: exit 1 with PyInstaller's ownerror: unrecognized arguments: D:\a\formencoder\formencoder\backend\formencoder_engine.py. On the fixed line: 0 findings. With one--add-datadestination changed in a scratch copy: 1 finding (datas), exit 1.setup/build_native(release profile): 96 commands, 40 formats, 98 presets.8076864and again on a scratch copy ofabf3159.--selfcheck"ok": true(96 commands, 40 formats, 98 presets);agents sync --checkin step;python -m app.functions manifest --checkin step. The generator's output before the bump was the committedform-functions.jsonbyte for byte, so nothing was committed for it.8076864and onabf3159.cargo metadata --lockedinnativeand insrc-tauriexit 0 (both lock files agree with the new versions).npm ci --dry-run0,npm audit0 vulnerabilities,npm run build0bash -nloop clean,lint_text0 findings,py_compileclean,check_freeze_bat0 findingsagents sync --checkin step, MCP boot and encode okHeld
frontend/src/engine/window-key.ts, from8638880), as FormPDF's main does, so nothing changed for it.Not run
freeze_backendwas not run),cargo checkof the native workspace and ofsrc-tauri(the engine-hosts and desktop-shell jobs), any real agent program.