简体   繁体   English

如何从源代码构建 gnome shell?

[英]how to build gnome shell from source?

I want to install gnome shell on my machine from the project's gitlab repository for testing.我想从项目的 gitlab 存储库在我的机器上安装 gnome shell 以进行测试。

I searched their wiki but couldn't find any specific documentation to do this.我搜索了他们的wiki ,但找不到任何特定的文档来执行此操作。 I tried with gnome builder but it doesn't work either.我尝试使用 gnome builder,但它也不起作用。

So, how does gnome team test gnome shell and how can i install it on my machine?那么,gnome 团队如何测试 gnome shell 以及如何在我的机器上安装它?

If you want to install the development version directly from GitLab, get the source on your local machine:如果想直接从GitLab安装开发版,在本地机器上获取源:

git clone https://gitlab.gnome.org/GNOME/gnome-shell.git

The following solution is from https://www.linuxfromscratch.org/blfs/view/cvs/gnome/gnome-shell.html以下解决方案来自https://www.linuxfromscratch.org/blfs/view/cvs/gnome/gnome-shell.html

Now run:现在运行:

mkdir build &&
cd build &&

meson --prefix=/usr -Dsystemd=false .. &&
ninja
sudo ninja install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM