Bug 4549 - Libxml2 support
Summary: Libxml2 support
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 02:21 UTC by Mathias Hasselmann
Modified: 2006-02-21 07:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Libxml2 support (5.80 KB, patch)
2005-09-22 02:22 UTC, Mathias Hasselmann
Details | Splinter Review
Patch against fc-2_4_branch (4.92 KB, patch)
2005-09-23 14:14 UTC, Mathias Hasselmann
Details | Splinter Review
Working version of the patch. (4.93 KB, patch)
2005-09-23 15:51 UTC, Mathias Hasselmann
Details | Splinter Review
Patch using libxml2 as fallback for expat (7.49 KB, patch)
2005-09-25 10:29 UTC, Mathias Hasselmann
Details | Splinter Review
Next iteration (7.58 KB, patch)
2005-09-29 00:26 UTC, Mathias Hasselmann
Details | Splinter Review

Description Mathias Hasselmann 2005-09-22 02:21:37 UTC
This patch allows fontconfig to use libxml2 as SAX parser instead of Expat. When
using fontconfig in Glade-enabled applications, libxml2 is needed anyway, so
adding this choice drops an unneeded library dependency for this common scenario.
Comment 1 Mathias Hasselmann 2005-09-22 02:22:30 UTC
Created attachment 3361 [details] [review]
Libxml2 support
Comment 2 Mathias Hasselmann 2005-09-23 14:14:21 UTC
Created attachment 3387 [details] [review]
Patch against fc-2_4_branch

Patch against fc-2_4_branch as requested (even if the old patch applies
cleanly).
Comment 3 Mathias Hasselmann 2005-09-23 15:51:28 UTC
Created attachment 3388 [details] [review]
Working version of the patch.

Previous version just worked by accident. Shame on me.
Comment 4 Mathias Hasselmann 2005-09-25 10:29:53 UTC
Created attachment 3400 [details] [review]
Patch using libxml2 as fallback for expat

This version of the patch instructs configure to use libxml2 as fallback, if
expat cannot be found.
Comment 5 Mathias Hasselmann 2005-09-29 00:26:07 UTC
Created attachment 3424 [details] [review]
Next iteration 

Next iteration of the patch, more specificly »configure.in«:

- explicitly reset EXPAT_*, when expat is not found 
  to avoid linking against -lexpat
- explicitly call AC_SUBST for LIBXML2_*, because automake-1.4
  doesn't realize, that PKG_CHECK_MODULES performs this action
Comment 6 Patrick Lam 2006-02-22 02:34:17 UTC
I've committed this a while ago.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.