Commit Graph

22 Commits

Author SHA1 Message Date
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
df11c64ea4 pacman: no longer require toolchains to be installed when running makepkg-mingw
See https://github.com/msys2/MINGW-packages/discussions/10506
2022-01-09 13:56:44 +01:00
Christoph Reiter
9f15d56516 pacman: try to improve makepkg-mingw defaults
* Print MINGW_ARCH info when passing --help/-h
* Change behaviour when MINGW_ARCH isn't set
  * Default to MSYSTEM if in a mingw environment
  * Default to mingw64 otherwise (but warn)
* Print some feedback on what is getting built right away.
  makepkg can take some time at the start and this makes
  things clear right away.

The goal of the MINGW_ARCH change is to make it more likely to do the right thing by
default and to not special case any environment.

This has the potential of breaking existing users if MINGW_ARCH isn't set
and they want exactly "mingw32/mingw64" to be built like before. This will now build
only mingw64 if called in a msys environment and either mingw32/64 if called
in those environments.

To restore the old behavior set MINGW_ARCH="mingw64 mingw32" first.
2021-09-20 11:55:29 +02:00
Jeremy Drake
e6cfdf08a5 add CLANGARM64 MSYSTEM/MINGW_ARCH 2021-04-07 21:38:50 -07:00
Christoph Reiter
ac6a3cb51d pacman: makepkg-mingw: add ucrt64 2021-03-20 13:13:48 +01:00
Christoph Reiter
64a00cb9a0 pacman: merge all mingw makepkg.conf files into one 2021-03-19 11:42:52 +01:00
Christoph Reiter
f2ae51c562 makepkg-mingw: Rename MINGW_INSTALLS to MINGW_ARCH
In addition to this we want to add a "mingw_arch=()" for PKGBUILDs
in the future which tells us which type of builds a PKGBUILD supports.
2021-03-05 20:40:01 +01:00
Naveen M K
c91216b5f1 makepkg-mingw: fix a typo in warning 2021-02-26 17:43:42 +01:00
jeremyd2019
9d0815e00f Update makepkg-mingw 2021-01-26 21:47:52 -08:00
Ray Donnelly
af50969c04 pacman: Advise clang not toolchain for MINGW_INSTALL=clang* 2021-01-27 00:16:41 +01:00
Christoph Reiter
fa0ba92d86 pacman: makepkg-mingw improvements
* Fix various shellcheck issues; like for spaces in arguments etc
* Merge makepkg-clang into makepkg-mingw. No need to have an extra tool for starters.
  MINGW_INSTALLS="clang32 clang64" will work now.
* Run makepkg in a new login shell for the right MSYSTEM. This reduces
  the differences between running it in a msys shell vs a mingw shell,
  see #2285
2020-12-28 15:45:47 +01:00
eine
d93aeebb24 pacman: case insensitive MINGW_INSTALLS 2020-07-13 00:35:57 +02:00
Viktor Szakats
7f7316ba9b use HTTPS in URLs where supported (#1741) 2019-09-30 09:33:57 +03:00
David Macek
a8d878f9a7 pacman: makepkg-mingw: Set correct MSYSTEM; Allow user to set MINGW_INSTALLATIONS; Don't print help output twice 2015-02-07 01:50:06 +01:00
Alexpux
0e4ac63155 pacman: Prepare to move system to real /usr prefix 2014-06-13 19:47:18 +04:00
Alexpux
50ea6425bf pacman: Refactoring config files. Define MINGW_PACKAGE_PREFIX globally for MINGW targets. 2014-06-07 14:24:01 +04:00
Alexpux
5e8e4b3543 pacman: Warn about not installed Mingw-w64 toolchain. 2014-04-09 15:33:05 +04:00
Alexpux
58f9d73b00 pacman: Fix some issues. 2014-03-29 19:02:20 +04:00
Alexpux
fe88f47f71 pacman: Properly handle ACLOCAL files for mingw packages. 2014-02-10 10:28:54 +04:00
Alexpux
d5b082f6bc pacman : Update to latest. Use mirrors now for repositories. 2014-02-01 19:24:49 +04:00
Alexpux
c03d69c38d pacman: Fix config files. 2013-12-26 17:31:57 +04:00
Alexpux
d471913a47 pacman: Add wrapper for building mingw targets. 2013-12-03 08:18:25 +04:00