<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">>>Now I'm trying to build phonon<br>><br>>About a year ago I tried to get various pieces of the KDE stack<br>>cross-compiled using the Fedora MinGW toolchain. The phonon package<br>>is also part of this. The spec file for it can be found at<br>>http://svn.nntpgrab.nl/svn/fedora_cross/mingw-phonon/mingw-phonon.spec<br><br>Thanks for this resource. I tried desperately to find pre-existing work for all the MinGW packages I was trying to build, but didn't find your archive.<br><br>>My original plan was to get all the core KDE packages built and<br>>afterwards trying to make the mingw32_cmake/mingw64_cmake macros in<br>>mingw-filesystem more generic. As I'm not that familiar with CMake<br>>and due to the lack of time I didn't get to completing this original
plan.<br>><br>>If you want to continue with this work-in-progress, feel free to use<br>>the spec file I just mentioned as starting point.<br><br>I will! I'm pretty familiar with cmake, so I can help with this.<br><br>>On my svn repo you can also find other packages which are still a<br>>work-in-progress and need more work before they can be allowed in<br>>Fedora. If you're interested in maintaining any of them feel free to<br>>use them and propose them for review. The repo can be found at<br>>http://svn.nntpgrab.nl/svn/fedora_cross/<br><br>Indeed I will! Real life is threatening to intrude any second now, but currently, I have time for this.<br><br>>Are you using the mingw_cmake (or mingw32_cmake/mingw64_cmake) macros<br>>to build the package?<br><br>Yes, I am. I wouldn't try to do things the hard way :-)<br><br>>>The problem seems to be
in<br>>>/usr/share/mingw/Toolchain-mingw{32,64}.cmake -- it looks like it<br>>>needs a "SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)" line.<br>><br>>This particular parameter is currently already set to 'NEVER' in the<br>>mingw-filesystem package. As mentioned before I'm not that familiar<br>>with CMake and I don't know what this parameter does. If you believe<br>>this parameter should be changed then I would recommend you to file a<br>>bugreport against mingw-filesystem with rationale why it should be<br>>changed.<br><br>Will do. If the reason behind this bug is lack of knowledge of cmake, that's fine -- that's where I'll be able to help. I have a few other things I'd like to fix too. I'll file a bug report about all of them at once.<br><br>>>Also, it seems like there would have to be mingw{32,64}-cmake and<br>>>mingw64-cmake packages, just to provide /usr/share/cmake/Modules
--<br>>>executables wouldn't be necessary.<br>><br>>Do you mean that you want to have a mingw-cmake package which only<br>>owns the folders %{mingw32_sysroot}/share/cmake/Modules and<br>>%{mingw64_sysroot}/share/cmake/Modules and doesn't have any other<br>>content? In that case I would be better to add this folder to the<br>>mingw-filesystem package.<br><br>Right now, my mingw32-cmake package contains the following:<br><br>/usr/i686-w64-mingw32/sys-root/mingw/etc/rpm/macros.cmake<br>/usr/i686-w64-mingw32/sys-root/mingw/share/aclocal/cmake.m4<br>/usr/i686-w64-mingw32/sys-root/mingw/share/cmake/Modules/*<br>/usr/i686-w64-mingw32/sys-root/mingw/share/cmake/Templates/*<br>/usr/i686-w64-mingw32/sys-root/mingw/share/doc/cmake-2.8.10.2/Example/*<br><br>mingw64-cmake is similar.<br><br>If you'd rather put those into mingw-filesystem, that's your perogative. I'll go mess with the build of mingw-filesystem to see if I can
figure out how to get them in there.<br><br>Steven Boswell<br><br></div></body></html>