Commit Graph

159 Commits

Author SHA1 Message Date
Erik van Pienbroek
475f0ff26f Add CMAKE_SYSTEM_PROCESSOR to the CMake toolchain files 2015-04-11 19:07:25 +02:00
Erik van Pienbroek
faf1180f11 Rename Toolchain-mingw{32,64}.cmake to toolchain-mingw{32,64}.cmake 2015-04-11 19:07:25 +02:00
Dennis Gilmore
1858211f16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 04:34:06 -05:00
Erik van Pienbroek
7871a5f4f5 Place the RPM macros in /usr/lib/rpm/macros.d when using a modern RPM 2014-02-09 01:04:35 +01:00
Erik van Pienbroek
f67070450f Own all the locale folders below %{mingw32_datadir}/locale and %{mingw64_datadir}/locale (RHBZ #798329) 2013-08-03 20:39:44 +02:00
Erik van Pienbroek
9385982597 Own the folders %{mingw32_libdir}/cmake and %{mingw64_libdir}/cmake 2013-08-03 19:56:04 +02:00
Dennis Gilmore
16853f003e - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 05:33:06 -05:00
Kalev Lember
f7e66214d7 Remove invalid macros with '++' in the name
https://lists.fedoraproject.org/pipermail/devel/2013-June/183886.html
2013-06-15 15:21:15 +02:00
Erik van Pienbroek
6f9eccdae6 Only set the environment variable PKG_CONFIG_LIBDIR in the cmake macros
- Only set the environment variable PKG_CONFIG_LIBDIR when
  using the macros %mingw32_cmake, %mingw32_cmake_kde4,
  %mingw64_cmake or %mingw64_cmake_kde4
- Fixes FTBFS of the mingw-matahari package
2013-06-02 17:31:30 +02:00
Erik van Pienbroek
a737f03ae2 Updated the list of DLLs which are part of the Win32 API
Updated the list of DLLs which are part of the Win32 API with
the libraries d3dcompiler_46.dll, d3dcsx_46.dll, davclnt.dll,
devmgr.dll, devobj.dll and devrtl.dll
2013-05-14 20:14:01 +02:00
Erik van Pienbroek
c61c02dedf Fix rpmlint warnings about invalid date in changelog entries 2013-05-14 20:07:41 +02:00
Erik van Pienbroek
d6d7154378 Bumped the minimum required version of mingw{32,64}-filesystem to >= 95
Bumped the minimum required version of mingw{32,64}-filesystem
to >= 95 in built mingw packages as this is the first version of
which was introduced in Fedora with a stable interface
2013-05-14 20:03:32 +02:00
Erik van Pienbroek
ba334114c1 Removed the use of the environment variable PKG_CONFIG_LIBDIR
- Removed the use of the environment variable PKG_CONFIG_LIBDIR
  While building binaries the tool {i686,x86_64}-w64-mingw32-pkg-config
  should be used to find out pkg-config information
  The environment variable PKG_CONFIG already automatically points
  to the right cross-compiler aware version of pkg-config when
  the mingw{32,64}-pkg-config packages are installed
- Fixes compilation of mingw-gtk3 3.9.0 (GNOME BZ #699690)
- Automatically add R: mingw{32,64}-pkg-config tags when .pc files
  are detected while building mingw packages
2013-05-14 20:00:13 +02:00
Ralf Corsépius
797731025a Remove %config from %{_sysconfdir}/rpm/macros.*
(https://fedorahosted.org/fpc/ticket/259).
- Minor spec fixes.
2013-03-03 12:14:10 +01:00
Dennis Gilmore
8c7521d977 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 00:59:39 -06:00
Erik van Pienbroek
c277ca32f1 Support the environment variables MINGW32_MAKE_ARGS and MINGW64_MAKE_ARGS
These environment variables can be used to provide additional
target-specific arguments when using the %mingw_make macro
2012-12-16 23:56:55 +01:00
Erik van Pienbroek
ac04067e87 Added support for RHEL6 2012-12-03 19:59:00 +01:00
Kalev Lember
b09bf88df8 Add provides for mscoree.dll and regenerate the standard-dlls file
... as requested by mikkel on IRC. Unfortunately mscoree.dll isn't part
of mingw-crt so the provides don't get picked up automatically. Adding
it manually for now.
2012-11-10 17:19:08 +01:00
Erik van Pienbroek
4c049af9fb Added new macros for Qt5 support
- Added new macros for Qt5 support, %mingw32_qmake_qt5, %mingw64_qmake_qt5,
  %mingw_qmake_qt4 and %mingw_qmake_qt5
- It isn't necessary to call %mingw32_env / %mingw64_env any more
  in the %mingw32_qmake_qt4 and %mingw64_qmake_qt4 macros
2012-09-18 00:10:08 +02:00
Erik van Pienbroek
328f054f6a Fix the handling of quoted arguments in the cmake macros 2012-08-13 20:56:01 +02:00
Erik van Pienbroek
7b07576344 Make sure the %mingw_cmake and %mingw_cmake_kde4 macros respect the environment variable MINGW_BUILDDIR_SUFFIX 2012-08-13 15:17:25 +02:00
Dennis Gilmore
f5f39d387d - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 20:14:49 -05:00
Kalev Lember
fcb9178d02 Fix syntax error in mingw64_env macro
Patch by Akira TAGOH.

https://bugzilla.redhat.com/show_bug.cgi?id=831534
2012-06-13 12:18:04 +03:00
Erik van Pienbroek
0cec28deb7 Prevent errors when the folders %{mingw32_prefix} or %{mingw64_prefix} are missing
and fix parse error when -config files containing a . are available in %{mingw32_bindir} or %{mingw64_bindir} (RHBZ #657478)
2012-06-06 21:02:08 +02:00
Kalev Lember
57554d32bb Fix whitespace handling in %mingw_configure and friends 2012-04-19 18:55:04 +03:00
Kalev Lember
e66c6cc210 Generate the DLL name provides from mingw-crt import libraries
The virtual mingw32(...) and mingw64(...) provides used to be generated
from the names of WINE DLLs. This changes it to generate the list from
mingw-crt import libs instead. The advantage with the new approach is
that we can be sure that the virtual provides match with the actual DLL
names we can end up linking with: we'll be linking with the same stubs
from mingw-crt package that are used for the virtual provides list.
2012-03-17 17:42:55 +02:00
Kalev Lember
9dad08a5b6 Define mingw_build_win32/win64 in system macros
So far each individual spec file has had to define mingw_build_win32
and/or mingw_build_win64 on top of each spec file:

%global mingw_build_win32 1
%global mingw_build_win64 1

This commit changes it so that the default is now defined in system-wide
macros and each individual package doesn't have to clutter their spec
files with these two lines. The default is to build both 32 bit and 64
bit packages; if spec files need to opt out, they can just define either
mingw_build_win32 or mingw_build_win64 to 0.
2012-03-17 16:30:12 +02:00
Kalev Lember
3fc8958472 Fix warnings during debuginfo generation
Commit f3b87dde removed a needed 'shift' from mingw-find-debuginfo.sh,
which made debuginfo generation often complain about directories not
found.

Add the 'shift' back and at the same time improve argument parsing error
messages.
2012-03-16 23:03:26 +02:00
Kalev Lember
f14297dd84 Simplify the %mingw_make_install macro
... and move it to the deprecated section.
2012-03-16 22:20:35 +02:00
Erik van Pienbroek
7efd7c1a02 Added a manual provides for ksuser.dll 2012-03-12 23:17:04 +01:00
Kalev Lember
276307b7b0 Add missing %mingw32_debug_install_post 2012-03-06 20:17:38 +02:00
Kalev Lember
f3b87dde70 Get rid of the USE_OLD_METHOD hack in mingw-find-debuginfo 2012-03-06 20:17:38 +02:00
Kalev Lember
f5e6db3480 Merge copy-n-paste duplicate %mingw32_debug_package code 2012-03-06 20:17:35 +02:00
Erik van Pienbroek
528afd0138 Fixed broken summary tags 2012-02-28 17:33:30 +01:00
Erik van Pienbroek
0c1e1f998c Added support for both win32 and win64 targets
- Fixed rpmlint issues
- Fixed permissions of the scripts (775 -> 755)
- Fixed description of the various subpackages
- Make the various macros compliant with the new packaging guidelines:
  https://fedorahosted.org/fpc/ticket/71
- Suppress arch-independent-package-contains-binary-or-object rpmlint
  errors for static libraries
- Improved the mingw_configure, mingw_make, mingw_make_install,
  mingw_cmake and mingw_cmake_kde4 RPM macros so packagers don't need
  to use quotes anymore when using arguments. Thanks to Kalev Lember
  for the initial proof of concept
- Dropped the -mms-bitfields argument from the default CFLAGS as
  it is enabled by default as of gcc 4.7
- Replaced the CMake defines QT_HEADERS_DIR and QT_LIBRARY_DIR
  with QT_BINARY_DIR which is a more proper method to make CMake
  aware of the location of Qt. Thx to Dominik Schmidt for the hint
- Make sure CMake can detect the qmake-qt4 binary in /usr/$target/bin
- Make sure CMake can also detect the (native) Qt tools
  qdbuscpp2xml and qdbusxml2cpp
- Added new RPM macros mingw_cmake_kde4, mingw32_cmake_kde4 and
  mingw64_cmake_kde4
- Added three new environment variables which can be set to
  influence the behaviour of the cmake macros:
  MINGW_CMAKE_ARGS, MINGW32_CMAKE_ARGS and MINGW64_CMAKE_ARGS
- Dropped the mingw32-qmake-qt4 and mingw64-qmake-qt4 wrapper scripts
  as they're now provided by the mingw{32,64}-qt-qmake packages
- Added a new RPM macro: %%{?mingw_package_header}
  Packagers can use this macro instead of the original boilerplate
  code which is needed for all mingw packages
- Made argument passing using the backwards compatibility macro
  %%{_mingw32_cmake} work
- Fixed an issue in the mingw_cmake macro where it could point to
  a non-existant CMakeLists.txt file
- Fixed a bug in the find-requires script which causes all packages to
  depend
  on both the mingw32 and the mingw64 toolchains
- Split out the RPM macros which require both the
  mingw{32,64}-filesystem
  packages in a new file and put it in the mingw-filesystem-base package
- Generate seperate debuginfo packages for mingw32 and mingw64
- Set the minimum version of R: mingw{32,64}-filesystem to 70
- Use the correct FSF-address in some scripts
- Thanks to all the contributors: Erik van Pienbroek, Kalev Lember,
  Levente
  Farkas, Marc-Andre Lureau.
2012-02-27 17:33:08 +02:00
Kalev Lember
76112273c5 Rename the source package to mingw-filesystem (#673784) 2012-02-23 13:37:58 +02:00
Kalev Lember
c6eb454e98 Merge git://pkgs.fedoraproject.org/mingw32-filesystem 2012-02-23 13:00:24 +02:00
Erik van Pienbroek
be0d63c8fb Use a more complete list of Win32 default dlls
Use a more complete list of Win32 default dlls based on the
dlls exported by wine (thanks to Levente Farkas). RHBZ #787486
2012-02-05 20:32:21 +01:00
Kalev Lember
32d1194882 Remove the mingw32-pkg-config wrapper as well 2012-01-31 22:04:23 +02:00
Erik van Pienbroek
adfc0e1651 Fix filelist 2012-01-31 20:53:16 +01:00
Erik van Pienbroek
92ccc6e10a Don't provide the wrapper i686-pc-mingw32-pkg-config anymore as we now have a mingw32-pkg-config package 2012-01-31 20:38:26 +01:00
Erik van Pienbroek
2a5fde2ebb Set Boost_COMPILER to -gcc47 in cmake toolchain file 2012-01-11 00:11:36 +01:00
Erik van Pienbroek
aa32785665 Fixed a small regression introduced by the previous release
Fixed a small regression introduced by the previous release which caused
an FTBFS for mingw32-matahari as indicated on the fedora-mingw mailing list
2011-11-22 23:52:28 +01:00
Erik van Pienbroek
f1b50411fb Added various definitions to the CMake toolchain file (RHBZ #753906) 2011-11-16 01:35:40 +01:00
Kalev Lember
926da27ec9 Added avicap32.dll and psapi.dll to the list of Win32 default DLLs
Thanks to Farkas Levente.

http://lists.fedoraproject.org/pipermail/mingw/2011-August/004030.html
2011-08-02 10:38:21 +03:00
Erik van Pienbroek
444f8dd41c Added glu32.dll and wsock32.dll to the list of Win32 default dll's 2011-07-13 14:29:09 +02:00
Erik van Pienbroek
31e3471d42 Use a more complete list of Win32 default dll's 2011-07-06 20:37:30 +02:00
Kalev Lember
6d7bab80f9 Fixed dep gen with upper case dll names 2011-07-06 21:32:35 +03:00
Erik van Pienbroek
4269348602 The %{_mingw32_qmake_qt4} macro pointed to an invalid mkspecs name. Fixed 2011-07-01 14:05:10 +02:00
Kalev Lember
f88e1d8947 Set Boost_COMPILER to -gcc46 in cmake toolchain file 2011-06-28 11:35:38 +03:00