Nastavení systému jhbuild
To set up jhbuild, follow the basic installation instructions from the jhbuild manual. After you have installed jhbuild, you should copy the sample jhbuild configuration file into your home directory by executing the following command from the jhbuild directory:
$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc
The gtkmm module is defined in the gnome-suites-core-deps-latest.modules moduleset. So edit your jhbuildrc file and set your moduleset setting like so:
moduleset = 'gnome-suites-core-deps-latest'
After setting the correct moduleset, you need to tell jhbuild which module or modules to build. To build gtkmm and all of its dependencies, set modules like so:
modules = [ 'gtkmm' ]
Můžete sestavit několik modulů nastavením proměnné modules na metabalíček, např. meta-gnome-core, nebo vypsáním více než jednoho názvu modulu. Proměnná modules určuje, které moduly budou sestavené, když žádný výslovně neuvedete na příkazové řádce. Vždy můžete sestavit jinou sadu modulů později jejich zadáním na příkazové řádce (např. jhbuild build gtkmm).
By default, jhbuild's configuration is configured to install all software built with jhbuild under the ~/jhbuild/install prefix. You can choose a different prefix, but it is recommended that you keep this prefix different from other software that you've installed (don't set it to /usr!) If you've followed the jhbuild instructions then this prefix belongs to your user, so you don't need to run jhbuild as root.
Když stáhnete jhbuild z repozitáře git, máte spoustu souborů .modules, které specifikují závislosti mezi moduly. Standardně jhbuild nepoužívá stažené verze těchto souborů, ale čte si nejnovější verze přímo z repozitáře. Obvykle to je to, co chcete. Pokut to tak ale nechcete, použijte proměnnou use_local_modulesets v .jhbuildrc.