Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117265 - gst-plugins-0.8.11 depends on libXdamage (modular x)
Summary: gst-plugins-0.8.11 depends on libXdamage (modular x)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-31 04:46 UTC by Frieder Bürzele
Modified: 2006-03-10 17:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frieder Bürzele 2005-12-31 04:46:06 UTC
gst-plugins-0.8.11 depends on libXdamage (modular x)
Comment 1 Hanno Böck gentoo-dev 2006-01-29 05:06:41 UTC
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.
Comment 2 Frieder Bürzele 2006-01-30 06:50:51 UTC
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
Comment 3 Frieder Bürzele 2006-01-30 06:58:04 UTC
(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
Comment 4 Alessandro Guido 2006-02-21 11:28:57 UTC
I can confirm that gst-plugins need a dependence on libXdamage with xorg-7 otherwise it fails to build
Comment 5 foser (RETIRED) gentoo-dev 2006-02-26 10:32:17 UTC
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.
Comment 6 Hanno Böck gentoo-dev 2006-03-02 03:05:06 UTC
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.
Comment 7 foser (RETIRED) gentoo-dev 2006-03-02 08:37:20 UTC
This is no longer an issue in gst-0.10 afaik and the whole gst-plugins deps on X should be history soon.