summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-22 09:42:31 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-11-22 09:42:31 -0500
commitabc787a5acf0849946c089c97f8c3548b8096288 (patch)
tree3122ee2c9914f6f89133981f8d53b9c30a51b1ea
parentc5e4af761c9db702b9bbf0740404c204e5b086d2 (diff)
downloadgtk+-abc787a5acf0849946c089c97f8c3548b8096288.tar.gz
Move pangoft2 to Requires.private
We have pango in Requires anyway, and this is just so we can call pangofc api ourselves.
-rw-r--r--configure.ac4
-rw-r--r--gtk+-3.0.pc.in1
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b5bd52aec1..bbc4cf8705 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1305,8 +1305,9 @@ else
fi
GTK_PACKAGES="atk cairo cairo-gobject gdk-pixbuf-2.0 gio-2.0"
+GTK_PRIVATE_PACKAGES=""
if test "x$enable_x11_backend" = xyes; then
- GTK_PACKAGES="$GTK_PACKAGES pangoft2"
+ GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2"
fi
GTK_EXTRA_LIBS=
@@ -1324,6 +1325,7 @@ PANGO_PREFIX="`$PKG_CONFIG --variable=prefix pango`"
CAIRO_PREFIX="`$PKG_CONFIG --variable=prefix cairo`"
AC_SUBST(GTK_PACKAGES)
+AC_SUBST(GTK_PRIVATE_PACKAGES)
AC_SUBST(GTK_EXTRA_LIBS)
AC_SUBST(GTK_EXTRA_CFLAGS)
AC_SUBST(GTK_DEP_LIBS)
diff --git a/gtk+-3.0.pc.in b/gtk+-3.0.pc.in
index e628ab1ef7..cf5d3be677 100644
--- a/gtk+-3.0.pc.in
+++ b/gtk+-3.0.pc.in
@@ -11,5 +11,6 @@ Name: GTK+
Description: GTK+ Graphical UI Library
Version: @VERSION@
Requires: gdk-@GTK_API_VERSION@ @GTK_PACKAGES@
+Requires.private: @GTK_PRIVATE_PACKAGES@
Libs: -L${libdir} -lgtk-3 @GTK_EXTRA_LIBS@
Cflags: -I${includedir}/gtk-@GTK_API_VERSION@ @GTK_EXTRA_CFLAGS@