SOURCES: lastfm-player-build.patch (NEW) - new
charles
charles at pld-linux.org
Tue Jan 24 04:08:53 CET 2006
Author: charles Date: Tue Jan 24 03:08:53 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- new
---- Files affected:
SOURCES:
lastfm-player-build.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/lastfm-player-build.patch
diff -u /dev/null SOURCES/lastfm-player-build.patch:1.1
--- /dev/null Tue Jan 24 04:08:53 2006
+++ SOURCES/lastfm-player-build.patch Tue Jan 24 04:08:48 2006
@@ -0,0 +1,25 @@
+diff -U 3 -H -d -r -N -- lastfm-player.old/player.pro lastfm-player/player.pro
+--- lastfm-player.old/player.pro 2006-01-23 12:11:22.000000000 +0100
++++ lastfm-player/player.pro 2006-01-24 03:42:48.000000000 +0100
+@@ -50,6 +50,6 @@
+ /sw/lib/libjpeg.a
+ }
+
+-QT += Network Xml
++QT += network xml
+ CONFIG += static
+ CONFIG -= debug
+diff -U 3 -H -d -r -N -- lastfm-player.old/src/player.cpp lastfm-player/src/player.cpp
+--- lastfm-player.old/src/player.cpp 2006-01-23 12:11:19.000000000 +0100
++++ lastfm-player/src/player.cpp 2006-01-24 03:44:04.000000000 +0100
+@@ -100,7 +100,9 @@
+ setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
+
+ m_dataPath = QFileInfo( dataPath ).absolutePath() + "/";
+- coverLoader = new CoverLoader( this, m_dataPath + "cache/" );
++ char* cHome = getenv("HOME");
++ QString cachePath = (cHome==NULL?"/tmp":cHome);
++ coverLoader = new CoverLoader( this, cachePath + "/.last.fm/cache/" );
+
+ #ifndef Q_WS_MAC
+ if ( !cli.isEmpty() && cli.length() > 9 )
================================================================
More information about the pld-cvs-commit
mailing list