Getting the Applications¶
The applications associated with this tutorial can be found in the collection of repositories at the Librem 5 examples project. You can either clone and build each of the applications from the command line or open them in GNOME Builder.
Using GNOME Builder¶
The examples can be obtained from these repositories:
https://source.puri.sm/Librem5/example-apps/adaptive-ui-title-bar.git https://source.puri.sm/Librem5/example-apps/adaptive-ui-leaflet.git https://source.puri.sm/Librem5/example-apps/adaptive-ui-two-leaflets.git
Follow these steps to obtain each of the examples for this tutorial:
- Start GNOME Builder and click the Clone Repository… button.
- Enter a URL from the above list in the repository URL field and choose a
directory that will contain the working directory for the repository. The
~/Projectsdirectory is usually fine for this purpose.
- Click Clone Project.
The repository will then be cloned and installed inside the chosen directory.
To clone these repositories on the command line, enter a suitable directory on your system and run the following commands:
git clone https://source.puri.sm/Librem5/example-apps/adaptive-ui-title-bar.git git clone https://source.puri.sm/Librem5/example-apps/adaptive-ui-leaflet.git git clone https://source.puri.sm/Librem5/example-apps/adaptive-ui-two-leaflets.git
This should result in the creation of working directories for each of the repositories in the current directory. The source code for each part of the tutorial can be found in the corresponding directory.