[gtk+] Move pangoft2 to Requires.private
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Move pangoft2 to Requires.private
- Date: Tue, 22 Nov 2011 14:57:21 +0000 (UTC)
commit abc787a5acf0849946c089c97f8c3548b8096288
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 22 09:42:31 2011 -0500
Move pangoft2 to Requires.private
We have pango in Requires anyway, and this is just so we
can call pangofc api ourselves.
configure.ac | 4 +++-
gtk+-3.0.pc.in | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b5bd52a..bbc4cf8 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 e628ab1..cf5d3be 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@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]