Mailinglist Archive: opensuse-factory (368 mails)

< Previous Next >
Re: [opensuse-factory] Only <glib.h> can be included directly
On Sun, 2012-01-08 at 19:32 +0400, Ilya Chernykh wrote:
Soma packages in Factory give the following error:

/usr/include/glib-2.0/glib/gmain.h:21:2: error: #error "Only <glib.h> can be
included directly."


This has been announced at least twice on this list already before the
gnome team submitted glib 2.31 to Factory.

Packages from GNOME:* devel repositories should be fixed, the others
need to be adjusted/patched.

Generally the patch is really simple: replace #include <glib/glibXYZ.h>
with #include <glib.h>

As pointed out in the announcement mails, there are a few exceptions to
the good rule (any good rule has exceptions, right)?

You'll find all the info in the ml-archive.


To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >