packages: lastfm-radio/lastfm-radio.spec, lastfm-radio/lastfm-radio-mix_rad...

jajcus jajcus at pld-linux.org
Mon Dec 13 10:09:21 CET 2010


Author: jajcus                       Date: Mon Dec 13 09:09:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Release: 5
- Use the new 'Mix Radio' instead of 'Loved Tracks Radio' which is not
  available any more

---- Files affected:
packages/lastfm-radio:
   lastfm-radio.spec (1.27 -> 1.28) , lastfm-radio-mix_radio.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lastfm-radio/lastfm-radio.spec
diff -u packages/lastfm-radio/lastfm-radio.spec:1.27 packages/lastfm-radio/lastfm-radio.spec:1.28
--- packages/lastfm-radio/lastfm-radio.spec:1.27	Wed Sep  1 15:53:43 2010
+++ packages/lastfm-radio/lastfm-radio.spec	Mon Dec 13 10:09:16 2010
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Odtwarzacz Last.fm
 Name:		lastfm-radio
 Version:	1.4.2.58240
-Release:	4
+Release:	5
 License:	GPL v2
 Group:		X11/Applications/Multimedia
 Source0:	http://cdn.last.fm/client/src/last.fm-%{version}.src.tar.bz2
@@ -14,6 +14,7 @@
 Patch2:		%{name}-64bitinclude.patch
 Patch3:		%{name}-gcc43.patch
 Patch4:		%{name}-qt46.patch
+Patch5:		%{name}-mix_radio.patch
 URL:		http://www.last.fm/download/
 BuildRequires:	QtGui-devel
 BuildRequires:	QtNetwork-devel
@@ -47,6 +48,7 @@
 %patch2 -p0
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %{__sed} -i -e 's#@LIB@#%{_libdir}#g' src/container.cpp src/libMoose/MooseCommon.cpp
 
@@ -94,6 +96,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2010/12/13 09:09:16  jajcus
+- Release: 5
+- Use the new 'Mix Radio' instead of 'Loved Tracks Radio' which is not
+  available any more
+
 Revision 1.27  2010/09/01 13:53:43  jajcus
 - fix for song title/artist name display with current Qt
 - Release: 4

================================================================
Index: packages/lastfm-radio/lastfm-radio-mix_radio.patch
diff -u /dev/null packages/lastfm-radio/lastfm-radio-mix_radio.patch:1.1
--- /dev/null	Mon Dec 13 10:09:21 2010
+++ packages/lastfm-radio/lastfm-radio-mix_radio.patch	Mon Dec 13 10:09:16 2010
@@ -0,0 +1,33 @@
+diff -dur -x '*~' last.fm-1.4.2.58240.orig/src/SideBarModel.cpp last.fm-1.4.2.58240/src/SideBarModel.cpp
+--- last.fm-1.4.2.58240.orig/src/SideBarModel.cpp	2007-12-18 15:18:20.000000000 +0100
++++ last.fm-1.4.2.58240/src/SideBarModel.cpp	2010-12-13 09:50:15.000000000 +0100
+@@ -73,7 +73,7 @@
+             case NowPlaying:          return tr("Now Playing");
+             case MyRecommendations:   return tr("My Recommendations");
+             case PersonalRadio:       return tr("My Radio Station");
+-            case LovedTracksRadio:    return tr("My Loved Tracks");
++            case LovedTracksRadio:    return tr("My Mix Radio");
+             case NeighbourhoodRadio:  return tr("My Neighbourhood");
+             case RecentlyPlayed:      return tr("Recently Played");
+             case RecentlyLoved:       return tr("Recently Loved");
+@@ -164,7 +164,7 @@
+             case MyProfile:
+             case MyRecommendations:   return "lastfm://user/" + encoded_username + "/recommended";
+             case PersonalRadio:       return "lastfm://user/" + encoded_username + "/personal";
+-            case LovedTracksRadio:    return "lastfm://user/" + encoded_username + "/loved";
++            case LovedTracksRadio:    return "lastfm://user/" + encoded_username + "/mix";
+             case NeighbourhoodRadio:  return "lastfm://user/" + encoded_username + "/neighbours";
+ 
+             case RecentlyPlayedTrack:
+diff -dur -x '*~' last.fm-1.4.2.58240.orig/src/SideBarView.cpp last.fm-1.4.2.58240/src/SideBarView.cpp
+--- last.fm-1.4.2.58240.orig/src/SideBarView.cpp	2007-12-18 15:18:19.000000000 +0100
++++ last.fm-1.4.2.58240/src/SideBarView.cpp	2010-12-13 09:50:34.000000000 +0100
+@@ -601,7 +601,7 @@
+ 
+         case PlayLovedRadio:
+             The::radio().playStation(
+-                StationUrl( "lastfm://user/" + encoded_display_role + "/loved" ) );
++                StationUrl( "lastfm://user/" + encoded_display_role + "/mix" ) );
+             break;
+ 
+         case PlayUserTagRadio:
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lastfm-radio/lastfm-radio.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list