HUD kde kubuntu 12.10 alias search actions in the application menu


here there is how to compile it and i have tested on kubuntu 12.10

you can paste this code in the shell and it will do what it has to do … BUT IT WILL OPEN KATE CMakeLists.txt modify the CMakelists.txt add this stuff at the last line

code to add to CMakelists.txt , the code to paste in the shell is after this code…


SET(MAJOR_VERSION 0)
SET(MINOR_VERSION 0)
SET(PATCH_VERSION 1)

IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
INCLUDE(InstallRequiredSystemLibraries)

SET(CPACK_SET_DESTDIR "on")
SET(CPACK_PACKAGING_INSTALL_PREFIX "/tmp")
SET(CPACK_GENERATOR "DEB")

SET(CPACK_PACKAGE_DESCRIPTION "Let you find and launch actions from the active application")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Krunner plugin that if activated from krunner configuration panel let you find and launch actions from the active application")
SET(CPACK_PACKAGE_VENDOR "peace")
SET(CPACK_PACKAGE_CONTACT "developer ")
SET(CPACK_PACKAGE_VERSION_MAJOR "${MAJOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_MINOR "${MINOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_PATCH "${PATCH_VERSION}")
SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")

SET(CPACK_DEBIAN_PACKAGE_DEPENDS "appmenu-qt (>= 0.2.6)")

SET(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
SET(CPACK_DEBIAN_PACKAGE_SECTION "kde")
SET(CPACK_DEBIAN_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})

SET(CPACK_COMPONENTS_ALL Libraries ApplicationData)
INCLUDE(CPack)

ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
 

this code will install dependencies to compile
then download the code
then create some folders
then will open CMakelists file
then will create the debian package(if you have modified well the CMakelists.txt well )

 sudo apt-get install kdelibs5-dev libdbusmenu-qt-dev libqt4-dev build-essential cmake pkg-config pkg-kde-tools git-core &&cd $HOME &&git clone git://anongit.kde.org/scratch/afiestas/appmenu.git &&cd appmenu&&kate kate CMakeLists.txt &&mkdir build &&cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) &&cpack .. 

ok now if you did well you should see the debian file (in the build directory)

so sudo dpkg -i plasma-appmenu*.deb

now login logout or run $ kbuildsycoca4 after that

do as he says here

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: