GNOME Bugzilla – Bug 603436
Current ekiga packages have broken dependencies for opal and current debian
Last modified: 2010-01-12 15:03:54 UTC
I'm trying to get h264 video codec loaded into ekiga 3.6.6. I've just succeeded, but don't yet know it works, and had to hack around some packaging/dependency bugs. Versions: Base system is debian squeeze, but using debian sid ekiga, opal and related packages ekiga 3.2.6-1 libopal3.6.6 3.6.6~dfsg-3 libopal3.6.6-plugins-non-free 3.6.6~1 Issues and workarounds: 1. libopal3.6.6 and libopal3.6.6-plugins-non-free look for libavcodec.so.51, which is no longer in debian. debian only has version 52 now. There is no package dependency issue, but there is a runtime initialization failure when libavcodec.so.51 cannot be found.n This prevents several codecs from loading. Workaround: cd /usr/lib ln -s libavcodec.so.52 libavcodec.so 2. libopal3.6.6-plugins-non-free has a specific package dependency on libx264-76, but as reported in bug 596006 it fails to load with this version of libx264. As reported in bug 596006 comment 1, initialization does succeed with libx264 version 67. What is missing in that comment is a workaround to achieve this. Ugly as it is: cd /usr/lib mv libx264.so.76 libx264.so.76.REAL ln -s libx264.so.67 libx264.so.76 Both of these are nasty hacks so I hope the core issues are fixed. With these two workarounds all codecs load, including h264. Will know later if some of the newly loaded ones actually work.
I forgot to include an additional issue/workaround that arises before the others: 0. libopal3.6.6-plugins-non-free is additive to libopal3.6.6, e.g. it has a package dependency on it, and yet it cannot load on top of it since it contains some of the same files. Specifically, libopal3.6.6-plugins-non-free and libopal3.6.6 both contain h263-1998_video_pwplugin.so and mpeg4-ffmpeg_video_pwplugin.so in /usr/lib/opal-3.6.6/codecs/video/. One workaround is to repackage libopal-3.6.6-plugins-non-free to exclude these two files, e.g. download the .deb to ~/tmp, dpkg-deb -x it and dpkg-deb -e it to unpack files and DEBIAN control files, remove the two overlapping files, then dpkg-deb -b to rebuild the modified package, and finally dpkg -i to install it.
Hi Chuck, I think that several of your issues are already fixed by now, could you please recheck this bug? For ex., libopal3.6.6-plugins-non-free depends on .52. Also, the duplicate files bug has been fixed too. It remains the point 2 (x264 problem), which is a duplicate of bug #596006, is that right?
Hi Eugen, Issue 1, the version dependency problem of libopal3.6.6-plugins-nonfree has been resolved. However, Issue 0, at least some of the duplicate files in libopal3.6.6-plugins-nonfree remain in the latest debian sid version (3.6.6~1). I tried a reinstallation this package, which fails with: E: /var/cache/apt/archives/libopal3.6.6-plugins-non-free_3.6.6~1_amd64.deb: trying to overwrite '/usr/lib/opal-3.6.6/codecs/video/h263-1998_video_pwplugin.so', which is also in package libopal3.6.6 0 I've got a new problem too, but haven't pinned it down yet. Even calling the Ekiga Echo Test just immediately hangs up. This has happened with the latest packages.
Issue 0 still exists, you're right. This is a problem with official debian's package, I'll take care of that. For the hang up, please get a stack backtrace (http://wiki.ekiga.org/index.php/Debugging_Ekiga#How_to_get_a_stack_backtrace_from_a_crash) and fil a new bug report.