Debian 8의 GitHub에서 Slingswarm 패키지를 컴파일할 수 없습니다

Debian 8의 GitHub에서 Slingswarm 패키지를 컴파일할 수 없습니다

온라인에서 답을 찾을 수 없습니다. '-'

$ cmake ..

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for modules 'gtk+-3.0;gee-0.8;gio-unix-2.0;libgnome-menu
3.0'
--   found gtk+-3.0, version 3.14.5
--   found gee-0.8, version 0.16.1
--   found gio-unix-2.0, version 2.42.1
--   found libgnome-menu-3.0, version 3.13.3
-- checking for module 'gthread-2.0 >= 2.14.0'
--   found gthread-2.0 , version 2.42.1
-- Found Vala: /usr/bin/valac  
-- checking for a minimum Vala version of 0.14.0
--   found Vala, version 0.26.1
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/slingswarm/build

$ make

[ 11%] Generating slingshot.c, frontend/widgets/AppItem.c, frontend/widgets/CompositedWindow.c, frontend/widgets/Indicators.c, frontend/widgets/Searchbar.c, frontend/Utilities.c, frontend/Color.c, backend/GMenuEntries.c
/usr/local/slingswarm/slingshot.vala:167.17-167.45: error: 2 missing arguments for `void Gtk.Grid.attach (Gtk.Widget child, int left, int top, int width, int height)'
                this.grid.attach (item, c, r);
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
CMakeFiles/slingswarm-launcher.dir/build.make:60: recipe for target 'slingshot.c' failed
make[2]: *** [slingshot.c] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/slingswarm-launcher.dir/all' failed
make[1]: *** [CMakeFiles/slingswarm-launcher.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

https://github.com/echo-devim/slingswarm

답변1

Slingswarm은 valac0.26.1 이상의 새 버전을 예상하며 이후 버전에서는 누락된 매개변수에 대한 기본값을 정의합니다.Gtk.Grid.attach. Debian 8에서 패키지를 빌드하려면 오류 줄을 slingshot.vala다음으로 변경하세요.

this.grid.attach (item, c, r, 1, 1);

그런 다음 다시 실행하십시오 make.

(그래서 이것은 실제로 Slingswarm의 버그입니다.)

답변2

새로운 프로젝트를 시도해 볼 수 있습니다:https://github.com/libredeb/lightpadRaspbian armhf, fedora 및 ubuntu 배포판에 최적화되었습니다. 인사!

관련 정보