diff -ruN tomahawk-0.8.4.orig/CMakeModules/FindEchonest.cmake tomahawk-0.8.4/CMakeModules/FindEchonest.cmake --- tomahawk-0.8.4.orig/CMakeModules/FindEchonest.cmake 2015-08-16 22:42:45.703388001 +0300 +++ tomahawk-0.8.4/CMakeModules/FindEchonest.cmake 2015-08-16 23:10:08.985694721 +0300 @@ -13,7 +13,7 @@ PKG_CHECK_MODULES(PC_ECHONEST QUIET libechonest${LIBECHONEST_SUFFIX}) -FIND_PATH(ECHONEST_INCLUDE_DIR NAMES echonest/Track.h +FIND_PATH(ECHONEST_INCLUDE_DIR NAMES echonest${LIBECHONEST_SUFFIX}/Track.h HINTS ${PC_ECHONEST_INCLUDEDIR} ${PC_ECHONEST_INCLUDE_DIRS} diff -ruN tomahawk-0.8.4.orig/CMakeModules/FindLibLastFm.cmake tomahawk-0.8.4/CMakeModules/FindLibLastFm.cmake --- tomahawk-0.8.4.orig/CMakeModules/FindLibLastFm.cmake 2015-08-16 22:42:45.703388001 +0300 +++ tomahawk-0.8.4/CMakeModules/FindLibLastFm.cmake 2015-08-16 23:11:38.255520184 +0300 @@ -14,7 +14,7 @@ # Include dir find_path(LIBLASTFM_INCLUDE_DIR # Track.h doesn't exist in liblastfm-0.3.1, was called Track back then - NAMES lastfm/Track.h + NAMES lastfm${LASTFM_LIB_SUFFIX}/Track.h PATHS ${KDE4_INCLUDE_DIR} ) diff -ruN tomahawk-0.8.4.orig/src/infoplugins/generic/echonest/EchonestPlugin.cpp tomahawk-0.8.4/src/infoplugins/generic/echonest/EchonestPlugin.cpp --- tomahawk-0.8.4.orig/src/infoplugins/generic/echonest/EchonestPlugin.cpp 2015-08-16 22:42:45.763385657 +0300 +++ tomahawk-0.8.4/src/infoplugins/generic/echonest/EchonestPlugin.cpp 2015-08-16 23:17:40.127977670 +0300 @@ -23,7 +23,7 @@ #include "utils/Logger.h" #include "utils/NetworkAccessManager.h" -#include +#include #include diff -ruN tomahawk-0.8.4.orig/src/infoplugins/generic/echonest/EchonestPlugin.h tomahawk-0.8.4/src/infoplugins/generic/echonest/EchonestPlugin.h --- tomahawk-0.8.4.orig/src/infoplugins/generic/echonest/EchonestPlugin.h 2015-08-16 22:42:45.763385657 +0300 +++ tomahawk-0.8.4/src/infoplugins/generic/echonest/EchonestPlugin.h 2015-08-16 23:17:47.547686503 +0300 @@ -25,7 +25,7 @@ #include "infosystem/InfoSystem.h" #include "infosystem/InfoSystemWorker.h" -#include +#include #include @@ -49,7 +49,7 @@ protected slots: virtual void init(); - + virtual void getInfo( Tomahawk::InfoSystem::InfoRequestData requestData ); virtual void pushInfo( Tomahawk::InfoSystem::InfoPushData pushData ) diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/EchonestCatalogSynchronizer.cpp tomahawk-0.8.4/src/libtomahawk/EchonestCatalogSynchronizer.cpp --- tomahawk-0.8.4.orig/src/libtomahawk/EchonestCatalogSynchronizer.cpp 2015-08-16 22:42:45.710054407 +0300 +++ tomahawk-0.8.4/src/libtomahawk/EchonestCatalogSynchronizer.cpp 2015-08-16 23:15:20.363463651 +0300 @@ -34,8 +34,8 @@ #include "TomahawkSettings.h" #include "Track.h" -#include -#include +#include +#include using namespace Tomahawk; diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/EchonestCatalogSynchronizer.h tomahawk-0.8.4/src/libtomahawk/EchonestCatalogSynchronizer.h --- tomahawk-0.8.4.orig/src/libtomahawk/EchonestCatalogSynchronizer.h 2015-08-16 22:42:45.713387610 +0300 +++ tomahawk-0.8.4/src/libtomahawk/EchonestCatalogSynchronizer.h 2015-08-16 23:15:55.898735270 +0300 @@ -22,7 +22,7 @@ #include "DllMacro.h" #include "Query.h" -#include +#include #include #include diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/GlobalActionManager.cpp tomahawk-0.8.4/src/libtomahawk/GlobalActionManager.cpp --- tomahawk-0.8.4.orig/src/libtomahawk/GlobalActionManager.cpp 2015-08-16 22:42:45.713387610 +0300 +++ tomahawk-0.8.4/src/libtomahawk/GlobalActionManager.cpp 2015-08-16 23:17:05.605999154 +0300 @@ -61,7 +61,7 @@ #include #include -#include +#include GlobalActionManager* GlobalActionManager::s_instance = 0; diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/accounts/lastfm/LastFmConfig.cpp tomahawk-0.8.4/src/libtomahawk/accounts/lastfm/LastFmConfig.cpp --- tomahawk-0.8.4.orig/src/libtomahawk/accounts/lastfm/LastFmConfig.cpp 2015-08-16 22:42:45.753386047 +0300 +++ tomahawk-0.8.4/src/libtomahawk/accounts/lastfm/LastFmConfig.cpp 2015-08-16 23:18:34.325850963 +0300 @@ -29,10 +29,10 @@ #include "utils/Closure.h" #include "utils/NetworkAccessManager.h" -#include -#include -#include -#include +#include +#include +#include +#include #include diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp tomahawk-0.8.4/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp --- tomahawk-0.8.4.orig/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp 2015-08-16 22:42:45.753386047 +0300 +++ tomahawk-0.8.4/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp 2015-08-16 23:19:00.628152330 +0300 @@ -34,8 +34,8 @@ #include "TomahawkSettings.h" #include "utils/NetworkAccessManager.h" -#include -#include +#include +#include using namespace Tomahawk::Accounts; using namespace Tomahawk::InfoSystem; diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.h tomahawk-0.8.4/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.h --- tomahawk-0.8.4.orig/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.h 2015-08-16 22:42:45.753386047 +0300 +++ tomahawk-0.8.4/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.h 2015-08-16 23:18:47.831987709 +0300 @@ -24,9 +24,9 @@ #include "infosystem/InfoSystemWorker.h" #include "DllMacro.h" -#include -#include -#include +#include +#include +#include #include diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/network/acl/AclRegistry.cpp tomahawk-0.8.4/src/libtomahawk/network/acl/AclRegistry.cpp --- tomahawk-0.8.4.orig/src/libtomahawk/network/acl/AclRegistry.cpp 2015-08-16 22:42:45.756719250 +0300 +++ tomahawk-0.8.4/src/libtomahawk/network/acl/AclRegistry.cpp 2015-08-16 23:24:07.856104293 +0300 @@ -19,6 +19,7 @@ #include "AclRegistry.h" +#include #include #include diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/playlist/dynamic/echonest/EchonestControl.h tomahawk-0.8.4/src/libtomahawk/playlist/dynamic/echonest/EchonestControl.h --- tomahawk-0.8.4.orig/src/libtomahawk/playlist/dynamic/echonest/EchonestControl.h 2015-08-16 22:42:45.716720814 +0300 +++ tomahawk-0.8.4/src/libtomahawk/playlist/dynamic/echonest/EchonestControl.h 2015-08-16 23:16:49.516630633 +0300 @@ -24,7 +24,7 @@ #include #include -#include +#include namespace Tomahawk { diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h tomahawk-0.8.4/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h --- tomahawk-0.8.4.orig/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h 2015-08-16 22:42:45.716720814 +0300 +++ tomahawk-0.8.4/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h 2015-08-16 23:16:32.817286086 +0300 @@ -28,7 +28,7 @@ #include "DllMacro.h" -#include +#include namespace Tomahawk { diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp tomahawk-0.8.4/src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp --- tomahawk-0.8.4.orig/src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp 2015-08-16 22:42:45.716720814 +0300 +++ tomahawk-0.8.4/src/libtomahawk/playlist/dynamic/echonest/EchonestSteerer.cpp 2015-08-16 23:18:03.627055530 +0300 @@ -24,7 +24,7 @@ #include "utils/TomahawkUtils.h" #include "utils/Logger.h" -#include +#include #include #include diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/utils/TomahawkCache.h tomahawk-0.8.4/src/libtomahawk/utils/TomahawkCache.h --- tomahawk-0.8.4.orig/src/libtomahawk/utils/TomahawkCache.h 2015-08-16 22:42:45.740053235 +0300 +++ tomahawk-0.8.4/src/libtomahawk/utils/TomahawkCache.h 2015-08-16 23:25:34.106102925 +0300 @@ -22,6 +22,7 @@ #include "DllMacro.h" #include "utils/TomahawkUtils.h" +#include #include #include #include diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/utils/TomahawkUtils.cpp tomahawk-0.8.4/src/libtomahawk/utils/TomahawkUtils.cpp --- tomahawk-0.8.4.orig/src/libtomahawk/utils/TomahawkUtils.cpp 2015-08-16 22:42:45.720054017 +0300 +++ tomahawk-0.8.4/src/libtomahawk/utils/TomahawkUtils.cpp 2015-08-16 23:19:25.497176675 +0300 @@ -32,7 +32,7 @@ #include "Track.h" #ifdef LIBLASTFM_FOUND - #include + #include #endif #include diff -ruN tomahawk-0.8.4.orig/src/tomahawk/Scrobbler.h tomahawk-0.8.4/src/tomahawk/Scrobbler.h --- tomahawk-0.8.4.orig/src/tomahawk/Scrobbler.h 2015-08-16 22:42:45.706721204 +0300 +++ tomahawk-0.8.4/src/tomahawk/Scrobbler.h 2015-08-16 23:20:10.732068886 +0300 @@ -20,7 +20,7 @@ #ifndef TOMAHAWK_SCROBBLER_H #define TOMAHAWK_SCROBBLER_H -#include "lastfm/ScrobblePoint.h" +#include "lastfm5/ScrobblePoint.h" #include "Result.h" #include "infosystem/InfoSystem.h" diff -ruN tomahawk-0.8.4.orig/src/tomahawk/TomahawkApp.h tomahawk-0.8.4/src/tomahawk/TomahawkApp.h --- tomahawk-0.8.4.orig/src/tomahawk/TomahawkApp.h 2015-08-16 22:42:45.706721204 +0300 +++ tomahawk-0.8.4/src/tomahawk/TomahawkApp.h 2015-08-16 23:19:59.602505450 +0300 @@ -64,7 +64,7 @@ } #ifdef LIBLASTFM_FOUND - #include + #include #include "Scrobbler.h" #endif diff -ruN tomahawk-0.8.4.orig/src/tomahawk/sourcetree/items/CategoryItems.cpp tomahawk-0.8.4/src/tomahawk/sourcetree/items/CategoryItems.cpp --- tomahawk-0.8.4.orig/src/tomahawk/sourcetree/items/CategoryItems.cpp 2015-08-16 22:42:45.706721204 +0300 +++ tomahawk-0.8.4/src/tomahawk/sourcetree/items/CategoryItems.cpp 2015-08-16 23:17:24.248600839 +0300 @@ -33,7 +33,7 @@ #include "utils/ImageRegistry.h" #include "utils/Logger.h" -#include +#include using namespace Tomahawk; diff -ruN tomahawk-0.8.4.orig/CMakeModules/FindQCA2.cmake tomahawk-0.8.4/CMakeModules/FindQCA2.cmake --- tomahawk-0.8.4.orig/CMakeModules/FindQCA2.cmake 2015-08-17 21:43:38.870990247 +0300 +++ tomahawk-0.8.4/CMakeModules/FindQCA2.cmake 2015-08-17 21:48:26.224024129 +0300 @@ -16,6 +16,10 @@ include(FindLibraryWithDebug) +if( TOMAHAWK_QT5 ) + set(QCA_SUFFIX "-qt5") +endif() + if (QCA2_INCLUDE_DIR AND QCA2_LIBRARIES) # in cache already @@ -26,13 +30,13 @@ if (NOT WIN32) find_package(PkgConfig) - pkg_check_modules(PC_QCA2 qca2) + pkg_check_modules(PC_QCA2 qca2${QCA_SUFFIX}) set(QCA2_DEFINITIONS ${PC_QCA2_CFLAGS_OTHER}) endif (NOT WIN32) find_library_with_debug(QCA2_LIBRARIES WIN32_DEBUG_POSTFIX d - NAMES qca + NAMES qca${QCA_SUFFIX} HINTS ${PC_QCA2_LIBDIR} ${PC_QCA2_LIBRARY_DIRS} ) diff -ruN tomahawk-0.8.4.orig/CMakeModules/FindQuaZip.cmake tomahawk-0.8.4/CMakeModules/FindQuaZip.cmake --- tomahawk-0.8.4.orig/CMakeModules/FindQuaZip.cmake 2015-08-17 21:43:38.870990247 +0300 +++ tomahawk-0.8.4/CMakeModules/FindQuaZip.cmake 2015-08-17 22:07:35.426244138 +0300 @@ -1,5 +1,8 @@ -find_path(QuaZip_INCLUDE_DIR quazip/quazip.h ${CMAKE_INSTALL_PREFIX}/include/quazip ${CMAKE_INSTALL_PREFIX}/include /usr/include/quazip /usr/local/include/quazip ${QT_INCLUDE_DIR}/quazip ${QT_INCLUDE_DIR} ${QUAZIP_DIR}/include/quazip ${QUAZIP_DIR}/quazip ${QUAZIP_DIR}/include) -find_library(QuaZip_LIBRARY NAMES quazip PATHS ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_INSTALL_PREFIX}/Library/Frameworks ${QUAZIP_DIR}/lib64 ${QUAZIP_DIR}/lib ${QUAZIP_DIR}/quazip ${QUAZIP_DIR}) +if( TOMAHAWK_QT5 ) + set(QUAZIP_SUFFIX "5") +endif() +find_path(QuaZip_INCLUDE_DIR quazip${QUAZIP_SUFFIX}/quazip.h ${CMAKE_INSTALL_PREFIX}/include/quazip${QUAZIP_SUFFIX} ${CMAKE_INSTALL_PREFIX}/include /usr/include/quazip${QUAZIP_SUFFIX} /usr/local/include/quazip${QUAZIP_SUFFIX} ${QT_INCLUDE_DIR}/quazip${QUAZIP_SUFFIX} ${QT_INCLUDE_DIR} ${QUAZIP_DIR}/include/quazip${QUAZIP_SUFFIX} ${QUAZIP_DIR}/quazip${QUAZIP_SUFFIX} ${QUAZIP_DIR}/include) +find_library(QuaZip_LIBRARY NAMES quazip${QUAZIP_SUFFIX} PATHS ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_INSTALL_PREFIX}/Library/Frameworks ${QUAZIP_DIR}/lib64 ${QUAZIP_DIR}/lib ${QUAZIP_DIR}/quazip${QUAZIP_SUFFIX} ${QUAZIP_DIR}) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(quazip DEFAULT_MSG QuaZip_LIBRARY QuaZip_INCLUDE_DIR) set(QuaZip_LIBRARIES ${QuaZip_LIBRARY}) diff -ruN tomahawk-0.8.4.orig/src/libtomahawk/utils/TomahawkUtils.cpp tomahawk-0.8.4/src/libtomahawk/utils/TomahawkUtils.cpp --- tomahawk-0.8.4.orig/src/libtomahawk/utils/TomahawkUtils.cpp 2015-08-17 22:22:11.737968746 +0300 +++ tomahawk-0.8.4/src/libtomahawk/utils/TomahawkUtils.cpp 2015-08-17 22:22:39.493618770 +0300 @@ -35,8 +35,8 @@ #include #endif -#include -#include +#include +#include // We need this for the version info (if available) #include diff -ruN tomahawk-0.8.4.orig/CMakeLists.txt tomahawk-0.8.4/CMakeLists.txt --- tomahawk-0.8.4.orig/CMakeLists.txt 2017-05-10 13:41:09.541994743 +0300 +++ tomahawk-0.8.4/CMakeLists.txt 2017-05-10 13:41:41.130929717 +0300 @@ -321,6 +321,7 @@ if( NOT APPLE ) if( TOMAHAWK_QT5 ) macro_optional_find_package(Qt5Keychain 0.1.0) + set(QTKEYCHAIN_FOUND ${Qt5Keychain_FOUND}) else() macro_optional_find_package(QtKeychain 0.1.0) endif() diff -ruN tomahawk-0.8.4.orig/CMakeModules/MacroLogFeature.cmake tomahawk-0.8.4/CMakeModules/MacroLogFeature.cmake --- tomahawk-0.8.4.orig/CMakeModules/MacroLogFeature.cmake 2017-05-10 13:41:09.565327281 +0300 +++ tomahawk-0.8.4/CMakeModules/MacroLogFeature.cmake 2017-05-10 13:41:24.831476376 +0300 @@ -92,9 +92,10 @@ FILE(APPEND "${_LOGFILENAME}" "${_logtext}\n") - IF(COMMAND SET_PACKAGE_INFO) # in FeatureSummary.cmake since CMake 2.8.3 - SET_PACKAGE_INFO("${_package}" "\"${_description}\"" "${_url}" "\"${_comments}\"") - ENDIF(COMMAND SET_PACKAGE_INFO) + set_package_properties("${_package}" PROPERTIES + URL "${_url}" + DESCRIPTION "\"${_description}\"" + PURPOSE "\"${_comments}\"") ENDMACRO(MACRO_LOG_FEATURE)