[Mesa-dev] Bug#656719: R: Re: R: Re: Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers (libg3dvl-mesa package)

Michel Dänzer daenzer at debian.org
Tue Jan 24 04:22:03 PST 2012


On Die, 2012-01-24 at 13:07 +0100, Christian König wrote: 
> On 24.01.2012 11:39, Michel Dänzer wrote:
> > On Mon, 2012-01-23 at 18:06 +0100, Fabio Pedretti wrote:
> >>> Fabio Pedretti<fabio.ped at libero.it>  (23/01/2012):
> >>>
> >>>> --- mesa-debian-originale/debian//control	2012-01-23 13:39:09.471085849
> >> +0100
> >>>> +++ mesa-debian-test/debian//control	2012-01-21 20:29:38.350117156 +0100
> >>>> @@ -32,6 +32,9 @@ Build-Depends:
> >>>>    bison,
> >>>>    llvm-2.9-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
> >>>>   # libwayland-dev,
> >>>> + xserver-xorg-dev,
> >>>> + libvdpau-dev,
> >>>> + libxvmc-dev,
> >>> outch, introducing a build-dep-loop between mesa and xorg-server… :/
> >> Without it, it fails to configure:
> >> configure: error: Package requirements (xvmc>= 1.0.6 xorg-server) were not
> >> met:
> >> No package 'xorg-server' found
> >>
> >> It's explicitly required by configure.ac:
> >> if test "x$enable_xvmc" = xyes; then
> >>      PKG_CHECK_MODULES([XVMC], [xvmc>= 1.0.6 xorg-server])
> >>      GALLIUM_STATE_TRACKERS_DIRS="$GALLIUM_STATE_TRACKERS_DIRS xorg/xvmc"
> >>      HAVE_ST_XVMC="yes"
> >> fi
> > AFAICT the only thing needed from xserver-xorg-dev is the fourcc.h
> > header. This dependency could easily be removed by copying the used
> > definitions instead, especially as
> > src/gallium/state_trackers/xorg/xvmc/subpicture.c already defines
> > FOURCC_RGB itself.
> >
> > Christian?
> This indeed sounds like the correct solution, and the fix is actually 
> trivial, since we only need to defines from fourcc.h. Patch is on the 
> way to the maillinglist.

Great, thanks.


> But the xorg state tracker also depends on xorg-server, so I'm wondering 
> why xorg-server depends on mesa in the first place?

The xserver GLX code uses various <GL/*> headers.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list