gst-plugins-0.8.11 depends on libXdamage (modular x)
What do you mean? There is no depend on libXdamage in gst-plugins. gst-plugins even doesn't depend on x11 at all. Can't find out what's the purpose of your bug-report.
without libXdamage installed I get this: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -DHAVE_XFIXES -march=athlon-xp -mtune=athlon-xp -pipe -O2 -MT libgstximagesink_la-gstximageplugin.lo -MD -MP -MF .deps/libgstximagesink_la-gstximageplugin.Tpo -c gstximageplugin.c -fPIC -DPIC -o .libs/libgstximagesink_la-gstximageplugin.o if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -DHAVE_XFIXES -march=athlon-xp -mtune=athlon-xp -pipe -O2 -MT libgstximagesink_la-ximagesrc.lo -MD -MP -MF ".deps/libgstximagesink_la-ximagesrc.Tpo" -c -o libgstximagesink_la-ximagesrc.lo `test -f 'ximagesrc.c' || echo './'`ximagesrc.c; \ then mv -f ".deps/libgstximagesink_la-ximagesrc.Tpo" ".deps/libgstximagesink_la-ximagesrc.Plo"; else rm -f ".deps/libgstximagesink_la-ximagesrc.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -DHAVE_XFIXES -march=athlon-xp -mtune=athlon-xp -pipe -O2 -MT libgstximagesink_la-ximagesrc.lo -MD -MP -MF .deps/libgstximagesink_la-ximagesrc.Tpo -c ximagesrc.c -fPIC -DPIC -o .libs/libgstximagesink_la-ximagesrc.o ximagesrc.c: In function 'gst_ximagesrc_change_state': ximagesrc.c:443: error: 'GstXimagesrc' has no member named 'damage_event_base' ximagesrc.c: In function 'gst_ximagesrc_set_clock': ximagesrc.c:650: warning: dereferencing type-punned pointer will break strict-aliasing rules make[3]: *** [libgstximagesink_la-ximagesrc.lo] error 1 make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys/ximage' make[2]: *** [all-recursive] error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys' make[1]: *** [all-recursive] error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11' make: *** [all] error 2 !!! ERROR: media-libs/gst-plugins-0.8.11 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. after installation of libXdamage it compiles fine
(In reply to comment #2) forget comment 2 without libXdamage installed I get this: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -DHAVE_XFIXES -march=athlon-xp -mtune=athlon-xp -pipe -O2 -MT libgstximagesink_la-gstximageplugin.lo -MD -MP -MF .deps/libgstximagesink_la-gstximageplugin.Tpo -c gstximageplugin.c -fPIC -DPIC -o .libs/libgstximagesink_la-gstximageplugin.o if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -DHAVE_XFIXES -march=athlon-xp -mtune=athlon-xp -pipe -O2 -MT libgstximagesink_la-ximagesrc.lo -MD -MP -MF ".deps/libgstximagesink_la-ximagesrc.Tpo" -c -o libgstximagesink_la-ximagesrc.lo `test -f 'ximagesrc.c' || echo './'`ximagesrc.c; \ then mv -f ".deps/libgstximagesink_la-ximagesrc.Tpo" ".deps/libgstximagesink_la-ximagesrc.Plo"; else rm -f ".deps/libgstximagesink_la-ximagesrc.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -DHAVE_XFIXES -march=athlon-xp -mtune=athlon-xp -pipe -O2 -MT libgstximagesink_la-ximagesrc.lo -MD -MP -MF .deps/libgstximagesink_la-ximagesrc.Tpo -c ximagesrc.c -fPIC -DPIC -o .libs/libgstximagesink_la-ximagesrc.o ximagesrc.c: In function 'gst_ximagesrc_change_state': ximagesrc.c:443: error: 'GstXimagesrc' has no member named 'damage_event_base' ximagesrc.c: In function 'gst_ximagesrc_set_clock': ximagesrc.c:650: warning: dereferencing type-punned pointer will break strict-aliasing rules make[3]: *** [libgstximagesink_la-ximagesrc.lo] error 1 make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys/ximage' make[2]: *** [all-recursive] error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/sys' make[1]: *** [all-recursive] error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11' make: *** [all] error 2 !!! ERROR: media-libs/gst-plugins-0.8.11 failed. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. after installation of libXdamage it compiles fine
I can confirm that gst-plugins need a dependence on libXdamage with xorg-7 otherwise it fails to build
This is probably because we build the ximagesink by default, otherwise certain bits do not get built that are needed for other image sinks to compile. I think for most people the gconf dep pulls in enough X deps, so this doesn't give problems.
I've now fixed this, although I'm not really happy with this "always depend on X". There's no need to have X for gstreamer at all, but probably we don't need to care for 0.8 in the future.
This is no longer an issue in gst-0.10 afaik and the whole gst-plugins deps on X should be history soon.