hello,
can you help me to write a simple tutorial to set building environment for Ubuntu LTS, clean and simple for post on gitlab wiki.
thanks,
white-wolf
Depends what you want to build… Basically you need a few packages such as build-essential
and libgtk-3-dev
or libgtk-4-dev
and an IDE like gnome-builder
. Setup a meson
based project with gnome-builder an begin with a simple hello-world like application. See Getting Started
If you want to build GNOME itself. Maybe start with looking at the debian/rules
file of the source deb packages of GNOME. Prior to this, you must enable source packages in your sources.lists of Ubuntu’s apt, using software-properties-gtk
and ckecking Source code in the repositories.
then, for instance, gnome-shell:
$ apt-get source gnome-shell
$ cd gnome-shell-42.9/debian
$ more rules
There is a way to get all build dependencies with:
$ apt-get builddep gnome-shell
miss resent lib, 72 i ubuntu 78 needed
You can’t have both an LTS operating system and an operating system with recent dependencies: you have to choose.
If you want to keep using an LTS version of your OS, then you will need to download GNOME Builder from Flathub and use Flatpak to develop applications against the latest GNOME run time.
This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.