Commit Graph
227 Commits
Author SHA1 Message Date
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
Johannes Schindelin b51454a1b4 msys2-runtime: mention if the patches were left unchanged
When updating the patches we apply on top of the Cygwin runtime, it is
possible that nothing needs to be done. Be explicit about that.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-09-21 14:27:17 +02:00
Christoph Reiter f1ded50c71 msys2-runtime: bump pkgrel 2022-09-20 22:12:25 +02:00
Johannes Schindelin 3dad03537c msys2-runtime: enable pseudo consoles and empty values of env variables
This integrates the patches from
https://github.com/msys2/msys2-runtime/pull/102 and from
https://github.com/msys2/msys2-runtime/pull/101

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-09-20 21:24:43 +02:00
Johannes Schindelin 5f107f15ff msys2-runtime: update to v3.3.6
See https://github.com/msys2/msys2-runtime/pull/100

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-09-05 21:37:46 +02:00
Christoph Reiter 9f188a69ab msys2-runtime: update 2022-07-04 22:27:23 +02:00
Johannes Schindelin 35fb61781b msys2-runtime: stop trimming trailing colons
This corresponds to https://github.com/msys2/msys2-runtime/pull/95

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-05-30 20:52:30 +02:00
Christoph Reiter b88f5ff9b8 msys2-runtime: Update to 3.3.5 2022-05-13 15:37:08 +02:00
Christoph Reiter 21b0990c25 runtime: revert rebuild
See https://github.com/msys2/MSYS2-packages/pull/2954#issuecomment-1113284892
2022-04-29 16:40:58 +02:00
Christoph Reiter 0830c7dd23 msys2-runtime: build fixes for mingw-w64 v10
https://github.com/msys2/msys2-runtime/pull/92
2022-04-27 18:33:17 +02:00
Christoph Reiter 633a6e7884 Use git apply instead fo git am
So we don't depend on a committer being set
2022-03-04 15:15:17 +01:00
Johannes Schindelin f1413819a4 msys2-runtime: backport recent console patches
These hacks were proposed in Cygwin as a more complete set of
workarounds superseding Git for Windows'
https://github.com/git-for-windows/msys2-runtime/commit/1d0701d

This commit corresponds to
https://github.com/msys2/msys2-runtime/pull/86

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-02-15 09:58:40 +01:00
Johannes Schindelin ff07714b85 msys2-runtime: update to v3.3.4
This corresponds to https://github.com/msys2/msys2-runtime/pull/85.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-02-01 09:34:31 +01:00
Johannes Schindelin e412f31430 msys2-runtime: a directory with .lnk suffix is not a .lnk file
This corresponds to https://github.com/msys2/msys2-runtime/pull/82.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-01-18 12:34:41 +01:00
Christoph Reiter 52e56a9a72 msys2-runtime: backport for 32bit posix_spawn issue
Fixes #2801
2022-01-16 14:43:51 +01:00
Johannes Schindelin f33f945644 msys2-runtime: special case the SHELL and ORIGINAL_PATH env vars
In MSYS2 <-> MINGW transitions, we convert a couple of environment
variables between Unix and Windows styles, most notably `PATH`.

In the Git for Windows project, we realized that the environment
variables `SHELL` and `ORIGINAL_PATH` need the same treatment. These
patches have proved their worth for years, and it is time for them to be
integrated back into the actual MSYS2 runtime.

This should fix https://github.com/msys2/msys2-runtime/issues/43.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-01-13 17:44:33 +01:00
Johannes Schindelin bc88668bfc msys2-runtime: we now need to depend on xmlto and 'docbook-xsl` explicitly
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-01-13 17:44:18 +01:00
Jeremy Drake 62de84f5db msys2-runtime: update patches 2021-12-29 14:36:06 -08:00
Christoph Reiter 5bcd978cb0 Get rid of the msys2-devel group
For now adds a "provides=(msys2-devel)" to gcc to keep installation
working and install the same set of packages.

Next step is to makedepend on gcc where needed and remove msys2-devel
from the docs.
2021-12-13 20:35:56 +01:00
Christoph Reiter 38126d763e makedepend on autotools for packages using configure
In some cases this will introduce cycles which could likely be cleaned
up by only depending on some unix tools instead of the whole autotools.

Rebuilding doesn't make much sense at this point since it just adds a subset
of base-devel which is still installed by default.
2021-12-12 14:20:50 +01:00
Christoph Reiter 0ba0ce5472 msys2-runtime: Update 2021-12-10 13:29:09 +01:00
Johannes Schindelin fe77839180 msys2-runtime: update to v3.3.3
This corresponds to https://github.com/msys2/msys2-runtime/pull/71.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-12-03 21:52:54 +01:00
Johannes Schindelin e0c97231af msys2-runtime: backport the fix for emojis in the Windows Terminal
With this patch, it is now possible to paste Unicode characters outside
the U+0000-U+FFFF range, most notably emojis, when running MSYS2's Bash
in Windows Terminal.

This fixes https://github.com/msys2/msys2-runtime/issues/66

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-11-17 15:48:17 +01:00
Christoph Reiter c4e50cf985 msys2-runtime: backport some fixes 2021-11-14 06:57:29 +01:00
Christoph Reiter b3c1faddab msys2-runtime: don't compress man pages to avoid a file conflict
See https://github.com/msys2/MSYS2-packages/pull/2687#issuecomment-965714874
2021-11-11 09:23:53 +01:00
Johannes Schindelin c0baa84dac msys2-runtime: upgrade to Cygwin v3.3.2
See https://github.com/msys2/msys2-runtime/pull/63

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-11-09 00:34:55 +01:00
Jeremy Drake 8570fac56c msys2-runtime: add patch for native inner links
msys2/msys2-runtime#46
2021-07-31 13:32:26 -07:00
Jeremy Drake c1d7dd3a2e msys2-runtime: update ctrl-c handling for ARM64.
msys2/msys2-runtime#47
2021-07-01 16:10:12 -07:00
Jeremy Drake 1decd13054 msys2-runtime: update patch for getprocaddr 2021-06-25 00:20:28 -07:00
Johannes Schindelin 0394a7f1ec msys2-runtime: bump pkgrel
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-06-22 11:28:18 +02:00
Johannes Schindelin 0e1a96a9c0 msys2-runtime: do not fall back to ExitProcess() on Ctrl+C
As long as the return value of `CtrlRoutine` indicates that it has been
handled, do not insist on the process to go away. This is in line with
`SIGINT` handlers on Linux/Unix/macOS that can prevent the process from
terminating on the process' side.

This brings over https://github.com/msys2/msys2-runtime/pull/50 into
MSYS2-packages.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-06-22 11:09:27 +02:00
Jeremy Drake b44f8b33eb msys2-runtime: patch to fix ctrl-c handling 2021-06-21 16:15:25 -07:00
Naveen M K f7457b07b9 msys2-runtime: copy usr/libexec folder also
it was missed in https://github.com/msys2/MSYS2-packages/pull/2547
2021-06-18 22:36:47 +05:30
Christoph Reiter 7fbc294a72 msys2-runtime: bump pkgrel 2021-06-18 15:19:17 +02:00
Johannes Schindelin 18472f9dc3 msys2-runtime: handle Ctrl+C with MINGW executables
The idea is that we handle Ctrl+C not by terminating the processes
(which would reflect `kill -KILL`, not `kill -INT`) but by imitating
what Windows does in a CMD window: we inject a remote thread that runs
the `CtrlRoutine` function. This lets the `atexit()` handlers and the
ConsoleCtrlEvent handlers do their job.

This commit brings the goodness from
https://github.com/msys2/msys2-runtime/pull/31 over into MSYS2-packages,
which cherry-picked and edited the patches from Git for Windows.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-06-18 13:03:48 +02:00
Jeremy Drake 4e7a1f3011 msys2-runtime: add arm64 FAST_CWD warning fix. 2021-05-22 22:33:59 -07:00
Orgad Shaneh 8e32f0f7ae msys2-runtime: Update 2021-05-20 09:00:38 +03:00
Christoph Reiter 7ecabe03f1 msys2-runtime: Update 2021-05-06 06:34:07 +02:00
Christoph Reiter bd2ba45509 msys2-runtime: backport another fix for hanging pipes
See #2471
2021-05-03 18:02:07 +02:00