Re: libgsf: very preliminary patch

From: Robert Staudinger <robert.staudinger_at_gmail.com>
Date: Tue Feb 21 2006 - 10:05:17 CET

On 2/21/06, Tomas Frydrych <tf@o-hand.com> wrote:
>
> Ryan Pavlik wrote:
> > The new WV requires glib on Win32, and I'm fairly certain I also need to
> > build libgsf for that as well. So for me, recent glib and libgsf in the
> > main Win32 dist. for 2.6 is a done deal: it's necessary already.

Ryan, I'm aware this is outrageous, but what about using prebuilt
libs? We in linux do that all the time (well, except gentoo *ducks*).
Seriously, two trustable sources come to mind:
http://gladewin32.sourceforge.net (this is what gnumeric uses if i'm
not mistaken)
http://www.gimp.org/~tml/gimp/win32/downloads.html (Tor Lillqvist's stuff)

> We also have a major problem on win32 with filenames that do not use
> Latin1 charset; when I looked into fixing it in the past, it turned out
> to be impossible without introducing some new UT_ I/O functions. My
> understanding is that using libgsf will give us proper Unicode filenames
> on win32 and I think it is better than creating yet another abstraction
> layer of our own.
>
> I also agree with martin that now that we have made glib a dependency,
> it would make sense to refactor the UT_ layer to make maximum use of it
> and eliminate any unnecessary code of our own.

I have been longing that day.
This is a quick rundown of some stuff in abi/src/af/util/xp:

UT_Allocator: unused as suggested by grep
ut_assert -- g_assert stuff
ut_path -- g_path stuff
ut_types: many things debatable since provided by glib (UT_uint8,
...), IMO we should get rid of XML_Char at least.

Best,
Rob
Received on Tue Feb 21 10:06:02 2006

This archive was generated by hypermail 2.1.8 : Tue Feb 21 2006 - 10:06:03 CET