Configurar 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' ]

Puede construir varios módulos estableciendo la variable modules a un metapaquete, como por ejemplo meta-gnome-core, o listando más de un nombre de módulo. La variable modules especifica qué módulos se construirán cuando no especifique explícitamente nada en la línea de comandos. Puede construir un conjunto de módulos diferente más tarde especificándolo en la línea de comandos (por ejemplo, jhbuild build gtkmm).

Establecer un prefijo

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.

Cuando descarga jhbuild desde el repositorio git, obtiene varios archivos .module, especificando las dependencias entre módulos. De manera predeterminada, jhbuild no usa las versiones descargadas de estos archivos, sino que lee las últimas en el repositorio git. Esto generalmente es lo que quiere. Si no es así, use la variable use_local_modulesets en .jhbuildrc.