From 88e068f78c24861599829364b393ebb8b0eb6711 Mon Sep 17 00:00:00 2001 From: Kevin E Martin Date: Sat, 19 Nov 2005 07:15:40 +0000 Subject: Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. --- ChangeLog | 8 ++++++++ configure.ac | 1 + xcomposite.pc.in | 6 ++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3027524..95200e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-11-19 Kevin E. Martin + + * xcomposite.pc.in: + Update pkgconfig files to separate library build-time dependencies + from application build-time dependencies. + * configure.ac: + Update dependencies to work with separate build roots. + 2005-11-09 Kevin E. Martin * configure.ac: diff --git a/configure.ac b/configure.ac index 95e96c0..b1c2257 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,7 @@ if test "$VERSION" = "" ; then VERSION=$PACKAGE_VERSION; fi COMPOSITEEXT_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`] +AC_SUBST(COMPOSITEEXT_VERSION) PKG_CHECK_MODULES(XCOMPOSITE, [compositeproto >= $COMPOSITEEXT_VERSION] x11 xfixes xext fixesproto) AC_SUBST(XCOMPOSITE_CFLAGS) AC_SUBST(XCOMPOSITE_LIBS) diff --git a/xcomposite.pc.in b/xcomposite.pc.in index 0f63312..18c2a12 100644 --- a/xcomposite.pc.in +++ b/xcomposite.pc.in @@ -6,5 +6,7 @@ includedir=@includedir@ Name: Xcomposite Description: X Composite Library Version: @PACKAGE_VERSION@ -Cflags: -I${includedir} @XCOMPOSITE_CFLAGS@ -Libs: -L${libdir} -lXcomposite @XCOMPOSITE_LIBS@ +Requires: xproto compositeproto >= @COMPOSITEEXT_VERSION@ xfixes +Requires.private: x11 xfixes xext +Cflags: -I${includedir} +Libs: -L${libdir} -lXcomposite -- cgit v1.2.3