[Spice-devel] [spice-gtk] build-sys: Fix spice-protocol requirements in .pc file

Christophe Fergeau cfergeau at redhat.com
Tue Sep 8 05:31:40 PDT 2015


Commit d0ae58a8 added spice-protocol >= 0.12.10 to the Requires.private
field in spice-client-glib.pc. However it's already present in the
Requires field without a version check. Once spice-gtk is built and
installed, building a program against spice-gtk needs spice-protocol,
but no specific version of it, so we can drop the duplicate
Requires.private requirement, and keep the unversioned one in Requires.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 0a60ec3..577f9a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,7 +101,7 @@ if test ! -e "$srcdir/src/vncdisplaykeymap_osx2xtkbd.c"; then
   AC_MSG_RESULT([found])
 fi
 
-SPICE_GLIB_REQUIRES="spice-protocol >= 0.12.10"
+SPICE_GLIB_REQUIRES=""
 SPICE_GTK_REQUIRES=""
 
 PKG_CHECK_MODULES(PIXMAN, pixman-1 >= 0.17.7)
-- 
2.4.3



More information about the Spice-devel mailing list