Bug#665574: libreoffice: Including individual glib headers no longer supported
including invidiual glib headers has been deprecated for several years.
Starting with glib 2.32 it is now mandatory to include glib.h instead
of individual headers , or the compiler will generate an error.
With the notable exception of:
Those header files are still meant to be included separately.
Development releases of 2.32 (2.31.x) are available in experimental.
During a test-rebuild libreoffice failed to build with the new glib .
Please update libreoffice at your earliest convenience, so once we move
the glib version from experimental to unstable, your package will remain
Usually, simply replacing #include <glib/foo.h> with #include <glib.h>
is all that is needed (while keeping the above list of exceptions in
You can use the glib version from experimental to test if your package
A simple shell script  has been written, that can help you
generate a patch which should fix the includes in most cases.
It's most likely not bug free and very limited, so please check the
resulting patch carefully.
on behalf of the Debian GNOME team.