File sles10_fixs.patch of Package phoronix-test-suite
Index: phoronix-test-suite/install-sh
===================================================================
--- phoronix-test-suite.orig/install-sh
+++ phoronix-test-suite/install-sh
@@ -56,6 +56,7 @@ mkdir -p $DESTDIR$INSTALL_PREFIX/share/m
mkdir -p $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/
mkdir -p $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/
mkdir -p $DESTDIR$INSTALL_PREFIX/../etc/bash_completion.d/
+mkdir -p $DESTDIR$INSTALL_PREFIX/share/pixmaps/
cp CHANGE-LOG $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/
cp COPYING $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/
@@ -68,7 +69,7 @@ rm -rf $DESTDIR$INSTALL_PREFIX/share/doc
cp documentation/man-pages/*.1 $DESTDIR$INSTALL_PREFIX/share/man/man1/
cp pts-core/static/bash_completion $DESTDIR$INSTALL_PREFIX/../etc/bash_completion.d/phoronix-test-suite
-cp pts-core/static/images/phoronix-test-suite.png $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/48x48/apps/phoronix-test-suite.png
+cp pts-core/static/images/phoronix-test-suite.png $DESTDIR$INSTALL_PREFIX/share/pixmaps/phoronix-test-suite.png
cp pts-core/static/phoronix-test-suite.desktop $DESTDIR$INSTALL_PREFIX/share/applications/
cp pts-core/static/phoronix-test-suite-launcher.desktop $DESTDIR$INSTALL_PREFIX/share/applications/
@@ -98,7 +99,7 @@ else
mkdir -p $DESTDIR$INSTALL_PREFIX/share/mime/packages/
mkdir -p $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/64x64/mimetypes/
cp pts-core/openbenchmarking.org/openbenchmarking-mime.xml $DESTDIR$INSTALL_PREFIX/share/mime/packages/
- cp pts-core/static/images/openbenchmarking.png $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/64x64/mimetypes/application-x-openbenchmarking.png
+ cp pts-core/static/images/openbenchmarking.png $DESTDIR$INSTALL_PREFIX/share/pixmaps/application-x-openbenchmarking.png
fi