FreeBSD Port: x11-toolkits/gtksourceview build failure

Jeremy Messenger mezz.freebsd at gmail.com
Thu Aug 16 01:14:27 UTC 2012


On Wed, Aug 15, 2012 at 2:40 PM, Koop Mast <kwm at rainbow-runner.nl> wrote:
> On 15-8-2012 18:49, Jim Ballantine wrote:
>>
>> Hi,
>>
>> When gtksourceview attempts to build, it fails with:
>> error: #error "Only <glib.h> can be included directly".
>>
>
> This is caused by the glib20 version from de GNOME dev repo. To fix this is
> quite easy but time consuming.
> you need to replace all <glib/*.h> includes with a single <glib.h>. But a
> lot of older (read older then GNOME 3) software includes random glib headers
> so this is quite a big task to do. This will be done as part of the GNOME 3
> import which will happen after FreeBSD 9.1 is released.

Or just add -DGLIB_COMPILATION in the CPPFLAGS.

Cheers,
Mezz


> -Koop
>
>
>
>> Any ideas on work arounds to get this package built?
>>
>> Thanks
>>
>> Jim Ballantine
>> _______________________________________________
>> freebsd-gnome at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
>
>
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"



-- 
mezz.freebsd at gmail.com - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org


More information about the freebsd-gnome mailing list