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