Search code examples
linuxbuildgnomemeson-buildgnome-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.

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

  • 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