diff --git a/admin/mac/Info.plist b/admin/mac/Info.plist index d4427dc89..64d3a7773 100644 --- a/admin/mac/Info.plist +++ b/admin/mac/Info.plist @@ -1,5 +1,5 @@ - + CFBundleDevelopmentRegion @@ -23,42 +23,42 @@ CFBundleName Tomahawk LSMinimumSystemVersion - 10.5.0 - SUFeedURL - http://download.tomahawk-player.org/sparkle/update.php - SUPublicDSAKeyFile - sparkle_pub.pem - SUEnableSystemProfiling - YES - CFBundleURLTypes - - - CFBundleURLName - Tomahawk URL - CFBundleURLSchemes - - tomahawk - - - - CFBundleDocumentTypes - - - CFBundleTypeExtensions - - xspf - - CFBundleTypeIconFile - Generic.icns - CFBundleTypeMIMETypes - - application/xspf+xml - - CFBundleTypeName - XSPF Playlist - CFBundleTypeRole - Viewer - - + 10.5.0 + SUFeedURL + http://download.tomahawk-player.org/sparkle/update.php + SUPublicDSAKeyFile + sparkle_pub.pem + SUEnableSystemProfiling + + CFBundleURLTypes + + + CFBundleURLName + Tomahawk URL + CFBundleURLSchemes + + tomahawk + + + + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + xspf + + CFBundleTypeIconFile + Generic.icns + CFBundleTypeMIMETypes + + application/xspf+xml + + CFBundleTypeName + XSPF Playlist + CFBundleTypeRole + Viewer + + diff --git a/admin/mac/build-release-osx.sh b/admin/mac/build-release-osx.sh index c3dcbcd83..3d59b146a 100755 --- a/admin/mac/build-release-osx.sh +++ b/admin/mac/build-release-osx.sh @@ -39,6 +39,8 @@ VERSION=$1 mv Contents/Resources/tomahawkSources.icns Contents/Resources/Tomahawk.icns cp $ROOT/../admin/mac/qt.conf Contents/Resources/qt.conf + header "Copying Sparkle framework" + cp -R /Library/Frameworks/Sparkle.framework Contents/Frameworks header "Creating DMG" cd .. diff --git a/src/mac/tomahawkapp_mac.mm b/src/mac/tomahawkapp_mac.mm index 4ee701334..9774609e5 100644 --- a/src/mac/tomahawkapp_mac.mm +++ b/src/mac/tomahawkapp_mac.mm @@ -20,6 +20,7 @@ #include "macdelegate.h" #include "macshortcuthandler.h" +#include "config.h" #import #import diff --git a/thirdparty/libportfwd/src/portfwd.cpp b/thirdparty/libportfwd/src/portfwd.cpp index a7614e863..bd339d97b 100644 --- a/thirdparty/libportfwd/src/portfwd.cpp +++ b/thirdparty/libportfwd/src/portfwd.cpp @@ -113,7 +113,7 @@ Portfwd::get_status() // Q_ASSERT(urls->controlURL_CIF != NULL); // get connection speed UPNP_GetLinkLayerMaxBitRates( - urls->controlURL_CIF, data->CIF.servicetype, &m_downbps, &m_upbps); + urls->controlURL_CIF, data->first.servicetype, &m_downbps, &m_upbps); // get external IP adress char ip[16];