Ardour new B-D

James Cowgill jcowgill at debian.org
Mon Dec 5 15:35:30 UTC 2016


Hi,

On 05/12/16 09:09, Jaromír Mikeš wrote:
> 2016-12-04 22:55 GMT+01:00 James Cowgill <jcowgill at debian.org>:
>> On 03/12/16 15:56, Jaromír Mikeš wrote:
>>> it looks like ardourd has new B-D qm-dsp which is not packaged in debian yet
>>>
>>> https://code.soundsoftware.ac.uk/projects/qm-dsp
>>> https://github.com/c4dm/qm-dsp
>>>
>>> Options:
>>> 1) package qm-dsp - I am quite busy at the moment to do it
>>
>> This is of course the right thing to do.
> 
> Yes ... I am thinking to do it anyway just can't to figure out how to
> build a shared libs ...
> now I am able build just static ones :(
> Can you have a look on source and advise me?

It looks like upstream uses a crap build system and it will only produce
a static library. Ardour doesn't even use their build system. Perhaps
you could ask upstream to switch to something saner?

You can convert the static library to a shared library by adding -fPIC
to CFLAGS and using something like:

gcc -shared $(LDFLAGS) -o libqm-dsp.so.0 -Wl,-soname,libqm-dsp.so.0
-Wl,--whole-archive <path to .a file> -Wl,--no-whole-archive

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20161205/e94ad094/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list