Bug 285307 - upstream patch to check that a cairo font backend was

configured.  r=tor
This commit is contained in:
tor%cs.brown.edu 2005-03-09 16:34:21 +00:00
Родитель b02020527e
Коммит e90d42d0eb
4 изменённых файлов: 47 добавлений и 0 удалений

Просмотреть файл

@ -15,4 +15,6 @@ PATCHES:
tend to blend towards opaque the more that is drawn. Short term
inefficient workaround of clearing the buffer on each set.
font-backend.diff - upstream patch to configure.in to make sure
that a font backend is available.

13
gfx/cairo/cairo/configure поставляемый
Просмотреть файл

@ -24686,3 +24686,16 @@ echo " freetype: $use_freetype"
echo " atsui: $use_atsui"
echo ""
if test x"$use_freetype" != "xyes" && \
test x"$use_atsui" != "xyes" ; then
{ { echo "$as_me:$LINENO: error: Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/
" >&5
echo "$as_me: error: Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/
" >&2;}
{ (exit 1); exit 1; }; }
fi

Просмотреть файл

@ -372,3 +372,11 @@ echo " freetype: $use_freetype"
echo " atsui: $use_atsui"
echo ""
if test x"$use_freetype" != "xyes" && \
test x"$use_atsui" != "xyes" ; then
AC_MSG_ERROR([Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/
])
fi

Просмотреть файл

@ -0,0 +1,24 @@
Index: configure.in
===================================================================
RCS file: /cvsroot/mozilla/gfx/cairo/cairo/configure.in,v
retrieving revision 1.1
diff -u -8 -p -u -r1.1 configure.in
--- configure.in 24 Feb 2005 20:08:53 -0000 1.1
+++ configure.in 8 Mar 2005 18:12:11 -0000
@@ -367,8 +367,16 @@ echo " PDF: $use_pdf"
echo " PNG: $use_png"
echo " glitz: $use_glitz"
echo ""
echo "and the following font backends:"
echo " freetype: $use_freetype"
echo " atsui: $use_atsui"
echo ""
+if test x"$use_freetype" != "xyes" && \
+ test x"$use_atsui" != "xyes" ; then
+
+ AC_MSG_ERROR([Cairo requires at least one font backend.
+ Please install freetype and fontconfig, then try again:
+ http://freetype.org/ http://fontconfig.org/
+ ])
+fi