required packages not available?

Asked by Marvin Beckers

Hello everyone,

if this is a realy stupid question, I'm sorry - being absolutely new to application development in elementary OS, I'm a little bit confused by this plug. Wanted to compile and test this one, but the CMake process fails because there are two packages that are not available. As far as I can say, these packages are simply named wrong.

embix@embix-ideapad:~/Projects/switchboard-plug-notifications/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../
-- checking for modules 'gtk+-3.0>=3.12;switchboard-2.0;granite'
-- package 'switchboard-2.0' not found
-- package 'granite' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal)
  src/CMakeLists.txt:4 (pkg_check_modules)

-- checking for a minimum Vala version of 0.22.0
-- found Vala, version 0.26.1
-- Configuring incomplete, errors occurred!
See also "/home/embix/Projects/switchboard-plug-notifications/build/CMakeFiles/CMakeOutput.log".

both switchboard-2.0 and granite aren't packages available - switchboard v 2.0 is namend 'switchboard' and granite seems to be in libgranite-common. So, what happend here? Could someone explain this to a newbie?

Thanks, Marvin

Question information

Language:
English Edit question
Status:
Solved
For:
Switchboard Notifications Plug Edit question
Assignee:
No assignee Edit question
Solved by:
Blake Kostner
Solved:
Last query:
Last reply:
Revision history for this message
Best Blake Kostner (btkostner) said :
#1

the granite package is named "libgranite-dev" and the switchboard-2.0 package is "libswitchboard-2.0-dev". After installing both of those you should be good.

Revision history for this message
Marvin Beckers (embik) said :
#2

Thanks Blake Kostner, that solved my question.