Commit Graph

220 Commits

Author SHA1 Message Date
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
Christoph Reiter
8b7dc6676b makepkg: set _FORTIFY_SOURCE=2 by default
This follows what Arch Linux does by default, see
091c871471/trunk/makepkg.conf (L42)

This is now possible after https://github.com/msys2/MINGW-packages/issues/13401
2022-10-17 00:17:18 +02:00
Christoph Reiter
6e7e3ff4bc makepkg: disable SSSE3 by default
There are some old AMD CPUs which run Win10 (somehow) but
don't have SSSE3 (not to be confused with SSE3), so explicitely
disable it. Both gcc and clang seem to understand this combination.
2022-10-16 23:18:45 +02:00
LIU Hao
cffbf28711 makepkg: Set default arch for native x86_64 packages to core2
This allows builtin atomic operations on 128-bit integers.

Signed-off-by: LIU Hao <lh_mouse@126.com>
2022-10-16 19:26:17 +08: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
Christoph Reiter
a49f31f30e pacman: rebuild
for real this time. to get a curl fix backport.
https://github.com/msys2/MSYS2-packages/pull/3199
2022-09-21 19:44:25 +02:00
Christoph Reiter
2a6a0f0320 Revert "pacman: rebuild"
This reverts commit b6c2c0f6bd.

turns out nghttp2 just added new api tfor curl to be less strict,
so we need to wait for a curl release first
2022-09-21 18:02:56 +02:00
Christoph Reiter
b6c2c0f6bd pacman: rebuild
nghttp2 had some fixes we want
2022-09-21 17:32:24 +02:00
Christoph Reiter
9cc1806a80 Update pacman
pkgbuild linting is now opt-in
2022-09-11 14:05:12 +02:00
Christoph Reiter
1ff9c79a6b pacman: rebuild 2022-09-02 12:11:11 +02:00
Christoph Reiter
c260cf7599 pacman: rebuild
to pull in dependency changes
2022-05-28 10:09:06 +02:00
Christoph Reiter
5917b5b87a pacman: enable clang32 by default
And add commented out versions of clangarm64 and staging while at it,
so they are easy to enable if wanted.
2022-05-01 18:01:50 +02:00
Christoph Reiter
5391c118a7 Remove the base-devel group from all PKGBUILD files
We have a base-devel package now, so this isn't used anymore.
Remove it either way to avoid confusion.
2022-04-18 11:17:10 +02:00
Christoph Reiter
c9c3ad06fa pacman: use zstd for source packages too
because why not
2022-04-07 20:12:21 +02:00
Christoph Reiter
026a47cf12 pacman: rebuild 2022-04-04 08:35:36 +02:00
Christoph Reiter
a1d92610d4 pacman: rebuild
lots of deps have changed, so a rebuild can't hurt
2022-04-03 14:33:36 +02:00
Christoph Reiter
1ac20c43a4 pacman: bump pkgrel 2022-02-09 19:59:34 +01:00
Christoph Reiter
b4759e37f1 pacman: use git apply for patches
so we don't depend on a git commiter being set
2022-02-09 19:59:34 +01:00
Christoph Reiter
7e7680cc65 makepkg.conf: remove redundant LDFLAGS
Remove all flags which are default with the respective toolchain anyway.
This isn't supposed to change anything.

--no-seh remains, see https://github.com/msys2/MSYS2-packages/pull/2133
2022-02-09 19:59:24 +01:00
Christoph Reiter
cc5871f755 makepkg.conf: remove git related vars
They were never exported (also not in PKGBUILD files) so not used.
Just remove them and handle this in PKGBUILD by not using "git am"
2022-02-09 18:46:53 +01:00
Christoph Reiter
fa6a437157 pacman: Update patches 2022-02-09 18:43:10 +01: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
e40c90814f Makedepend on gcc/make where needed
This means we no longer need msys2-devel
2021-12-13 22:19:56 +01:00
Christoph Reiter
8f0e5c06a3 pacman: fix a path in libalpm.pc
It hardcodes the gcc path which isn't the same any more
2021-12-11 16:08:39 +01:00
Mehdi Chinoune
200ca2e1ee pacman: Fix LTO-ing staticlibs 2021-11-19 08:14:23 +01:00
Christoph Reiter
6a365b7ded Bump pkgrel for heimdal
I missed it..
2021-11-18 08:49:47 +01:00
Christoph Reiter
fc24e609ac pacman: rebuild 2021-11-17 23:44:18 +01:00
Christoph Reiter
8fbbc4e76c pacman: update 2021-11-15 20:48:10 +01:00
Christoph Reiter
fafe2105a1 pacman: rebuild 2021-09-22 14:16:05 +02: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
Christoph Reiter
79914243a8 pacman: Update to 6.0.1 2021-09-04 14:37:44 +02:00
Christoph Reiter
7ad51c6028 pacman: backport .sig redirect fix and rework patch mngmt
explicitely fetch the patches we want to apply instead of changing the
base commit.
2021-09-04 10:19:07 +02:00
Christoph Reiter
4496a6aa05 pacman: update
Move to a newer upstream commit to include
https://gitlab.archlinux.org/pacman/pacman/-/commit/0147de169a2abd19

Includes one new commit from our fork.
2021-08-29 17:46:51 +02:00
Christoph Reiter
37840cfe1b pacman: rebuild
some deps have changed
2021-08-26 19:54:20 +02:00
Christoph Reiter
1e932f1fd4 Revert "pacman: rebuild"
This reverts commit 355554c2cd.
2021-08-26 19:53:46 +02:00
Christoph Reiter
355554c2cd pacman: rebuild 2021-08-26 18:50:02 +02:00
Jeremy Drake
6d99bab4a3 pacman: switch mingw i686 -march to pentium4
This seemed like a reasonable minimum, requiring instruction sets
through sse2.
2021-08-21 20:38:26 -07:00
Christoph Reiter
cfdb662d98 pacman: switch to the unified mingw mirror list
Added in #2569
2021-07-04 18:36:48 +02:00
Christoph Reiter
36be6dff88 pacman: fix upstream git URL
pacman moved to gitlab
2021-07-04 18:20:24 +02:00
Christoph Reiter
7725237ddb pacman: fix DB signature not being found if the server redirects
See https://bugs.archlinux.org/task/71274 for details
2021-06-18 16:01:56 +02:00
Christopher Degawa
05f1329a55 pacman: use color by default
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
2021-06-15 01:56:05 -05:00
Christoph Reiter
16b72faac9 pacman: pull in some upstream fixes 2021-06-07 07:12:08 +02:00
Christoph Reiter
0b1a78a25e pacman: Update to 6.0.0 2021-06-06 10:47:06 +02:00
Christoph Reiter
f59c8af77f pacman: autogenerate patches from git
this is a similar setup to msys2-runtime
2021-05-23 17:56:26 +02:00
Mehdi Chinoune
48995858f9 pacman: export CC and CXX variables explicitly 2021-05-15 11:26:50 +01:00