OS X Launchpad menu on kde4


INSTALL THE 32BIT PACKAGE MADE BY ME

http://dl.dropbox.com/u/4127065/debian%20package/ocelot/Takeoff_0.1.5.deb

that is my package it should work only on kde 4.7 so… if you have 4.6 you suck! :D (btw i am on alpha2 that is not reccomended of course for noob :P )

CREATE YOUR OWN PACKAGE

sudo apt-get install libqt4-dev kdelibs5-dev libplasma3 cmake build-essential gettext 

then download the source code  extract it and modify the cmakelist.txt file by adding this to the end of the file

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

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 "Takeoff is a full screen menu plasmoid")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Takeoff is a full screen menu inpired in the aspect of Slingshot and the OS X Launchpad menu but adapted to the KDE users in a plasmoid")
SET(CPACK_PACKAGE_VENDOR "Vendor")
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 " libplasma3 , plasma-desktop ")
SET ( CPACK_DEBIAN_PACKAGE_BREAKS "kdebase-workspace-bin (<< 4:4.2.60), kdelibs5-data (<< 4:4.6.80~)"  )
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")

NOTE 1 NOW THE VERSION IS 0.1.5 so in the future you have to change that
NOTE 2
This are the dependencies i have not specified the version because that should be enough infact you need libplasma3 that is the new library of kde so…

SET(CPACK_DEBIAN_PACKAGE_DEPENDS ” libplasma3 , plasma-desktop “)

here instead there are the packages that it could break infact libplasma3 is a dependence of this package that break some packages (dpkg -s libplasma3 says so… )

SET ( CPACK_DEBIAN_PACKAGE_BREAKS “kdebase-workspace-bin (<< 4:4.2.60), kdelibs5-data (<< 4:4.6.80~)" )

now

mkdir build ; cd build; cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..

so if you don’t get errors =>

cpack .. 
sudo dpkg -i *.deb

on the folder where there is the deb man… :)

About these ads

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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: