diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 38d9252..7ae8b3c 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,7 +6,7 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets) find_package(ECM 1.8.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) -find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Plasma KDELibs4Support) +find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Plasma KIO) include(KDEInstallDirs) include(KDECMakeSettings) diff --git a/src/HOWTO b/src/HOWTO index 9ec2613..a9e0ed3 100755 --- a/src/HOWTO +++ b/src/HOWTO @@ -1,9 +1,14 @@ -At this time, this plugin was tested on Arch Linux with Plasma 5 +At this time, this plugin was tested on Arch Linux and OpenSuse with Plasma 5 To install this plugin, you need before install plasma5, cmake and extra-cmake-modules. + On Arch Linux : pacman -S --needed cmake extra-cmake-modules +On Suse : +zypper in cmake extra-cmake-modules +zypper in libqt5-qtbase-devel plasma5-workspace-devel plasma-framework-devel kio-devel + If install script is not executable, chmod it : chmod 755 install diff --git a/src/install b/src/install index 89e9a35..8433be6 100755 --- a/src/install +++ b/src/install @@ -6,14 +6,17 @@ cd build installlibdir=$(dirname $(dirname $(find /usr -name plasma_containmentactions_applauncher.so))) cmake -DKDE_INSTALL_LIBDIR=$installlibdir .. -#cmake -DKDE_INSTALL_LIBDIR=/usr/lib/qt .. if [ ! "$?" = "0" ]; then echo "" echo "" echo "Error on cmake !" echo "Stop install" echo "" - echo "Have you installed cmake and extra-cmake-modules ?" + echo "Have you installed dependencies ?" + echo "Arch Linux :" + echo "pacman -S --needed cmake extra-cmake-modules" + echo "OpenSuse :" + echo "zypper in cmake extra-cmake-modules libqt5-qtbase-devel plasma5-workspace-devel plasma-framework-devel kio-devel" exit 1 fi @@ -47,10 +50,10 @@ echo "Right click to your desktop and select Desktop Settings." echo "On mouse actions, you can now choose Custom Desktop Menu." echo "" echo "If new menu is not available, logout/login your session." - - -#read -p "Logout now ? (Y/n)" choice -#case "$choice" in -# y|Y|'' ) qdbus-qt4 org.kde.ksmserver /KSMServer logout -1 0 3;; -#esac - +echo "" +echo "OpenSuse need this two commands to finish install :" +echo "sudo mv /usr/local/share/kservices5/plasma-containmentactions-customdesktopmenu.desktop /usr/share/kservices5/plasma-containmentactions-customdesktopmenu.desktop" +echo "kbuildsyscoca5" +echo "" +echo "" +echo ""