Skip to content

fix: #225 endgame follow-ups — EC codegen tag sync + po LF line endings - #333

Merged
got3nks merged 2 commits into
amule-org:masterfrom
got3nks:fix/eccodes-abstract-endgame-tag
Jul 6, 2026
Merged

fix: #225 endgame follow-ups — EC codegen tag sync + po LF line endings#333
got3nks merged 2 commits into
amule-org:masterfrom
got3nks:fix/eccodes-abstract-endgame-tag

Conversation

@got3nks

@got3nks got3nks commented Jul 6, 2026

Copy link
Copy Markdown

Two follow-up fixes for the endgame-mode PR (#225), both cleaning up collateral unrelated to the feature itself.

1. EC_TAG_FILES_ENDGAME missing from the EC generator sources

#225 added EC_TAG_FILES_ENDGAME (0x1810) to the generated src/libs/ec/cpp/ECCodes.h but not to its generator source src/libs/ec/abstracts/ECCodes.abstract (nor the ECCodes.java binding). Builds that regenerate the header from the abstract — which the Flatpak CI does — drop the tag, so amulecmd (TextClient.cpp) and ECSpecialMuleTags.cpp fail with EC_TAG_FILES_ENDGAME was not declared in this scope. AppImage and the standard builds compile the committed header and stayed green, which is why only Flatpak broke. Added the tag to both generator sources so the regenerated and committed headers agree in every configuration.

2. gettext infra files flipped to CRLF

#225 was committed from a CRLF environment (core.autocrlf), flipping 12 gettext infrastructure/skeleton files to CRLF with no content change: LINGUAS, Makevars, Rules-quot, POTFILES.in, CMakeLists.txt, boldquot.sed, quot.sed, [email protected], [email protected], insert-header.sin, remove-potcdate.sin, l10n.xsl. Renormalized them back to LF and added a po/** text=auto eol=lf rule to .gitattributes so an autocrlf checkout can't reintroduce it. The .po/.pot catalogs themselves were already LF and are untouched.

got3nks added 2 commits July 7, 2026 01:32
PR amule-project#225 added EC_TAG_FILES_ENDGAME (0x1810) to the generated
src/libs/ec/cpp/ECCodes.h but not to its generator source
src/libs/ec/abstracts/ECCodes.abstract (nor the ECCodes.java binding).

Clean builds that regenerate the header from the abstract — as the
Flatpak CI does — drop the tag, so amulecmd (TextClient.cpp) and
ECSpecialMuleTags.cpp fail to compile with "EC_TAG_FILES_ENDGAME was
not declared in this scope". AppImage and the standard builds compile
the committed header and stay green, which is why only Flatpak broke.

Add the tag to both generator sources so the regenerated and committed
headers agree in every build configuration.
…roject#225

amule-project#225 (c844cb9) was committed from a CRLF environment (core.autocrlf),
flipping 12 gettext infrastructure/skeleton files to CRLF with no content
change: CMakeLists.txt, LINGUAS, Makevars, POTFILES.in, Rules-quot,
boldquot.sed, quot.sed, [email protected], [email protected],
insert-header.sin, remove-potcdate.sin, l10n.xsl.

Renormalize them back to LF and add a `po/** text=auto eol=lf`
.gitattributes rule so a Windows / autocrlf checkout can't reintroduce
it. The .po/.pot catalogs themselves stayed LF and are untouched here.
@got3nks
got3nks merged commit 7c59841 into amule-org:master Jul 6, 2026
13 checks passed
@got3nks
got3nks deleted the fix/eccodes-abstract-endgame-tag branch July 6, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant