Bug#667573: [x264-devel] Bug#667573: x264: 10 bit builds

Reinhard Tartler siretart at gmail.com
Sun Oct 14 20:56:24 UTC 2012


On Sat, Oct 13, 2012 at 3:40 AM, Jonathan Rosser
<jonathan.rosser at rd.bbc.co.uk> wrote:
> On 13/10/12 04:59, Reinhard Tartler wrote:
>
>>
>> Oh I see what you did there. I don't think that's gonna work in
>> debian. TBH, I think we should just install the 10 bit libx264.so
>> binary into the regular libx264-NN package and document it properly
>> in ./usr/share/doc/libx264-NN/README.Debian.
>>
>> On the second thought, we could even install some wrapper into
>> /usr/bin that starts the passed on argument with proper
>> LD_LIBRARY_PATH.
>>
>> In any case, I don't see the point in adding new source or binary
>> packages.
>>
>
> Trouble is, when you do a 10 bit build you end up with a library of the
> same name and installing to the same location as the 8 bit one.
>
> I'm no expert on the debian packaging, but I could not see a way of
> renaming the 10 bit .so (dh_install won't do it). There might well be a neat
> way of achieving this.
>
> You have to re-run the configure script with different options to create
> the 10 bit version, and that's well beyond what I know how to do in the
> rules file.

Something like this commit should do the trick:

http://anonscm.debian.org/gitweb/?p=pkg-multimedia/x264.git;a=commitdiff;h=ceab497a30560db9db7bf6ded594400f76a2686a

This is not finished, though. It still needs documentation in
README.Debian. I'm also thinking about included a wrapper script that
sets LD_LIBRARY_PATH. And it is of course totally untested, so
feedback more than welcome.



-- 
regards,
    Reinhard



More information about the pkg-multimedia-maintainers mailing list