Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/lastfmplayer/files: lastfmplayer-extensions-path.patch
Date: Mon, 24 Jan 2011 14:30:03
Message-Id: 20110124142953.6F4F020057@flycatcher.gentoo.org
1 hwoarang 11/01/24 14:29:53
2
3 Added: lastfmplayer-extensions-path.patch
4 Log:
5 Add new 'dbus' use flag to support dbus extension
6
7 (Portage version: 2.2.0_alpha18/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-sound/lastfmplayer/files/lastfmplayer-extensions-path.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/files/lastfmplayer-extensions-path.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lastfmplayer/files/lastfmplayer-extensions-path.patch?rev=1.1&content-type=text/plain
14
15 Index: lastfmplayer-extensions-path.patch
16 ===================================================================
17 Index: lastfm-1.5.4.27091+dfsg/definitions.pro.inc
18 ===================================================================
19 --- lastfm-1.5.4.27091+dfsg.orig/definitions.pro.inc
20 +++ lastfm-1.5.4.27091+dfsg/definitions.pro.inc
21 @@ -10,7 +10,7 @@ CONFIG( service ) {
22 CONFIG += plugin
23
24 win32: DESTDIR = $$BIN_DIR
25 - else: DESTDIR = $$BIN_DIR/services
26 + else: DESTDIR = $$BIN_DIR/lastfm_services
27
28 TARGET = srv_$$TARGET
29 }
30 @@ -19,7 +19,7 @@ CONFIG( extension ) {
31 CONFIG += plugin
32
33 win32: DESTDIR = $$BIN_DIR
34 - else: DESTDIR = $$BIN_DIR/extensions
35 + else: DESTDIR = $$BIN_DIR/lastfm_services/extensions
36
37 TARGET = ext_$$TARGET
38 }
39 Index: lastfm-1.5.4.27091+dfsg/src/libMoose/MooseCommon.cpp
40 ===================================================================
41 --- lastfm-1.5.4.27091+dfsg.orig/src/libMoose/MooseCommon.cpp
42 +++ lastfm-1.5.4.27091+dfsg/src/libMoose/MooseCommon.cpp
43 @@ -112,7 +112,7 @@ servicePath( QString name )
44 // Hack to get it working with VS2005
45 dirPath = qApp->applicationDirPath();
46 #else
47 - dirPath = qApp->applicationDirPath() + "/services";
48 + dirPath = "/usr/lib/lastfm_services";
49 #endif
50
51 #ifndef QT_NO_DEBUG
52 @@ -358,7 +358,7 @@ extensionPaths()
53 // Hack to get it working with VS2005
54 QString path = qApp->applicationDirPath();
55 #else
56 - QString path = qApp->applicationDirPath() + "/extensions";
57 + QString path = "/usr/lib/lastfm_services/extensions";
58 #endif
59
60 #ifndef QT_NO_DEBUG