Skip to content

mingw-w64-innoextract: pull in Inno Setup 6.4.2..6.7.1 support#29441

Merged
lazka merged 1 commit into
msys2:masterfrom
dscho:mingw-w64-innoextract-update
May 18, 2026
Merged

mingw-w64-innoextract: pull in Inno Setup 6.4.2..6.7.1 support#29441
lazka merged 1 commit into
msys2:masterfrom
dscho:mingw-w64-innoextract-update

Conversation

@dscho
Copy link
Copy Markdown
Contributor

@dscho dscho commented May 11, 2026

Recent Git for Windows installers are built with Inno Setup 6.7.x, and the currently-packaged innoextract bails out on the SetupID magic for any Inno Setup version newer than 6.4.1. That is a concrete regression for users who rely on innoextract to inspect or unpack Git for Windows installers (and presumably other installers built with current Inno Setup releases).

To address that, dscharrer/innoextract#210 adds on-disk format support for Inno Setup 6.4.2, 6.4.3, 6.5.0 through 6.5.4, 6.6.0, 6.6.1, 6.7.0, and 6.7.1 (11 commits on top of dscharrer/innoextract master). That PR is currently a draft upstream.

This PR bumps mingw-w64-innoextract to that series so the new format support is available to MSYS2 users now, rather than after the upstream PR has gone through review. Concretely, _commit is moved from 6e9e34ed0876014fdb46e684103ef8c3605e382e (upstream master tip at the time of writing) to 0254c3f11e34701000ad763be7753623f81152bf (the tip of my fork''s branch backing the upstream PR); the source= URL is temporarily switched from git+https://github.com/dscharrer/innoextract to git+https://github.com/dscho/innoextract, with the innoextract:: rename prefix so the on-disk source directory name is unchanged; pkgver is updated from 1.9.r82.6e9e34e to 1.9.r93.0254c3f, matching what the existing pkgver() function computes for the new commit (the 11 added commits advance the rev count from 82 to 93); and sha256sums is regenerated via updpkgsums. A four-line comment above source= marks the personal-fork URL as temporary and points at dscharrer/innoextract#210, so it is obvious what needs to happen once that PR is merged: revert the URL to dscharrer/innoextract and re-pin _commit to the resulting upstream commit.

There are essentially two paths and the choice is yours: merge now, giving users 6.4.2..6.7.1 support immediately at the cost of temporarily sourcing from a personal fork; or keep this open as a tracker and bump to the resulting upstream commit once dscharrer/innoextract#210 is merged. I am happy to revise this PR to drop the dscho: URL and re-pin to a dscharrer: commit as soon as that PR lands, in either case.

One thing I deliberately did not touch: the validpgpkeys line is left as-is, even though my commits are not signed with Daniel Scharrer''s key. That key was used for tag verification, and this PKGBUILD pins by commit hash rather than verifying a signed tag, so the line is metadata-only in this context. Removing it is orthogonal to this update and probably a decision worth making consistently across all packages that pin by commit, rather than as a drive-by here.

@dscho dscho marked this pull request as ready for review May 11, 2026 11:37
@lazka
Copy link
Copy Markdown
Member

lazka commented May 11, 2026

This approach makes it hard to go back to upstream in case the revision count on the fork is larger than the resulting upstream one. We'd need to bump epoch then.

Do you mind if I just apply https://github.com/msys2/MINGW-packages/pull/29441.patch on the original git instead?

@striezel
Copy link
Copy Markdown
Collaborator

Why don't we just wait for the upstream pull request (dscharrer/innoextract#210) to get merged?
If that takes too long / upstream does not respond, then we can still go with lazka's suggestion and just apply it as a single patch.

@dscho
Copy link
Copy Markdown
Contributor Author

dscho commented May 15, 2026

Do you mind if I just apply https://github.com/msys2/MINGW-packages/pull/29441.patch on the original git instead?

@lazka of course! I should have thought of that myself. I'll make the updates in a minute.

Why don't we just wait for the upstream pull request (dscharrer/innoextract#210) to get merged?

@striezel I would love for that Pull Request to be merged. However, their contribution charts don't get my hopes up:

image

Also, since there are only commits of a single committer, I now have doubts that my upstream PR will go anywhere:

image

Recent Git for Windows installers are built with Inno Setup 6.7.x, and
the currently-packaged innoextract bails out on the SetupID magic for
any Inno Setup version newer than 6.4.1. That is a concrete regression
for users who rely on innoextract to inspect or unpack Git for Windows
installers, and presumably other installers built with current Inno
Setup releases.

To address that, dscharrer/innoextract#210 adds
on-disk format support for Inno Setup 6.4.2, 6.4.3, 6.5.0 through 6.5.4,
6.6.0, 6.6.1, 6.7.0, and 6.7.1, in 11 commits on top of the upstream
dscharrer/innoextract master tip. That PR is currently a draft upstream.

Rather than pointing _commit at a personal fork carrying those commits,
keep this package close to upstream: _commit stays pinned to the
upstream tip, the 11 commits are exported via git format-patch and
applied in prepare() with a patch -Np1 loop, and only pkgrel is bumped.
Once dscharrer/innoextract#210 is merged, the patches can be dropped
and _commit re-pinned to a commit that already contains them.

Assisted-by: Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho force-pushed the mingw-w64-innoextract-update branch from 419e248 to 909fd4a Compare May 15, 2026 14:05
@dscho
Copy link
Copy Markdown
Contributor Author

dscho commented May 15, 2026

Do you mind if I just apply https://github.com/msys2/MINGW-packages/pull/29441.patch on the original git instead?

of course! I should have thought of that myself. I'll make the updates in a minute.

Done!

I ended up doing not a single big patch, but simply exporting the Git commits as patches, for ease of verification and iterating.

@lazka lazka merged commit 82b192a into msys2:master May 18, 2026
8 checks passed
@dscho dscho deleted the mingw-w64-innoextract-update branch May 19, 2026 07:55
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.

3 participants