Commit Graph
264 Commits
Author SHA1 Message Date
oech3andChristoph Reiter c74c14d4cf pacman: Fix typo at makepkg_mingw.conf (#5840)
* pacmna: Fix typo at makepkg_mingw.conf

* update checksums/pkgrel

---------

Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
2025-12-19 11:38:15 +01:00
ognevnydemon 072efc0fa4 pacman: add RUST_CHOST to makepkg*.conf 2025-11-05 08:47:47 +01:00
Christoph Reiter 6f0a8510ba pacman: restore COMPRESSZST defaults (#5605)
With https://github.com/msys2/msys2-autobuild/commit/dc632d99340da8b204fa2d7
we can now override COMPRESSZST in autobuild, to use higher than default
compression when building packages for the repo.

This means we can revert the default COMPRESSZST back to the default
zstd compression level (3) and make packaging faster for development/CI
etc.
2025-08-30 18:24:40 +02:00
Christoph Reiter a685646477 pacman: build with -fzero-init-padding-bits=unions
what a nice gcc 15 "feature"...
2025-07-22 19:28:47 +02:00
Christoph Reiter f672b11508 pacman: sync 2025-07-22 07:41:46 +02:00
Christoph Reiter 84249fa1f4 pacman: switch from x86_64-pc-msys to x86_64-pc-cygwin 2025-06-17 22:54:29 +02:00
jeremyd2019 4b72bb08c0 pacman: update patches (#5441)
This corresponds to msys2/msys2-pacman#57
2025-06-08 07:57:35 +02:00
Maksim Bondarenkov e5d3b36073 makepkg confs: apply +crt-static in RUSTFALGS for CLANG*
currently there is an issue with `crt-static` option being
uncontrollable for windows-gnu targets: . this behavour is bad because
libunwind.dll is linked by default for windows-gnullvm, but no gcc
dynamic libs are linked in case of windows-gnu. I tried to use
bootstrap.toml option, but it doesn't do what is expected.

this change should be temp before the issue is fixed. this flag can be
changed in case of package which has cc-libs as their dependency anyway.

I'll block some rust updates/additions before this is merged
2025-05-21 09:11:59 +03:00
Jeremy Drake 727a2b5cd9 pacman: fix makepkg-mingw conf
it turns out makepkg already include ${MAKEPKG_CONF}.d/*.conf, which
results in the last alphabetically getting to set the variables.  Rename
our directory without the .conf, so this pattern won't match it.
2025-05-17 15:21:15 -07:00
jeremyd2019 346cd608ca pacman: make msystems pluggable (#5382)
makepkg-mingw.conf will include
/etc/makepkg_mingw.conf.d/${MSYSTEM,,}.conf, and makepkg-mingw will list
these confs to populate MINGW_ARCH_ALLOWED
2025-05-17 19:43:35 +02:00
jeremyd2019 ada64e5dce pacman: rebuild for updated static dependencies. (#5218) 2025-02-20 07:19:51 +01:00
مهدي شينون (Mehdi Chinoune) 0431c0d051 pacman: drop clang32 2024-12-19 06:10:43 +01:00
Christoph Reiter 36ffeac908 pacman: rebuild 2024-11-15 10:21:48 +01:00
Christoph Reiter 135ff83836 pacman: rebuild for curl 2024-09-18 09:59:43 +02:00
K.Takata 0d67d3f8eb pacman: Restore ja translations
MSYS2-specific Japanese translations were removed in
1915a138c0.
Restore them.

See: https://github.com/msys2/msys2-pacman/pull/53
2024-09-17 19:12:37 +02:00
Christoph Reiter 13e7de80ca makepkg_mingw.conf: stop using CPPFLAGS
cmake for example doesn't use CPPFLAGS, so anything using cmake wont
get __USE_MINGW_ANSI_STDIO set, which is causing problems like
https://github.com/msys2/MINGW-packages/pull/21796

Instead move __USE_MINGW_ANSI_STDIO into CFLAGS and CXXFLAGS.

Uses "-Wp" because we already do that for _FORTIFY_SOURCE, not sure
if it helps with anything really, but why not.

See #4860
2024-08-30 18:50:13 +02:00
Maksim Bondarenkov 42df58d79a makepkg-mingw.conf: add RUSTFLAGS
frame-pointers already enabled for rust package, so let's put it for all rust-based packages
2024-08-20 11:04:00 +03:00
Christoph Reiter f3fdf5f742 pacman: rebuild 2024-07-25 16:48:33 +02:00
Christoph Reiter 8264e9283e pacman: rebuild
mainly for https://github.com/msys2/MSYS2-packages/pull/4605
2024-05-21 19:49:31 +02:00
Christoph Reiter 1915a138c0 pacman: Update to 6.1.0 (v2)
Same as #4584 but with an additional backport:
https://github.com/msys2/msys2-pacman/pull/49

Old message:

See msys2/msys2-pacman#45

makepkg.conf synced with the upstream version:
https://gitlab.archlinux.org/pacman/pacman/-/blob/v6.1.0/etc/makepkg.conf.in

Skip patches only changing CI configs
2024-05-09 09:45:39 +02:00
مهدي شينون (Mehdi Chinoune) 2673230b92 Revert "pacman: Update to 6.1.0"
This reverts commit 7edf29e04a.
2024-05-07 16:15:46 +01:00
Christoph Reiter 7edf29e04a pacman: Update to 6.1.0
See https://github.com/msys2/msys2-pacman/pull/45

makepkg.conf synced with the upstream version:
https://gitlab.archlinux.org/pacman/pacman/-/blob/v6.1.0/etc/makepkg.conf.in

Skip patches only changing CI configs
2024-05-06 07:58:15 +02:00
Christoph Reiter edad712757 Update pacman 2024-04-30 08:40:40 +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
Markus Mützel 5379887583 pacman: remove -pipe from default LDFLAGS for all environments
This is motivated by https://github.com/msys2/MINGW-packages/pull/20591
where flang v18 stopped supporting the -pipe flag which is passed to
it via LDFLAGS. v17 still supported it and it's not clear where and when
it was changed exactly.

Let's remove it from LDFLAGS because:

* it's not clear if -pipe actually does anything for linking
  (it's still passed via CFLAGS/CXXFLAGS)
* other distros like Arch/Gentoo also only add it to CFLAGS/CXXFLAGS
* of the above flang issue
2024-04-07 20:05:43 +02:00
Christoph Reiter a2ee04bf00 More CPEs 2024-03-24 20:09:34 +01:00
مهدي شينون (Mehdi Chinoune) 5914ecb408 pacman: Add security hardening compile flags to CXXFLAGS 2024-01-21 12:24:07 +01:00
Christoph Reiter 8c1bba7c4b Update pacman
Adds https://github.com/msys2/msys2-pacman/pull/33
2023-12-08 14:00:04 +01:00
Christoph Reiter 127b5ed2b7 pacman: rebuild 2023-10-24 19:59:49 +02:00
Christoph Reiter 78d8f7f34f pacman: rebuild 2023-10-11 09:15:39 +02:00
Christoph Reiter 3e587db079 pacman: rebuild 2023-09-14 19:17:09 +02:00
Christoph Reiter 972f8b9154 pacman: rebuild 2023-08-03 08:14:51 +02:00
Christoph Reiter eaa307dbb5 pacman: rebuild 2023-07-19 19:36:42 +02:00
Christoph Reiter c0419c0081 pacman: rebuild 2023-05-25 22:16:22 +02:00
Christoph Reiter 1550c3790b pacman: rebuild 2023-05-23 09:40:11 +02:00
Christoph Reiter 12fd261410 Update pacman 2023-04-03 20:36:35 +02:00
Christoph Reiter 78b68d79e8 pacman: rebuild
for curl
2023-03-20 20:14:49 +01:00
Christoph Reiter 81cc51cca8 pacman: rebuild 2023-03-20 14:49:19 +01:00
Christoph Reiter cd7c76c71d pacman: Update to 6.0.2
See https://github.com/msys2/msys2-pacman/pull/28
2023-03-02 07:16:50 +01:00
Christoph Reiter 8b56cfe2a3 pacman: rebuild 2023-02-20 17:51:08 +01:00
Christoph Reiter e7424d869a pacman: sync -march flags from mingw to msys
With win7/8 support dropped now we can bump our CPU requirements
for msys packages.

This makes them match what we already use for mingw packages.
2023-01-31 19:54:02 +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 3054b5823c pacman: Update 2023-01-16 18:22:16 +01:00
Biswapriyo Nath 5545b5b3dd pacman: Enable clangarm64 repository 2022-12-30 10:41:32 +05:30
Christoph Reiter 0696693a4e pacman: rebuild for openssl 2022-12-28 09:48:44 +01:00
Christoph Reiter 8ad19559bf pacman: rebuild for curl 2022-12-21 11:32:47 +01:00
Christoph Reiter c2d0bcec5c makepkg: default to -Wl,--large-address-aware
There are many cases where the extra memory is helpful and
with the type of software we package this hopefully shouldn't
lead to any problems.

Fixes #3283
2022-11-08 07:31:19 +01:00
Christoph Reiter 3b62953e26 pacman: Update
rebuild and sync in the bash 5.2 fix
2022-11-04 20:41:06 +01:00
Christoph Reiter 99a00a19a6 makepkg: add -fstack-protector-strong to default CFLAGS
Linux distros have this enabled for years, let's give it a try.

See #3237
2022-10-21 14:26:23 +02:00
Christoph Reiter 2f56fc3900 makepkg: don't use "-mno-*" in CFLAGS
In case a package has a configure check for say -mssse3 and then
enables it if the compiler supports it it would be passed to the compiler
before our CFLAGS, which currently has -mno-ssse3 (which seems to also disable
sse4 and above while at it). The code then assumes it's available but the compiler
fails.

While one could argue that we try to prevent ssse3+ being used in packages, there
are always exceptions like building sse4 code which dynamically gets executed.

So it's better we only enable machine options in CFLAGS and never disable them

Replace "-march=core2 -mno-ssse3" with the equivalent "-march=nocona -msahf".
Note that the GCC docs wrongly state that "nocona" doesn't include "CX16", while it does.

See https://github.com/msys2/MINGW-packages/pull/13651
2022-10-20 21:08:52 +02:00