Commit Graph

265 Commits

Author SHA1 Message Date
Johannes Schindelin
f1898f02ce msys2-runtime: pipe: Fix a regression that raw_write() slows down
This corresponds to https://github.com/msys2/msys2-runtime/pull/227.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-09-04 19:58:18 +02:00
Johannes Schindelin
7005429a56 msys2-runtime: update to v3.5.4
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-08-27 19:03:59 +02:00
Johannes Schindelin
8706aa1811 msys2-runtime: prevent different msys2 runtime versions from sharing cygheaps
This commit corresponds to https://github.com/msys2/msys2-runtime/pull/219.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-07-09 09:11:07 +02:00
Johannes Schindelin
76b0694548 msys2-runtime(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-09 09:08:35 +02:00
Johannes Schindelin
a8b44d4f90 msys2-runtime(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-09 09:08:35 +02:00
Christoph Reiter
d1320d119d msys2-runtime: Update (ldd hang fix)
See https://github.com/msys2/msys2-runtime/pull/217
2024-06-03 07:44:37 +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
7feec39573 msys2-runtime: remove the win7 install script again
It's causing too many problems (potentially). While it doesn't
have any functions that are run after the installation, pacman still
fork/execs bash anyway which leads to errors.

Ideally we should force pacman to no run those after update scripts
for core packages, but we can't change pacman for existing systems.

Let's fix pacman, and then come back to this later.
2024-05-06 08:27:50 +02:00
Christoph Reiter
7d9a08781c msys2-runtime: Update to 3.5.3 2024-05-03 16:05:45 +02:00
Christoph Reiter
0e0eb77f16 runtime: remove 3.4 replaces
otherwise users on win7 switching to 3.4 will be switched back
on the next update
2024-05-02 21:57:41 +02:00
Christoph Reiter
b3bfad5646 msys2-runtime: abort installation on Windows 7 and 8.0
Cygwin 3.5 no longer supports Windows 7 and 8.0 and letting users
update would render all cygwin tools broken.

There is no good way to abort an installation from within a package,
so we run an install script on pre install/upgrade and just kill
pacman from there, after printing a message for how to fix things.
Since killing pacman would leave the DB locked, remove the lock file
before, so the suggested way forward works.

While we don't officially support Win 7/8.0 for quite a while now,
this should help those remaining users keep using the parts that still
work for a bit longer.
2024-05-02 08:30:11 +02: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
Johannes Schindelin
73b702e3d1 msys2-runtime: some backports
This corresponds to https://github.com/msys2/msys2-runtime/pull/205.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-04-07 21:21:01 +02:00
Johannes Schindelin
0def141ff0 msys2-runtime: backport follow-up fix for offline files
This integrates https://github.com/msys2/msys2-runtime/pull/210 into
MSYS2-packages.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-04-06 17:49:41 +02:00
Christoph Reiter
a2ee04bf00 More CPEs 2024-03-24 20:09:34 +01:00
Johannes Schindelin
41fbcb09f4 msys2-runtime: support OneDrive better
With this change, files are no longer "hydrated" (read: downloaded on
the fly) when calling `ls` _just_ to determine whether the files in
question have a `#!` line that makes them executable.

This commit brings the changes from
https://github.com/msys2/msys2-runtime/pull/209 to MSYS2-packages.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-03-23 23:36:23 +01:00
Christoph Reiter
174e938942 more CPEs 2024-03-22 19:04:22 +01:00
Christoph Reiter
8cf9d8627f msys2-runtime: fix pathconv with quotes
See https://github.com/msys2/msys2-runtime/pull/196
2024-02-10 09:07:39 +01:00
Christoph Reiter
0a4ea16124 msys2-runtime: Update 2023-12-22 10:19:40 +01:00
Johannes Schindelin
a26a0b04d8 msys2-runtime: backport Git for Windows' pathconv improvements
This combines the patches introduced via
https://github.com/msys2/msys2-runtime/pull/181 and
https://github.com/msys2/msys2-runtime/pull/182.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2023-12-19 10:10:44 +01:00
Johannes Schindelin
128ca25678 msys2-runtime: upgrade to v3.4.10
This commit corresponds to
https://github.com/msys2/msys2-runtime/pull/180.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2023-11-29 22:52:02 +01:00
Johannes Schindelin
4056de7224 msys2-runtime: avoid "Bad address" errors in the MSYS2 path conversion
This commit corresponds to https://github.com/msys2/msys2-runtime/pull/179

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2023-11-22 20:02:24 +01:00
Christoph Reiter
d870e0782c msys2-runtime: remove workaround for too old cross compiler
no pkgrel bump since nothing has changed really
2023-11-14 08:02:18 +01:00
Christoph Reiter
1f1a74cb26 Port everything away from PKGMETA
keep an empty PKGMETA.yml for now until all users are adjusted and
deployed.
2023-09-17 20:40:26 +02:00
Christoph Reiter
6cbd16b459 msys2-runtime: rebuild
Update the gcc warning options, remove some no longer needed ones
and add some new ones due to gcc 13
2023-09-15 12:16:13 +02:00
Johannes Schindelin
97363ba104 msys2-runtime: upgrade to v3.4.9
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2023-09-07 09:08:20 +02:00
Christoph Reiter
72cf9774d3 msys2-runtime: Update to 3.4.8 2023-08-18 22:18:49 +02:00
Johannes Schindelin
a3e0b472c6 msys2-runtime: backport fix for tar xf with symlinks
This corresponds to https://github.com/msys2/msys2-runtime/pull/166

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2023-08-09 11:42:35 +02:00
Christoph Reiter
0fa97f51ca msys2-runtime: update
see https://github.com/msys2/msys2-runtime/pull/164
2023-07-14 17:28:58 +02:00
Christoph Reiter
f736513e69 msys2-runtime: Update to 3.4.7 2023-06-18 16:18:55 +02:00
Christoph Reiter
6af42267da update-srcinfo: pass the python interpreter path to pipx
otherwise it will default to python on the image, which is 3.9
2023-05-30 17:38:56 +02:00
Christoph Reiter
d7fab80721 Replace mingw-w64-cross-crt-git with mingw-w64-cross-crt
Still the same package, and only in makedepends, so no rebuilds
2023-05-19 13:44:48 +02:00
Christoph Reiter
321756e217 Update msys2-runtime 2023-04-01 12:57:41 +02:00
Christoph Reiter
e366db9fb4 msys2-runtime: Update to 3.4.6 2023-02-15 17:56:15 +01:00
Christoph Reiter
46c064cc8b msys2-runtime: Update to 3.4.5
See https://github.com/msys2/msys2-runtime/pull/136
2023-01-19 21:24:30 +01:00
Christoph Reiter
e80d8e7697 rebuilds for the missing strip issue
https://github.com/msys2/msys2-pacman/pull/25
2023-01-17 21:03:20 +01:00
Christoph Reiter
d6867cfbc4 msys2-runtime: explicitely set a runtime version
so we get "3.4.3.x86_64" instead of "3.4.3-dirty.x86_64"
2023-01-11 09:57:01 +01:00
Christoph Reiter
d24e4dabb9 msys2-runtime: strip it
Upstream no longer manually strips the cygwin dll and creates
a debug file since https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=99bb3e937a0fdbc1e3acbdc7cefb31e54a89a6ac

This means the debug info now moved from msys2-runtime-devel to msys2-runtime
staying in the DLL.

We don't really want to install/ship debug infos by default, so we could either
re-implement the debug info extraction manually again, or let makepkg build a
separate "-debug" package, or just strip everything.

Since the later is the least work and the least special compared to other packages,
just enable stripping.
2022-12-19 20:03:53 +01:00
Christoph Reiter
436871dc51 msys2-runtime: update
No changes, just moved the patch upstream
2022-12-18 16:44:25 +01:00
Christoph Reiter
136248feee msys2-runtime: disable dynamicbase again
We are seeing fork errors in Docker, which might be related to
3.4.x setting dynamicbase. Let's see if reverting that helps.
2022-12-17 20:24:42 +01:00
Christoph Reiter
2b4a87cf7b msys2-runtime: Update to 3.4.3
See https://github.com/msys2/msys2-runtime/pull/125
2022-12-16 21:05:57 +01:00
Christoph Reiter
36790d9f26 msys2-runtime: update 2022-12-15 22:51:13 +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
d2980fe8b6 msys2-runtime: update patches
the PR was pushed upstream
2022-12-09 16:27:22 +01:00
Christoph Reiter
b537ada32c msys2-runtime: apply workaround for missing trailing slashes with path_conv
See https://github.com/msys2/msys2-runtime/pull/117
2022-11-20 14:37:01 +01:00
Johannes Schindelin
9c4a88596b msys2-runtime: sync with msys2/msys2-runtime
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-11-11 20:41:29 +00:00
Johannes Schindelin
18e0ba1177 msys2-runtime: fix Bad address when running cmd /c <command>
This imports https://github.com/msys2/msys2-runtime/pull/110 into the
`MSYS2-packages` repository, fixing a regression where `cmd /c
<command>` caused a `Bad address` error.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-10-24 08:54:31 +02:00
Christoph Reiter
75a4dbaad3 update-patches: remove patch signature
It includes the git version by default, which just adds lots
of useless changes every time the patches are updated.
2022-10-15 15:59:07 +02:00
Johannes Schindelin
7705e6df9a msys2-runtime: when updating patches, automatically bump pkgrel
I forgot to do this one time too many, time to automate it!

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-09-21 14:46:41 +02:00