Como instalar o menu do aplicativo Vala?

0

Estou tentando compilar este , e há vários pacotes que estão faltando.

TL; DR:

-- Checking for module 'gtk+-3.0>=3.10'
--   
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
  CMakeLists.txt:71 (pkg_check_modules)


-- Configuring incomplete, errors occurred!

EDITAR: Resolvido.

PS: Eu criei este software com sucesso com desesperada busca no google e instalando pacotes aleatoriamente, mas não me lembro como, então estou documentando agora.

Mensagens de erro anteriores são bastante úteis, embora algumas sejam bastante enigmáticas e requeiram tentativa e erros.

    
por Nur 30.09.2017 / 07:56

1 resposta

0

Conjunto de pacotes necessários para satisfazer a dependência do cmake:

sudo apt install cmake rpm valac libwnck-3-dev libxfce4panel-2.0-dev libxfconf-0-dev libpeas-dev libgtk2.0-dev libxfce4util-dev libdbusmenu-glib-dev bamfdaemon unity-gtk-module-common unity-gtk2-module unity-gtk3-module appmenu-qt

Os únicos pacotes não atendidos são libmatepanelapplet-4.0 , vala-panel e budgie-1.0 , já que eles não são necessários para o XFCE DE. O suporte do Jayatana também foi desativado porque ele apresentou esse erro:

[  2%] Building Java objects for jayatana-java.jar
[  4%] Generating CMakeFiles/jayatana-java.dir/java_class_filelist
[  7%] Creating Java archive jayatana.jar
[  7%] Built target jayatana-java
Scanning dependencies of target java-headers
[  9%] Building C header files from classes...
[  9%] Built target java-headers
Scanning dependencies of target jayatana
[ 12%] Building C object jayatana/lib/CMakeFiles/jayatana.dir/com_jarego_jayatana_basic_GlobalMenu.c.o
In file included from /PATH/TO/FILE/vala-panel-appmenu/jayatana/lib/com_jarego_jayatana_basic_GlobalMenu.c:29:0:
/PATH/TO/FILE/vala-panel-appmenu/build/jayatana/lib/../java/com_jarego_jayatana_basic_GlobalMenu.h:2:17: fatal error: jni.h: There is no such file or directory
compilation terminated.
jayatana/lib/CMakeFiles/jayatana.dir/build.make:62: recipe for target 'jayatana/lib/CMakeFiles/jayatana.dir/com_jarego_jayatana_basic_GlobalMenu.c.o' failed
make[2]: *** [jayatana/lib/CMakeFiles/jayatana.dir/com_jarego_jayatana_basic_GlobalMenu.c.o] Error 1
CMakeFiles/Makefile2:382: recipe for target 'jayatana/lib/CMakeFiles/jayatana.dir/all' failed
make[1]: *** [jayatana/lib/CMakeFiles/jayatana.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Os sinalizadores usados são:

vala-panel-appmenu/build$ cmake -DENABLE_XFCE=ON -DENABLE_JAYATANA=OFF -DMAKE_BOLD_APPNAME=ON -DCMAKE_INSTALL_PREFIX=/usr ..
    
por Nur 30.09.2017 / 12:14