Commit Graph

176 Commits

Author SHA1 Message Date
Christoph Reiter
28aa374794 msys2-runtime: bring back the uname change lost in the last rebase 2021-04-01 20:31:41 +02:00
Johannes Schindelin
a9ad014634 msys2-runtime: make default Windows error reporting an opt-in
Unless `MSYS` contains `winjitdebug`, with this change we won't show
that annoying message box e.g. when a DLL is missing.

This is essentially forwarding
https://github.com/msys2/msys2-runtime/pull/35 to MSYS2-packages.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-03-31 15:14:25 +02:00
Johannes Schindelin
30d9915b43 msys2-runtime: upgrade to v3.2.0
Apart from setting `pkgver` and re-setting `pkgrel`, all of the work was
done by the `./update-patches.sh` script, picking up the patches
prepared in https://github.com/msys2/msys2-runtime/pull/30.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-03-30 10:21:43 +02:00
Christoph Reiter
edff8901c1 msys2-runtime: improve uname compatibility again 2021-03-24 22:37:48 +01:00
Christoph Reiter
0a30e075ed msys2-runtime: Update (uname change)
With this uname no longer exposes $MSYSTEM directly but just "MSYS" in
an MSYS env and "MINGW" everywhere else.
2021-03-24 19:12:06 +01:00
Christoph Reiter
241620dc5f msys2-runtime: update 2021-03-17 07:46:02 +01:00
Johannes Schindelin
b5829a87d0 msys2-runtime: use the correct import library name
This fixes https://github.com/msys2/msys2-runtime/issues/26

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2021-03-15 11:05:02 +01:00
Christoph Reiter
d88c4706bd Use zstd for all packages now
It's been long enough and everyone should have a pacman that supports it
2020-12-19 17:48:10 +01:00
Christoph Reiter
39481ed0f0 msys2-runtime: refresh patches
For https://github.com/msys2/msys2-runtime/pull/17
2020-11-08 10:31:24 +01:00
Johannes Schindelin
b1c8e2fbc5 msys2-runtime: expose the "deep-copy" symlink behavior via a new mode
This patch synchronizes msys2/MSYS2-packages/msys2-runtime with
msys2/msys2-runtime after merging
https://github.com/msys2/msys2-runtime/pull/16.

We specifically override Cygwin's symlink() behavior to make deep copies
instead of creating a special-crafted system file that Cygwin (MSYS2,
and only those two) will recognize as symbolic link.

The patch to override this behavior is incomplete, though: it hacks up
the WSYM_sysfile code path, which causes all kinds of problems:

- Contrary to the documentation, MSYS=winsymlinks:native won't fall back
  to creating Cygwin-style symbolic links. Instead, it (quite
  surprisingly) creates deep copies instead.

- There is no way to opt into the original Cygwin behavior because that
  code path is now dead code.

- The fact that the WSYM_sysfile code path is modified to do something
  very different from what it is intended to do means that all changes
  that Cygwin makes to that code path have to be inspected, and
  occasionally even more hacks have to be put on top, such as 44bb133,
  where we specifically had to disable Cygwin's code to try creating WSL
  symlinks before falling back to creating system files instead).

Let's fix this by introducing a proper new mode:
MSYS=winsymlinks:deepcopy. This mode is made the default so
that users should be unaffected by this PR.

Users wishing to let the MSYS2 runtime create Cygwin-style
symbolic links can ask for that by setting
MSYS=winsymlinks:sysfile.

By fixing this issue, we can now stop disabling Cygwin's WSL
symlink behavior, too: it is in the sysfile code path and
won't affect the default behavior of the MSYS2 runtime.

While at it, the indentation of the original patch is fixed,
too.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2020-10-22 13:38:14 +02:00
Christoph Reiter
e3d2dae6a3 msys2-runtime: Update patches
See https://github.com/msys2/msys2-runtime/pull/15
2020-09-22 20:16:15 +02:00
Christoph Reiter
906e033002 msys2-runtime: Update to 3.1.7 2020-08-24 08:10:51 +02:00
Johannes Schindelin
526d2fc776 msys2-runtime: fix MSYS=wincmdln and turn it on by default
This ports the patches from https://github.com/msys2/Cygwin/pull/10 to
the actual package definition used to build the `msys2-runtime` package.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2020-08-14 15:11:44 +02:00
Christoph Reiter
bb27db732f msys2-runtime: Update patches
Fixes #2060
2020-08-10 09:41:08 +02:00
Christoph Reiter
a1d708c81d msys2-runtime: add a README to note that the patches are auto generated 2020-08-09 20:29:51 +02:00
Alexey Pavlov
63bc219cc8 msys2-runtime: Update to 3.1.6 2020-07-17 09:56:48 +03:00
Christoph Reiter
6735c1653e msys2-runtime: Fix popen() in chroot (#2003)
See https://github.com/msys2/Cygwin/pull/7

Fixes #1998
2020-06-06 11:55:41 +03:00
Alexey Pavlov
55701ce451 msys2-runtime: Dont create WSL symlinks 2020-06-02 15:37:20 +03:00
Alexey Pavlov
f6fd766e3d msys2-runtime: Update to 3.1.5 2020-06-02 11:19:10 +03:00
David Macek
19bd06b131 [RFC] Cleanup (#1984)
* Remove msys2-runtime dependencies

* Remove `base` group

* Remove some packages from `base-devel` group
2020-06-02 09:28:40 +03:00
Alexey Pavlov
c43fc0c23d msys2-runtime: Updae pkgrel 2020-05-30 12:28:43 +03:00
Christoph Reiter
fa38d385cf Switch to zstd by default except for core packages (#1969)
PKGEXT in PKGBUILD wins over the value set in makepkg.conf
2020-05-22 08:51:02 +03:00
Johannes Schindelin
cc7a95b5a7 msys2-runtime: demote the "pseudo console" support to opt-in (#1964)
To make it easier to experiment with it, we now also support
`MSYS=enable_pcon` (in addition to the equivalent but unintuitive
`MSYS=nodisable_pcon`).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2020-05-20 15:18:57 +03:00
Johannes Schindelin
5dea2a9351 Upgrade the MSYS2 runtime to v3.1.4 (#1953)
* msys2-runtime: add a shell script to generate the patches from msys2/Cygwin

The idea is to commit a change incrementing the `pkgver`, then running
this script, and then amending the commit.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

* msys2-runtime: work around Cygwin's source code containing symlinks

It is a bit unfortunate that MSYS2 substitutes symlinks by deep copies,
by default. Git, for example, claims that it cannot do symlinks, but
Cygwin now needs this. Let's make do with that default.

The strategy we use is simple: we override the auto-detected
`core.symlinks` setting. That will result in a dirty worktree, of
course: deep copies are not symlinks, and `git status` will detect it.
But that does not matter, as the build will now work ("deep" copies of
those header files will work just as well as real symlinks would have
done).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>

* msys2-runtime: upgrade to v3.1.4

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2020-05-18 08:55:21 +03:00
Alexey Pavlov
e21e7a9fe1 msys2-runtime: - Fix bug in sec_auth.
- Backport fixes for path conversion from git for windows project. THanks to @dscho.
- Fixes to build with gcc 8+
2019-07-11 15:13:56 +03:00
Ben
a2800be1d1 msys2-runtime: 0026-mkdir-always-check-for-existence.patch (#1687)
Temporary patch until cygwin 3.8.x is integrated.
2019-07-03 10:29:30 +03:00
Alexey Pavlov
2694b20600 msys2-runtime: Propagate TZ environment variable if possible to native applications 2019-06-20 23:40:20 +03:00
Alexey Pavlov
c4bff8a9ff msys2-runtime: Restore loading QueryUnbiasedInterruptTime but from kernel32 2019-05-27 10:10:04 +03:00
Alexey Pavlov
3064420ee3 msys2-runtime: Don't dynamically load QueryUnbiasedInterruptTime when
building with WINNT >= 0x601
2019-05-24 14:20:40 +03:00
J. Peter Mugaas
e96751b148 msys-runtime - 3.0.7 - Update to latest version (#1627) 2019-05-23 08:11:34 +03:00
Alexey Pavlov
d9310fcb58 msys2-runtime: Update to Cygwin's 3.0.6 release 2019-04-15 10:53:36 +03:00
Alexey Pavlov
279c1d2fba msys2-runtime: Update to 2.11.2 Cygwin release 2018-11-26 10:01:01 +03:00
Alexey Pavlov
e5eb8fa4a8 msys2-runtime: Fix using native symlink 2018-09-10 14:27:36 +03:00
Alexey Pavlov
b7ec2196aa msys2-runtime: Update to Cygwin's 2.11.1 release 2018-09-07 09:12:49 +03:00
Jeroen Ooms
5ff7e89abc msys2-runtime: build with crt from gcc, not clang
Fixes #1291.
2018-06-09 01:22:24 +02:00
Paul "TBBle" Hampson
168cdd5314 msys2-runtime: Cherry-pick gcc 7 suport from cygwin
This cherry-picks commit 67609efeb0bcb198463a952a6a214813794a9c2b from
cygwin upstream, see
https://www.mail-archive.com/cygwin-patches@cygwin.com/msg06820.html
2018-04-26 22:44:57 +10:00
Alexey Pavlov
033d66afe7 msys2-runtime: Remove unused options 2018-02-09 14:27:23 +03:00
JPeterMugaas
662327d429 As perl Alexpux's comment, change 3 to 2. 2018-02-09 00:27:28 -05:00
JPeterMugaas
ee00ecc6aa Drop the catgets library and facility from packages being offered. msys2-runtime 2.10 now has it's own facility and indicate that msys2-runtime replaces catgets
Todo: figure out what to do about the "man" package as that package depends upon the catgets library and will to link with catgets.  I would suggest replacing "man" with "man-db" for consistanstancy with Cygwin and Archlinux.
2018-02-08 15:48:07 -05:00
Alexey Pavlov
3c6ae6b0d7 msys2-runtime: Update to cygwin 2.10.0 release 2018-02-08 15:04:06 +03:00
Edward E
6c686620b5 msys2-runtime-devel: fix groups 2018-01-23 10:58:10 -06:00
Alexey Pavlov
89f462b599 msys2-runtime: Fix strnstr function with patch proposed by Johannes
Schindelin
2017-09-13 23:45:11 +03:00
Alexey Pavlov
b1fda0af0f msys2-runtime: Fix cygwin regressions 2017-09-13 16:00:29 +03:00
Holger Nahrstaedt
7118e08025 remove comments 2017-09-13 14:51:31 +02:00
Holger Nahrstaedt
560b4f66ab fix sha256 2017-09-13 14:45:00 +02:00
Holger Nahrstaedt
8cef5265a6 fix strnstr for msys2-runtime 2017-09-13 14:43:29 +02:00
Alexey Pavlov
bd7a7c9144 msys2-runtime: Update to cygwin 2.9.0 release 2017-09-07 14:45:24 +03:00
JPeterMugaas
45c49a7544 Switch to using git am instead of patch.
Update to newlib 2.8.2 - Latest version
2017-07-13 09:05:19 -04:00
JPeterMugaas
4d9a0e129a msys2-runtime/0002-Rename-DLL-from-cygwin-to-msys.patch - Update patch
msys2-runtime/PKGBUILD - Update newlib to 2.8.1
msys2-w32api-headers/PKGBUILD - Update to latest
msys2-w32api-runtime/PKGBUILD - Update to latest
2017-07-08 02:47:06 -04:00
Alexey Pavlov
4789fa428e msys2-runtime: Update to Cygwin's 2.7.0 release 2017-02-14 08:46:38 +03:00