Travail avec le code source de gtkmm
If you are interested in helping out with the development of gtkmm, or fixing a bug in gtkmm, you'll probably need to build the development version of gtkmm. However, you should not install a development version over your stable version. Instead, you should install it alongside your existing gtkmm installation, in a separate path.
The easiest way to do this is using jhbuild. jhbuild is a program that makes building GNOME software much easier by calculating dependencies and building things in the correct order. This section will give a brief explanation of how to set up jhbuild to build and install gtkmm from the source repository (git). For up-to-date information on jhbuild, please refer to the jhbuild manual. If you need assistance using jhbuild, you should ask for help on the gnome-love mailing list.
Note that to build gtkmm from git, you'll often need to build many of its dependencies from git as well. jhbuild makes this easier than it would normally be, but it will take quite a while to build and install them all. You will probably encounter build problems, though these will usually be corrected quickly if you report them.

Paramétrage de 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 ~/.jhbuildrc

The gtkmm module is defined in the gnome-suites-core-deps-3.x.modules moduleset, so edit your .jhbuildrc file and set your moduleset setting to the latest version e.g. like so:

moduleset = 'gnome-suites-core-deps-3.12'

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

You can build several modules by setting the modules variable to a meta-package, e.g. meta-gnome-core, or listing more than one module name. The modules variable specifies which modules will be built when you don't explicitly specify anything on the command line. You can always build a different moduleset later by specifying it on the commandline (e.g. jhbuild build gtkmm).

Définition d'un préfixe
By default, jhbuild's configuration is configured to install all software built with jhbuild under the /opt/gnome 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.
When you downloaded jhbuild from the git repository, you got a number of .modules files, specifying dependencies between modules. By default jhbuild does not use the downloaded versions of these files, but reads the latest versions in the git repository. This is usually what you want. If you don't want it, use the use_local_modulesets variable in .jhbuildrc.

Installation et utilisation de la version git de gtkmm
Once you've configured jhbuild as described above, building gtkmm should be relatively straightforward. The first time you run jhbuild, you should run the following sequence of commands to ensure that jhbuild has the required tools and verify that it is set up correctly:

$ jhbuild bootstrap
$ jhbuild sanitycheck

Installation de gtkmm avec jhbuild
Si tout fonctionne correctement, vous devez être capable de construire gtkmm et toutes ses dépendances à partir du dépôt git en exécutant la commande jhbuild build (ou, si vous n'avez pas précisé gtkmm dans la variable modules, avec la commande jhbuild build gtkmm).
This command will build and install a series of modules and will probably take quite a long time the first time through. After the first time, however, it should go quite a bit faster since it only needs to rebuild files that changed since the last build. Alternatively, after you've built and installed gtkmm the first time, you can rebuild gtkmm by itself (without rebuilding all of its dependencies) with the command jhbuild buildone gtkmm.

Utilisation de la version git de gtkmm
Après avoir installé la version git de gtkmm, vous êtes prêt à commencer à l'utiliser et le tester. Pour utiliser la nouvelle version de gtkmm que vous venez d'installer, il est nécessaire de paramétrer certaines variables d'environnement pour que le script configure sache où trouver les nouvelles librairies. Fort heureusement, jhbuild offre une solution élégante à ce problème. L'exécution de la commande jhbuild shell ouvre un nouveau shell avec toutes les variables d'environnement correctement fixées. Maintenant si vous re-configurez et construisez votre projet comme vous avez l'habitude de faire, il fera l'édition des liens avec les bibliothèques nouvellement installées. Pour revenir dans votre environnement précédent, sortez simplement du shell jhbuild.
Après avoir construit votre logiciel, vous devez également le lancer dans l'environnement jhbuild. Pour ce faire, vous pouvez une nouvelle fois utiliser la commande jhbuild shell pour ouvrir un nouveau shell dans l'environnement jhbuild. Autrement, vous pouvez lancer une commande à effet unique dans l'environnement jhbuild avec la commande suivante : jhbuild run command-name. Dans ce cas, la commande se déroule avec les variables d'environnement correctement fixées, mais elle retourne dans l'environnement précédent à la sortie du programme.