mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-29 00:30:04 +02:00
Don't use CMAKE_SYSTEM for version info - too detailed build time information
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
#ifndef CONFIG_H_IN
|
||||
#define CONFIG_H_IN
|
||||
|
||||
#cmakedefine TOMAHAWK_ORGANIZATION_NAME "${TOMAHAWK_ORGANIZATION_NAME}"
|
||||
#cmakedefine TOMAHAWK_ORGANIZATION_DOMAIN "${TOMAHAWK_ORGANIZATION_DOMAIN}"
|
||||
#cmakedefine TOMAHAWK_APPLICATION_NAME "${TOMAHAWK_APPLICATION_NAME}"
|
||||
#cmakedefine TOMAHAWK_VERSION "${TOMAHAWK_VERSION}"
|
||||
#cmakedefine TOMAHAWK_SYSTEM "${TOMAHAWK_SYSTEM}"
|
||||
|
||||
#cmakedefine DEBUG_BUILD
|
||||
|
||||
#define CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}"
|
||||
#define CMAKE_INSTALL_FULL_LIBEXECDIR "${CMAKE_INSTALL_FULL_LIBEXECDIR}"
|
||||
#define CMAKE_SYSTEM "${CMAKE_SYSTEM}"
|
||||
|
||||
|
||||
#cmakedefine LION
|
||||
#cmakedefine SNOW_LEOPARD
|
||||
|
@@ -62,7 +62,8 @@ DiagnosticsDialog::updateLogView()
|
||||
QString log;
|
||||
|
||||
log.append( QString( "TOMAHAWK DIAGNOSTICS LOG -%1 \n\n" ).arg( QDateTime::currentDateTime().toString() ) );
|
||||
log.append( "TOMAHAWK-VERSION: " TOMAHAWK_VERSION "\n\n" );
|
||||
log.append( "TOMAHAWK-VERSION: " TOMAHAWK_VERSION "\n" );
|
||||
log.append( "PLATFORM: " TOMAHAWK_SYSTEM "\n\n");
|
||||
log.append( "NETWORK:\n General:\n" );
|
||||
|
||||
if ( Servent::instance()->visibleExternally() )
|
||||
|
@@ -138,7 +138,7 @@ XmppSipPlugin::XmppSipPlugin( Account* account )
|
||||
#endif
|
||||
|
||||
// setup disco
|
||||
m_client->disco()->setSoftwareVersion( "Tomahawk Player", TOMAHAWK_VERSION, CMAKE_SYSTEM );
|
||||
m_client->disco()->setSoftwareVersion( "Tomahawk Player", TOMAHAWK_VERSION, TOMAHAWK_SYSTEM );
|
||||
m_client->disco()->addIdentity( Jreen::Disco::Identity( "client", "type", "tomahawk", "en" ) );
|
||||
m_client->disco()->addFeature( TOMAHAWK_FEATURE );
|
||||
|
||||
|
Reference in New Issue
Block a user