Package: libquicktime
Version: 0.9.7-0.0
Severity: serious
Tags: patch

libquicktime fails to build because it cannot include Xv.h and
Xvlib.h:

> if i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/quicktime 
> -I../include  -I/usr/include/alsa      -march=pentium4 -mtune=pentium4 -O3 
> -funroll-all-loops -fomit-frame-pointer -finline-functions -Wall -Winline -MT 
> lqtplay.o -MD -MP -MF ".deps/lqtplay.Tpo" -c -o lqtplay.o lqtplay.c; \
> then mv -f ".deps/lqtplay.Tpo" ".deps/lqtplay.Po"; else rm -f 
> ".deps/lqtplay.Tpo"; exit 1; fi
> lqtplay.c:41:31: error: X11/extensions/Xv.h: No such file or directory
> lqtplay.c:42:34: error: X11/extensions/Xvlib.h: No such file or directory
> lqtplay.c: In function 'xv_init':
> lqtplay.c:240: error: 'XvAdaptorInfo' undeclared (first use in this function)
> lqtplay.c:240: error: (Each undeclared identifier is reported only once
> lqtplay.c:240: error: for each function it appears in.)
> lqtplay.c:240: error: 'ai' undeclared (first use in this function)
> lqtplay.c:241: error: 'XvImageFormatValues' undeclared (first use in this 
> function)
> lqtplay.c:241: error: 'fo' undeclared (first use in this function)
> lqtplay.c:243: warning: implicit declaration of function 'XvQueryExtension'
> lqtplay.c:247: warning: implicit declaration of function 'XvQueryAdaptors'
> lqtplay.c:250: error: 'XvInputMask' undeclared (first use in this function)
> lqtplay.c:250: error: 'XvImageMask' undeclared (first use in this function)
> lqtplay.c:251: warning: implicit declaration of function 'XvGrabPort'
> lqtplay.c:264: warning: implicit declaration of function 'XvListImageFormats'
> lqtplay.c:273: error: 'XvPacked' undeclared (first use in this function)
> lqtplay.c: At top level:
> lqtplay.c:371: error: syntax error before '*' token
> lqtplay.c:373: warning: return type defaults to 'int'
> lqtplay.c: In function 'xv_create_ximage':
> lqtplay.c:374: error: 'XvImage' undeclared (first use in this function)
> lqtplay.c:374: error: 'xvimage' undeclared (first use in this function)
> lqtplay.c:385: warning: implicit declaration of function 'XvShmCreateImage'
> lqtplay.c:427: warning: implicit declaration of function 'XvCreateImage'
> lqtplay.c: At top level:
> lqtplay.c:440: error: syntax error before 'XvImage'
> lqtplay.c: In function 'xv_blit':
> lqtplay.c:444: warning: implicit declaration of function 'XvPutImage'
> lqtplay.c:444: error: 'win' undeclared (first use in this function)
> lqtplay.c:444: error: 'gc' undeclared (first use in this function)
> lqtplay.c:444: error: 'xi' undeclared (first use in this function)
> lqtplay.c:444: error: 'iw' undeclared (first use in this function)
> lqtplay.c:444: error: 'ih' undeclared (first use in this function)
> lqtplay.c:444: error: 'ww' undeclared (first use in this function)
> lqtplay.c:444: error: 'wh' undeclared (first use in this function)
> lqtplay.c:446: warning: implicit declaration of function 'XvShmPutImage'
> lqtplay.c: At top level:
> lqtplay.c:791: error: syntax error before '*' token
> lqtplay.c:791: warning: type defaults to 'int' in declaration of 'qt_xvimage'
> lqtplay.c:791: warning: data definition has no type or storage class
> lqtplay.c: In function 'qt_init_video':
> lqtplay.c:957: error: request for member 'data' in something not a structure 
> or union
> lqtplay.c:959: error: request for member 'pitches' in something not a 
> structure or union
> lqtplay.c:969: error: request for member 'data' in something not a structure 
> or union
> lqtplay.c:969: error: request for member 'offsets' in something not a 
> structure or union
> lqtplay.c:970: error: request for member 'data' in something not a structure 
> or union
> lqtplay.c:970: error: request for member 'offsets' in something not a 
> structure or union
> lqtplay.c:971: error: request for member 'data' in something not a structure 
> or union
> lqtplay.c:971: error: request for member 'offsets' in something not a 
> structure or union
> lqtplay.c:979: error: request for member 'data' in something not a structure 
> or union
> lqtplay.c:979: error: request for member 'offsets' in something not a 
> structure or union
> lqtplay.c:980: error: request for member 'data' in something not a structure 
> or union
> lqtplay.c:980: error: request for member 'offsets' in something not a 
> structure or union
> lqtplay.c:981: error: request for member 'data' in something not a structure 
> or union
> lqtplay.c:981: error: request for member 'offsets' in something not a 
> structure or union
> lqtplay.c:983: error: request for member 'pitches' in something not a 
> structure or union
> lqtplay.c:984: error: request for member 'pitches' in something not a 
> structure or union

Adding a build-dependency on libxv-dev fixes this problem.

-- 
Matt
diff -u libquicktime-0.9.7/debian/control libquicktime-0.9.7/debian/control
--- libquicktime-0.9.7/debian/control
+++ libquicktime-0.9.7/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Gerd Knorr <[EMAIL PROTECTED]>
 Standards-Version: 3.6.2
-Build-Depends: debhelper (>= 3.0), libgtk2.0-dev (> 2.4.0), libpng12-0-dev | 
libpng-dev, libjpeg-dev, libraw1394-dev, libavc1394-dev, libvorbis-dev 
(>=1.0.1-1), xlibmesa-dev, libxaw7-dev, libsdl1.2-dev, libpopt-dev, libdv4-dev
+Build-Depends: debhelper (>= 3.0), libgtk2.0-dev (> 2.4.0), libpng12-0-dev | 
libpng-dev, libjpeg-dev, libraw1394-dev, libavc1394-dev, libvorbis-dev 
(>=1.0.1-1), xlibmesa-dev, libxaw7-dev, libsdl1.2-dev, libpopt-dev, libdv4-dev, 
libxv-dev
 
 Package: libquicktime1
 Architecture: any

Attachment: signature.asc
Description: Digital signature

Reply via email to