From 6e90c9a83367af11bcf075f13fea9b444219b528 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Thu, 31 Oct 2019 11:44:17 +0000 Subject: [PATCH] hacking: Clarify dev env and testing --- HACKING.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/HACKING.md b/HACKING.md index 0d736fde..c663c135 100644 --- a/HACKING.md +++ b/HACKING.md @@ -3,6 +3,25 @@ Hacking This document describes the standards for modifying and maintaining the *squeekboard* project. +Development environment +----------------------- + +*Squeekboard* is regularly built and tested on [the develpment environment](https://developer.puri.sm/Librem5/Development_Environment.html). + +Recent Fedora releases are likely to be tested as well. + +### Dependencies + +On a Debian based system run + +```sh +sudo apt-get -y install build-essential +sudo apt-get -y build-dep . +``` + +For an explicit list of dependencies check the `Build-Depends` entry in the +[debian/control][] file. + Testing ------- @@ -28,8 +47,12 @@ $ busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false Testing layouts: +Layouts can be selected using the GNOME Settings application. + ``` +# define all available layouts $ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'ua')]" +# choose the active layout $ gsettings set org.gnome.desktop.input-sources current 1 ```