经历了两百多次命令的输入尝试,终于搞定。
1 git clone https://github.com/linuxdeepin/deepin-ui.git 11 git clone https://github.com/linuxdeepin/dltk.git 12 cd dltk 13 ls 14 ./autogen.sh 69 cd dltk/ 70 python setup.py install 93 pkg install autoconf 96 pkg install intltool 99 pkg install gtk-doc 115 pkg install automake 116 pkg install libtool 117 pkg install autoconf 124 git clone https://github.com/linuxdeepin/deepin-utils.git 127 cd deepin-utils/ 128 ls 129 python setup.py install 135 pip install PIL --allow-external PIL --allow-unverified PIL 147 pkg install py27-numpy 150 pkg install py27-scipy 158 find / -name libgcc* 159 mv libgcc_s.so.1 libgcc_s.so.1_bak 160 ln -s /usr/local/lib/gcc47/libgcc_s.so.1 /lib/libgcc_s.so.1 168 pkg install py27-xlib 174 pkg install py27-webkitgtk 180 git clone https://github.com/linuxdeepin/deepin-gsettings.git 183 cd deepin-gsettings/ 184 ls 185 python setup.py install 234 python demo.py
编译成功后,发现无法启动。将deep-ui/dtk/ui/application.py 中 gtk.main() 改成
gtk.threads_enter()
gtk.main()
gtk.threads_leave()
即可。