1 diff -urN amarokFS-0.5/amarokFS-xml.pro amarokFS-0.5-arch/amarokFS-xml.pro
2 --- amarokFS-0.5/amarokFS-xml.pro 2007-03-19 13:17:58.000000000 +0100
3 +++ amarokFS-0.5-arch/amarokFS-xml.pro 2007-04-30 11:48:25.000000000 +0200
6 CONFIG += qt warn_on release
8 -INCLUDEPATH += /usr/include/kde
9 -INCLUDEPATH += /usr/local/include/kde
10 INCLUDEPATH += /usr/include
11 -INCLUDEPATH += /opt/kde3/include
12 -INCLUDEPATH += /opt/kde/include
13 -INCLUDEPATH += /usr/kde/3.5/include
14 +INCLUDEPATH += /opt/kde/include
17 HEADERS = amfs-xml.h \
22 -LIBS += -L/opt/kde3/lib
23 -LIBS += -L/usr/local/kde3/lib
24 -LIBS += -L/usr/lib/qt3
25 LIBS += -L/opt/kde/lib
26 -LIBS += -L/usr/kde/3.5/lib
29 -images.path = /usr/share/amarokFS/images
30 +images.path = $(DESTDIR)/opt/kde/share/apps/amarokFS/images
31 images.files = images/*
33 -defaultTheme.path = /usr/share/amarokFS
34 +defaultTheme.path = $(DESTDIR)/opt/kde/share/apps/amarokFS
35 defaultTheme.files = theme.xml
37 -target.path = /usr/local/bin
38 +target.path = $(DESTDIR)/opt/kde/bin
40 icon.files = amarokFS.png
41 -icon.path = /usr/share/icons/
42 +icon.path = $(DESTDIR)/opt/kde/share/icons/
44 desktop.files = amarokFS.desktop
45 -desktop.path = /usr/share/applications/
46 +desktop.path = $(DESTDIR)/opt/kde/share/applications/
49 docs.files += theme-howto.txt
50 -docs.path = /usr/share/doc/amarokFS
51 +docs.path = $(DESTDIR)/opt/kde/share/doc/amarokFS
55 diff -urN amarokFS-0.5/amarokFS.desktop amarokFS-0.5-arch/amarokFS.desktop
56 --- amarokFS-0.5/amarokFS.desktop 2007-02-16 20:41:04.000000000 +0100
57 +++ amarokFS-0.5-arch/amarokFS.desktop 2007-04-30 11:34:23.000000000 +0200
60 GenericName=Full screen mode for the Amarok player
61 GenericName[en_US]=Full screen mode for the Amarok player
62 -Icon=/usr/share/icons/amarokFS.png
63 +Icon=/opt/kde/share/icons/amarokFS.png
65 Name=Amarok Full Screen
66 Name[en_US]=Amarok Full Screen
67 diff -urN amarokFS-0.5/amfs-xml.cpp amarokFS-0.5-arch/amfs-xml.cpp
68 --- amarokFS-0.5/amfs-xml.cpp 2007-03-19 13:35:38.000000000 +0100
69 +++ amarokFS-0.5-arch/amfs-xml.cpp 2007-04-30 11:38:27.000000000 +0200
71 //cout << themeCustomPrepath << "\n";
73 //set the default path
74 - QString themePath = "/usr/share/amarokFS/theme.xml";
75 + QString themePath = "/opt/kde/share/apps/amarokFS/theme.xml";
76 //default prepath for the images directory
77 - QString themeImagesPrePath = "/usr/share/amarokFS/";
78 + QString themeImagesPrePath = "/opt/kde/share/apps/amarokFS/";
80 //if the custom theme file exists, use it, otherwise use the default theme
81 if(QFile(themeCustomPath).exists()) {
84 contextMenu->insertSeparator();
85 aboutAct = new QAction(tr("&About"), 0, this);
86 - aboutAct->setIconSet(QIconSet(QPixmap("/usr/share/icons/amarokFS.png")));
87 + aboutAct->setIconSet(QIconSet(QPixmap("/opt/kde/share/icons/amarokFS.png")));
88 aboutAct->setStatusTip(tr("Show About Dialog."));
89 connect(aboutAct, SIGNAL(activated()), this, SLOT(launchAbout()));
90 aboutAct->addTo(contextMenu);
92 reflectionPixmap = cdReflected;
95 - gradientImage.load( "/usr/share/amarokFS/images/gradient.png");
96 + gradientImage.load( "/opt/kde/share/apps/amarokFS/images/gradient.png");
97 gradientImage = gradientImage.scale(reflectionPixmap.width(), 120);
98 gradientPixmap = gradientImage;
99 gradient->setPixmap(gradientPixmap);
101 result.load(coverPathDCOPtagcover);
103 if (result.isNull()) {
104 - if(transDef == TRUE) result.load("/usr/share/amarokFS/images/logoB.png");
105 - else result.load("/usr/share/amarokFS/images/logo.png");
106 + if(transDef == TRUE) result.load("/opt/kde/share/apps/amarokFS/images/logoB.png");
107 + else result.load("/opt/kde/share/apps/amarokFS/images/logo.png");