spice-gtk-0.32-x11-libs.patch 881 B

1234567891011121314151617181920212223242526272829303132333435
  1. --- a/configure.ac 2016-06-16 07:34:31.000000000 -0400
  2. +++ b/configure.ac 2016-08-17 15:41:03.322532729 -0400
  3. @@ -163,6 +163,13 @@
  4. AM_CONDITIONAL([WITH_DISPLAY_WINDOWS], [test "x$have_win32" = "xyes"])
  5. AC_CHECK_HEADERS([X11/XKBlib.h])
  6. +AS_IF([test "x$have_quartz" != "xyes"],[
  7. + AS_IF([test "x$have_win32" != "xyes"],[
  8. + PKG_CHECK_MODULES(X11,x11)
  9. + ])
  10. +])
  11. +AC_SUBST(X11_CFLAGS)
  12. +AC_SUBST(X11_LIBS)
  13. AC_ARG_WITH([pnp-ids-path],
  14. AC_HELP_STRING([--with-pnp-ids-path],
  15. --- a/src/Makefile.am 2016-08-17 15:44:42.081663331 -0400
  16. +++ b/src/Makefile.am 2016-08-17 15:45:24.701493950 -0400
  17. @@ -100,6 +100,7 @@
  18. $(GUDEV_CFLAGS) \
  19. $(SOUP_CFLAGS) \
  20. $(PHODAV_CFLAGS) \
  21. + $(X11_CFLAGS) \
  22. $(LZ4_CFLAGS) \
  23. $(NULL)
  24. @@ -119,6 +120,7 @@
  25. libspice-client-glib-2.0.la \
  26. $(GTK_LIBS) \
  27. $(CAIRO_LIBS) \
  28. + $(X11_LIBS) \
  29. $(LIBM) \
  30. $(NULL)