Hello community, here is the log from the commit of package kde4-amarok for openSUSE:Factory checked in at Tue Apr 14 19:37:37 CEST 2009. -------- --- KDE/kde4-amarok/kde4-amarok.changes 2009-03-06 10:23:40.000000000 +0100 +++ /mounts/work_src_done/STABLE/kde4-amarok/kde4-amarok.changes 2009-04-09 13:29:00.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 9 13:21:52 CEST 2009 - rhafer@suse.de + +- included upstream fix for broken last.fm authentication (kde#188678) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- fix-lastfm-authentication.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kde4-amarok.spec ++++++ --- /var/tmp/diff_new_pack.Bx7140/_old 2009-04-14 19:15:34.000000000 +0200 +++ /var/tmp/diff_new_pack.Bx7140/_new 2009-04-14 19:15:34.000000000 +0200 @@ -36,12 +36,13 @@ Group: Productivity/Multimedia/Sound/Players Summary: Media Player for KDE Version: 2.0.2 -Release: 1 +Release: 2 Source0: amarok-%version.tar.bz2 Source1: errmsg.sys Patch3: link-mysql-embedded.diff Patch4: errmsg-mysql-embedded.diff Patch5: amarok-gcc44.patch +Patch6: fix-lastfm-authentication.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires Requires: kde4-amarok-lang = %{version} @@ -67,6 +68,7 @@ %patch3 %patch4 %patch5 +%patch6 %build %ifarch ppc ppc64 @@ -134,6 +136,8 @@ %_kde_share_dir/services/amaroklastfm.protocol %changelog +* Thu Apr 09 2009 rhafer@suse.de +- included upstream fix for broken last.fm authentication (kde#188678) * Fri Mar 06 2009 wstephenson@suse.de - update to 2.0.2 * Show a statusbar message when loving a lastfm track. @@ -321,7 +325,7 @@ - update to 4.0.69.svn798537 * Wed Apr 02 2008 dmueller@suse.de - update to 4.0.68.svn792936 -* Thu Feb 14 2008 dmueller@suse.de +* Fri Feb 15 2008 dmueller@suse.de - update to 4.0.62.svn775117 * Wed Nov 28 2007 dmueller@suse.de - update to 3.96.0.svn742626 ++++++ fix-lastfm-authentication.diff ++++++ Index: src/services/lastfm/LastFmService.cpp =================================================================== --- src/services/lastfm/LastFmService.cpp.orig +++ src/services/lastfm/LastFmService.cpp @@ -115,14 +115,12 @@ LastFmService::LastFmService( LastFmServ debug() << "username:" << QString( QUrl::toPercentEncoding( Ws::Username ) ); QString authToken = md5( ( m_userName + md5( password.toUtf8() ) ).toUtf8() ); - QString sign_key = md5( ( "api_key" + QString( Ws::ApiKey ) + "authToken" + authToken + "methodauth.getMobileSession" + QString( Ws::SharedSecret ) ).toUtf8() ); // now authenticate w/ last.fm and get our session key WsReply* reply = WsRequestBuilder( "auth.getMobileSession" ) .add( "username", m_userName ) .add( "authToken", authToken ) .add( "api_key", Ws::ApiKey ) - .add( "api_sig", sign_key ) .get(); connect( reply, SIGNAL( finished( WsReply* ) ), SLOT( onAuthenticated( WsReply* ) ) ); Index: src/services/lastfm/LastFmServiceSettings.cpp =================================================================== --- src/services/lastfm/LastFmServiceSettings.cpp.orig +++ src/services/lastfm/LastFmServiceSettings.cpp @@ -94,14 +94,12 @@ LastFmServiceSettings::testLogin() debug() << "username:" << QString( QUrl::toPercentEncoding( Ws::Username ) ); QString authToken = md5( ( m_configDialog->kcfg_ScrobblerUsername->text() + md5( m_configDialog->kcfg_ScrobblerPassword->text().toUtf8() ) ).toUtf8() ); - QString sign_key = md5( ( "api_key" + QString( Ws::ApiKey ) + "authToken" + authToken + "methodauth.getMobileSession" + QString( Ws::SharedSecret ) ).toUtf8() ); // now authenticate w/ last.fm and get our session key WsReply* reply = WsRequestBuilder( "auth.getMobileSession" ) .add( "username", m_configDialog->kcfg_ScrobblerUsername->text() ) .add( "authToken", authToken ) .add( "api_key", Ws::ApiKey ) - .add( "api_sig", sign_key ) .get(); connect( reply, SIGNAL( finished( WsReply* ) ), SLOT( onAuthenticated( WsReply* ) ) ); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org