http://www.sumnercountychat.com

Linux Deepin 11.06 中编译 Gnome Shell

先下载四个包:

2.  加多路线到 ~/.bashrc

说起底上张截图吧:

wget 

chmod +x gnome-shell-build-setup.sh

./gnome-shell-build-setup.sh

1. 安装编写翻译重视:

7. 编写翻译出错应用方案:

图片 1

PATH=$PATH:~/bin

PATH=$PATH:~/gnome-shell/install/bin

5. 安装 Nautilus 3:

把上边包车型客车行加入到 ~/.bashrc 最后面:

2)   缺乏有些包, 日常在错误的最终几行, 你会看出提示找不到某些包 foo, 能够搜索一下, 通常都以 libfoo-dev 包, 然后用 sudo apt-get install libfoo-dev 安装包后再选用 6 重新编写翻译就能够

sudo apt-get install curl libtiff4-dev libgstreamer0.10-dev libcroco3-dev xulrunner-dev mesa-utils

mesa-common-dev libreadline5-dev libgl1-mesa-dev libwnck-dev librsvg2-dev libgnome-desktop-dev

libgnome-menu-dev libffi-dev libgtk2.0-dev libgconf2-dev libdbus-glib-1-dev gtk-doc-tools

gnome-common git-core flex bison automake build-essential icon-naming-utils autopoint libvorbis-dev

libpam-dev libgcrypt-dev libtasn1-dev libtasn1-3-bin libgnome-keyring-dev libupower-glib-dev

libxklavier16 libxklavier-dev xserver-xephyr python-dev libpulse-dev libjasper-dev jhbuild

libgtop2-dev libsqlite3-dev libproxy-dev libdb-dev libproxy-dev libcups2-dev libusb-1.0-0-dev

libxcb-aux0-dev libxcb-event1-dev libx11-xcb-dev liboauth-dev libwebkitgtk-3.0-dev libical-dev gperf

libgudev-1.0-dev hwdata liborbit2-dev libgtk-3-dev libidn11-dev libsane-dev liblircclient-dev

libltdl-dev libvorbisfile3 libgail-3-dev libnotify4-dev libgnome-desktop-3-dev -y

4) 错误 “/home/andy/gnome-shell/install/lib64/libgtk-3.so: undefined reference to `pango_layout_get_log_attrs_readonly' “

LinuxDeepin下三个本子的桌面遭逢会选取 Gnome3,大家能够用上边包车型地铁秘技提前在 LD 11.06 中体验 Gnome-Shell. 图片 2

 

sudo find /usr/lib{,32,64} -name "*.la" -delete (这一步比较重大, 不然libgtk3 会报错)

sudo jhbuild build

wget 

wget 

wget 

用下边包车型大巴授命依次对那四个包实行编写翻译:

./configure && make && sudo make install

touch ~/.xinitrc

chmod +x ~/.xinitrc

ln -s ~/.xinitrc ~/.xsession

gedit ~/.xinitrc

在 ~/.xinitrc 中加入下边包车型大巴命令:

gnome-session &

ibus-daemon -x -r -d &

gnome-shell --replace

3.下载/实践 Gnome-Shell 构建脚本:

1) 平常网络错误, 导致 git 操作退步, 能够挑选 6 (出错会有一个挑选操作)实行重新下载编写翻译

裁撤, 在报到画面下面第多少个选项框采取 "User Defined Session" 实行登陆就可以

图片 3

万风度翩翩你在编写翻译 colord 的时候境遇下边的荒谬:

checking whether to build shared libraries... yes

checking whether to build static libraries... no

./configure: line 10692: syntax error near unexpected token `0.9.8'

./configure: line 10692: `GOBJECT_INTROSPECTION_CHECK(0.9.8)'

Error during phase configure of colord: ########## Error running ./autogen.sh --prefix /home/andy/gnome-shell/install --libdir '/home/andy/gnome-shell/install/lib64' --disable-examples --disable-static --disable-gtk-doc  *** [36/46]

能够用这几个应用方案消除:

wget 

wget 

wget 

sudo dpkg -i liblcms2-2_2.2+git20110628-1_amd64.deb

sudo dpkg -i liblcms2-dev_2.2+git20110628-1_amd64.deb

sudo dpkg -i liblcms2-utils_2.2+git20110628-1_amd64.deb

cd ~/gnome-shell/source/colord

git clean -fdx

cp ~/gnome-shell/source/clutter/build/autotools/introspection.m4 ~/gnome-shell/source/colord/m4/

jhbuild run ./autogen.sh

jhbuild run ./configure --disable-introspection

jhbuild run make

 

6. 开机自动运营 Gnome-Shell

4. 创设 Gnome-Shell (更新代码也是风度翩翩致的授命):

好了, 那正是负有关于 Gnome-Shell 编写翻译的方案, 当然全体基于 Debian 的发行版本都足以用那么些方案, 非 Debian 的批发版本能够用相应的授命替换 apt 应该也得以编写翻译成功。

3)   第三十七个模块 colord 编写翻译错误(因为上游开垦职员的失误):

  纵然遭遇这么些错误的同室日常都尚未听本人的话实践命令: “sudo find /usr/lib{,32,64} -name "*.la" -delete”

假定碰着这几个荒唐能够用下边包车型地铁方案解决:

sudo find /usr/lib{,32,64} -name "*.la" -delete

rm -rf ~/gnome-shell/install/

sudo jhbuild build

编写翻译的时候有希望出错, 上面临周围的失误提供应用方案:

因为现成 PPA 的点子会导致客户进不了桌面, 所以大家用编写翻译的耗费版本的主意, 编写翻译的主意的益处正是固然编写翻译败北, 也不会破坏现存的桌面遭受。

郑重声明:本文版权归澳门新葡萄京娱乐网站所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。