diff options
author | Alessandro Decina <alessandro.d@gmail.com> | 2009-01-02 15:04:13 +0000 |
---|---|---|
committer | Alessandro Decina <alessandro.d@gmail.com> | 2009-01-02 15:04:13 +0000 |
commit | 8b0fadc2ff55fa34644584ce93827711e6437904 (patch) | |
tree | 792f3486512b25d2db21751b31e6c5dab4164ad3 | |
parent | 70a71bd9cf003d866b7dbe635ec91a103819718e (diff) |
Make the seek and colorkey examples depend on gtk+-x11 as they use
Original commit message from CVS:
* configure.ac:
* tests/examples/seek/Makefile.am:
* tests/icles/Makefile.am:
Make the seek and colorkey examples depend on gtk+-x11 as they use
GDK_WINDOW_XID.
Fixes the build with gtk+-quartz.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | tests/examples/seek/Makefile.am | 2 | ||||
-rw-r--r-- | tests/icles/Makefile.am | 2 |
4 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,12 @@ +2009-01-02 Alessandro Decina <alessandro.d@gmail.com> + + * configure.ac: + * tests/examples/seek/Makefile.am: + * tests/icles/Makefile.am: + Make the seek and colorkey examples depend on gtk+-x11 as they use + GDK_WINDOW_XID. + Fixes the build with gtk+-quartz. + 2008-12-31 Jan Schmidt <jan.schmidt@sun.com> * win32/common/libgstaudio.def: diff --git a/configure.ac b/configure.ac index d924b444..6af33702 100644 --- a/configure.ac +++ b/configure.ac @@ -266,6 +266,11 @@ dnl GTK is optional and only used in examples PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.12.0, HAVE_GTK=yes, HAVE_GTK=no) AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") +dnl some examples need gtk+-x11 +PKG_CHECK_MODULES(GTK_X11, gtk+-x11-2.0 >= 2.12.0, + HAVE_GTK_X11=yes, HAVE_GTK_X11=no) +AM_CONDITIONAL(HAVE_GTK_X11, test "x$HAVE_GTK_X11" = "xyes") + dnl *** set variables based on configure arguments *** dnl set license and copyright notice diff --git a/tests/examples/seek/Makefile.am b/tests/examples/seek/Makefile.am index d60046d7..5ee2ad1e 100644 --- a/tests/examples/seek/Makefile.am +++ b/tests/examples/seek/Makefile.am @@ -1,4 +1,4 @@ -if HAVE_GTK +if HAVE_GTK_X11 GTK_EXAMPLES=seek scrubby endif diff --git a/tests/icles/Makefile.am b/tests/icles/Makefile.am index b06e9672..f0fed9b0 100644 --- a/tests/icles/Makefile.am +++ b/tests/icles/Makefile.am @@ -6,7 +6,7 @@ stress_xoverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) stress_xoverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) \ $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la -if HAVE_GTK +if HAVE_GTK_X11 X_TESTS += test-colorkey test_colorkey_SOURCES = test-colorkey.c |