如何在其它发行版上使用deepin 终端?
Tofloor
poster avatar
2***4@qq.com
deepin
2016-11-14 19:04
Author
本帖最后由 axf520 于 2016-11-14 11:16 编辑

我用的是linux mint 18 Cinnamon  我想使用deepin的终端
我找到了代码仓库 https://github.com/manateelazycat/deepin-terminal, 然后按照readme的说明,先
sudo apt-get install valac libgtk-3-dev libgee-0.8-dev libvte-2.91-dev libjson-glib-dev libsecret-1-dev libwnck-3-dev然后
sudo apt-get install libatk1.0-0 libc6 libcairo-gobject2 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libgee-0.8-2 libglib2.0-0 libgnutls30 libgtk-3-0 libjson-glib-1.0-0 libpango-1.0-0 libpangocairo-1.0-0 libsecret-1-0 libvte-2.91-0 libwnck-3-0 libx11-6 libxcb1 zlib1g zssh lrzsz
然后安装http://mirrors.deepin.com/deepin/pool/main/d/deepin-menu/下的 deepin-menu_3.0.6-1_amd64.deb

然后编译的时候报错:

[  1%] Generating lib/animation.c, lib/config.c, lib/constant.c, lib/draw.c, lib/keymap.c, lib/menu.c, lib/utils.c, lib/xutils.c, widget/about_dialog.c, widget/about_widget.c, widget/add_button.c, widget/appbar.c, widget/check_button.c, widget/click_event_box.c, widget/command_button.c, widget/command_dialog.c, widget/command_panel.c, widget/base_panel.c, widget/config_window.c, widget/confirm_dialog.c, widget/cursor_toggle_button.c, widget/dialog.c, widget/dialog_button.c, widget/encoding_button.c, widget/encoding_panel.c, widget/entry.c, widget/entry_menu.c, widget/file_button.c, widget/image_button.c, widget/panel_button.c, widget/password_button.c, widget/preference.c, widget/preference_slidebar.c, widget/progressbar.c, widget/quake_window.c, widget/remote_panel.c, widget/remote_server_dialog.c, widget/link_button.c, widget/search_entry.c, widget/search_panel.c, widget/server_button.c, widget/server_group_button.c, widget/shortcut_entry.c, widget/split_line.c, widget/spinbutton.c, widget/switcher.c, widget/tabbar.c, widget/terminal.c, widget/text_button.c, widget/theme_button.c, widget/theme_panel.c, widget/titlebar.c, widget/window.c, widget/window_event_area.c, widget/workspace.c, widget/workspace_manager.c, main.c
/home/axf/deepin-terminal/./lib/utils.vala:359.20-359.47: error: The name `get_default_seat' does not exist in the context of `Gdk.Display?'
        var seat = gdk_display.get_default_seat();
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/axf/deepin-terminal/./lib/utils.vala:359.13-359.49: error: var declaration not allowed with non-typed initializer
        var seat = gdk_display.get_default_seat();
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/axf/deepin-terminal/./lib/utils.vala:360.22-360.25: error: The name `seat' does not exist in the context of `Utils.get_pointer_position'
        var device = seat.get_pointer();
                     ^^^^
/home/axf/deepin-terminal/./lib/utils.vala:360.13-360.39: error: var declaration not allowed with non-typed initializer
        var device = seat.get_pointer();
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/axf/deepin-terminal/./lib/utils.vala:362.9-362.14: error: The name `device' does not exist in the context of `Utils.get_pointer_position'
        device.get_position(null, out x, out y);
        ^^^^^^
/home/axf/deepin-terminal/./lib/xutils.vala:37.20-37.47: error: The name `get_default_seat' does not exist in the context of `Gdk.Display?'
        var seat = gdk_display.get_default_seat();
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/axf/deepin-terminal/./lib/xutils.vala:37.13-37.49: error: var declaration not allowed with non-typed initializer
        var seat = gdk_display.get_default_seat();
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/axf/deepin-terminal/./lib/xutils.vala:38.9-38.12: error: The name `seat' does not exist in the context of `XUtils.seat_ungrab'
        seat.ungrab();
        ^^^^
Compilation failed: 8 error(s), 0 warning(s)
CMakeFiles/deepin-terminal.dir/build.make:117: recipe for target 'lib/animation.c' failed
make[2]: *** [lib/animation.c] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/deepin-terminal.dir/all' failed
make[1]: *** [CMakeFiles/deepin-terminal.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2




Reply Favorite View the author
All Replies
avatar
wangyong
deepin
2016-11-14 19:58
#1
gtk+ 必须是3.20以上版本, 否则不会有 seat api的。
Reply View the author
avatar
2***4@qq.com
deepin
2016-11-14 20:10
#2
https://bbs.deepin.org/post/132093
gtk+ 必须是3.20以上版本, 否则不会有 seat api的。

看了下,仓库里面没有这么高的版本,要编译安装,感觉有点小麻烦
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2016-11-14 20:32
#3
你直deepin的源库里下载深度终端用来安装试试?  安装依赖报错就去deepin的源里下依赖。
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2016-11-14 20:35
#4
Reply View the author
avatar
2***4@qq.com
deepin
2016-11-14 21:38
#5
本帖最后由 axf520 于 2016-11-14 13:45 编辑
https://bbs.deepin.org/post/132093
你直deepin的源库里下载深度终端用来安装试试?  安装依赖报错就去deepin的源里下依赖。 ...

$ sudo apt  install dde
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
dde : 依赖: dde-desktop 但是它将不会被安装
       依赖: dde-dock 但是它将不会被安装
       依赖: dde-launcher 但是它将不会被安装
       依赖: dde-control-center (> 2.90.5) 但是它将不会被安装        依赖: startdde 但是它将不会被安装
       依赖: dde-session-ui 但是它将不会被安装
       依赖: deepin-notifications 但是它将不会被安装
       依赖: dde-file-manager 但是它将不会被安装
       依赖: dde-calendar 但是它将不会被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。

Reply View the author
avatar
鱼嘴边游泳的猫
deepin
2016-11-14 21:53
#6
最快的办法其实是安装个deepin系统。。。。
Reply View the author
avatar
2***4@qq.com
deepin
2016-11-14 22:04
#7
https://bbs.deepin.org/post/132093
最快的办法其实是安装个deepin系统。。。。

感觉deepin的桌面不太稳定啊
Reply View the author
avatar
A·S·M·X·T 😏😜
deepin
2016-11-15 02:13
#8
https://bbs.deepin.org/post/132093
$ sudo apt  install dde
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      

可能是由于deepin的专属软件都跟dde桌面想关联,可以吧dde一起安装。。。。看5楼
Reply View the author
avatar
yangl007
deepin
2017-05-22 20:03
#9
问题相同,后面是否有解决?
Reply View the author
avatar
wangyong
deepin
2017-05-23 04:31
#10
mint的gtk+版本太旧了
Reply View the author
avatar
justiblade
deepin
2017-05-23 05:22
#11
同样是深度终端控+Cinnamon桌面上瘾者,如果能适应Pacman的包管理,我也来推荐一波Manjaro Cinnamon Edition.
当然,deepin装Cinnamon桌面也是一种方案。
Reply View the author