[dia] Require gtk-2.16, glib-2.20, pango-1.20 and cairo 1.6
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Require gtk-2.16, glib-2.20, pango-1.20 and cairo 1.6
- Date: Sun, 27 Mar 2011 17:07:32 +0000 (UTC)
commit f9aa71875aef133720a3eff4e070ed8106ae8bb2
Author: Hans Breuer <hans breuer org>
Date: Sun Mar 27 13:31:09 2011 +0200
Require gtk-2.16, glib-2.20, pango-1.20 and cairo 1.6
The version requirements for dependencies of gtk are not higher
than what gtk+ already requires (just some rounding to the next
stable version).
They are only listed for platforms not using the configure
mechanism.
INSTALL | 13 ++++++-------
configure.in | 10 +++++-----
2 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/INSTALL b/INSTALL
index 31896bf..9e1b090 100644
--- a/INSTALL
+++ b/INSTALL
@@ -13,7 +13,7 @@ REQUIREMENTS:
See machine-specific requirements further down.
-Dia needs Gtk+ at least version 2.6.0 installed.
+Dia needs Gtk+ at least version 2.16.0 installed.
It can be found at:
ftp://ftp.gtk.org/pub/gtk/
@@ -26,7 +26,7 @@ or
Note that Gtk 2.0 has a number of requirements of its own whose exact
versions depend on the version of Gtk.
-Pango (required by Gtk) needs to be at least version 1.8.0. It can be
+Pango (required by Gtk) needs to be at least version 1.20.0. It can be
found here:
ftp://ftp.gtk.org/pub/pango/
@@ -51,18 +51,17 @@ release.
pkg-config
intltool 0.35
font-config 1.0.1
-GLib 2.1.3
-ATK 2.0.0
+GLib 2.20.0 (already required by GTK+)
FreeType 2.0.9 (To compile without direct freetype use --without-freetype)
-Pango 1.8.0
-GTK+ 2.6.0 (GTK+ >=2.10 for using the new default print backend)
+Pango 1.20.0 (already required by GTK+)
+GTK+ 2.16.0 (GTK+ >=2.10 for using the new default print backend)
libxml 2.3.9
A number of other libraries are recommended for extra features:
Cairo is used for anti-alised rendering to screen or PNG as well as PDF:
http://cairographics.org
- Minimum version required (if at all) is 1.2
+ Minimum version required (if at all) is 1.6
Libart allows anti-aliased rendering and anti-aliased export to PNG:
http://www.artofcode.com/libart.html
Libpng is need for libart based anti-aliased PNG export:
diff --git a/configure.in b/configure.in
index 5cc3738..7a0b920 100644
--- a/configure.in
+++ b/configure.in
@@ -72,9 +72,9 @@ AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
-GTK_MODULES="gtk+-2.0 >= 2.12.0 glib-2.0 >= 2.12.0 libxml-2.0 gdk-pixbuf-2.0 gthread-2.0"
-PKG_CHECK_MODULES(PANGOVERSION, pango >= 1.8.0, ,
- AC_MSG_ERROR([Need Pango version 1.8.0 or higher]))
+GTK_MODULES="gtk+-2.0 >= 2.16.0 glib-2.0 >= 2.20.0 libxml-2.0 gdk-pixbuf-2.0 gthread-2.0"
+PKG_CHECK_MODULES(PANGOVERSION, pango >= 1.20.0, ,
+ AC_MSG_ERROR([Need Pango version 1.20.0 or higher]))
AC_ARG_WITH(freetype,
[ --without-freetype compile without FreeType support],,with_freetype=yes)
@@ -153,8 +153,8 @@ dnl Look for Cairo
AC_ARG_WITH(cairo,
[ --with-cairo compile cairo plug-in],,with_cairo=yes)
if test "x$with_cairo" != "xno"; then
- PKG_CHECK_MODULES(CAIROVERSION, cairo >= 1.4.0, ,
- AC_MSG_ERROR([Need Cairo version 1.4.0 or higher]))
+ PKG_CHECK_MODULES(CAIROVERSION, cairo >= 1.6.0, ,
+ AC_MSG_ERROR([Need Cairo version 1.6.0 or higher]))
PKG_CHECK_MODULES(CAIRO, cairo,have_cairo=yes,have_cairo=no)
AC_SUBST(CAIRO_LIBS)
AC_SUBST(CAIRO_CFLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]