Re: More minor patches

Oops, sending again, to the list this time...

Additionally, having looked a bit more into what happens inside of raptor,
the problems appears because the glib-2.0 development files are present.
Anyway, I believe the best is to follow upstream and get rid of the use of
glib in raptor altogether.

Regis

-----------------------------------------
Hi,

Thanks for reporting the issue.
> When I apply the first patch (rdf_conf_in_conf.diff)
> The GTK version doesn't link:
> ----------------------------------------
> ../redland/raptor/.libs/libraptor.a(raptor_utf8.o)(.text+0x1d13): In
function
> `raptor_utf8_is_nfc':
> : undefined reference to `g_utf8_normalize'
> collect2: ld a retourné 1 code d'état d'exécution
> ----------------------------------------
> I suspect `g_utf8_normalize' is available in gtk2 but not in gtk1. What
do you suggest?

Idealy, the best would be to update the shipped redland source directory,
since the problem was fixed 2 and a half years ago. However, since this
would need additional work, I would suggest backporting the fix from the
upstream subversion repository for the time being, which you can pick at
http://svn.librdf.org/view?rev=1965&view=rev and
http://svn.librdf.org/view/raptor/trunk/src/raptor_utf8.c?r1=1947&r2=1965

It completely removes the use of raptor_utf8_is_nfc(), which apparently
was slow and giving false negatives. I believe this is the best solution,
as the problem would appear when compiling with built-in redland support
as well.

Thanks for the report.

Regis

Received on Monday, 22 January 2007 17:44:46 UTC