Expat Support

View: New views
4 Messages — Rating Filter:   Alert me  

Expat Support

by Matt Cupp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm trying to port Fontconfig to an embedded system (the Wii via DevkitPro).  I am having lots of difficulty porting libxml2, so I did searching and found that Fontconfig used to use Expat.  According to what I could find by searching through the mailing list and stuff and "./configure --help", Expat should still be supported.  I tried adding the option --disable-libxml2 (as described in the configure help) but configure still stops after looking for libxml2 saying it wasn't found.

So does anyone know if Expat is still supported?  Or know how hard it would be to reenable it?  Or have any other suggestions as to what I could do?  My ultimate goal would be to port Cairo to the Wii with FreeType support (hence requiring FontConfig).

Thanks,
Matt

_______________________________________________
Fontconfig mailing list
Fontconfig@...
http://lists.freedesktop.org/mailman/listinfo/fontconfig

Expat Support

by Matt Cupp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm trying to port Fontconfig to an embedded system (the Wii via DevkitPro).  I am having lots of difficulty porting libxml2, so I did searching and found that Fontconfig used to use Expat.  According to what I could find by searching through the mailing list and stuff and "./configure --help", Expat should still be supported.  I tried adding the option --disable-libxml2 (as described in the configure help) but configure still stops after looking for libxml2 saying it wasn't found.

So does anyone know if Expat is still supported?  Or know how hard it would be to reenable it?  Or have any other suggestions as to what I could do?  My ultimate goal would be to port Cairo to the Wii with FreeType support (hence requiring FontConfig).

Thanks,
Matt


_______________________________________________
Fontconfig mailing list
Fontconfig@...
http://lists.freedesktop.org/mailman/listinfo/fontconfig

Re: Expat Support

by Keith Packard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-01-13 at 09:32 -0500, Matt Cupp wrote:

>
> So does anyone know if Expat is still supported?  Or know how hard it
> would be to reenable it?  Or have any other suggestions as to what I
> could do?  My ultimate goal would be to port Cairo to the Wii with
> FreeType support (hence requiring FontConfig).

No, expat isn't supported. I originally thought it would be fairly easy
to switch between libxml and expat, and was encouraged to use libxml
because many other applications were using that, and having two xml
parsing libraries in core at once doesn't make a lot of sense.

It would be great if you wanted to try and figure out how to make expat
work again; fontconfig doesn't have any complicated demands on an XML
parser.


--
keith.packard@...


_______________________________________________
Fontconfig mailing list
Fontconfig@...
http://lists.freedesktop.org/mailman/listinfo/fontconfig

signature.asc (196 bytes) Download Attachment

Re: Expat Support

by Ryan Hill-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 13 Jan 2009 08:55:16 -0800
Keith Packard <keithp@...> wrote:

> On Tue, 2009-01-13 at 09:32 -0500, Matt Cupp wrote:
>
> >
> > So does anyone know if Expat is still supported?  Or know how hard it
> > would be to reenable it?  Or have any other suggestions as to what I
> > could do?  My ultimate goal would be to port Cairo to the Wii with
> > FreeType support (hence requiring FontConfig).
>
> No, expat isn't supported. I originally thought it would be fairly easy
> to switch between libxml and expat, and was encouraged to use libxml
> because many other applications were using that, and having two xml
> parsing libraries in core at once doesn't make a lot of sense.
>
> It would be great if you wanted to try and figure out how to make expat
> work again; fontconfig doesn't have any complicated demands on an XML
> parser.
Hello.

  Is this still true?  The other distros I've looked at (Fedora, Debian,
SuSE) link against expat and I have no problem building and using
fontconfig on a system without libxml2 installed.  If libxml2 is the
preferred XML library why is it described as a fallback in the configure
message and why aren't other distros using it?

Thanks,


--
fonts, toolchain,                  Character is what you are in the dark.
gcc-porting,
wxwidgets @ gentoo     EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662


_______________________________________________
Fontconfig mailing list
Fontconfig@...
http://lists.freedesktop.org/mailman/listinfo/fontconfig

signature.asc (205 bytes) Download Attachment