Page 1 of 1

libffmpeg_plugin.so depends on libX11 with nightlies sources

Posted: 17 May 2008 21:04
by enolive
hello everyone!

I've tried to build my own vlc package using the sources from nightlies.videolan.org for hardy x86: http://nightlies.videolan.org/build/har ... 5-1.tar.gz.

I didn't take the binaries because they seem to come without asa and csri support and I need this feature for softsubbed video files. I didn't get the code from git because I want a debian package and I cannot find the debian directory in git.

I added 2 additional switches to debian/rules:

--enable-asademux
--enable-csri

Then I've installed any dependencies for vlc by apt-get build-dep vlc and tried to build a package by entering

Code: Select all

fakeroot dpkg-buildpackage
in the vlc build directory

after some compile time I get the following error:

Code: Select all

# Check that we did not install a plugin linked with libX11 in vlc-nox BORKED=no; \ for file in $(find debian/vlc-nox/usr/lib/vlc -name '*.so'); do \ if ldd $file | grep -q libX11; then \ BORKED=yes; \ echo $file depends on libX11; \ fi; \ done; \ if test "$BORKED" = yes; then exit 1; fi debian/vlc-nox/usr/lib/vlc/codec/libffmpeg_plugin.so depends on libX11 make: *** [install] Fehler 1
What am I doing wrong? Is there a better way for building a vlc .deb package? Any suggestions would be appreciated!

Re: libffmpeg_plugin.so depends on libX11 with nightlies sources

Posted: 20 May 2008 16:21
by Jean-Baptiste Kempf
You have an issue in your debian rules, since ffmpeg plugin should not use libX11 at all.

Re: libffmpeg_plugin.so depends on libX11 with nightlies sources

Posted: 20 May 2008 23:16
by enolive
thank you for your answer!

I tried to remove my changes (the 2 additional configure options) and get the same error.

I am not an expert when it comes to linux/debian software deployment/development. I obtained the rules file from the .tar.gz file in the nightlies archives. Maybe there is a better way to get the debian subdirectory?

Here is my rules file: http://nopaste.org/p/apDnAW7aF

Any further suggestion would help me very much...

Re: libffmpeg_plugin.so depends on libX11 with nightlies sources

Posted: 21 May 2008 20:13
by Jean-Baptiste Kempf
Ask on vlc-devel@