Bug 2298

Summary: fontconfig shouldn't AC_MSG_ERROR on old freetype
Product: cairo Reporter: Owen Taylor <otaylor>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: jwatt, krh
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Proposed patch

Description Owen Taylor 2005-01-17 10:54:04 UTC
If fontconfig is found, then configure proceeds to checks
on freetype version. If a too old freetype is found, then
it calls AC_MSG_ERROR.

What it should do is along the lines of

  if test $VERSION_DEC -lt $MIN_VERSION_DEC; then
    AC_MSG_RESULT($FREETYPE_VERSION)
    AC_MSG_WARNING($FREETYPE_VERSION - version $FREETYPE_MIN_VERSION from
release $FREETYPE_MIN_RELEASE required)
    use_freetype=no
  fi

And the same for the test for the existance of freetype-config.
Some splitting up of the if test "x$use_freetype" = "xyes"; 
block will be needed.
Comment 1 Owen Taylor 2005-08-18 16:30:05 UTC
Created attachment 2921 [details] [review]
Proposed patch
Comment 2 Owen Taylor 2005-08-18 17:22:37 UTC
2005-08-18  Owen Taylor  <otaylor@redhat.com>

        Reviewed by: krh

        * configure.in: Fix tests to just disable FreeType if a too-old FreeType
        is found, rather than erroring out. (#2298)

Comment 3 Carl Worth 2005-08-22 17:14:56 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.

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.