'how to build gnome shell from source?

I want to install gnome shell on my machine from the project's gitlab repository for testing.

I searched their wiki but couldn't find any specific documentation to do this. I tried with gnome builder but it doesn't work either.

So, how does gnome team test gnome shell and how can i install it on my machine?



Solution 1:[1]

If you want to install the development version directly from GitLab, get the source on your local machine:

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

Now run:

mkdir build &&
cd build &&

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Stefan Garlonta