作为一个小白,说明下如何安装deepintalk 大虾勿入……
Tofloor
poster avatar
chrischen009
deepin
2014-04-21 06:05
Author
首先声明,这只是针对纯小白的安装方法,大神就不要跟我说 安装git 直接从 github上 clone等方法啦,毕竟很多都是刚从win下转过来的,希望大神勿喷。

看到很多人问咋安装深谈,其实没有那么复杂了,不过个人建议还是等官方的安装包出来以后再说咯,毕竟目前deepin团队还忙于deepin2014的bug修复,估计没太有时间和精力来完善深谈了,目测有很多bug,不过界面很漂亮,希望小白在折腾的时候,不要对深谈抱怨太多……

首先,下载深谈的 zip包……

https://github.com/linuxdeepin/deepin-talk/archive/master.zip 这个就不用多说了吧,记得确保在linux环境下哈

下载后,解压缩
DeepinScreenshot20140420215821.png

到解压缩后的目录(如上图,要看到 src那个文件夹哈),在空白处右键,在终端中打开
输入  sudo gedit  ./src/dtalk/controls/panel.py 回车
找到
def __init__(self):

          super(Panel, self).__init__()

-       self.setMinimumSize(QtCore.QSize(336, 780))      

          QtWidgets.qApp.focusWindowChanged.connect(self.onFocusWindowChanged)

          self.setIcon(QtGui.QIcon(":/images/common/logo.png"))

          self.setTitle("Deepin Talk")

将  self.setMinimumSize(QtCore.QSize(336, 780))      

替换为

        self.setMinimumSize(QtCore.QSize(336, 550))        

        self.resize(336, 700)

这个是修正深谈不能自由缩放的bug,也是社区的大神给提出的解决方案哈

修正后,保存,关闭。

在深度终端中 执行

sudo apt-get install python-setuptools

sudo apt-get install python-sip python-pyqt5

sudo apt-get install qtdeclarative5-dev qtdeclarative5-qtquick2-plugin

sudo apt-get install qtdeclarative5-controls-plugin qtdeclarative5-window-plugin

sudo apt-get install libqt5graphicaleffects5 qtdeclarative5-dialogs-plugin

sudo apt-get install git

git clone https://github.com/lovesnow/sleekxmpp.git

cd sleekXMPP

sudo python setup.py install

sudo easy_install peewee

sudo apt-get install python-imaging python-xlib

sudo apt-get install python-dnspython python-pyasn1 python-pyasn1-modules

其中部分包可能已经安装好了,反正只要装好即可。

到刚才那个目录下 ,进入 src 目录,双击下 main.py,选择 运行,即可
DeepinScreenshot20140420215821.png

ok,用自己的gmail账户邮箱和密码就可以登陆了,顺便说下,我的gmail 是  [email protected] 有空可以加我测试哈
Reply Favorite View the author
All Replies
2 / 2
To page
leixiaozeng
deepin
2014-04-25 04:31
#21
虽然吧,没装,但是还是支持一下滴,,以后吧,这种贴要多发,小白做多了经验足了,一升级,就成大虾了,,,,
Reply View the author
leader
deepin
2014-05-25 20:29
#22
刚才试了,结果最后一步目录下面没有main.py,有dtalk.py,运行无任何显示
Reply View the author
easystone
deepin
2014-06-14 05:31
#23
深谈会不会与这次2014一起发布呢?
Reply View the author
ahyanglf
deepin
2014-06-14 05:39
#24
偶还是等官方推送了
Reply View the author
v0678
deepin
2014-06-21 20:57
#25
刚才试了,结果最后一步目录下面没有main.py,有dtalk.py,运行无任何显示
我也是啊!
Reply View the author
colin4124
deepin
2014-07-04 07:30
#26
安装了如何登录呢?我用deepin 的论坛帐号一直登录不了
Reply View the author
android361abc
deepin
2014-07-20 22:51
#27
没找着main.py啊,怎么回事儿
Reply View the author
chrischen009
deepin
2014-07-25 00:45
#28
没找着main.py啊,怎么回事儿

可能有修改吧,晚上看看去,其实按照里面的 read me 操作一般不会有问题的……
Reply View the author
fredy4212
deepin
2014-07-25 04:59
#29
安装了如何登录呢?我用deepin 的论坛帐号一直登录不了
gtalk的
Reply View the author
youthlin
deepin
2014-07-29 00:17
#30
$ sudo apt-get install python-setuptools
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是
因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件
包尚未被创建或是它们已被从新到(Incoming)目录移出。
下列信息可能会对解决问题有所帮助:

下列软件包有未满足的依赖关系:
python-setuptools : 依赖: python-pkg-resources (= 0.6.24-1ubuntu1) 但是 3.3-1ubuntu1 正要被安装
E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。
$

###Deepin 2014
Reply View the author
3***[email protected]
deepin
2014-09-21 18:28
#31
上几张使用的图
Reply View the author
xforce
deepin
2014-10-29 06:58
#32
~/Documents/deepin-talk-master$ sudo apt-get install qtdeclarative5-dev qtdeclarative5-qtquick2-plugin
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
qtdeclarative5-qtquick2-plugin : Depends: qtdeclarative-abi-5-2-1
E: Unable to correct problems, you have held broken packages.




出现了这该死的提示。。。。。。肿么办啊,楼主。。。。
Reply View the author
136******54
deepin
2014-10-29 17:43
#33
~/Documents/deepin-talk-master$ sudo apt-get install qtdeclarative5-dev qtdeclarative5-qtquick2-plugin
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
qtdeclarative5-qtquick2-plugin : Depends: qtdeclarative-abi-5-2-1
E: Unable to correct problems, you have held broken packages.




出现了这该死的提示。。。。。。肿么办啊,楼主。。。。
这个Dtalk版本没啥功能,也问题多多,没事的话还是不要试了
Reply View the author
carrjay
deepin
2015-09-27 11:09
#34
刚安装上了。账号现在支持哪些啊  论坛账号还是其他邮箱账号?
Reply View the author
2 / 2
To page