From 19310cc0352abfa87fd071d7af58b1ff4b417d21 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Thu, 26 Jun 2008 15:30:30 +0000 Subject: require glib trunk (for newer glib-mkenums). 2008-06-26 Kristian Rietveld * configure.in: require glib trunk (for newer glib-mkenums). * pango/Makefile.am: when generating pango-enum-types.h use @ENUMPREFIX@ instead of hard coding the prefix. svn path=/trunk/; revision=2660 --- ChangeLog | 7 +++++++ configure.in | 2 +- pango/Makefile.am | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f147a7d..c98a6f35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-26 Kristian Rietveld + + * configure.in: require glib trunk (for newer glib-mkenums). + + * pango/Makefile.am: when generating pango-enum-types.h use + @ENUMPREFIX@ instead of hard coding the prefix. + 2008-06-24 Behdad Esfahbod Bug 540036 – Doesn't link to fontconfig diff --git a/configure.in b/configure.in index da22d2a6..26dcfd01 100644 --- a/configure.in +++ b/configure.in @@ -421,7 +421,7 @@ fi # # Checks for GLib # -GLIB_REQUIRED_VERSION=2.14.0 +GLIB_REQUIRED_VERSION=2.17.3 GLIB_MODULES="glib-2.0 >= $GLIB_REQUIRED_VERSION gobject-2.0 gmodule-no-export-2.0" PKG_CHECK_MODULES(GLIB, $GLIB_MODULES, :, diff --git a/pango/Makefile.am b/pango/Makefile.am index 31a92956..4f405c1f 100644 --- a/pango/Makefile.am +++ b/pango/Makefile.am @@ -131,7 +131,7 @@ s-enum-types-h: @REBUILD@ $(pango_headers) Makefile ( cd $(srcdir) && glib-mkenums \ --fhead "#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n\n#include \n\nG_BEGIN_DECLS\n" \ --fprod "/* enumerations from \"@filename@\" */\n" \ - --vhead "GType @enum_name@_get_type (void);\n#define PANGO_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ + --vhead "GType @enum_name@_get_type (void);\n#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ --ftail "G_END_DECLS\n\n#endif /* __PANGO_ENUM_TYPES_H__ */" \ $(pango_headers) ) > tmp-pango-enum-types.h \ && (cmp -s tmp-pango-enum-types.h pango-enum-types.h || cp tmp-pango-enum-types.h pango-enum-types.h ) \ -- cgit v1.2.1