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.
Created attachment 3361 [details] [review] Libxml2 support
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).
Created attachment 3388 [details] [review] Working version of the patch. Previous version just worked by accident. Shame on me.
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.
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
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.