Commit Graph

176 Commits

Author SHA1 Message Date
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
Kalev Lember
74761330f7 Make sure the -debuginfo subpackages are mingw32- prefixed
... even if the base package is mingw-. Latest Fedora MinGW packaging
guidelines allow the base (source) package be named mingw-, but all
binary packages should be mingw32-.

http://lists.fedoraproject.org/pipermail/mingw/2011-May/003708.html
2011-05-29 17:17:54 +03:00
Kalev Lember
82ecebcd82 Fixed the -n option with _mingw32_debug_package macro
The -n option was passed down to -debuginfo subpackage's %package and
%description sections, but not to %files. This change fixes %files to
work the %same way as %package and %description.

Not sure yet if the -n option will get any use, but at least this fixes
an obvious oversight.

https://bugzilla.redhat.com/show_bug.cgi?id=700815#c12
2011-05-24 11:01:11 +03:00
Kalev Lember
15eccffbcb Own the sbin/ directory 2011-05-24 10:53:48 +03:00
Kalev Lember
9781763c8b Adjusted PKG_CONFIG_LIBDIR to also search in _mingw32_datadir/pkgconfig/
Right now only mingw32-spice-protocol drops files in share/pkgconfig/,
but there are most likely more packages to come.
2011-05-24 10:50:37 +03:00
Kalev Lember
e9ebc7111d Own etc/, share/pkgconfig/, share/xml/ directories 2011-05-23 06:24:48 +03:00
Kalev Lember
750c540bd0 Own the _mingw32_datadir/cmake/ directory 2011-05-21 12:12:05 +03:00
Kalev Lember
2de8bb604b Generate versionless mingw32-filesystem Requires
The automatically generated Requires were too strict, making every
binary rpm depend on the very latest mingw32-filesystem. For almost all
packages any mingw32-filesystem from Fedora repos is sufficient.

Using versionless mingw32-filesystem Requires avoids the situation where
e.g. downgrading mingw32-filesystem would be impossible due to other
packages needlessly depending on it.
2011-05-20 15:50:52 +03:00
Kalev Lember
11c4c8fba5 Cleaned up the spec file from cruft not needed with latest rpm 2011-05-20 13:44:12 +03:00
Kalev Lember
b4298c0ccc Support RPM 4.9 new "fileattr" dep extraction system 2011-05-20 13:44:12 +03:00
Erik van Pienbroek
2c67134589 Don't unset PKG_CONFIG_PATH in the wrapper scripts mingw32-pkg-config and i686-pc-mingw32-pkg-config (BZ #688171) 2011-05-14 14:07:09 +02:00
Fedora Release Engineering
bd6e219e98 Initial setup of the repo 2011-05-10 15:14:36 +00:00
Kalev Lember
a3f272c1d2 Override boost library suffix in cmake toolchain file 2011-05-01 11:22:54 +03:00
Kalev Lember
5b66efd7ed Don't error out trying to set illegal LD.BFD variable name 2011-03-17 15:11:52 +02:00
Dennis Gilmore
36b5a23ed2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 12:27:19 -06:00
Erik van Pienbroek
1dddd1ea0c Own the directory %{_mingw32_datadir}/themes 2011-01-12 16:11:42 +01:00
Ivan Romanov
97e2f31e91 Removed -win32 option and fixed -spec option for mingw32-qmake-qt4 2010-11-14 15:08:36 +05:00
Erik van Pienbroek
dd7c74f479 Set the CMAKE_RC_COMPILER variable in the CMake toolchain file (RHBZ #652435) 2010-11-11 23:39:31 +01:00
Ivan Romanov
a921aa1836 Added mingw32-qmake-qt4 2010-10-19 23:37:10 +06:00
Erik van Pienbroek
bd51a55b1a Provide mingw32(odbc32.dll) for Qt 2010-10-11 20:41:36 +02:00
Erik van Pienbroek
3eb87c918e Provide mingw32(gdiplus.dll) for gdk-pixbuf 2010-09-12 17:59:51 +02:00
Richard Jones
9844c01546 Provide virtual mingw32(ws2_32.dll) for libvirt. 2010-09-09 13:35:15 +01:00
Kalev Lember
7034ac899f Own /etc/rpmlint/ dir instead of depending on rpmlint package (RHBZ#629791) 2010-09-06 15:28:17 +03:00
Richard Jones
d8bcc2f5ac Remove requires setup and rpm (RHBZ#629791).
I checked back in the history, and these were inherited from
the first time we created this package:

http://git.annexia.org/?p=fedora-mingw.git;a=commitdiff;h=337c0675f1f1f8aa46b4ef166954b48eb8e3fe75
2010-09-03 11:55:00 +01:00
Fedora Release Engineering
cf660b2b31 dist-git conversion 2010-07-29 03:19:10 +00:00
Richard W.M. Jones
04446629c9 Add provides mingw32(rpcrt4.dll) (RHBZ#594581). 2010-06-08 13:17:52 +00:00
Kalev Lember
144b0e9c04 Work around cmake's Qt detection in the toolchain file 2010-05-24 09:39:19 +00:00
Bill Nottingham
61e147418d Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:18:47 +00:00
epienbro
8bb36e0c74 Prevented a circular dependency which caused the i686-pc-mingw32-pkg-config
script to be broken. Thanks to Kalev Lember for spotting this bug
2009-09-18 21:34:17 +00:00
epienbro
5051797059 - The wrapper scripts i686-pc-mingw32-pkg-config, mingw32-pkg-config,
mingw32-configure, mingw32-make and mingw32-cmake had a bug where
    quoted arguments could get interpreted incorrect. Thanks to Michael
    Ploujnikov for helping out with this issue
2009-09-01 21:42:50 +00:00
epienbro
b136c92f83 Somehow this change wasn't sent along with the previous commit.. 2009-08-29 14:40:08 +00:00
epienbro
3dbb3430d6 - Added the file /usr/bin/i686-pc-mingw32-pkg-config which is a wrapper
script which calls pkg-config with the right environment variables set
    (BZ #513825)
2009-08-29 14:35:44 +00:00
epienbro
dc67d0699c Fixed a small rpmlint warning caused by the debuginfo generation macro
Thanks to Kalev Lember for spotting this
2009-08-23 18:50:36 +00:00
Jesse Keating
ad998c675c - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 12:16:43 +00:00