Bug#533546: No zoran support in mplayer
Nikolay Shaplov
n at shaplov.ru
Thu Jun 18 19:28:18 UTC 2009
On Thu, 18 Jun 2009 19:57:35 +0200
Reinhard Tartler <siretart at tauware.de> wrote:
> From the configure script (from the mplayer 1.0rc3 branch in debian
> unstable):
>
> ,----[line 7209ff.
> | if test "$_zr" = yes ; then
> | if test "$_libavcodec_a" = yes ; then
> | def_zr='#define CONFIG_ZR 1'
> | _vomodules="zr zr2 $_vomodules"
> | else
> | _res_comment="libavcodec (static) is required by zr, sorry"
> | _novomodules="zr $_novomodules"
> | def_zr='#undef CONFIG_ZR'
> | fi
> | else
> | def_zr='#undef CONFIG_ZR'
> | _novomodules="zr zr2 $_novomodules"
> | fi
> | echores "$_zr"
> `----
>
> We deliberatly do not compile libavcodec.a in mplayer, because we need
> to link against the system copy of libavcodec.so.52. Therefore it is
> unfortunately not just a matter of adding --enable-zr. C.f. also with
> the configure switches of the current package in debian/unstable.
>
> TBH, I'm pretty puzzled why the configure script does that check this
> way.
Have you asked mainstream about that. They should have some ideas about
it ;-)
> Can you perhaps try to patch the configure script to not bail out
> in this case? If that works, please send in that patch and I'll gladly
> integrate it in the mplayer package.
I've commented all lines that does check ibavcodec.a
if test "$_zr" = yes ; then
# if test "$_libavcodec_a" = yes ; then
_def_zr='#define HAVE_ZR 1'
_vosrc="$_vosrc vo_zr2.c vo_zr.c jpeg_enc.c"
_vomodules="zr zr2 $_vomodules"
# else
# _res_comment="libavcodec (static) is required by zr, sorry"
# _novomodules="zr $_novomodules"
# _def_zr='#undef HAVE_ZR'
# fi
and rebuilded the package.
The package were successfully rebuilded with this patch, and I've
successfully played video via this patched mplayer.
I also do not know why this check were needed... May be you will ask
upstream about that?
> Unfortunately, I cannot test such a package myself because I don't
> own such hardware.
I can test this package for you further more, when I am near my
desktop... (I will be not avalible in july). Feel free to ask, I can
give you my jabber address for more swift contact.
More information about the pkg-multimedia-maintainers
mailing list