q4wine-1.0-r3 $ grep WITH_SYSTEM src/CMakeLists.txt option(WITH_SYSTEM_SINGLEAPP "If ON, then use system QtSingleApplication library instead building one." "OFF") Seems this option works fine for fedora: https://apps.fedoraproject.org/packages/q4wine/sources/spec/
Hmm it does not seem to work -- Searching for QtSingleApplication package (WITH_SYSTEM_SINGLEAPP=ON) -- -- library : NOT FOUND! CMake Error at src/CMakeLists.txt:290 (MESSAGE): Please install SingleApplication Library or disable system qtsingleapp support by adding -DWITH_SYSTEM_SINGLEAPP=OFF" option to cmake" qtsingleapplication is installed on my box
Lets CC upstream maintainer
Created attachment 360850 [details, diff] Add /usr/include/qt4 to find_path cmake call for QtSingleApplication search Hi Markos, It seems like on Gentoo QtSingleApplication's headers are installed into /usr/include/qt4 direcotry rather then /usr/include/ like on the other systems. It ok, I have created a patch, please try it. If it works for you, I'll add it into main repository, but I will need some time to ensure that it will not break compilation on other systems :) Thanks
I wonder if the Qt can help with that. Maybe we do something wrong? You could have a look on what qbittorrent is doing because it's also a Qt4 app and works ok with the system qtsingleapplication. Thanks for the patch. I will try it asap
I am fine with /usr/include/qt4. However some examples of cmake's 3party plugins for QtSingleApplication did not respect it. jfyi: created bug in project's tracker: https://github.com/brezerk/q4wine/issues/39
+*q4wine-1.0_p3-r1 (14 Oct 2013) + + 14 Oct 2013; Markos Chandras <hwoarang@gentoo.org> + +files/q4wine-qtsingleapp.patch, +q4wine-1.0_p3-r1.ebuild: + Revbump to use system's qtsingleapplication package. Bug #487540. Patch by + John Brezerk <brezerk@gmail.com>. Also change package version format to comply + with portage standards +