16 Commits

Author SHA1 Message Date
Christoph Reiter
b38b2b78f4 Remove all cygwin CHOST changes
Since #5448 CHOST defaults to cygwin now, so this
is no longer needed.
2025-06-27 07:42:37 +02:00
Christoph Reiter
6a9d1f338f msys2-runtime-3.4: build for cygwin 2025-06-17 22:54:29 +02:00
Jeremy Drake
beabeb4e6a msys2-runtime-3.4: update patch for w32api 13 support 2025-06-12 09:03:27 +02:00
Johannes Schindelin
e6209c6301 msys2-runtime-3.4: sync with the msys2-runtime-3.4.10 branch
Looks like we haven't updated `MSYS2-packages`' `msys2-runtime-3.4`
directory in quite a while. This roll-up integrates:

- https://github.com/msys2/msys2-runtime/pull/192
- https://github.com/msys2/msys2-runtime/pull/205
- https://github.com/msys2/msys2-runtime/pull/209
- https://github.com/msys2/msys2-runtime/pull/210
- https://github.com/msys2/msys2-runtime/pull/220

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-07-09 09:02:03 +02:00
Johannes Schindelin
36daff5336 msys2-runtime-3.4(update-patches.sh): do generate stable checksums for the Cygwin code
As of v6.1.0, Pacman no longer generates `SKIP` as SHA-256 checksums for
Git repositories, as per the release notes at
https://gitlab.archlinux.org/pacman/pacman/-/blob/v6.1.0/NEWS?ref_type=tags#L21:

> - Add checksum support for git/mercurial/bzr sources

Instead of outputting `SKIP`, Pacman now runs `git -c core.abbrev=no
archive --format tar <branch-or-tag> | sha256sum` and uses the result:
2fc2ab6cf0

Unfortunately, the output of `git archive` is not stable. For one, the
`core.autoCRLF` setting (which defaults to `true` in Git for Windows)
affects the result.

Let's ensure that that `core.autoCRLF` setting is forced to `false`,
with the idea to add other settings as required.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-07-08 14:57:16 +02:00
Johannes Schindelin
36d576f972 msys2-runtime-3.4(update-patches.sh): configure the correct remote URL
When initializing the bare `msys2-runtime` repository that usually
`makepkg` would have initialized for us, do configure the remote URL
that subsequent `makepkg` runs will expect because of the one recorded
in `PKGBUILD`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-07-08 09:46:44 +02:00
Jeremy Drake
374a194eb9 msys2-runtime: set -Wno-error=maybe-uninitialized
After the update of msys2-w32api from v11.0.1 to current master (and
soon to be v12) we get: winsup/cygwin/exceptions.cc:1736:33: error:
'<anonymous>' may be used uninitialized [-Werror=maybe-uninitialized]

Ignore it like the rest.

Fixes msys2/msys2-runtime#214
2024-05-17 11:21:47 -07:00
Jeremy Drake
fca6e3f5d0 msys2-runtime: restore msys-2.0.dbg
Replicate the objcopy commands that used to work in msys2-runtime build
process.

also, don't strip msys2-runtime-devel.  makepkg's strip mechanism thinks
split debug files are binaries that need to be stripped, and debug files
with the debug info stripped are pretty useless.  msys2/msys2-pacman#52

Fixes #4595
2024-05-17 11:19:47 -07:00
Christoph Reiter
11a162b0e5 repo: make file executable permissions match the cygwin derived status
In case we have a git clone from Linux that is accessed via cygwin git
the files executable status will be derived from the file content (shebang)
and won't match the git repo, leading to a initially dirty tree.

This can be worked around by setting "core.filemode=false", but let's try
to match the cygwin permissions with the in-repo permissions so this isn't
needed.
2024-04-14 15:17:42 +02:00
Christoph Reiter
a2ee04bf00 More CPEs 2024-03-24 20:09:34 +01:00
Christoph Reiter
174e938942 more CPEs 2024-03-22 19:04:22 +01:00
Christoph Reiter
14e5524bed Add msys2-runtime-3.4
This will be the msys2-runtime variant that still works on Win7.
2024-03-15 17:55:50 +01:00
Christoph Reiter
88de0fab2d msys2-runtime: Update to 3.4.2
Rename msys2-runtime-3.4 to msys2-runtime and let it replace the 3.4 packages.
2022-12-14 19:36:19 +01:00
Christoph Reiter
ccfea45e9e msys2-runtime-3.4: Update to 3.4.2 2022-12-11 14:01:08 +01:00
Christoph Reiter
0b2220df1b msys2-runtime-3.4: Update to 3.4.1 2022-12-11 10:14:39 +01:00
Christoph Reiter
c0957bb2a7 Add msys2-runtime-3.4 2022-12-10 06:23:31 +01:00