[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-developers] libextractor ole2 and libgsf

From: Glenn L McGrath
Subject: [GNUnet-developers] libextractor ole2 and libgsf
Date: Mon, 21 Mar 2005 14:17:45 +1100


Firstly, congratulations on libextractor becoming an official gnu
project, the extra resources and attention should be be good
for libextractor.

There has been a niggling problem with the ole2 module of libextractor
for a while, it has been worked around within debian (1), but gentoo
still has problems with it (2), and i suspect it may cause problems to
others in the future.

The problems relates to the ole2 module linking to glib and duplicate
symbols, i dont think i understand the precise nature of the problem
(which means you should be sceptical about my patch), but think i may
have a better solution than static linking to glib.

The attached patch removes the gsf-* code in libextractor and simply
links to the shared libgsf-1 library.

Advantages i see
 - The glib linking problem is passed off to libgsf
 - Libgsf may expand in the future to support more formats.
 - less code to maintain/better code reuse

The only test i have done is libextractor's make check, which works

I dont have an ole2 file to test it with and dont know much about the
format, anyone know where i can get one ?

If this is a resonable solution i will do a better patch that cleans up as well.




Attachment: libgsf.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]