SOURCES: lastfm-radio-fhs.patch (NEW), lastfm-radio.desktop - add ...
aredridel
aredridel at pld-linux.org
Sat Jul 21 19:54:54 CEST 2007
Author: aredridel Date: Sat Jul 21 17:54:54 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- add FHS patch
- update desktop for new release
---- Files affected:
SOURCES:
lastfm-radio-fhs.patch (NONE -> 1.1) (NEW), lastfm-radio.desktop (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/lastfm-radio-fhs.patch
diff -u /dev/null SOURCES/lastfm-radio-fhs.patch:1.1
--- /dev/null Sat Jul 21 19:54:54 2007
+++ SOURCES/lastfm-radio-fhs.patch Sat Jul 21 19:54:49 2007
@@ -0,0 +1,43 @@
+diff -ur last.fm-1.3.0.58-o/src/container.cpp last.fm-1.3.0.58/src/container.cpp
+--- last.fm-1.3.0.58-o/src/container.cpp 2007-06-22 12:21:53.000000000 -0600
++++ last.fm-1.3.0.58/src/container.cpp 2007-07-21 10:38:12.000000000 -0600
+@@ -977,7 +977,7 @@
+ // Hack to get it working with VS2005
+ dirPath = qApp->applicationDirPath();
+ #else
+- dirPath = qApp->applicationDirPath() + "/extensions";
++ dirPath = "/usr/lib/lastfm-radio/extensions";
+ #endif
+
+ #ifndef QT_NO_DEBUG
+diff -ur last.fm-1.3.0.58-o/src/libLastFmTools/containerutils.cpp last.fm-1.3.0.58/src/libLastFmTools/containerutils.cpp
+--- last.fm-1.3.0.58-o/src/libLastFmTools/containerutils.cpp 2007-06-22 12:21:53.000000000 -0600
++++ last.fm-1.3.0.58/src/libLastFmTools/containerutils.cpp 2007-07-21 10:39:55.000000000 -0600
+@@ -67,7 +67,7 @@
+
+ QString dataPath( QString file )
+ {
+- return QApplication::applicationDirPath() + "/data/" + file;
++ return QString("/usr/share/lastfm-radio/data/") + file;
+ }
+
+
+@@ -76,7 +76,7 @@
+ QString prefix;
+ QString midfix;
+
+- prefix = QApplication::applicationDirPath();
++ prefix = QString("/usr/share/lastfm-radio");
+ #ifdef WIN32
+ if ( ( QSysInfo::WindowsVersion & QSysInfo::WV_DOS_based ) == 0 )
+ {
+@@ -102,7 +102,7 @@
+ prefix = QDir::home().filePath( ".local/share/Last.fm" );
+
+ #else
+- prefix = QApplication::applicationDirPath();
++ prefix = QString("/usr/share/lastfm-radio");
+ #endif
+
+ QDir d( prefix );
+Only in last.fm-1.3.0.58/src/libLastFmTools: containerutils.cpp~
================================================================
Index: SOURCES/lastfm-radio.desktop
diff -u SOURCES/lastfm-radio.desktop:1.1 SOURCES/lastfm-radio.desktop:1.2
--- SOURCES/lastfm-radio.desktop:1.1 Sun Mar 5 14:02:49 2006
+++ SOURCES/lastfm-radio.desktop Sat Jul 21 19:54:49 2007
@@ -2,7 +2,7 @@
Name=Last.fm Radio
Comment=Personalized radio stream player
Comment[pl]=Odtwarzacz osobistego strumienia radiowego
-Exec=lastfm-radio
+Exec=last.fm
Icon=/usr/share/lastfm-radio/data/icon.png
Terminal=false
Type=Application
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/lastfm-radio.desktop?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list