115 lines
4 KiB
Diff
115 lines
4 KiB
Diff
diff -uNr amarokFS-qt3-0.4.2/amarokFS-xml.pro amarokFS-qt3-0.4.2-mod/amarokFS-xml.pro
|
|
--- amarokFS-qt3-0.4.2/amarokFS-xml.pro 2007-02-08 01:24:13.000000000 +0200
|
|
+++ amarokFS-qt3-0.4.2-mod/amarokFS-xml.pro 2007-02-13 15:45:05.000000000 +0200
|
|
@@ -4,12 +4,7 @@
|
|
CONFIG += qt warn_on release
|
|
|
|
INCLUDEPATH += /usr/include/kde
|
|
-INCLUDEPATH += /usr/local/include/kde
|
|
INCLUDEPATH += /usr/include
|
|
-INCLUDEPATH += /opt/kde3/include
|
|
-INCLUDEPATH += /opt/kde/include
|
|
-INCLUDEPATH += /usr/kde/3.5/include
|
|
-
|
|
|
|
HEADERS = amfs-xml.h \
|
|
cb.h \
|
|
@@ -23,36 +18,22 @@
|
|
amarokfs_config.cpp
|
|
|
|
LIBS += -lkdecore
|
|
-LIBS += -L/opt/kde3/lib
|
|
-LIBS += -L/usr/local/kde3/lib
|
|
-LIBS += -L/usr/lib/qt3
|
|
-LIBS += -L/opt/kde/lib
|
|
-LIBS += -L/usr/kde/3.5/lib
|
|
+LIBS += -L/usr/lib/kde3
|
|
LIBS += -lkio
|
|
|
|
-images.path = /usr/local/share/amarokFS/images
|
|
+images.path = /usr/share/amarokFS/images
|
|
images.files = images/*
|
|
|
|
-defaultTheme.path = /usr/local/share/amarokFS
|
|
+defaultTheme.path = /usr/share/amarokFS
|
|
defaultTheme.files = theme.xml
|
|
|
|
-target.path = /usr/local/bin
|
|
+target.path = /usr/bin
|
|
|
|
icon.files = amarokFS.png
|
|
-icon.path = /usr/share/icons/
|
|
-
|
|
-desktop.files = amarokFS.desktop
|
|
-desktop.path = /usr/share/applications/
|
|
+icon.path = /usr/share/icons/hicolor/128x128/apps
|
|
|
|
-docs.files = README
|
|
-docs.files += theme-howto.txt
|
|
-docs.path = /usr/share/doc/amarokFS
|
|
-
|
|
-
|
|
INSTALLS += target
|
|
INSTALLS += images
|
|
-INSTALLS += desktop
|
|
INSTALLS += icon
|
|
INSTALLS += defaultTheme
|
|
-INSTALLS += docs
|
|
|
|
diff -uNr amarokFS-qt3-0.4.2/amfs-xml.cpp amarokFS-qt3-0.4.2-mod/amfs-xml.cpp
|
|
--- amarokFS-qt3-0.4.2/amfs-xml.cpp 2007-02-08 14:56:33.000000000 +0200
|
|
+++ amarokFS-qt3-0.4.2-mod/amfs-xml.cpp 2007-02-13 09:42:18.000000000 +0200
|
|
@@ -40,9 +40,9 @@
|
|
//cout << themeCustomPrepath << "\n";
|
|
|
|
//set the default path
|
|
- QString themePath = "/usr/local/share/amarokFS/theme.xml";
|
|
+ QString themePath = "/usr/share/amarokFS/theme.xml";
|
|
//default prepath for the images directory
|
|
- QString themeImagesPrePath = "/usr/local/share/amarokFS/";
|
|
+ QString themeImagesPrePath = "/usr/share/amarokFS/";
|
|
|
|
//if the custom theme file exists, use it, otherwise use the default theme
|
|
if(QFile(themeCustomPath).exists()) {
|
|
@@ -470,7 +470,7 @@
|
|
reflectionPixmap = cdReflected;
|
|
|
|
QImage gradientImage;
|
|
- gradientImage.load( "/usr/local/share/amarokFS/images/gradient.png");
|
|
+ gradientImage.load( "/usr/share/amarokFS/images/gradient.png");
|
|
gradientImage = gradientImage.scale(reflectionPixmap.width(), 120);
|
|
gradientPixmap = gradientImage;
|
|
gradient->setPixmap(gradientPixmap);
|
|
@@ -511,8 +511,8 @@
|
|
result.load(coverPathDCOPtagcover);
|
|
}
|
|
if (result.isNull()) {
|
|
- if(transDef == TRUE) result.load("/usr/local/share/amarokFS/images/logoB.png");
|
|
- else result.load("/usr/local/share/amarokFS/images/logo.png");
|
|
+ if(transDef == TRUE) result.load("/usr/share/amarokFS/images/logoB.png");
|
|
+ else result.load("/usr/share/amarokFS/images/logo.png");
|
|
}
|
|
return result;
|
|
|
|
diff -uNr amarokFS-qt3-0.4.2/README amarokFS-qt3-0.4.2-mod/README
|
|
--- amarokFS-qt3-0.4.2/README 2007-02-08 15:26:37.000000000 +0200
|
|
+++ amarokFS-qt3-0.4.2-mod/README 2007-02-13 09:43:06.000000000 +0200
|
|
@@ -10,14 +10,14 @@
|
|
If the compile proces fails, try running "qmake" first and then "make".
|
|
For installation run "make install" (requires root priviliges)
|
|
|
|
- Executable is installed into /usr/local/bin,
|
|
- default theme + its images into /usr/local/share/amarokFS,
|
|
- icon into /usr/share/icons
|
|
+ Executable is installed into /usr/bin,
|
|
+ default theme + its images into /usr/share/amarokFS,
|
|
+ icon into /usr/share/icons/hicolor/128x128/apps
|
|
and the .desktop file into /usr/share/applications
|
|
|
|
THEMES:
|
|
The theme can be chosen by the button in the upper left corner (which hides automaticaly).
|
|
- If no theme is selected (or the selected theme is not readable) the default theme is used (/usr/local/share/amarokFS/theme.xml).
|
|
+ If no theme is selected (or the selected theme is not readable) the default theme is used (/usr/share/amarokFS/theme.xml).
|
|
|
|
If you want to write your own skins please read the instructions in theme-howto.txt.
|
|
|