all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* fontconfig required version
@ 2008-02-21 12:40 Emanuele Giaquinta
  2008-02-21 12:58 ` Emanuele Giaquinta
  0 siblings, 1 reply; 2+ messages in thread
From: Emanuele Giaquinta @ 2008-02-21 12:40 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

Hi,

The attached patch bumps the fontconfig required version to 2.2.0
because ftfont.c uses the FC_WIDTH / FC_WEIGHT_REGULAR macros which
are available since 2.2.0 [1].

Emanuele Giaquinta

[1] http://gitweb.freedesktop.org/?p=fontconfig;a=commit;h=81fa16c3366a701255f4e52cdfd716dd06253748

[-- Attachment #2: configure-fontconfig.diff --]
[-- Type: text/x-diff, Size: 712 bytes --]

Index: configure.in
===================================================================
RCS file: /cvsroot/emacs/emacs/configure.in,v
retrieving revision 1.511
diff -u -r1.511 configure.in
--- configure.in	9 Feb 2008 18:03:10 -0000	1.511
+++ configure.in	21 Feb 2008 12:13:17 -0000
@@ -2039,7 +2039,7 @@
 
   PKG_CHECK_MODULES(FREETYPE, freetype2, HAVE_FREETYPE=yes, HAVE_FREETYPE=no)
   if test "${HAVE_FREETYPE}" = "yes"; then
-    PKG_CHECK_MODULES(FONTCONFIG, fontconfig, HAVE_FC=yes, HAVE_FC=no)
+    PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= 2.2.0, HAVE_FC=yes, HAVE_FC=no)
     if test "${HAVE_FC}" = "no"; then
       dnl Witout fontconfig, we can't use freetype at the moment.
       HAVE_FREETYPE=no

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-21 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 12:40 fontconfig required version Emanuele Giaquinta
2008-02-21 12:58 ` Emanuele Giaquinta

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.