Commit Graph

190 Commits

Author SHA1 Message Date
Sandro Mani
846156c1bd Prevent mingw-find-lang.sh from clobbering previous find-lang results 2022-12-09 12:28:47 +01:00
Sandro Mani
404594a9fc Use SPDX license tag 2022-11-18 22:09:17 +01:00
Sandro Mani
de21385695 Require mingw-binutils-generic 2022-10-18 14:02:48 +02:00
Sandro Mani
2bf8319605 Replace egrep with grep -E 2022-10-06 08:51:53 +02:00
Sandro Mani
28d3d2b73d Revert unsetting _PREFIX 2022-07-30 08:48:33 +02:00
Sandro Mani
82f4189ad6 Don't unset _PREFIX in mingw-env macro, it leads to ${_PREFIX} being empty when evaluated the lines above 2022-07-29 22:26:20 +02:00
Fedora Release Engineering
1688ef84e1 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 21:14:17 +00:00
Sandro Mani
6dffdd3418 Set CMAKE_FIND_ROOT_PATH_MODE_PACKAGE in cmake toolchain files 2022-05-20 18:48:41 +02:00
Sandro Mani
508578c74b Drop CMAKE_INSTALL_LIBDIR from mingw-cmake macros
Setting CMAKE_INSTALL_PREFIX is sufficient, lib relative to the CMAKE_INSTALL_PREFIX is default
2022-05-11 12:36:34 +02:00
Richard Hughes
7be5939330 Include glib-mkenums in the toolchain binaries 2022-05-09 08:49:32 +01:00
Sandro Mani
574812854b Update README 2022-05-04 16:47:47 +02:00
Sandro Mani
9f6edc6a7a Update README 2022-05-04 10:46:54 +02:00
Sandro Mani
39edc444a3 Add README.md 2022-05-04 00:42:30 +02:00
Sandro Mani
6e51f453f3 Drop standard DLL provides, moved to mingw-crt 2022-05-04 00:16:02 +02:00
Sandro Mani
38c14c17cd Add host lib dirs to ld.so.conf 2022-05-03 15:46:35 +02:00
Sandro Mani
a723557d96 Regenerate standard-dlls 2022-04-28 12:34:19 +02:00
Marc-André Lureau
b9ffd1b6a5 Fix ucrt64 toolchain filenames.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-24 17:53:59 +04:00
Marc-André Lureau
a4f0ba0de5 Add ucrt64 target
mingw_build_ucrt64 is set to 0, for bootstrapping purposes, to not build
it by default. We may decided to keep it 0, since converting all
packages can take a while.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-22 17:08:03 +04:00
Marc-André Lureau
ac9fcd8ab6 Drop qt4 macros
Suggested by Sandro Mani
(https://src.fedoraproject.org/rpms/mingw-filesystem/pull-request/8)

I think we could just drop qt4 (and kde4) everywhere. mingw-qt (aka Qt4)
has been removed two years ago (and was FTBFS for another year or two
before that).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2022-02-22 17:07:23 +04:00
Sandro Mani
a1c19e33ff Create build_winXX directories with mkdir -p 2022-02-22 10:34:23 +01:00
Sandro Mani
ae9028c351 Bump release 2022-02-10 16:52:43 +01:00
Sandro Mani
21591ade5e Move python dependency generation to mingw32/64_python3.attr in mingw-python3 package 2022-02-10 13:51:35 +01:00
Sandro Mani
03aa020c11 More generic mingw_pkg_name macros to also deduce mingw package name from native name 2022-02-10 11:37:08 +01:00
Sandro Mani
c212a7bc7d Drop evaling $@ in mingw-scripts, ensure mingw macros invoked by mingw-scripts contain $@ 2022-02-02 10:37:40 +01:00
Sandro Mani
f9734e4bcc Also set FCFLAGS in mingw-env 2022-01-22 21:55:50 +01:00
Fedora Release Engineering
40a9ee9840 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 19:22:01 +00:00
Sandro Mani
9257d2c01d Add Boost_ARCHITECTURE to cmake toolchain file 2022-01-09 09:19:07 +01:00
Sandro Mani
f9b54363f1 Correctly test whether CC/CXX/FC env-vars are set in cmake toolchain config 2022-01-08 19:33:47 +01:00
Sandro Mani
ea5c8fc32e Preserve CC/CXX/FC/RC set by ENV if set in cmake toolchain files 2021-12-15 22:21:47 +01:00
Sandro Mani
e2f6d80752 Fix up debug dirs ownership 2021-11-20 08:28:21 +01:00
Sandro Mani
5788afad0b Use relative paths in cmake/meson toolchain files to make ccache work if available 2021-11-17 18:30:23 +01:00
Sandro Mani
91f2255bd3 Autogenerate python dependency, also capture pc, pyd for dependency generation 2021-09-21 11:03:04 +02:00
Sandro Mani
0a51e8a6f9 Tweak cmake macro to allow overriding INCLUDE_INSTALL_DIR, fix double passed via mingw-scripts 2021-09-02 00:36:00 +02:00
Sandro Mani
f6cc2b6d75 Don't use deprecated external dependency generator 2021-08-29 23:04:14 +02:00
Sandro Mani
472b833cfe Fix file listed twice 2021-08-29 23:03:04 +02:00
Sandro Mani
859cfeb06d Fix copying minidebug symbols to binary 2021-08-29 23:02:14 +02:00
Sandro Mani
6c5a8d2258 Store debug files below /usr/lib/debug 2021-08-27 00:22:40 +02:00
Fedora Release Engineering
a2f99cbf2d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 14:24:08 +00:00
Sandro Mani
4a7f3f602c Fix packaing man page for mingw-pkgconfig 2021-06-13 09:21:05 +02:00
596cb8d010 Use pkgconf for pkgconfig
PkgConf supports pretending to be pkgconfig(1) for cross-target
toolchains through the use of personality files.

By using this method, we can drop mingw-pkg-config and consistently
use native tools for discovery and toolchain configuration for
cross-compilation.
2021-06-12 22:00:09 -04:00
Sandro Mani
f88d07b914 Allow overriding CFLAGS/CXXFLAGS/LDFLAGS for %%mingw_meson 2021-06-07 14:17:48 +02:00
Sandro Mani
9e2af70416 Filter Windows API umbrella libraries from requires 2021-02-01 21:59:11 +01:00
Fedora Release Engineering
3aae864702 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 19:53:52 +00:00
Tom Stellard
93b1a51945 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-13 03:20:02 +00:00
Sandro Mani
b733b32514 Fix changelog order 2020-07-27 16:13:34 +02:00
Sandro Mani
8b144a44b6 Add -lssp to LDFLAGS 2020-07-27 16:10:52 +02:00
Sandro Mani
3e5c7d77dd Add -fstack-protector to LDFLAGS 2020-07-19 20:13:57 +02:00
Daniel P. Berrangé
6de060b5d3 Add meson hint for libgcrypt-config on mingw cross builds
https://bugzilla.redhat.com/show_bug.cgi?id=1856446

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-07-14 10:32:22 +01:00
Sandro Mani
717f2a929b Add %mingw_make_build and %mingw_make_install 2020-05-23 14:00:10 +02:00
Sandro Mani
3ad1f950f2 Fix mingw_meson resulting in ERROR: Unable to determine dynamic linker 2020-05-22 21:44:20 +02:00